annotate etc/dired-ref.tex @ 64191:f7b96b7c946d

*** empty log message ***
author Richard M. Stallman <rms@gnu.org>
date Sat, 09 Jul 2005 16:16:54 +0000
parents e055d02d8b97
children f05a048483cc f9a65d7ebd29
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
30871
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1 % Reference Card for Dired
36867
caefed147f99 Spelling corrections.
Gerd Moellmann <gerd@gnu.org>
parents: 35680
diff changeset
2 % Copyright (C) 2000. 2001 Free Software Foundation, Inc.
30871
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
3
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
4 % This file is part of GNU Emacs.
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
5
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
6 % GNU Emacs is free software; you can redistribute it and/or modify
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
7 % it under the terms of the GNU General Public License as published by
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
8 % the Free Software Foundation; either version 2, or (at your option)
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
9 % any later version.
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
10
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
11 % GNU Emacs is distributed in the hope that it will be useful,
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
12 % but WITHOUT ANY WARRANTY; without even the implied warranty of
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
13 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
14 % GNU General Public License for more details.
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
15
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
16 % You should have received a copy of the GNU General Public License
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
17 % along with GNU Emacs; see the file COPYING. If not, write to
64083
23a17af379b1 Update FSF's address.
Lute Kamstra <lute@gnu.org>
parents: 52401
diff changeset
18 % the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
23a17af379b1 Update FSF's address.
Lute Kamstra <lute@gnu.org>
parents: 52401
diff changeset
19 % Boston, MA 02110-1301, USA.
30871
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
20
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
21 % This file can be printed with 1, 2, or 3 columns per page (see below).
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
22 % Specify how many you want here. Nothing else needs to be changed.
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
23 %**start of header
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
24
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
25 \newcount\columnsperpage
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
26
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
27 \columnsperpage=2
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
28
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
29 % This file is intended to be processed by plain TeX (TeX82).
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
30 % The reference card looks OK with 2 columns per page, portrait mode.
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
31 % I haven't tried it with 3 columns per page.
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
32
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
33 % This is a bit of a dirty hack on the GNU Emacs reference card
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
34 % to produce a Dired reference card instead.
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
35
35680
1a6073992224 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30871
diff changeset
36 % I (Evgeny Roubinchtein, eroubinc@u.washington.edu) put this together
1a6073992224 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30871
diff changeset
37 % because I wanted a Dired reference card,
30871
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
38 % but couldn't find anything on the 'net.
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
39 % Based mostly off Dired's describe-mode.
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
40
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
41
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
42 \def\versionnumber{0.1}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
43 \def\year{2000}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
44 \def\version{May \year\ v\versionnumber}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
45
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
46 \def\shortcopyrightnotice{\vskip 1ex plus 2 fill
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
47 \centerline{\small \copyright\ \year\ Free Software Foundation, Inc.
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
48 Permissions on back. v\versionnumber}}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
49
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
50 \def\copyrightnotice{
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
51 \vskip 1ex plus 2 fill\begingroup\small
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
52 \centerline{Copyright \copyright\ \year\ Free Software Foundation, Inc.}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
53 \centerline{designed by Stephen Gildea, \version}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
54 \centerline{for GNU Emacs version 19 on Unix systems}
36868
7d92ad7ffe49 More spelling corrections.
Gerd Moellmann <gerd@gnu.org>
parents: 36867
diff changeset
55 \centerline{Updated for Dired in May 2000 by Evgeny Roubinchtein}
30871
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
56
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
57 Permission is granted to make and distribute copies of
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
58 this card provided the copyright notice and this permission notice
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
59 are preserved on all copies.
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
60
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
61 For copies of the GNU Emacs manual, write to the Free Software
64092
e055d02d8b97 Update FSF's address.
Lute Kamstra <lute@gnu.org>
parents: 64083
diff changeset
62 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
e055d02d8b97 Update FSF's address.
Lute Kamstra <lute@gnu.org>
parents: 64083
diff changeset
63 MA 02110-1301, USA.
30871
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
64
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
65 \endgroup}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
66
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
67 % make \bye not \outer so that the \def\bye in the \else clause below
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
68 % can be scanned without complaint.
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
69 \def\bye{\par\vfill\supereject\end}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
70
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
71 \newdimen\intercolumnskip %horizontal space between columns
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
72 \newbox\columna %boxes to hold columns already built
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
73 \newbox\columnb
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
74
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
75 \def\ncolumns{\the\columnsperpage}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
76
35680
1a6073992224 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30871
diff changeset
77 \message{[\ncolumns\space
30871
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
78 column\if 1\ncolumns\else s\fi\space per page]}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
79
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
80 \def\scaledmag#1{ scaled \magstep #1}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
81
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
82 % This multi-way format was designed by Stephen Gildea October 1986.
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
83 % Note that the 1-column format is fontfamily-independent.
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
84 \if 1\ncolumns %one-column format uses normal size
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
85 \hsize 4in
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
86 \vsize 10in
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
87 \voffset -.7in
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
88 \font\titlefont=\fontname\tenbf \scaledmag3
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
89 \font\headingfont=\fontname\tenbf \scaledmag2
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
90 \font\smallfont=\fontname\sevenrm
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
91 \font\smallsy=\fontname\sevensy
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
92
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
93 \footline{\hss\folio}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
94 \def\makefootline{\baselineskip10pt\hsize6.5in\line{\the\footline}}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
95 \else %2 or 3 columns uses prereduced size
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
96 \hsize 3.4in
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
97 \vsize 7.95in
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
98 \hoffset -.75in
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
99 \voffset -.745in
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
100 \font\titlefont=cmbx10 \scaledmag2
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
101 \font\headingfont=cmbx10 \scaledmag1
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
102 \font\smallfont=cmr6
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
103 \font\smallsy=cmsy6
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
104 \font\eightrm=cmr8
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
105 \font\eightbf=cmbx8
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
106 \font\eightit=cmti8
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
107 \font\eighttt=cmtt8
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
108 \font\eightmi=cmmi8
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
109 \font\eightsy=cmsy8
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
110 \textfont0=\eightrm
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
111 \textfont1=\eightmi
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
112 \textfont2=\eightsy
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
113 \def\rm{\eightrm}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
114 \def\bf{\eightbf}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
115 \def\it{\eightit}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
116 \def\tt{\eighttt}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
117 \normalbaselineskip=.8\normalbaselineskip
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
118 \normallineskip=.8\normallineskip
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
119 \normallineskiplimit=.8\normallineskiplimit
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
120 \normalbaselines\rm %make definitions take effect
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
121
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
122 \if 2\ncolumns
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
123 \let\maxcolumn=b
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
124 \footline{\hss\rm\folio\hss}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
125 \def\makefootline{\vskip 2in \hsize=6.86in\line{\the\footline}}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
126 \else \if 3\ncolumns
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
127 \let\maxcolumn=c
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
128 \nopagenumbers
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
129 \else
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
130 \errhelp{You must set \columnsperpage equal to 1, 2, or 3.}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
131 \errmessage{Illegal number of columns per page}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
132 \fi\fi
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
133
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
134 \intercolumnskip=.46in
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
135 \def\abc{a}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
136 \output={% %see The TeXbook page 257
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
137 % This next line is useful when designing the layout.
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
138 %\immediate\write16{Column \folio\abc\space starts with \firstmark}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
139 \if \maxcolumn\abc \multicolumnformat \global\def\abc{a}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
140 \else\if a\abc
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
141 \global\setbox\columna\columnbox \global\def\abc{b}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
142 %% in case we never use \columnb (two-column mode)
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
143 \global\setbox\columnb\hbox to -\intercolumnskip{}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
144 \else
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
145 \global\setbox\columnb\columnbox \global\def\abc{c}\fi\fi}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
146 \def\multicolumnformat{\shipout\vbox{\makeheadline
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
147 \hbox{\box\columna\hskip\intercolumnskip
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
148 \box\columnb\hskip\intercolumnskip\columnbox}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
149 \makefootline}\advancepageno}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
150 \def\columnbox{\leftline{\pagebody}}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
151
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
152 \def\bye{\par\vfill\supereject
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
153 \if a\abc \else\null\vfill\eject\fi
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
154 \if a\abc \else\null\vfill\eject\fi
35680
1a6073992224 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30871
diff changeset
155 \end}
30871
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
156 \fi
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
157
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
158 % we won't be using math mode much, so redefine some of the characters
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
159 % we might want to talk about
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
160 \catcode`\^=12
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
161 \catcode`\_=12
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
162
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
163 \chardef\\=`\\
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
164 \chardef\{=`\{
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
165 \chardef\}=`\}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
166
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
167 \hyphenation{mini-buf-fer}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
168 \hyphenation{de-le-tion}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
169
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
170 \parindent 0pt
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
171 \parskip 1ex plus .5ex minus .5ex
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
172
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
173 \def\small{\smallfont\textfont2=\smallsy\baselineskip=.8\baselineskip}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
174
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
175 % newcolumn - force a new column. Use sparingly, probably only for
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
176 % the first column of a page, which should have a title anyway.
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
177 \outer\def\newcolumn{\vfill\eject}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
178
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
179 % title - page title. Argument is title text.
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
180 \outer\def\title#1{{\titlefont\centerline{#1}}\vskip 1ex plus .5ex}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
181
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
182 % section - new major section. Argument is section name.
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
183 \outer\def\section#1{\par\filbreak
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
184 \vskip 3ex plus 2ex minus 2ex {\headingfont #1}\mark{#1}%
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
185 \vskip 2ex plus 1ex minus 1.5ex}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
186
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
187 \newdimen\keyindent
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
188
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
189 % beginindentedkeys...endindentedkeys - key definitions will be
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
190 % indented, but running text, typically used as headings to group
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
191 % definitions, will not.
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
192 \def\beginindentedkeys{\keyindent=1em}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
193 \def\endindentedkeys{\keyindent=0em}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
194 \endindentedkeys
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
195
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
196 % paralign - begin paragraph containing an alignment.
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
197 % If an \halign is entered while in vertical mode, a parskip is never
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
198 % inserted. Using \paralign instead of \halign solves this problem.
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
199 \def\paralign{\vskip\parskip\halign}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
200
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
201 % \<...> - surrounds a variable name in a code example
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
202 \def\<#1>{{\it #1\/}}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
203
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
204 % kbd - argument is characters typed literally. Like the Texinfo command.
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
205 \def\kbd#1{{\tt#1}\null} %\null so not an abbrev even if period follows
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
206
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
207 % beginexample...endexample - surrounds literal text, such a code example.
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
208 % typeset in a typewriter font with line breaks preserved
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
209 \def\beginexample{\par\leavevmode\begingroup
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
210 \obeylines\obeyspaces\parskip0pt\tt}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
211 {\obeyspaces\global\let =\ }
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
212 \def\endexample{\endgroup}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
213
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
214 % key - definition of a key.
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
215 % \key{description of key}{key-name}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
216 % prints the description left-justified, and the key-name in a \kbd
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
217 % form near the right margin.
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
218 \def\key#1#2{\leavevmode\hbox to \hsize{\vtop
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
219 {\hsize=.75\hsize\rightskip=1em
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
220 \hskip\keyindent\relax#1}\kbd{#2}\hfil}}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
221
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
222 \newbox\metaxbox
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
223 \setbox\metaxbox\hbox{\kbd{M-x }}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
224 \newdimen\metaxwidth
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
225 \metaxwidth=\wd\metaxbox
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
226
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
227 % metax - definition of a M-x command.
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
228 % \metax{description of command}{M-x command-name}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
229 % Tries to justify the beginning of the command name at the same place
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
230 % as \key starts the key name. (The "M-x " sticks out to the left.)
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
231 \def\metax#1#2{\leavevmode\hbox to \hsize{\hbox to .75\hsize
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
232 {\hskip\keyindent\relax#1\hfil}%
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
233 \hskip -\metaxwidth minus 1fil
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
234 \kbd{#2}\hfil}}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
235
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
236 % threecol - like "key" but with two key names.
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
237 % for example, one for doing the action backward, and one for forward.
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
238 \def\threecol#1#2#3{\hskip\keyindent\relax#1\hfil&\kbd{#2}\hfil\quad
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
239 &\kbd{#3}\hfil\quad\cr}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
240
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
241 % I cannot figure out how to make all dired-x
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
242 % commands fit on a page in two-column format
35680
1a6073992224 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30871
diff changeset
243 \def\dx{{\bf (DX)}}
30871
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
244
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
245 %**end of header
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
246
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
247
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
248 \title{Dired Reference Card}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
249
43258
f3408a98d0f3 Update Emacs version 20.x -> 21.x.
Eli Zaretskii <eliz@gnu.org>
parents: 36868
diff changeset
250 \centerline{(based on Dired in GNU Emacs 21.x)}
30871
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
251 \centerline{Commands marked with \dx{} require dired-x}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
252
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
253 % trim this down to fit everything on one page
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
254 % \section{General}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
255 % In dired, you can edit a list of the files in a directory (and optionally
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
256 % its subdirectories in the `ls -lR' format).
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
257
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
258 % Editing a directory means that you can visit, rename, copy, compress,
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
259 % load, byte-compile files. You can change files' attributes, run shell
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
260 % commands on files, or insert subdirectories into the edit buffer. You can
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
261 % "flag" files for deletion or "mark" files for later commands, either one
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
262 % file at a time or by all files matching certain criteria (e.g., files that
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
263 % match a certain regexp).
35680
1a6073992224 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30871
diff changeset
264
30871
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
265 % You move throughout the buffer using the usual cursor motion commands.
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
266 % Letters no longer insert themselves, but execute commands instead. The
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
267 % digits (0-9) are prefix arguments.
35680
1a6073992224 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30871
diff changeset
268
30871
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
269 % Most commands operate either on all marked files or on the current file if
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
270 % no files are marked. Use a numeric prefix argument to operate on the next
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
271 % ARG files (or previous ARG if ARG $<$ 0). Use the prefix argument `1' to
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
272 % operate on the current file only. Prefix arguments override marks. Commands
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
273 % which run a sub-process on a group of files will display a list of files
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
274 % for which the sub-process failed. Typing y will try to tell
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
275 % you what went wrong.
35680
1a6073992224 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30871
diff changeset
276
30871
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
277 % When editing several directories in one buffer, each directory acts as a
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
278 % page, so C-x [ and C-x ] can be used to move between directories.
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
279
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
280 \section{Entering and Exiting Dired}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
281
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
282 \key{run dired}{C-x d}
35680
1a6073992224 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30871
diff changeset
283 \key{dired the directory of the file you are editing}{C-x C-j \dx}
30871
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
284 \key{quit dired}{q}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
285
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
286 \section{Motion Commands}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
287
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
288 \key{move up to previous line}{p}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
289 \key{move down to next line}{n}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
290 \key{move up to previous directory line}{<}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
291 \key{move down to next directory line}{>}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
292 \key{move to next marked file}{M-\}}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
293 \key{move to previous marked file}{M-\{}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
294 \key{move up to previous subdirectory}{M-C-p}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
295 \key{move down to next subdirectory}{M-C-n}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
296 \key{move to parent directory}{^}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
297 \key{move to first child subdirectory}{M-C-d}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
298
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
299 \section{Mouse Commands}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
300 \metax{visit file}{Mouse_Button_2}
35680
1a6073992224 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30871
diff changeset
301 \metax{popup menu}{Control-Mouse_Button_3}
30871
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
302
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
303 \section{Immediate Actions on Files}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
304
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
305 \key{visit current file}{f}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
306 \key{view current file}{v}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
307 \key{visit current file in other window}{o}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
308 \key{visit current file in other frame}{w}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
309 \key{display current file}{C-u o}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
310 \key{create a new subdirectory}{+}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
311 \key{compare file at point with the one at mark}{=}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
312
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
313 \section{Marking and Unmarking Files}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
314
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
315 \key{mark a file or subdirectory for later commands}{m}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
316 \key{unmark a file or all files of a subdirectory}{u}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
317 \key{unmark all marked files in a buffer}{M-delete}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
318 \key{mark files with a given extension}{* .}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
319 \key{mark all directories}{* /}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
320 \key{mark all symlinks}{* @}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
321 \key{mark all executables}{* *}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
322 \key{invert marking}{* t}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
323 \key{mark all files in the current subdir}{* s}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
324 \key{mark file names matching a regular expression}{* \%}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
325 \key{change the marks to a different character}{* c}
35680
1a6073992224 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30871
diff changeset
326 \key{mark files for which Elisp expression returns t}{* ( \dx}
30871
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
327
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
328 \section{Getting Help}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
329
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
330 \key{dired help}{h}
35680
1a6073992224 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30871
diff changeset
331 \key{dired summary (short help) and error log}{?}
30871
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
332
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
333 \section{Commands on Files Marked or Specified by the Prefix}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
334
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
335 \key{copy file(s)}{C}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
336 \key{rename a file or move files to another directory}{R}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
337 \key{change ownership of file(s)}{O}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
338 \key{change the group of the file(s)}{G}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
339 \key{change mode of file(s)}{M}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
340 \key{print file(s)}{P}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
341 \key{convert filename(s) to lower case}{\% l}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
342 \key{convert filename(s) to upper case}{\% u}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
343 \key{delete marked (as opposed to flagged) files}{X}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
344 \key{uuencode or uudecode file(s)}{U}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
345 \key{compress or uncompress file(s)}{Z}
35680
1a6073992224 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30871
diff changeset
346 \key{run info on file}{I \dx}
30871
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
347 \key{make symbolic link(s)}{S}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
348 \key{make relative symbolic links}{Y}
36868
7d92ad7ffe49 More spelling corrections.
Gerd Moellmann <gerd@gnu.org>
parents: 36867
diff changeset
349 \key{make hard link(s)}{H}
30871
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
350 \key{search files for a regular expression}{A}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
351 \key{query replace regular expression}{Q}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
352 \key{byte-compile files}{B}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
353 \key{load files}{L}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
354 \key{shell command on file(s)}{!}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
355
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
356 \section{Flagging Files for Deletion}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
357 \leftline{\bf Unmark commands remove delete flags}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
358 \key{flag file for deletion}{d}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
359 \key{backup and remove deletion flag}{delete}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
360 \key{flag all backup files (file names ending in \~{})}{\~{}}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
361 \key{flag all auto-save files}{\#}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
362 \key{flag various intermediate files}{\&}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
363 \key{flag numeric backups (ending in .\~{}1\~{}, .\~{}2\~{}, etc.)}{.}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
364 \key{execute the deletions requested (flagged files)}{x}
36867
caefed147f99 Spelling corrections.
Gerd Moellmann <gerd@gnu.org>
parents: 35680
diff changeset
365 \key{flag files matching a regular expression}{\% d}
30871
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
366
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
367 \section{Modifying the Dired Buffer}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
368
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
369 \key{insert a subdirectory into this buffer}{i}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
370 \key{remove marked files from the listing}{k}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
371 \key{remove a subdir listing}{C-u k}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
372 \key{re-read all directories (retains all marks)}{g}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
373 \key{toggle sorting of current subdir by name/date}{s}
36867
caefed147f99 Spelling corrections.
Gerd Moellmann <gerd@gnu.org>
parents: 35680
diff changeset
374 \key{edit ls switches}{C-u s}
30871
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
375 \key{recover marks, hidden lines, and such}{C-_}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
376 \key{hide all subdirectories}{M-\$}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
377 \key{hide or unhide subdirectory}{\$}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
378
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
379 \section{Regular Expression Commands}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
380
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
381 \key{mark filenames matching a regular expression}{\% m}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
382 \key{copy marked files by regexp}{\% C}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
383 \key{rename marked files by regexp}{\% R}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
384 \key{hardlink}{\% H}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
385 \key{symlink}{\% S}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
386 \key{symlink, with relative paths}{\% Y}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
387 \key{mark for deletion}{\% d}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
388
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
389 \section{Dired and Find}
36868
7d92ad7ffe49 More spelling corrections.
Gerd Moellmann <gerd@gnu.org>
parents: 36867
diff changeset
390 \metax{dired file(s) whose name matches a pattern}{M-x find-name-dired}
30871
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
391 \metax{dired file(s) that contain pattern}{M-x find-grep-dired}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
392 \metax{dired file(s) based on \kbd{find} output}{M-x find-dired}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
393
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
394 %\copyrightnotice
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
395
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
396 \bye
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
397
52401
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 43258
diff changeset
398 % arch-tag: 483e7bb4-4576-4733-9fca-0eae1c861484