annotate etc/dired-ref.tex @ 83535:6c8cebe86511

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