From: Steve Chapel <schapel@laptop.stevechapel.com>
To: 9343@debbugs.gnu.org
Subject: bug#9343: 23.2; Refcard additions
Date: Mon, 22 Aug 2011 11:13:06 -0400 [thread overview]
Message-ID: <m31uwdeayl.fsf@laptop.stevechapel.com> (raw)
The emacs reference card didn't have many commands that I often use, so
I added them.
Here is the context diff for the LaTeX source:
*** /usr/share/emacs/23.2/etc/refcards/refcard.tex 2010-04-03 17:26:12.000000000 -0500
--- refcard.tex 2011-06-16 17:15:24.000000000 -0500
***************
*** 332,337 ****
--- 332,338 ----
\shortcopyrightnotice
+ \newcolumn
\section{Motion}
\paralign to \hsize{#\tabskip=10pt plus 1 fil&#\tabskip=0pt&#\cr
***************
*** 352,358 ****
\key{scroll to previous screen}{M-v}
\key{scroll left}{C-x <}
\key{scroll right}{C-x >}
! \key{scroll current line to center of screen}{C-u C-l}
\section{Killing and Deleting}
--- 353,362 ----
\key{scroll to previous screen}{M-v}
\key{scroll left}{C-x <}
\key{scroll right}{C-x >}
! \key{scroll current line to center, top, bottom}{C-l}
!
! \key{goto line}{M-g g}
! \key{back to indentation}{M-m}
\section{Killing and Deleting}
***************
*** 393,406 ****
Valid responses in query-replace mode are
! \key{{\bf replace} this one, go on to next}{SPC}
\key{replace this one, don't move}{,}
! \key{{\bf skip} to next without replacing}{DEL}
\key{replace all remaining matches}{!}
\key{{\bf back up} to the previous match}{^}
\key{{\bf exit} query-replace}{RET}
\key{enter recursive edit (\kbd{C-M-c} to exit)}{C-r}
\section{Multiple Windows}
When two commands are shown, the second is a similar command for a
--- 397,411 ----
Valid responses in query-replace mode are
! \key{{\bf replace} this one, go on to next}{SPC {\rm or} y}
\key{replace this one, don't move}{,}
! \key{{\bf skip} to next without replacing}{DEL {\rm or} n}
\key{replace all remaining matches}{!}
\key{{\bf back up} to the previous match}{^}
\key{{\bf exit} query-replace}{RET}
\key{enter recursive edit (\kbd{C-M-c} to exit)}{C-r}
+ \newcolumn
\section{Multiple Windows}
When two commands are shown, the second is a similar command for a
***************
*** 438,443 ****
--- 443,449 ----
\key{indent {\bf region} (mode-dependent)}{C-M-\\}
\key{indent {\bf sexp} (mode-dependent)}{C-M-q}
\key{indent region rigidly {\it arg\/} columns}{C-x TAB}
+ \key{indent for comment}{M-;}
\key{insert newline after point}{C-o}
\key{move rest of line vertically down}{C-M-o}
***************
*** 536,541 ****
--- 542,554 ----
\key{expand previous word dynamically}{M-/}
+ \section{Miscellaneous}
+
+ \key{numeric argument}{C-u {\it num}}
+ \key{negative argument}{M--}
+ \key{quoted insert}{C-q {\it char}}
+
+ \newcolumn
\section{Regular Expressions}
\key{any single character except a newline}{. {\rm(dot)}}
***************
*** 604,609 ****
--- 617,623 ----
\endindentedkeys
+ \newcolumn
\section{Registers}
\key{save region in register}{C-x r s}
In GNU Emacs 23.2.1 (x86_64-redhat-linux-gnu, GTK+ Version 2.24.4)
of 2011-05-23 on x86-12.phx2.fedoraproject.org
configured using `configure '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--program-prefix=' '--disable-dependency-tracking' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--with-dbus' '--with-gif' '--with-jpeg' '--with-png' '--with-rsvg' '--with-tiff' '--with-xft' '--with-xpm' '--with-x-toolkit=gtk' 'build_alias=x86_64-redhat-linux-gnu' 'host_alias=x86_64-redhat-linux-gnu' 'CFLAGS=-DMAIL_USE_LOCKF -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=gene
ric''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: en_US.utf8
value of $XMODIFIERS: @im=none
locale-coding-system: utf-8-unix
default enable-multibyte-characters: t
Major mode: Fundamental
Minor modes in effect:
tooltip-mode: t
mouse-wheel-mode: t
tool-bar-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
auto-encryption-mode: t
auto-compression-mode: t
line-number-mode: t
transient-mark-mode: t
Recent input:
ESC [ > 1 ; 2 8 0 1 ; 0 c ESC x r e p o TAB r t TAB
RET
Recent messages:
("emacs")
Loading /usr/share/emacs/site-lisp/site-start.d/focus-init.el (source)...done
Loading /usr/share/emacs/site-lisp/site-start.d/php-mode-init.el (source)...done
Loading /usr/share/emacs/site-lisp/site-start.d/rpm-spec-mode-init.el (source)...done
For information about GNU Emacs and the GNU system, type C-h C-a.
Making completion list...
Load-path shadows:
None found.
Features:
(shadow sort mail-extr message idna sendmail regexp-opt ecomplete rfc822
mml mml-sec password-cache mm-decode mm-bodies mm-encode mailcap
mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader
gnus-util netrc time-date mm-util mail-prsvr gmm-utils wid-edit
mailheader canlock sha1 hex-util hashcash mail-utils emacsbug help-mode
easymenu view tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win
x-dnd font-setting tool-bar dnd fontset image fringe lisp-mode register
page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock
font-lock syntax facemenu font-core frame cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew
greek romanian slovak czech european ethiopic indian cyrillic chinese
case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button
minibuffer faces cus-face files text-properties overlay md5 base64
format env code-pages mule custom widget hashtable-print-readable
backquote make-network-process dbusbind system-font-setting
font-render-setting gtk x-toolkit x multi-tty emacs)
next reply other threads:[~2011-08-22 15:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-22 15:13 Steve Chapel [this message]
2011-08-24 7:31 ` bug#9343: 23.2; Refcard additions Glenn Morris
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m31uwdeayl.fsf@laptop.stevechapel.com \
--to=schapel@laptop.stevechapel.com \
--cc=9343@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).