delqn.com

Emacs commands reference

w3m

in gnus

The code above enables searching the group the cursor is on. To do that hit `G G' on the group and Gnus will ask you for search keywords.

gnus marking

M c M-u Clear all readedness-marks from the current article (gnus-summary-clear-mark-forward). In other words, mark the article as unread. M t ! Tick the current article (gnus-summary-tick-article-forward). See Article Caching. M ? ? Mark the current article as dormant (gnus-summary-mark-as-dormant). See Article Caching. M d d Mark the current article as read (gnus-summary-mark-as-read-forward). D Mark the current article as read and move point to the previous line (gnus-summary-mark-as-read-backward). M k k Mark all articles that have the same subject as the current one as read, and then select the next unread article (gnus-summary-kill-same-subject-and-select). M K C-k Mark all articles that have the same subject as the current one as read (gnus-summary-kill-same-subject). M C Mark all unread articles as read (gnus-summary-catchup). M C-c Mark all articles in the group as readeven the ticked and dormant articles (gnus-summary-catchup-all). M H Catchup the current group to point (before the point) (gnus-summary-catchup-to-here). M h Catchup the current group from point (after the point) (gnus-summary-catchup-from-here). C-w Mark all articles between point and mark as read (gnus-summary-mark-region-as-read). M V k Kill all articles with scores below the default score (or below the numeric prefix) (gnus-summary-kill-below). M e E Mark the current article as expirable (gnus-summary-mark-as-expirable). M b Set a bookmark in the current article (gnus-summary-set-bookmark). M B Remove the bookmark from the current article (gnus-summary-remove-bookmark). M V c Clear all marks from articles with scores over the default score (or over the numeric prefix) (gnus-summary-clear-above). M V u Tick all articles with scores over the default score (or over the numeric prefix) (gnus-summary-tick-above). M V m Prompt for a mark, and mark all articles with scores over the default score (or over the numeric prefix) with this mark (gnus-summary-clear-above).

in gnus agent group mode

more gnus commands


Emacs Command Summary

C-SP     set-mark-command                      C-q      quoted-insert
C-a      beginning-of-line                     C-r      isearch-backward
C-b      backward-char                         C-s      isearch-forward
C-c      exit-recursive-edit                   C-t      transpose-chars
C-d      delete-char                           C-u      universal-argument
C-e      end-of-line                           C-v      scroll-up
C-f      forward-char                          C-w      kill-region
C-h      help-command                          C-x      Control-X-prefix
TAB      indent-for-tab-command                C-y      yank
LFD      newline-and-indent                    C-z      suspend-emacs
C-k      kill-line                             ESC      ESC-prefix
C-l      recenter                              C-]      abort-recursive-edit
RET      newline                               C-_      undo
C-n      next-line                             SPC .. ~        self-insert-command
C-o      open-line                             DEL      delete-backward-char
C-p      previous-line

C-h v    describe-variable                     C-h d    describe-function
C-h w    where-is                              C-h k    describe-key
C-h t    help-with-tutorial                    C-h c    describe-key-briefly
C-h s    describe-syntax                       C-h b    describe-bindings
C-h n    view-emacs-news                       C-h a    command-apropos
C-h C-n  view-emacs-news                       C-h C-d  describe-distribution
C-h m    describe-mode                         C-h C-c  describe-copying
C-h l    view-lossage                          C-h ?    help-for-help
C-h i    info                                  C-h C-h  help-for-help
C-h f    describe-function

C-x C-a  add-mode-abbrev                       C-x 5    split-window-horizontally
C-x C-b  list-buffers                          C-x ;    set-comment-column
C-x C-c  save-buffers-kill-emacs               C-x <    scroll-left
C-x C-d  list-directory                        C-x =    what-cursor-position
C-x C-e  eval-last-sexp                        C-x >    scroll-right
C-x C-f  find-file                             C-x [    backward-page
C-x C-h  inverse-add-mode-abbrev               C-x ]    forward-page
C-x TAB  indent-rigidly                        C-x ^    enlarge-window
C-x C-l  downcase-region                       C-x `    next-error
C-x C-n  set-goal-column                       C-x a    append-to-buffer
C-x C-o  delete-blank-lines                    C-x b    switch-to-buffer
C-x C-p  mark-page                             C-x d    dired
C-x C-q  toggle-read-only                      C-x e    call-last-kbd-macro
C-x C-r  find-file-read-only                   C-x f    set-fill-column
C-x C-s  save-buffer                           C-x g    insert-register
C-x C-t  transpose-lines                       C-x h    mark-whole-buffer
C-x C-u  upcase-region                         C-x i    insert-file
C-x C-v  find-alternate-file                   C-x j    register-to-dot
C-x C-w  write-file                            C-x k    kill-buffer
C-x C-x  exchange-dot-and-mark                 C-x l    count-lines-page
C-x C-z  suspend-emacs                         C-x m    mail
C-x ESC  repeat-complex-command                C-x n    narrow-to-region
C-x $    set-selective-display                 C-x o    other-window
C-x (    start-kbd-macro                       C-x p    narrow-to-page
C-x )    end-kbd-macro                         C-x q    kbd-macro-query
C-x +    add-global-abbrev                     C-x r    copy-rectangle-to-register
C-x -    inverse-add-global-abbrev             C-x s    save-some-buffers
C-x .    set-fill-prefix                       C-x u    advertised-undo
C-x /    dot-to-register                       C-x w    widen
C-x 0    delete-window                         C-x x    copy-to-register
C-x 1    delete-other-windows                  C-x {    shrink-window-horizontally
C-x 2    split-window-vertically               C-x }    enlarge-window-horizontally
C-x 4    ctl-x-4-prefix                        C-x DEL  backward-kill-sentence

ESC C-SP mark-sexp                             ESC =    count-lines-region
ESC C-a  beginning-of-defun                    ESC >    end-of-buffer
ESC C-b  backward-sexp                         ESC @    mark-word
ESC C-c  exit-recursive-edit                   ESC O    ??
ESC C-d  down-list                             ESC [    backward-paragraph
ESC C-e  end-of-defun                          ESC \    delete-horizontal-space
ESC C-f  forward-sexp                          ESC ]    forward-paragraph
ESC C-h  mark-defun                            ESC ^    delete-indentation
ESC LFD  indent-new-comment-line               ESC a    backward-sentence
ESC C-k  kill-sexp                             ESC b    backward-word
ESC C-n  forward-list                          ESC c    capitalize-word
ESC C-o  split-line                            ESC d    kill-word
ESC C-p  backward-list                         ESC e    forward-sentence
ESC C-s  isearch-forward-regexp                ESC f    forward-word
ESC C-t  transpose-sexps                       ESC g    fill-region
ESC C-u  backward-up-list                      ESC h    mark-paragraph
ESC C-v  scroll-other-window                   ESC i    tab-to-tab-stop
ESC C-w  append-next-kill                      ESC j    indent-new-comment-line
ESC ESC  ??                                    ESC k    kill-sentence
ESC C-\  indent-region                         ESC l    downcase-word
ESC SPC  just-one-space                        ESC m    back-to-indentation
ESC !    shell-command                         ESC q    fill-paragraph
ESC $    spell-word                            ESC r    move-to-window-line
ESC %    query-replace                         ESC t    transpose-words
ESC '    abbrev-prefix-mark                    ESC u    upcase-word
ESC (    insert-parentheses                    ESC v    scroll-down
ESC )    move-past-close-and-reindent          ESC w    copy-region-as-kill
ESC ,    tags-loop-continue                    ESC x    execute-extended-command
ESC -    negative-argument                     ESC y    yank-pop
ESC .    find-tag                              ESC z    zap-to-char
ESC 0 .. ESC 9  digit-argument                 ESC |    shell-command-on-region
ESC ;    indent-for-comment                    ESC ~    not-modified
ESC <    beginning-of-buffer                   ESC DEL  backward-kill-word

C-x 4 C-f       find-file-other-window         C-x 4 d  dired-other-window
C-x 4 .  find-tag-other-window                 C-x 4 f  find-file-other-window
C-x 4 b  pop-to-buffer                         C-x 4 m  mail-other-window

Emacs color theme

To change Emacs color theme, first install emacs-goodies-el by typing

$sudo apt-get install emacs-goodies-el

To choose and try, run emacs and type M-x color-theme-select

or define it in .emacs.d/init.el:

;; Color theme (require 'color-theme) (setq color-theme-is-global t) (color-theme-gnome2)


change emacs' font (in X)

By default, Emacs displays text in X using a twelve point monospace font. You can specify a different font using the command line option ‘-fn font’ (or ‘--font’, which is an alias for ‘-fn’).

‘-fn font’ ‘--font=font’ Use font as the default font.

When passing a font specification to Emacs on the command line, you may need to “quote” it, by enclosing it in quotation marks, if it contains characters that the shell treats specially (e.g. spaces). Here is an example:

 emacs -fn "DejaVu Sans Mono-12"

You can also specify the font using your X resources file (usually a file named .Xdefaults or .Xresources in your home directory), by adding a line like this:

 emacs.font: font