X-Git-Url: http://git.hcoop.net/bpt/emacs.git/blobdiff_plain/f67e15be8d94718b2e2ea7da68eb0b2dc94ce016..16ddec7e9e6adcf615db097d9627d490ca29208c:/etc/refcards/dired-ref.tex diff --git a/etc/refcards/dired-ref.tex b/etc/refcards/dired-ref.tex index e633bb5042..b85bef1ce0 100644 --- a/etc/refcards/dired-ref.tex +++ b/etc/refcards/dired-ref.tex @@ -1,13 +1,15 @@ % Reference Card for Dired -% Copyright (C) 2000, 2001, 2002, 2003, 2004, -% 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + +% Copyright (C) 2000-2012 Free Software Foundation, Inc. + +% Author: Evgeny Roubinchtein % This file is part of GNU Emacs. -% GNU Emacs is free software; you can redistribute it and/or modify +% 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 3, or (at your option) -% any later version. +% the Free Software Foundation, either version 3 of the License, or +% (at your option) any later version. % GNU Emacs is distributed in the hope that it will be useful, % but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -15,61 +17,54 @@ % GNU General Public License for more details. % 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., 51 Franklin Street, Fifth Floor, -% Boston, MA 02110-1301, USA. +% along with GNU Emacs. If not, see . -% 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{2008} % 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 @@ -257,7 +252,7 @@ MA 02110-1301, USA. \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 @@ -315,8 +310,10 @@ MA 02110-1301, USA. \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}{=} @@ -357,26 +354,30 @@ MA 02110-1301, USA. \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) files}{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{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} @@ -405,4 +406,3 @@ MA 02110-1301, USA. \bye -% arch-tag: 483e7bb4-4576-4733-9fca-0eae1c861484