annotate etc/dired-ref.tex @ 88724:e356e4ec00b6

*** empty log message ***
author Dave Love <fx@gnu.org>
date Thu, 06 Jun 2002 11:34:49 +0000
parents f3408a98d0f3
children 695cf19ef79e d7ddb3e565de
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
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
18 % the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
19 % Boston, MA 02111-1307, USA.
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
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
62 Foundation, Inc., 675 Massachusetts Ave, Cambridge MA 02139.
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
63
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
64 \endgroup}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
65
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
66 % 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
67 % can be scanned without complaint.
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
68 \def\bye{\par\vfill\supereject\end}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
69
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
70 \newdimen\intercolumnskip %horizontal space between columns
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
71 \newbox\columna %boxes to hold columns already built
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
72 \newbox\columnb
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
73
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
74 \def\ncolumns{\the\columnsperpage}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
75
35680
1a6073992224 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30871
diff changeset
76 \message{[\ncolumns\space
30871
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
77 column\if 1\ncolumns\else s\fi\space per page]}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
78
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
79 \def\scaledmag#1{ scaled \magstep #1}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
80
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
81 % This multi-way format was designed by Stephen Gildea October 1986.
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
82 % Note that the 1-column format is fontfamily-independent.
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
83 \if 1\ncolumns %one-column format uses normal size
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
84 \hsize 4in
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
85 \vsize 10in
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
86 \voffset -.7in
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
87 \font\titlefont=\fontname\tenbf \scaledmag3
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
88 \font\headingfont=\fontname\tenbf \scaledmag2
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
89 \font\smallfont=\fontname\sevenrm
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
90 \font\smallsy=\fontname\sevensy
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
91
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
92 \footline{\hss\folio}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
93 \def\makefootline{\baselineskip10pt\hsize6.5in\line{\the\footline}}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
94 \else %2 or 3 columns uses prereduced size
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
95 \hsize 3.4in
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
96 \vsize 7.95in
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
97 \hoffset -.75in
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
98 \voffset -.745in
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
99 \font\titlefont=cmbx10 \scaledmag2
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
100 \font\headingfont=cmbx10 \scaledmag1
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
101 \font\smallfont=cmr6
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
102 \font\smallsy=cmsy6
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
103 \font\eightrm=cmr8
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
104 \font\eightbf=cmbx8
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
105 \font\eightit=cmti8
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
106 \font\eighttt=cmtt8
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
107 \font\eightmi=cmmi8
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
108 \font\eightsy=cmsy8
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
109 \textfont0=\eightrm
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
110 \textfont1=\eightmi
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
111 \textfont2=\eightsy
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
112 \def\rm{\eightrm}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
113 \def\bf{\eightbf}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
114 \def\it{\eightit}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
115 \def\tt{\eighttt}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
116 \normalbaselineskip=.8\normalbaselineskip
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
117 \normallineskip=.8\normallineskip
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
118 \normallineskiplimit=.8\normallineskiplimit
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
119 \normalbaselines\rm %make definitions take effect
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
120
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
121 \if 2\ncolumns
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
122 \let\maxcolumn=b
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
123 \footline{\hss\rm\folio\hss}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
124 \def\makefootline{\vskip 2in \hsize=6.86in\line{\the\footline}}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
125 \else \if 3\ncolumns
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
126 \let\maxcolumn=c
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
127 \nopagenumbers
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
128 \else
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
129 \errhelp{You must set \columnsperpage equal to 1, 2, or 3.}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
130 \errmessage{Illegal number of columns per page}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
131 \fi\fi
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
132
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
133 \intercolumnskip=.46in
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
134 \def\abc{a}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
135 \output={% %see The TeXbook page 257
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
136 % This next line is useful when designing the layout.
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
137 %\immediate\write16{Column \folio\abc\space starts with \firstmark}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
138 \if \maxcolumn\abc \multicolumnformat \global\def\abc{a}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
139 \else\if a\abc
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
140 \global\setbox\columna\columnbox \global\def\abc{b}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
141 %% in case we never use \columnb (two-column mode)
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
142 \global\setbox\columnb\hbox to -\intercolumnskip{}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
143 \else
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
144 \global\setbox\columnb\columnbox \global\def\abc{c}\fi\fi}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
145 \def\multicolumnformat{\shipout\vbox{\makeheadline
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
146 \hbox{\box\columna\hskip\intercolumnskip
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
147 \box\columnb\hskip\intercolumnskip\columnbox}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
148 \makefootline}\advancepageno}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
149 \def\columnbox{\leftline{\pagebody}}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
150
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
151 \def\bye{\par\vfill\supereject
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
152 \if a\abc \else\null\vfill\eject\fi
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
153 \if a\abc \else\null\vfill\eject\fi
35680
1a6073992224 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30871
diff changeset
154 \end}
30871
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
155 \fi
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
156
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
157 % 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
158 % we might want to talk about
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
159 \catcode`\^=12
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
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
162 \chardef\\=`\\
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
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
166 \hyphenation{mini-buf-fer}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
167 \hyphenation{de-le-tion}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
168
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
169 \parindent 0pt
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
170 \parskip 1ex plus .5ex minus .5ex
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
171
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
172 \def\small{\smallfont\textfont2=\smallsy\baselineskip=.8\baselineskip}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
173
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
174 % newcolumn - force a new column. Use sparingly, probably only for
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
175 % the first column of a page, which should have a title anyway.
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
176 \outer\def\newcolumn{\vfill\eject}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
177
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
178 % title - page title. Argument is title text.
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
179 \outer\def\title#1{{\titlefont\centerline{#1}}\vskip 1ex plus .5ex}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
180
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
181 % section - new major section. Argument is section name.
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
182 \outer\def\section#1{\par\filbreak
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
183 \vskip 3ex plus 2ex minus 2ex {\headingfont #1}\mark{#1}%
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
184 \vskip 2ex plus 1ex minus 1.5ex}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
185
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
186 \newdimen\keyindent
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
187
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
188 % beginindentedkeys...endindentedkeys - key definitions will be
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
189 % indented, but running text, typically used as headings to group
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
190 % definitions, will not.
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
191 \def\beginindentedkeys{\keyindent=1em}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
192 \def\endindentedkeys{\keyindent=0em}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
193 \endindentedkeys
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
194
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
195 % paralign - begin paragraph containing an alignment.
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
196 % 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
197 % inserted. Using \paralign instead of \halign solves this problem.
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
198 \def\paralign{\vskip\parskip\halign}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
199
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
200 % \<...> - surrounds a variable name in a code example
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
201 \def\<#1>{{\it #1\/}}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
202
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
203 % kbd - argument is characters typed literally. Like the Texinfo command.
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
204 \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
205
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
206 % beginexample...endexample - surrounds literal text, such a code example.
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
207 % typeset in a typewriter font with line breaks preserved
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
208 \def\beginexample{\par\leavevmode\begingroup
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
209 \obeylines\obeyspaces\parskip0pt\tt}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
210 {\obeyspaces\global\let =\ }
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
211 \def\endexample{\endgroup}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
212
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
213 % key - definition of a key.
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
214 % \key{description of key}{key-name}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
215 % prints the description left-justified, and the key-name in a \kbd
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
216 % form near the right margin.
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
217 \def\key#1#2{\leavevmode\hbox to \hsize{\vtop
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
218 {\hsize=.75\hsize\rightskip=1em
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
219 \hskip\keyindent\relax#1}\kbd{#2}\hfil}}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
220
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
221 \newbox\metaxbox
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
222 \setbox\metaxbox\hbox{\kbd{M-x }}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
223 \newdimen\metaxwidth
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
224 \metaxwidth=\wd\metaxbox
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
225
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
226 % metax - definition of a M-x command.
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
227 % \metax{description of command}{M-x command-name}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
228 % 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
229 % 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
230 \def\metax#1#2{\leavevmode\hbox to \hsize{\hbox to .75\hsize
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
231 {\hskip\keyindent\relax#1\hfil}%
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
232 \hskip -\metaxwidth minus 1fil
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
233 \kbd{#2}\hfil}}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
234
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
235 % threecol - like "key" but with two key names.
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
236 % for example, one for doing the action backward, and one for forward.
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
237 \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
238 &\kbd{#3}\hfil\quad\cr}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
239
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
240 % I cannot figure out how to make all dired-x
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
241 % commands fit on a page in two-column format
35680
1a6073992224 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30871
diff changeset
242 \def\dx{{\bf (DX)}}
30871
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
243
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
244 %**end of header
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
245
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 \title{Dired Reference Card}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
248
43258
f3408a98d0f3 Update Emacs version 20.x -> 21.x.
Eli Zaretskii <eliz@gnu.org>
parents: 36868
diff changeset
249 \centerline{(based on Dired in GNU Emacs 21.x)}
30871
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
250 \centerline{Commands marked with \dx{} require dired-x}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
251
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
252 % trim this down to fit everything on one page
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
253 % \section{General}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
254 % 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
255 % its subdirectories in the `ls -lR' format).
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
256
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
257 % Editing a directory means that you can visit, rename, copy, compress,
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
258 % load, byte-compile files. You can change files' attributes, run shell
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
259 % commands on files, or insert subdirectories into the edit buffer. You can
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
260 % "flag" files for deletion or "mark" files for later commands, either one
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
261 % 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
262 % match a certain regexp).
35680
1a6073992224 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30871
diff changeset
263
30871
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
264 % You move throughout the buffer using the usual cursor motion commands.
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
265 % Letters no longer insert themselves, but execute commands instead. The
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
266 % digits (0-9) are prefix arguments.
35680
1a6073992224 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30871
diff changeset
267
30871
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
268 % 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
269 % 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
270 % 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
271 % operate on the current file only. Prefix arguments override marks. Commands
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
272 % 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
273 % for which the sub-process failed. Typing y will try to tell
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
274 % you what went wrong.
35680
1a6073992224 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30871
diff changeset
275
30871
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
276 % When editing several directories in one buffer, each directory acts as a
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
277 % 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
278
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
279 \section{Entering and Exiting Dired}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
280
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
281 \key{run dired}{C-x d}
35680
1a6073992224 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30871
diff changeset
282 \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
283 \key{quit dired}{q}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
284
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
285 \section{Motion Commands}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
286
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
287 \key{move up to previous line}{p}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
288 \key{move down to next line}{n}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
289 \key{move up to previous directory line}{<}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
290 \key{move down to next directory line}{>}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
291 \key{move to next marked file}{M-\}}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
292 \key{move to previous marked file}{M-\{}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
293 \key{move up to previous subdirectory}{M-C-p}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
294 \key{move down to next subdirectory}{M-C-n}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
295 \key{move to parent directory}{^}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
296 \key{move to first child subdirectory}{M-C-d}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
297
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
298 \section{Mouse Commands}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
299 \metax{visit file}{Mouse_Button_2}
35680
1a6073992224 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30871
diff changeset
300 \metax{popup menu}{Control-Mouse_Button_3}
30871
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
301
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
302 \section{Immediate Actions on Files}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
303
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
304 \key{visit current file}{f}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
305 \key{view current file}{v}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
306 \key{visit current file in other window}{o}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
307 \key{visit current file in other frame}{w}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
308 \key{display current file}{C-u o}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
309 \key{create a new subdirectory}{+}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
310 \key{compare file at point with the one at mark}{=}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
311
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
312 \section{Marking and Unmarking Files}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
313
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
314 \key{mark a file or subdirectory for later commands}{m}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
315 \key{unmark a file or all files of a subdirectory}{u}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
316 \key{unmark all marked files in a buffer}{M-delete}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
317 \key{mark files with a given extension}{* .}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
318 \key{mark all directories}{* /}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
319 \key{mark all symlinks}{* @}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
320 \key{mark all executables}{* *}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
321 \key{invert marking}{* t}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
322 \key{mark all files in the current subdir}{* s}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
323 \key{mark file names matching a regular expression}{* \%}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
324 \key{change the marks to a different character}{* c}
35680
1a6073992224 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30871
diff changeset
325 \key{mark files for which Elisp expression returns t}{* ( \dx}
30871
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
326
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
327 \section{Getting Help}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
328
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
329 \key{dired help}{h}
35680
1a6073992224 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30871
diff changeset
330 \key{dired summary (short help) and error log}{?}
30871
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
331
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
332 \section{Commands on Files Marked or Specified by the Prefix}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
333
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
334 \key{copy file(s)}{C}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
335 \key{rename a file or move files to another directory}{R}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
336 \key{change ownership of file(s)}{O}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
337 \key{change the group of the file(s)}{G}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
338 \key{change mode of file(s)}{M}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
339 \key{print file(s)}{P}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
340 \key{convert filename(s) to lower case}{\% l}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
341 \key{convert filename(s) to upper case}{\% u}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
342 \key{delete marked (as opposed to flagged) files}{X}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
343 \key{uuencode or uudecode file(s)}{U}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
344 \key{compress or uncompress file(s)}{Z}
35680
1a6073992224 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30871
diff changeset
345 \key{run info on file}{I \dx}
30871
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
346 \key{make symbolic link(s)}{S}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
347 \key{make relative symbolic links}{Y}
36868
7d92ad7ffe49 More spelling corrections.
Gerd Moellmann <gerd@gnu.org>
parents: 36867
diff changeset
348 \key{make hard link(s)}{H}
30871
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
349 \key{search files for a regular expression}{A}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
350 \key{query replace regular expression}{Q}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
351 \key{byte-compile files}{B}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
352 \key{load files}{L}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
353 \key{shell command on file(s)}{!}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
354
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
355 \section{Flagging Files for Deletion}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
356 \leftline{\bf Unmark commands remove delete flags}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
357 \key{flag file for deletion}{d}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
358 \key{backup and remove deletion flag}{delete}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
359 \key{flag all backup files (file names ending in \~{})}{\~{}}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
360 \key{flag all auto-save files}{\#}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
361 \key{flag various intermediate files}{\&}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
362 \key{flag numeric backups (ending in .\~{}1\~{}, .\~{}2\~{}, etc.)}{.}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
363 \key{execute the deletions requested (flagged files)}{x}
36867
caefed147f99 Spelling corrections.
Gerd Moellmann <gerd@gnu.org>
parents: 35680
diff changeset
364 \key{flag files matching a regular expression}{\% d}
30871
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
365
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
366 \section{Modifying the Dired Buffer}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
367
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
368 \key{insert a subdirectory into this buffer}{i}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
369 \key{remove marked files from the listing}{k}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
370 \key{remove a subdir listing}{C-u k}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
371 \key{re-read all directories (retains all marks)}{g}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
372 \key{toggle sorting of current subdir by name/date}{s}
36867
caefed147f99 Spelling corrections.
Gerd Moellmann <gerd@gnu.org>
parents: 35680
diff changeset
373 \key{edit ls switches}{C-u s}
30871
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
374 \key{recover marks, hidden lines, and such}{C-_}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
375 \key{hide all subdirectories}{M-\$}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
376 \key{hide or unhide subdirectory}{\$}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
377
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
378 \section{Regular Expression Commands}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
379
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
380 \key{mark filenames matching a regular expression}{\% m}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
381 \key{copy marked files by regexp}{\% C}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
382 \key{rename marked files by regexp}{\% R}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
383 \key{hardlink}{\% H}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
384 \key{symlink}{\% S}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
385 \key{symlink, with relative paths}{\% Y}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
386 \key{mark for deletion}{\% d}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
387
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
388 \section{Dired and Find}
36868
7d92ad7ffe49 More spelling corrections.
Gerd Moellmann <gerd@gnu.org>
parents: 36867
diff changeset
389 \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
390 \metax{dired file(s) that contain pattern}{M-x find-grep-dired}
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
391 \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
392
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
393 %\copyrightnotice
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
394
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
395 \bye
3be7720ce052 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
396