annotate man/dired-ref.tex @ 65:3189028d0229

Added tag r19-16-pre7 for changeset a01e7a40045c
author cvs
date Mon, 13 Aug 2007 08:59:31 +0200
parents 376386a54a3c
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1 % Document Type: TeX
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2 % Master File: dired-ref.tex
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3 % TREE DIRED Reference Card for GNU Emacs version 18 on Unix systems
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4 %**start of header
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
5 \newcount\columnsperpage
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
6
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
7 % This file can be printed with 1, 2, or 3 columns per page (see below).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
8 % Specify how many you want here. Nothing else needs to be changed.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
9
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
10 \columnsperpage=1
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
11
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
12 % Copyright (c) 1991 Free Software Foundation, Inc.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
13
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
14 % This file is part of GNU Emacs.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
15
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
16 % This file is distributed in the hope that it will be useful,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
17 % but WITHOUT ANY WARRANTY. No author or distributor
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
18 % accepts responsibility to anyone for the consequences of using it
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
19 % or for whether it serves any particular purpose or describes
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
20 % any piece of software unless they say so in writing. Refer to the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
21 % GNU Emacs General Public License for full details.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
22 %
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
23 % Permission is granted to copy, modify and redistribute this source
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
24 % file provided the copyright notice and permission notices are
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
25 % preserved on all copies.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
26 %
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
27 % Permission is granted to process this file through TeX and print the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
28 % results, provided the printed document carries copyright and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
29 % permission notices identical to the ones below.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
30
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
31 % This file is intended to be processed by plain TeX (TeX82).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
32 %
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
33 % The final reference card has six columns, three on each side.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
34 % This file can be used to produce it in any of three ways:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
35 % 1 column per page
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
36 % produces six separate pages, each of which needs to be reduced to 80%.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
37 % This gives the best resolution.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
38 % 2 columns per page
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
39 % produces three already-reduced pages.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
40 % You will still need to cut and paste.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
41 % 3 columns per page
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
42 % produces two pages which must be printed sideways to make a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
43 % ready-to-use 8.5 x 11 inch reference card.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
44 % For this you need a dvi device driver that can print sideways.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
45 % Which mode to use is controlled by setting \columnsperpage above.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
46 %
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
47 % TeX Layout commands taken from the GNU Emacs Refcard (thanks to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
48 % Stephen Gildea <gildea@erl.mit.edu> for this work)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
49
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
50 \def\diredx{$^\dagger$} % marks extra feature not present in dired.el
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
51 \let\diredx\diredx % `compile' while ^ still active
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
52 \overfullrule0pt
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
53 \def\~{\char`~} % an ASCII tilde character
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
54
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
55 \def\versionnumber{1.0}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
56 \def\year{1992}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
57 \def\version{\year\ v\versionnumber}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
58
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
59 \def\shortcopyrightnotice{\vskip 1ex plus 2 fill
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
60 \centerline{\small \copyright\ \year\ Free Software Foundation, Inc.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
61 Permissions on back. v\versionnumber}}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
62
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
63 \def\copyrightnotice{
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
64 \vskip 1ex plus 2 fill\begingroup\small
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
65 \centerline{Copyright \copyright\ \year\ Free Software Foundation, Inc.}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
66 % \centerline{designed by Stephen Gildea, \version}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
67 \centerline{\version}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
68 \centerline{for GNU Emacs version 18 on Unix systems}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
69
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
70 Permission is granted to make and distribute copies of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
71 this card provided the copyright notice and this permission notice
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
72 are preserved on all copies.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
73
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
74 For copies of the GNU Emacs manual, write to the Free Software
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
75 Foundation, Inc., 675 Massachusetts Ave, Cambridge MA 02139.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
76
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
77 \endgroup}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
78
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
79 % make \bye not \outer so that the \def\bye in the \else clause below
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
80 % can be scanned without complaint.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
81 \def\bye{\par\vfill\supereject\end}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
82
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
83 \newdimen\intercolumnskip
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
84 \newbox\columna
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
85 \newbox\columnb
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
86
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
87 \def\ncolumns{\the\columnsperpage}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
88
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
89 \message{[\ncolumns\space
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
90 column\if 1\ncolumns\else s\fi\space per page]}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
91
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
92 \def\scaledmag#1{ scaled \magstep #1}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
93
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
94 % This multi-way format was designed by Stephen Gildea
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
95 % October 1986.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
96 \if 1\ncolumns
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
97 \hsize 4in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
98 \vsize 10in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
99 \voffset -.7in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
100 \font\titlefont=\fontname\tenbf \scaledmag3
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
101 \font\headingfont=\fontname\tenbf \scaledmag2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
102 \font\smallfont=\fontname\sevenrm
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
103 \font\smallsy=\fontname\sevensy
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
104
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
105 \footline{\hss\folio}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
106 \def\makefootline{\baselineskip10pt\hsize6.5in\line{\the\footline}}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
107 \else
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
108 \hsize 3.2in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
109 \vsize 7.95in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
110 \hoffset -.75in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
111 \voffset -.745in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
112 \font\titlefont=cmbx10 \scaledmag2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
113 \font\headingfont=cmbx10 \scaledmag1
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
114 \font\smallfont=cmr6
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
115 \font\smallsy=cmsy6
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
116 \font\eightrm=cmr8
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
117 \font\eightbf=cmbx8
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
118 \font\eightit=cmti8
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
119 \font\eighttt=cmtt8
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
120 \font\eightsy=cmsy8
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
121 \textfont0=\eightrm
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
122 \textfont2=\eightsy
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
123 \def\rm{\eightrm}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
124 \def\bf{\eightbf}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
125 \def\it{\eightit}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
126 \def\tt{\eighttt}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
127 \normalbaselineskip=.8\normalbaselineskip
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
128 \normallineskip=.8\normallineskip
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
129 \normallineskiplimit=.8\normallineskiplimit
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
130 \normalbaselines\rm %make definitions take effect
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
131
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
132 \if 2\ncolumns
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
133 \let\maxcolumn=b
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
134 \footline{\hss\rm\folio\hss}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
135 \def\makefootline{\vskip 2in \hsize=6.86in\line{\the\footline}}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
136 \else \if 3\ncolumns
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
137 \let\maxcolumn=c
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
138 \nopagenumbers
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
139 \else
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
140 \errhelp{You must set \columnsperpage equal to 1, 2, or 3.}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
141 \errmessage{Illegal number of columns per page}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
142 \fi\fi
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
143
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
144 \intercolumnskip=.46in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
145 \def\abc{a}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
146 \output={%
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
147 % This next line is useful when designing the layout.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
148 %\immediate\write16{Column \folio\abc\space starts with \firstmark}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
149 \if \maxcolumn\abc \multicolumnformat \global\def\abc{a}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
150 \else\if a\abc
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
151 \global\setbox\columna\columnbox \global\def\abc{b}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
152 %% in case we never use \columnb (two-column mode)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
153 \global\setbox\columnb\hbox to -\intercolumnskip{}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
154 \else
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
155 \global\setbox\columnb\columnbox \global\def\abc{c}\fi\fi}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
156 \def\multicolumnformat{\shipout\vbox{\makeheadline
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
157 \hbox{\box\columna\hskip\intercolumnskip
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
158 \box\columnb\hskip\intercolumnskip\columnbox}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
159 \makefootline}\advancepageno}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
160 \def\columnbox{\leftline{\pagebody}}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
161
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
162 \def\bye{\par\vfill\supereject
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
163 \if a\abc \else\null\vfill\eject\fi
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
164 \if a\abc \else\null\vfill\eject\fi
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
165 \end}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
166 \fi
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
167
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
168 % we won't be using math mode much, so redefine some of the characters
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
169 % we might want to talk about
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
170 \catcode`\^=12
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
171 \catcode`\_=12
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
172
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
173 \chardef\\=`\\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
174 \chardef\{=`\{
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
175 \chardef\}=`\}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
176
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
177 \hyphenation{mini-buf-fer}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
178
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
179 \parindent 0pt
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
180 \parskip 1ex plus .5ex minus .5ex
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
181
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
182 \def\small{\smallfont\textfont2=\smallsy\baselineskip=.8\baselineskip}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
183
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
184 \outer\def\newcolumn{\vfill\eject}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
185
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
186 \outer\def\title#1{{\titlefont\centerline{#1}}\vskip 1ex plus .5ex}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
187
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
188 \outer\def\section#1{\par\filbreak
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
189 \vskip 3ex plus 2ex minus 2ex {\headingfont #1}\mark{#1}%
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
190 \vskip 2ex plus 1ex minus 1.5ex}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
191
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
192 \newdimen\keyindent
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
193
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
194 \def\beginindentedkeys{\keyindent=1em}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
195 \def\endindentedkeys{\keyindent=0em}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
196 \endindentedkeys
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
197
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
198 \def\paralign{\vskip\parskip\halign}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
199
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
200 \def\<#1>{$\langle${\rm #1}$\rangle$}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
201
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
202 \def\kbd#1{{\tt#1}\null} %\null so not an abbrev even if period follows
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
203
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
204 \def\beginexample{\par\leavevmode\begingroup
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
205 \obeylines\obeyspaces\parskip0pt\tt}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
206 {\obeyspaces\global\let =\ }
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
207 \def\endexample{\endgroup}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
208
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
209 \def\key#1#2{\leavevmode\hbox to \hsize{\vtop
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
210 {\hsize=.75\hsize\rightskip=1em
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
211 \hskip\keyindent\relax#1}\kbd{#2}\hfil}}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
212
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
213 \newbox\metaxbox
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
214 \setbox\metaxbox\hbox{\kbd{M-x }}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
215 \newdimen\metaxwidth
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
216 \metaxwidth=\wd\metaxbox
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
217
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
218 \def\metax#1#2{\leavevmode\hbox to \hsize{\hbox to .75\hsize
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
219 {\hskip\keyindent\relax#1\hfil}%
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
220 \hskip -\metaxwidth minus 1fil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
221 \kbd{#2}\hfil}}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
222
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
223 \def\threecolumn#1#2#3{\hskip\keyindent\relax{#1}\hfil&{#2}\quad &{#3}\quad\cr}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
224 \def\threecol#1#2#3{\threecolumn{#1}{\kbd{#2}}{\kbd{#3}}}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
225
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
226 %**end of header
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
227
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
228
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
229 \title{Tree Dired Reference Card}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
230
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
231 \centerline{(for GNU Emacs version 18)}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
232
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
233 \centerline{$ !Id: dired-ref.tex,v 1.1.1.1 1992/06/29 22:33:08 devin Exp ! $}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
234
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
235 A feature marked like this\diredx{} is optional and not part of dired
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
236 proper.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
237
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
238
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
239 \section{Starting Dired}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
240
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
241 \key{Dired in current window} {C-x d}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
242 \key{Dired in other window} {C-x 4 d}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
243
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
244 The last component of the pathname may contain wildcards. With prefix
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
245 argument, Dired asks you to enter the listing switches for the {\tt
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
246 ls} command.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
247
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
248 Another way is from within {\tt find-file}, \kbd{C-x C-f}: just enter
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
249 a directory name (no wildcards possible).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
250
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
251
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
252 \section {Cursor Motion}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
253 All the usual Emacs cursor motion commands are available in Dired
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
254 buffers. Special motion commands are (see also ``Subdirectories''
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
255 below):
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
256
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
257 \beginindentedkeys
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
258 \paralign to \hsize{#\tabskip=10pt plus 1 fil&#\tabskip=0pt&#\cr
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
259 \threecol{\bf go to} {\bf previous} {\bf next}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
260 \threecol{line} {C-p {\rm or} p} {C-n {\rm or} n}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
261 \threecol{directory line} {<} {>}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
262 %\threecol{inserted directory} {ESC C-p} {ESC C-n} % now below
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
263 \threecol{marked file} {ESC \{} {ESC \}}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
264 }
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
265 \endindentedkeys
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
266
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
267
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
268 \section{Visiting Files}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
269
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
270 \key{visit current file (dired if directory)} {f}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
271 \key{visit current file in other window}{o}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
272 \key{view current file read-only} {v}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
273
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
274
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
275 \section{Displaying Files}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
276
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
277 \key{toggle between sort by name/date} {s}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
278 \key{specify new ls switches}{C-u s}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
279 \key{redisplay current, marked or next N files}{l}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
280 \key{revert buffer}{g}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
281
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
282 \key{kill this line (but not this file)}{k}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
283 \key{undo changes to Dired buffer} {C-x u {\rm or} C-_}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
284 \key{copy file name(s) to kill ring\diredx} {w}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
285
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
286
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
287 \section{Marking and Unmarking Files}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
288
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
289 \key{mark (with \kbd{*}) the current or next N file(s)} {m}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
290 \key{remove mark}{u}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
291 \key{remove mark on previous line}{DEL}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
292
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
293 \key{mark all files matching REGEXP}{\%m}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
294 \key{mark all executable files}{*}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
295 \key{mark all symbolic links}{@}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
296 \key{mark all directories}{/}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
297
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
298 \key{unmark the current or next N file(s)} {u}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
299 \key{move up lines and remove flags there} {DEL}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
300 \key{remove a specific or all flags from every file}{ESC DEL}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
301 %\key{toggle marks\diredx}{T} % this command is not very important
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
302
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
303
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
304 \section {Mark Using Commands}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
305
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
306 The following commands are applied to the marked files or (if there
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
307 are none) to the current file. Numeric prefix argument means, apply
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
308 command to the next N (previous N if negative) files. Digits work as
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
309 prefix arguments.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
310
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
311 {\bf Copying And Moving Files\dots}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
312
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
313 Default target directory is where point is.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
314
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
315 \beginindentedkeys
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
316 \key{move or rename} {r}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
317 \key{copy} {c}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
318 \key{make hard links} {H}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
319 \key{make symbolic links} {Y}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
320 \key{make relative symbolic links\diredx} {S}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
321 \endindentedkeys
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
322
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
323 {\bf \dots With Regexps}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
324
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
325 {\tt \\\&} in NEWNAME stands for the entire text being replaced. {\tt
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
326 \\N} in NEWNAME, where N is a digit, stands for whatever matched the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
327 N'th parenthesized grouping in REGEXP.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
328
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
329 \beginindentedkeys
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
330 \key{move or rename} {\%r}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
331 \key{copy} {\%c}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
332 \key{make hard links} {\%H}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
333 \key{make symbolic links} {\%Y}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
334 \key{make relative symbolic links\diredx} {\%S}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
335
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
336 \key{rename to upper case}{\%u}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
337 \key{rename to lower case}{\%l}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
338 \endindentedkeys
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
339
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
340 {\bf Shell Commands}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
341
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
342 Shell commands have the top level directory as working directory.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
343 A {\tt *} indicates where filenames go (default: at end).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
344
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
345 \beginindentedkeys
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
346 \key{run a shell command}{!}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
347 \key{run a shell command in background\diredx}{\&}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
348 \endindentedkeys
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
349
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
350 {\bf Other Mark Using Commands}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
351
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
352 \beginindentedkeys
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
353 \key{compress files}{C}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
354 \key{uncompress files}{U}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
355
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
356 \key{change the mode ({\tt g+w} etc. allowed)} {M}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
357 \key{change the group} {G}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
358 \key{change the owner} {O}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
359
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
360 \key{load elisp files}{L}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
361 \key{byte compile elisp files} {B}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
362
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
363 \key{print files} {P}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
364 \endindentedkeys
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
365
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
366
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
367 \section {Deleting Files}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
368
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
369 \key{flag (with \kbd{D}) file for deletion}{d}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
370
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
371 \key{flag auto-save files}{\#}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
372 \key{flag backup files}{\~}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
373 \key{flag excess numeric backup files}{.}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
374 \key{flag files matching REGEXP}{\%d}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
375
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
376 \key{delete \kbd{D}-flagged files}{x}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
377 \key{delete \kbd{*}-marked files} {X}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
378
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
379
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
380 \section{Comparing files}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
381
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
382 \key{diff current file with file mark is on} {D}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
383 \key{diff current file with its backup file} {ESC \~}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
384
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
385
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
386 \section{Making Directories}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
387
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
388 \key{create a new directory}{+}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
389
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
390
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
391 \section{Error Logging}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
392
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
393 \key{see why something went wrong}{W}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
394
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
395
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
396 \section{Subdirectories}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
397
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
398 \key{insert directory into same Dired buffer}{i}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
399 \key{insert all marked directories\diredx}{I}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
400
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
401 \key{relist subdirectory of this headerline}{l}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
402 \key{kill subdirectory of this headerline}{k}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
403
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
404 \key{go up (Dired parent directory)}{^}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
405 \key{go down (view this directory)}{v}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
406
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
407 \key{go up in inserted directory tree}{ESC C-u}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
408 \key{go down in inserted directory tree}{ESC C-d}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
409 \key{next inserted directory}{ESC C-n}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
410 \key{previous inserted directory}{ESC C-p}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
411
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
412
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
413 \section{Hiding Directories}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
414 \key{hide or unhide current inserted directory}{\$}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
415 \key{hide or unhide all inserted directories}{=}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
416
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
417
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
418 \section{Advanced Commands\diredx}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
419
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
420 %{\bf Dynamic Markers}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
421 %\section{Dynamic Markers\diredx}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
422
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
423 \key{push a new marker character}{(}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
424 \key{pop current marker off stack}{)}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
425
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
426 %{\bf Omitting}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
427 %\section{Omitting\diredx}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
428
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
429 \key{toggle omitting}{ESC o}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
430
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
431 %{\bf Advanced Mark Commands}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
432 %\section{Advanced Mark Commands\diredx}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
433
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
434 \key{mark files for which PREDICATE is non-nil}{ESC (}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
435
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
436 {\beginindentedkeys
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
437 \advance\leftskip by \keyindent
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
438 %
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
439 PREDICATE is a lisp expression, e.g., {\tt (= size 0)}, that can refer
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
440 to the following symbols:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
441
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
442 \paralign to \hsize{#\tabskip=10pt plus 1 fil&#\tabskip=0pt&#\cr
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
443 \threecolumn{\bf meaning} {\bf symbol} {\bf type}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
444 \threecolumn{inode (only for {\tt ls -i})} {\tt inode}{\rm integer}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
445 \threecolumn{size, usually in blocks (only for {\tt ls -s})}{\tt s}{\rm integer}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
446 \threecolumn{file permission bits ({\tt "-rw-r--r--"})}{\tt mode}{\rm string}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
447 \threecolumn{number of links to file} {\tt nlink}{\rm integer}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
448 \threecolumn{owner} {\tt uid}{\rm string}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
449 \threecolumn{group} {\tt gid}{\rm string}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
450 \threecolumn{file size in bytes} {\tt size}{\rm integer}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
451 \threecolumn{time that {\tt ls} displays ({\tt "Feb 12 14:17"})}{\tt time}{\rm string}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
452 \threecolumn{name of the file} {\tt name}{\rm string}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
453 \threecolumn{if symlink, linked-to name, else {\tt ""}}{\tt sym}{\rm string}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
454 }
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
455 \endindentedkeys
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
456 }
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
457
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
458 \section{Filename Transformers\diredx}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
459 Use e.g. {\tt [b]} instead of {\tt *} to access basenames in shell
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
460 commands.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
461
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
462 \key{unmodified filename (equivalent to {\tt [dbe]}).}{*}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
463 \key{name without directory information}{n}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
464 \key{directory component}{d}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
465 \key{basename, without directory and extension}{b}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
466 \key{extension}{e}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
467 \key{file without directory and without {\tt,v} suffix.}{v}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
468 \key{without directory and without {\tt .Z} suffix}{z}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
469
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
470
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
471 \section{Find Dired\diredx}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
472
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
473 \metax{Feed arbitrary find(1) command to Dired}{M-x find-dired}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
474 \metax{Find file names matching WILDCARD}{M-x find-name-dired}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
475 \metax{Find files containing PATTERN}{M-x find-grep-dired}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
476
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
477 \bye