% Reference Card for Dired
-% Copyright (C) 2000, 2001, 2002, 2003, 2004,
-% 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
+
+% Copyright (C) 2000-2016 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
+% This file is intended to be processed by plain TeX (TeX82).
+
+% This is a bit of a dirty hack on the GNU Emacs reference card
+% to produce a Dired reference card instead.
+
+% 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.
+
+%**start of header
\newcount\columnsperpage
+% 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
% PDF output layout. 0 for A4, 1 for letter (US), a `l' is added for
% a landscape layout.
-
\input pdflayout.sty
\pdflayout=(1)
-% Nothing else needs to be changed.
-% This file is intended to be processed by plain TeX (TeX82).
-% The reference card looks OK with 2 columns per page, portrait mode.
-% I haven't tried it with 3 columns per page.
-
-% 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.
-
+\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 23)}
+\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{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}{D}
+\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}
\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)}{\&}
\bye
-% arch-tag: 483e7bb4-4576-4733-9fca-0eae1c861484