% Reference Card for Dired
-% Copyright (C) 2000, 2001, 2002, 2003, 2004,
-% 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
+
+% Copyright (C) 2000-2015 Free Software Foundation, Inc.
+
+% Author: Evgeny Roubinchtein <eroubinc@u.washington.edu>
% This file is part of GNU Emacs.
% You should have received a copy of the GNU General Public License
% along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
-% This file can be printed with 1, 2, or 3 columns per page (see below).
-% Specify how many you want here.
-%**start of header
-\newcount\columnsperpage
+% This file is intended to be processed by plain TeX (TeX82).
-\columnsperpage=2
+% This is a bit of a dirty hack on the GNU Emacs reference card
+% to produce a Dired reference card instead.
-% PDF output layout. 0 for A4, 1 for letter (US), a `l' is added for
-% a landscape layout.
+% I 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.
-\input pdflayout.sty
-\pdflayout=(0)
+%**start of header
+\newcount\columnsperpage
-% Nothing else needs to be changed.
-% This file is intended to be processed by plain TeX (TeX82).
+% This file can be printed with 1, 2, or 3 columns per page.
+% Specify how many you want here.
% The reference card looks OK with 2 columns per page, portrait mode.
% I haven't tried it with 3 columns per page.
+\columnsperpage=2
-% 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,
-% but couldn't find anything on the 'net.
-% Based mostly off Dired's describe-mode.
+% PDF output layout. 0 for A4, 1 for letter (US), a `l' is added for
+% a landscape layout.
+\input pdflayout.sty
+\pdflayout=(1)
+\input emacsver.tex
-\def\versionnumber{0.1}
-\def\year{2009} % latest copyright year
-\def\version{May 2006\ v\versionnumber}
+% Nothing else needs to be changed.
\def\shortcopyrightnotice{\vskip 1ex plus 2 fill
\centerline{\small \copyright\ \year\ Free Software Foundation, Inc.
- Permissions on back. v\versionnumber}}
+ Permissions on back.}}
\def\copyrightnotice{
\vskip 1ex plus 2 fill\begingroup\small
\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 2000 by Evgeny Roubinchtein}
+\centerline{For GNU Emacs version \versionemacs}
+\centerline{Originally written May 2000 by Evgeny Roubinchtein,}
+\centerline{using refcard layout designed by Stephen Gildea.}
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., 51 Franklin Street, Fifth Floor, Boston,
-MA 02110-1301, USA.
+For copies of the GNU Emacs manual, see:
+{\tt http://www.gnu.org/software/emacs/\#Manuals}
\endgroup}
% make \bye not \outer so that the \def\bye in the \else clause below
\title{Dired Reference Card}
-\centerline{(based on Dired in GNU Emacs 22)}
+\centerline{(based on Dired in GNU Emacs \versionemacs)}
\centerline{Commands marked with \dx{} require dired-x}
% trim this down to fit everything on one page
\key{move to first child subdirectory}{M-C-d}
\section{Mouse Commands}
-\metax{visit file}{Mouse_Button_2}
-\metax{popup menu}{Control-Mouse_Button_3}
+\metax{visit file or directory}{Mouse_Button_2}
\section{Immediate Actions on Files}
\key{visit current file}{f}
\key{view current file}{v}
\key{visit current file in other window}{o}
-\key{visit current file in other frame}{w}
-\key{display current file}{C-u o}
+%% Huh?
+%% \key{visit current file in other frame}{w}
+%% Huh?
+%%\key{display current file}{C-u o}
\key{create a new subdirectory}{+}
\key{compare file at point with the one at mark}{=}
\key{mark all directories}{* /}
\key{mark all symlinks}{* @}
\key{mark all executables}{* *}
-\key{invert marking}{* t}
+\key{invert marking}{t}
\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{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{recover marks, hidden lines, and such (undo)}{C-_}
\key{hide all subdirectories}{M-\$}
\key{hide or unhide subdirectory}{\$}
\key{print file(s)}{P}
\key{convert filename(s) to lower case}{\% l}
\key{convert filename(s) to upper case}{\% u}
-\key{delete marked (as opposed to flagged) files}{X}
-\key{uuencode or uudecode file(s)}{U}
+\key{delete marked (as opposed to flagged) file(s)}{D}
+%% Huh?
+%%\key{uuencode or uudecode file(s)}{U}
\key{compress or uncompress file(s)}{Z}
+%% Only uses the current file.
\key{run info on file}{I \dx}
\key{make symbolic link(s)}{S}
-\key{make relative symbolic links}{Y}
+\key{make relative symbolic link(s)}{Y}
\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}
-\key{load files}{L}
+\key{regexp query replace on marked files}{Q}
+\key{byte-compile file(s)}{B}
+\key{load file(s)}{L}
\key{shell command on file(s)}{!}
+\key{asynchronous shell command on file(s)}{\&}
\section{Flagging Files for Deletion}
\leftline{\bf Unmark commands remove delete flags}
\key{flag file for deletion}{d}
-\key{backup and remove deletion flag}{delete}
+%% Huh?
+%%\key{backup and remove deletion flag}{delete}
\key{flag all backup files (file names ending in \~{})}{\~{}}
\key{flag all auto-save files}{\#}
-\key{flag various intermediate files}{\&}
+\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}
\bye
-% arch-tag: 483e7bb4-4576-4733-9fca-0eae1c861484