Changing Font Size
[+]Full screen mode
[+]
Add to your
.emacs
file
(defun toggle-fullscreen ()
"Toggle full screen on X11"
(interactive)
(when (eq window-system 'x)
(set-frame-parameter
nil 'fullscreen
(when (not (frame-parameter nil 'fullscreen)) 'fullboth))))
(global-set-key [f11] 'toggle-fullscreen)
Tabbar mode
[+]
$ sudo apt-get install emacs-goodies-el
In .emacs
;;;Tabbar mode
;;;
;;; Tabbing stuff
;;;http://www-cdf.fnal.gov/~sthrlnd/emacs_help.html
;;;http://groups.google.com/group/gnu.emacs.help/msg/74890e811a08003f
(require 'tabbar)
;;;Groups
(defun tabbar-buffer-groups ()
"Return the list of group names the current buffer belongs to.
This function is a custom function for tabbar-mode's
tabbar-buffer-groups. This function group all buffers into 3
groups: Those Dired, those user buffer, those LaTeX buffer,
those emacs buffer etc. Emacs buffer are those starting with *."
(list
(cond
;; ((string-equal "*" (substring (buffer-name) 0 1))
;; "tmp Buffers"
;; )
((eq major-mode 'dired-mode)
"Dired Buffers"
)
((eq major-mode 'latex-mode)
"User Buffers"
)
((eq major-mode 'bibtex-mode)
"User Buffers"
)
((eq major-mode 'org-mode)
"User Buffers"
)
((eq major-mode 'emacs-lisp-mode)
"User Buffers"
)
((eq major-mode 'message-mode)
"Gnus Buffers"
)
((eq major-mode 'mail-mode)
"Gnus Buffers"
)
((eq major-mode 'gnus-group-mode)
"Gnus Buffers"
)
((eq major-mode 'gnus-summary-mode)
"Gnus Buffers"
)
((eq major-mode 'gnus-article-mode)
"Gnus Buffers"
)
(t
"Emacs Buffer"
)
)))
(setq tabbar-buffer-groups-function 'tabbar-buffer-groups)
;;;Shortcuts
;;;
(tabbar-mode) ;comment out this line to start without the tab on top
(global-set-key [(control shift h)] 'tabbar-mode)
(global-set-key [(control shift next)] 'tabbar-backward-group)
(global-set-key [(control shift prior)] 'tabbar-forward-group)
(global-set-key [(control next)] 'tabbar-forward)
(global-set-key [(control prior)] 'tabbar-backward)
(global-set-key [(control right)] 'tabbar-forward-tab)
(global-set-key [(control left)] 'tabbar-backward-tab)
(global-set-key [(control tab)] 'tabbar-last-selected-tab)
Refcard
[+]Set M-x ispell-change-dictionary for all buffers
[+]
In the case of a bunch of
LaTeX files,
add
%%% Local Variables:
%%% mode: latex
%%% TeX-master: "master_file_base_name"
%%% ispell-local-dictionary: "castellano8"
%%% End:
and reload auctex from the master file
Dead keys not working in Emacs Ubuntu Lucid
[+]