]> code.delx.au - gnu-emacs/blobdiff - etc/dired-ref.tex
* symbols.texi (Other Plists): Fix incorrect example.
[gnu-emacs] / etc / dired-ref.tex
index e32bc7ee332449f96d1f12507622499a1bf53487..6d56b50ff33d2a6b5e131d29354dedcfaac9e0c9 100644 (file)
@@ -1,11 +1,12 @@
 % Reference Card for Dired
-% Copyright (C) 2000 Free Software Foundation, Inc.
+% Copyright (C) 2000, 2001, 2002, 2003, 2004,
+%   2005, 2006, 2007, 2008  Free Software Foundation, Inc.
 
 % This file is part of GNU Emacs.
 
 % GNU Emacs is free software; you can redistribute it and/or modify
 % it under the terms of the GNU General Public License as published by
-% the Free Software Foundation; either version 2, or (at your option)
+% the Free Software Foundation; either version 3, or (at your option)
 % any later version.
 
 % GNU Emacs is distributed in the hope that it will be useful,
@@ -15,8 +16,8 @@
 
 % You should have received a copy of the GNU General Public License
 % along with GNU Emacs; see the file COPYING.  If not, write to
-% the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
-% Boston, MA 02111-1307, USA.
+% the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+% Boston, MA 02110-1301, USA.
 
 % This file can be printed with 1, 2, or 3 columns per page (see below).
 % Specify how many you want here.  Nothing else needs to be changed.
 % This is a bit of a dirty hack on the GNU Emacs reference card
 % to produce a Dired reference card instead.
 
-% I (Evgeny Roubinchtein, eroubinc@u.washington.edu) put this together 
-% because I wanted a Dired reference card, 
+% I (Evgeny Roubinchtein, eroubinc@u.washington.edu) put this together
+% because I wanted a Dired reference card,
 % but couldn't find anything on the 'net.
 % Based mostly off Dired's describe-mode.
 
 
 \def\versionnumber{0.1}
-\def\year{2000}
-\def\version{May \year\ v\versionnumber}
+\def\year{2008}                 % latest copyright year
+\def\version{May 2006\ v\versionnumber}
 
 \def\shortcopyrightnotice{\vskip 1ex plus 2 fill
   \centerline{\small \copyright\ \year\ Free Software Foundation, Inc.
 \centerline{Copyright \copyright\ \year\ Free Software Foundation, Inc.}
 \centerline{designed by Stephen Gildea, \version}
 \centerline{for GNU Emacs version 19 on Unix systems}
-\centerline{Updated for Dired in May 200 by Evgeny Roubinchtein}
+\centerline{Updated for Dired in May 2000 by Evgeny Roubinchtein}
 
 Permission is granted to make and distribute copies of
 this card provided the copyright notice and this permission notice
 are preserved on all copies.
 
 For copies of the GNU Emacs manual, write to the Free Software
-Foundation, Inc., 675 Massachusetts Ave, Cambridge MA 02139.
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+MA 02110-1301, USA.
 
 \endgroup}
 
@@ -73,7 +75,7 @@ Foundation, Inc., 675 Massachusetts Ave, Cambridge MA 02139.
 
 \def\ncolumns{\the\columnsperpage}
 
-\message{[\ncolumns\space 
+\message{[\ncolumns\space
   column\if 1\ncolumns\else s\fi\space per page]}
 
 \def\scaledmag#1{ scaled \magstep #1}
@@ -93,7 +95,7 @@ Foundation, Inc., 675 Massachusetts Ave, Cambridge MA 02139.
   \def\makefootline{\baselineskip10pt\hsize6.5in\line{\the\footline}}
 \else                           %2 or 3 columns uses prereduced size
   \hsize 3.4in
-  \vsize 7.95in
+  \vsize 9.2in
   \hoffset -.75in
   \voffset -.745in
   \font\titlefont=cmbx10 \scaledmag2
@@ -151,7 +153,7 @@ Foundation, Inc., 675 Massachusetts Ave, Cambridge MA 02139.
   \def\bye{\par\vfill\supereject
     \if a\abc \else\null\vfill\eject\fi
     \if a\abc \else\null\vfill\eject\fi
-    \end}  
+    \end}
 \fi
 
 % we won't be using math mode much, so redefine some of the characters
@@ -239,14 +241,16 @@ Foundation, Inc., 675 Massachusetts Ave, Cambridge MA 02139.
 
 % I cannot figure out how to make all dired-x
 % commands fit on a page in two-column format
-\def\dx{\bf (DX)}
+\def\dx{{\bf (DX)}}
+
+\nopagenumbers
 
 %**end of header
 \f
 
 \title{Dired Reference Card}
 
-\centerline{(based on Dired in GNU Emacs 20.x)}
+\centerline{(based on Dired in GNU Emacs 22)}
 \centerline{Commands marked with \dx{} require dired-x}
 
 % trim this down to fit everything on one page
@@ -260,11 +264,11 @@ Foundation, Inc., 675 Massachusetts Ave, Cambridge MA 02139.
 % "flag" files for deletion or "mark" files for later commands, either one
 % file at a time or by all files matching certain criteria (e.g., files that
 % match a certain regexp).
+
 % You move throughout the buffer using the usual cursor motion commands.
 % Letters no longer insert themselves, but execute commands instead.  The
 % digits (0-9) are prefix arguments.
+
 % Most commands operate either on all marked files or on the current file if
 % no files are marked.  Use a numeric prefix argument to operate on the next
 % ARG files (or previous ARG if ARG $<$ 0).  Use the prefix argument `1' to
@@ -272,14 +276,14 @@ Foundation, Inc., 675 Massachusetts Ave, Cambridge MA 02139.
 % which run a sub-process on a group of files will display a list of files
 % for which the sub-process failed.  Typing y will try to tell
 % you what went wrong.
+
 % When editing several directories in one buffer, each directory acts as a
 % page, so C-x [ and C-x ] can be used to move between directories.
 
 \section{Entering and Exiting Dired}
 
 \key{run dired}{C-x d}
-\key{dired the directory of the file you are editing}{C-x C-j\dx}
+\key{dired the directory of the file you are editing}{C-x C-j \dx}
 \key{quit dired}{q}
 
 \section{Motion Commands}
@@ -297,7 +301,7 @@ Foundation, Inc., 675 Massachusetts Ave, Cambridge MA 02139.
 
 \section{Mouse Commands}
 \metax{visit file}{Mouse_Button_2}
-\metax{popup menu}{Control-Mouse_Button_3} 
+\metax{popup menu}{Control-Mouse_Button_3}
 
 \section{Immediate Actions on Files}
 
@@ -322,12 +326,19 @@ Foundation, Inc., 675 Massachusetts Ave, Cambridge MA 02139.
 \key{mark all files in the current subdir}{* s}
 \key{mark file names matching a regular expression}{* \%}
 \key{change the marks to a different character}{* c}
-\key{mark files for which Elisp expression returns t}{* (\dx}
+\key{mark files for which Elisp expression returns t}{* ( \dx}
 
-\section{Getting Help}
+\section{Modifying the Dired Buffer}
 
-\key{dired help}{h}
-\key{dired summary(short help) and error log}{?}
+\key{insert a subdirectory into this buffer}{i}
+\key{remove marked files from the listing}{k}
+\key{remove a subdir listing}{C-u k}
+\key{re-read all directories (retains all marks)}{g}
+\key{toggle sorting of current subdir by name/date}{s}
+\key{edit ls switches}{C-u s}
+\key{recover marks, hidden lines, and such}{C-_}
+\key{hide all subdirectories}{M-\$}
+\key{hide or unhide subdirectory}{\$}
 
 \section{Commands on Files Marked or Specified by the Prefix}
 
@@ -342,10 +353,10 @@ Foundation, Inc., 675 Massachusetts Ave, Cambridge MA 02139.
 \key{delete marked (as opposed to flagged) files}{X}
 \key{uuencode or uudecode file(s)}{U}
 \key{compress or uncompress file(s)}{Z}
-\key{run info on file}{I\dx}
+\key{run info on file}{I \dx}
 \key{make symbolic link(s)}{S}
 \key{make relative symbolic links}{Y}
-\key{make  hard link(s)}{H}
+\key{make hard link(s)}{H}
 \key{search files for a regular expression}{A}
 \key{query replace regular expression}{Q}
 \key{byte-compile files}{B}
@@ -361,19 +372,7 @@ Foundation, Inc., 675 Massachusetts Ave, Cambridge MA 02139.
 \key{flag various intermediate files}{\&}
 \key{flag numeric backups (ending in .\~{}1\~{}, .\~{}2\~{}, etc.)}{.}
 \key{execute the deletions requested (flagged files)}{x}
-\key{flag files matching a regular expression }{\% d}
-
-\section{Modifying the Dired Buffer}
-
-\key{insert a subdirectory into this buffer}{i}
-\key{remove marked files from the listing}{k}
-\key{remove a subdir listing}{C-u k}
-\key{re-read all directories (retains all marks)}{g}
-\key{toggle sorting of current subdir by name/date}{s}
-\key{edit ls switches }{C-u s}
-\key{recover marks, hidden lines, and such}{C-_}
-\key{hide all subdirectories}{M-\$}
-\key{hide or unhide subdirectory}{\$}
+\key{flag files matching a regular expression}{\% d}
 
 \section{Regular Expression Commands}
 
@@ -386,11 +385,17 @@ Foundation, Inc., 675 Massachusetts Ave, Cambridge MA 02139.
 \key{mark for deletion}{\% d}
 
 \section{Dired and Find}
-\metax{dired file(s) whose name matches a pattern}{M-x find-names-dired}
+\metax{dired file(s) whose name matches a pattern}{M-x find-name-dired}
 \metax{dired file(s) that contain pattern}{M-x find-grep-dired}
 \metax{dired file(s) based on \kbd{find} output}{M-x find-dired}
 
-%\copyrightnotice
+\section{Getting Help}
+
+\key{dired help}{h}
+\key{dired summary (short help) and error log}{?}
+
+\copyrightnotice
 
 \bye
 
+% arch-tag: 483e7bb4-4576-4733-9fca-0eae1c861484