aboutsummaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
Diffstat (limited to 'man')
-rw-r--r--man/ChangeLog61
-rw-r--r--man/anti.texi5
-rw-r--r--man/calc.texi1
-rw-r--r--man/calendar.texi2
-rw-r--r--man/cmdargs.texi4
-rw-r--r--man/dired.texi2
-rw-r--r--man/display.texi6
-rw-r--r--man/emacs.texi6
-rw-r--r--man/files.texi4
-rw-r--r--man/frames.texi14
-rw-r--r--man/glossary.texi2
-rw-r--r--man/mark.texi2
-rw-r--r--man/misc.texi56
-rw-r--r--man/msdog.texi9
-rw-r--r--man/org.texi231
-rw-r--r--man/trouble.texi17
16 files changed, 301 insertions, 121 deletions
diff --git a/man/ChangeLog b/man/ChangeLog
index 30aaac5833e..cfbbf8aab89 100644
--- a/man/ChangeLog
+++ b/man/ChangeLog
@@ -1,3 +1,64 @@
12005-06-13 Carsten Dominik <dominik@science.uva.nl>
2
3 * org.texi: Version 3.11
4
52005-06-12 Jay Belanger <belanger@truman.edu>
6
7 * calc.texi (Getting Started): Remove extra menu item.
8
92005-06-10 Lute Kamstra <lute@gnu.org>
10
11 * emacs.texi (Top): Correct version number.
12 * anti.texi (Antinews): Correct version number. Use EMACSVER to
13 refer to the current version of Emacs.
14
152005-06-08 Luc Teirlinck <teirllm@auburn.edu>
16
17 * files.texi (Log Buffer): Document when there can be more than
18 one file to be committed.
19
202005-06-08 Juri Linkov <juri@jurta.org>
21
22 * display.texi (Faces): Add `shadow' face.
23
242005-06-07 Masatake YAMATO <jet@gyve.org>
25
26 * display.texi (Faces): Write about mode-line-highlight.
27
282005-06-06 Richard M. Stallman <rms@gnu.org>
29
30 * misc.texi (Printing Package): Explain how to initialize
31 printing package.
32
33 * cmdargs.texi (Action Arguments): Clarify directory default for -l.
34
352005-06-05 Chong Yidong <cyd@stupidchicken.com>
36
37 * emacs.texi: Rename Hardcopy to Printing.
38 Make PostScript and PostScript Variables subnodes of it.
39
40 * misc.texi (Printing): Rename node from Hardcopy.
41 Mention menu bar options.
42 Move PostScript and PostScript Variables to submenu.
43 (Printing package): New node.
44
45 * mark.texi (Using Region): Change Hardcopy xref to Printing.
46
47 * dired.texi (Operating on Files): Likewise.
48
49 * calendar.texi (Displaying the Diary): Likewise.
50
51 * msdog.texi (MS-DOS Printing, MS-DOS Processes): Likewise.
52
53 * glossary.texi (Glossary): Likewise.
54
55 * frames.texi (Mode Line Mouse): Mention mode-line-highlight
56 effect.
57
582005-06-04 Richard M. Stallman <rms@gnu.org>
59
60 * trouble.texi (After a Crash): Polish previous change.
61
12005-05-31 Jay Belanger <belanger@truman.edu> 622005-05-31 Jay Belanger <belanger@truman.edu>
2 63
3 * calc.texi (Notations Used in This Manual): Use @kbd for key 64 * calc.texi (Notations Used in This Manual): Use @kbd for key
diff --git a/man/anti.texi b/man/anti.texi
index f20cada4f48..40e7c861fe2 100644
--- a/man/anti.texi
+++ b/man/anti.texi
@@ -3,11 +3,12 @@
3@c See file emacs.texi for copying conditions. 3@c See file emacs.texi for copying conditions.
4 4
5@node Antinews, Mac OS, X Resources, Top 5@node Antinews, Mac OS, X Resources, Top
6@appendix Emacs 22.1 Antinews 6@appendix Emacs 21 Antinews
7 7
8 For those users who live backwards in time, here is information about 8 For those users who live backwards in time, here is information about
9downgrading to Emacs version 21.4. We hope you will enjoy the greater 9downgrading to Emacs version 21.4. We hope you will enjoy the greater
10simplicity that results from the absence of many Emacs 22 features. 10simplicity that results from the absence of many Emacs @value{EMACSVER}
11features.
11 12
12@itemize @bullet 13@itemize @bullet
13 14
diff --git a/man/calc.texi b/man/calc.texi
index 6e947050107..948b6049198 100644
--- a/man/calc.texi
+++ b/man/calc.texi
@@ -585,7 +585,6 @@ and what are the various ways that it can be used.
585* Notations Used in This Manual:: 585* Notations Used in This Manual::
586* Demonstration of Calc:: 586* Demonstration of Calc::
587* Using Calc:: 587* Using Calc::
588* Demonstration of Calc::
589* History and Acknowledgements:: 588* History and Acknowledgements::
590@end menu 589@end menu
591 590
diff --git a/man/calendar.texi b/man/calendar.texi
index cf02377f1d9..1ef4aef09d4 100644
--- a/man/calendar.texi
+++ b/man/calendar.texi
@@ -1046,7 +1046,7 @@ an illusion, so simply printing the buffer does not print what you see
1046on your screen. There is a special command to print hard copy of the 1046on your screen. There is a special command to print hard copy of the
1047diary buffer @emph{as it appears}; this command is @kbd{M-x 1047diary buffer @emph{as it appears}; this command is @kbd{M-x
1048print-diary-entries}. It sends the data directly to the printer. You 1048print-diary-entries}. It sends the data directly to the printer. You
1049can customize it like @code{lpr-region} (@pxref{Hardcopy}). 1049can customize it like @code{lpr-region} (@pxref{Printing}).
1050 1050
1051@findex diary 1051@findex diary
1052 The command @kbd{M-x diary} displays the diary entries for the current 1052 The command @kbd{M-x diary} displays the diary entries for the current
diff --git a/man/cmdargs.texi b/man/cmdargs.texi
index e47a66bcf91..5094a924cc7 100644
--- a/man/cmdargs.texi
+++ b/man/cmdargs.texi
@@ -119,6 +119,10 @@ the library can be found either in the current directory, or in the
119Emacs library search path as specified with @env{EMACSLOADPATH} 119Emacs library search path as specified with @env{EMACSLOADPATH}
120(@pxref{General Variables}). 120(@pxref{General Variables}).
121 121
122@strong{Warning:} If previous command-line arguments have visited
123files, the current directory is the directory of the last file
124visited.
125
122@item -L @var{dir} 126@item -L @var{dir}
123@opindex -L 127@opindex -L
124@itemx --directory=@var{dir} 128@itemx --directory=@var{dir}
diff --git a/man/dired.texi b/man/dired.texi
index f2699cfde07..8cb4646075e 100644
--- a/man/dired.texi
+++ b/man/dired.texi
@@ -616,7 +616,7 @@ Print the specified files (@code{dired-do-print}). You must specify the
616command to print them with, but the minibuffer starts out with a 616command to print them with, but the minibuffer starts out with a
617suitable guess made using the variables @code{lpr-command} and 617suitable guess made using the variables @code{lpr-command} and
618@code{lpr-switches} (the same variables that @code{lpr-buffer} uses; 618@code{lpr-switches} (the same variables that @code{lpr-buffer} uses;
619@pxref{Hardcopy}). 619@pxref{Printing}).
620 620
621@findex dired-do-compress 621@findex dired-do-compress
622@kindex Z @r{(Dired)} 622@kindex Z @r{(Dired)}
diff --git a/man/display.texi b/man/display.texi
index 11e45e353cf..4276209326d 100644
--- a/man/display.texi
+++ b/man/display.texi
@@ -118,6 +118,8 @@ This face is used for the prompt strings displayed in the minibuffer.
118@item highlight 118@item highlight
119This face is used for highlighting portions of text, in various modes. 119This face is used for highlighting portions of text, in various modes.
120For example, mouse-sensitive text is highlighted using this face. 120For example, mouse-sensitive text is highlighted using this face.
121@item mode-line-highlight
122Like @code{highlight}, but used for portions of text on mode lines.
121@item isearch 123@item isearch
122This face is used for highlighting Isearch matches. 124This face is used for highlighting Isearch matches.
123@item lazy-highlight 125@item lazy-highlight
@@ -167,6 +169,10 @@ The face for highlighting trailing whitespace when
167Whitespace}. 169Whitespace}.
168@item variable-pitch 170@item variable-pitch
169The basic variable-pitch face. 171The basic variable-pitch face.
172@item shadow
173The basic face for making the text less noticeable than the surrounding
174ordinary text. Usually this is achieved by using shades of grey in
175contrast with either black or white default foreground color.
170@end table 176@end table
171 177
172@cindex @code{region} face 178@cindex @code{region} face
diff --git a/man/emacs.texi b/man/emacs.texi
index 345d54ce0c5..ef9200d595e 100644
--- a/man/emacs.texi
+++ b/man/emacs.texi
@@ -121,7 +121,7 @@ and Sending Mail and Registers and Minibuffer.
121* GNU Free Documentation License:: The license for this documentation. 121* GNU Free Documentation License:: The license for this documentation.
122* Intro:: An introduction to Emacs concepts. 122* Intro:: An introduction to Emacs concepts.
123* Glossary:: The glossary. 123* Glossary:: The glossary.
124* Antinews:: Information about Emacs version 20. 124* Antinews:: Information about Emacs version 21.
125* Mac OS:: Using Emacs in the Mac. 125* Mac OS:: Using Emacs in the Mac.
126* MS-DOS:: Using Emacs on MS-DOS (otherwise known as "MS-DOG"). 126* MS-DOS:: Using Emacs on MS-DOS (otherwise known as "MS-DOG").
127* Manifesto:: What's GNU? Gnu's Not Unix! 127* Manifesto:: What's GNU? Gnu's Not Unix!
@@ -191,9 +191,7 @@ Advanced Features
191* Gnus:: How to read netnews with Emacs. 191* Gnus:: How to read netnews with Emacs.
192* Shell:: Executing shell commands from Emacs. 192* Shell:: Executing shell commands from Emacs.
193* Emacs Server:: Using Emacs as an editing server for @code{mail}, etc. 193* Emacs Server:: Using Emacs as an editing server for @code{mail}, etc.
194* Hardcopy:: Printing buffers or regions. 194* Printing:: Printing hardcopies of buffers or regions.
195* PostScript:: Printing buffers or regions as PostScript.
196* PostScript Variables::Customizing the PostScript printing commands.
197* Sorting:: Sorting lines, paragraphs or pages within Emacs. 195* Sorting:: Sorting lines, paragraphs or pages within Emacs.
198* Narrowing:: Restricting display and editing to a portion 196* Narrowing:: Restricting display and editing to a portion
199 of the buffer. 197 of the buffer.
diff --git a/man/files.texi b/man/files.texi
index c83572a8550..26f6af37603 100644
--- a/man/files.texi
+++ b/man/files.texi
@@ -1545,7 +1545,9 @@ working---generating ChangeLog entries from the revision control log.
1545 1545
1546In the @samp{*VC-Log*} buffer, @kbd{C-c C-f} (@kbd{M-x log-edit-show-files}) 1546In the @samp{*VC-Log*} buffer, @kbd{C-c C-f} (@kbd{M-x log-edit-show-files})
1547shows the list of files to be committed in case you need to check 1547shows the list of files to be committed in case you need to check
1548that. 1548that. (This can be a list of more than one file if you use VC Dired
1549mode or PCL-CVS. @xref{VC Dired Mode}, and @ref{Top, , About PCL-CVS,
1550pcl-cvs, PCL-CVS --- The Emacs Front-End to CVS}.)
1549 1551
1550When you have finished editing the log message, type @kbd{C-c C-c} to 1552When you have finished editing the log message, type @kbd{C-c C-c} to
1551exit the buffer and commit the change. 1553exit the buffer and commit the change.
diff --git a/man/frames.texi b/man/frames.texi
index 2b2c61af133..e5bada851ad 100644
--- a/man/frames.texi
+++ b/man/frames.texi
@@ -393,6 +393,14 @@ This menu is for specifying the frame's principal font.
393 You can use mouse clicks on window mode lines to select and manipulate 393 You can use mouse clicks on window mode lines to select and manipulate
394windows. 394windows.
395 395
396 Some areas of the mode line, such as the buffer name and the major
397mode name, have their own special mouse bindings. These areas are
398highlighted when you hold the mouse over them, and information about
399the special bindings will be displayed (@pxref{Tooltips}).
400
401 You can also click on areas of the mode line that do not have
402special mouse bindings of their own. This has the following effects:
403
396@table @kbd 404@table @kbd
397@item Mouse-1 405@item Mouse-1
398@kindex Mouse-1 @r{(mode line)} 406@kindex Mouse-1 @r{(mode line)}
@@ -420,12 +428,6 @@ horizontally, above the place in the mode line where you click.
420 @kbd{C-Mouse-2} on a scroll bar splits the corresponding window 428 @kbd{C-Mouse-2} on a scroll bar splits the corresponding window
421vertically. @xref{Split Window}. 429vertically. @xref{Split Window}.
422 430
423 The commands above apply to areas of the mode line which do not have
424special mouse bindings of their own. Some areas, such as the buffer
425name and the major mode name, have their own special mouse bindings.
426Emacs displays information about these bindings when you hold the
427mouse over such a place (@pxref{Tooltips}).
428
429@node Creating Frames 431@node Creating Frames
430@section Creating Frames 432@section Creating Frames
431@cindex creating frames 433@cindex creating frames
diff --git a/man/glossary.texi b/man/glossary.texi
index f75ba725a18..78abbfb30b7 100644
--- a/man/glossary.texi
+++ b/man/glossary.texi
@@ -573,7 +573,7 @@ Search}). See also `font lock'.
573 573
574@item Hardcopy 574@item Hardcopy
575Hardcopy means printed output. Emacs has commands for making printed 575Hardcopy means printed output. Emacs has commands for making printed
576listings of text in Emacs buffers. @xref{Hardcopy}. 576listings of text in Emacs buffers. @xref{Printing}.
577 577
578@item @key{HELP} 578@item @key{HELP}
579@key{HELP} is the Emacs name for @kbd{C-h} or @key{F1}. You can type 579@key{HELP} is the Emacs name for @kbd{C-h} or @key{F1}. You can type
diff --git a/man/mark.texi b/man/mark.texi
index f609472bca7..5f4c44de9e1 100644
--- a/man/mark.texi
+++ b/man/mark.texi
@@ -293,7 +293,7 @@ Indent it with @kbd{C-x @key{TAB}} or @kbd{C-M-\} (@pxref{Indentation}).
293@item 293@item
294Fill it as text with @kbd{M-x fill-region} (@pxref{Filling}). 294Fill it as text with @kbd{M-x fill-region} (@pxref{Filling}).
295@item 295@item
296Print hardcopy with @kbd{M-x print-region} (@pxref{Hardcopy}). 296Print hardcopy with @kbd{M-x print-region} (@pxref{Printing}).
297@item 297@item
298Evaluate it as Lisp code with @kbd{M-x eval-region} (@pxref{Lisp Eval}). 298Evaluate it as Lisp code with @kbd{M-x eval-region} (@pxref{Lisp Eval}).
299@end itemize 299@end itemize
diff --git a/man/misc.texi b/man/misc.texi
index 68dd7356479..b52264e1f57 100644
--- a/man/misc.texi
+++ b/man/misc.texi
@@ -1214,7 +1214,7 @@ off directory tracking.
1214 1214
1215@end ignore 1215@end ignore
1216 1216
1217@node Emacs Server, Hardcopy, Shell, Top 1217@node Emacs Server, Printing, Shell, Top
1218@section Using Emacs as a Server 1218@section Using Emacs as a Server
1219@pindex emacsclient 1219@pindex emacsclient
1220@cindex Emacs as a server 1220@cindex Emacs as a server
@@ -1374,14 +1374,17 @@ code, using the option @samp{--eval}. When this option is given, the
1374rest of the arguments is not taken as a list of files to visit but as 1374rest of the arguments is not taken as a list of files to visit but as
1375a list of expressions to evaluate. 1375a list of expressions to evaluate.
1376 1376
1377@node Hardcopy, PostScript, Emacs Server, Top 1377@node Printing, Sorting, Emacs Server, Top
1378@section Hardcopy Output 1378@section Printing Hard Copies
1379@cindex hardcopy 1379@cindex hardcopy
1380@cindex printing
1380 1381
1381 The Emacs commands for making hardcopy let you print either an entire 1382 Emacs provides commands for printing hard copies of either an entire
1382buffer or just part of one, either with or without page headers. 1383buffer or just part of one, with or without page headers. You can
1383See also the hardcopy commands of Dired (@pxref{Misc File Ops}) 1384invoke the printing commands directly, as detailed in the following
1384and the diary (@pxref{Displaying the Diary}). 1385section, or using the @samp{File} menu on the menu bar. See also the
1386hardcopy commands of Dired (@pxref{Misc File Ops}) and the diary
1387(@pxref{Displaying the Diary}).
1385 1388
1386@table @kbd 1389@table @kbd
1387@item M-x print-buffer 1390@item M-x print-buffer
@@ -1428,7 +1431,13 @@ whether to supply @samp{-T} and @samp{-J} options (suitable for
1428@code{lpr-add-switches} should be @code{nil} if your printer program is 1431@code{lpr-add-switches} should be @code{nil} if your printer program is
1429not compatible with @code{lpr}. 1432not compatible with @code{lpr}.
1430 1433
1431@node PostScript, PostScript Variables, Hardcopy, Top 1434@menu
1435* PostScript:: Printing buffers or regions as PostScript.
1436* PostScript Variables:: Customizing the PostScript printing commands.
1437* Printing Package:: An optional advanced printing interface.
1438@end menu
1439
1440@node PostScript, PostScript Variables,, Printing
1432@section PostScript Hardcopy 1441@section PostScript Hardcopy
1433 1442
1434 These commands convert buffer contents to PostScript, 1443 These commands convert buffer contents to PostScript,
@@ -1492,7 +1501,7 @@ supports ISO 8859-1 characters.
1492 The following section describes variables for customizing these commands. 1501 The following section describes variables for customizing these commands.
1493@end ifinfo 1502@end ifinfo
1494 1503
1495@node PostScript Variables, Sorting, PostScript, Top 1504@node PostScript Variables, Printing Package, PostScript, Printing
1496@section Variables for PostScript Hardcopy 1505@section Variables for PostScript Hardcopy
1497 1506
1498@vindex ps-lpr-command 1507@vindex ps-lpr-command
@@ -1584,7 +1593,34 @@ includes a single directory @file{/usr/local/share/emacs/fonts/bdf}.
1584 Many other customization variables for these commands are defined and 1593 Many other customization variables for these commands are defined and
1585described in the Lisp files @file{ps-print.el} and @file{ps-mule.el}. 1594described in the Lisp files @file{ps-print.el} and @file{ps-mule.el}.
1586 1595
1587@node Sorting, Narrowing, PostScript Variables, Top 1596@node Printing Package,, PostScript Variables, Printing
1597@section Printing Package
1598@cindex Printing package
1599
1600 The basic Emacs facilities for printing hardcopy can be extended
1601using the Printing package. This provides an easy-to-use interface
1602for choosing what to print, previewing PostScript files before
1603printing, and setting various printing options such as print headers,
1604landscape or portrait modes, duplex modes, and so forth. On GNU/Linux
1605or Unix systems, the Printing package relies on the @file{gs} and
1606@file{gv} utilities, which are distributed as part of the GhostScript
1607program. On MS-Windows, the @file{gstools} port of Ghostscript can be
1608used.
1609
1610@findex pr-interface
1611 To use the Printing package, add @code{(require 'printing)} to your
1612init file (@pxref{Init File}), followed by @code{(pr-update-menus)}.
1613This function replaces the usual printing commands in the menu bar
1614with a @samp{Printing} submenu that contains various printing options.
1615You can also type @kbd{M-x pr-interface RET}; this creates a
1616@samp{*Printing Interface*} buffer, similar to a customization buffer,
1617where you can set the printing options. After selecting what and how
1618to print, you start the print job using the @samp{Print} button (click
1619@kbd{mouse-2} on it, or move point over it and type @kbd{RET}). For
1620further information on the various options, use the @samp{Interface
1621Help} button.
1622
1623@node Sorting, Narrowing, Printing, Top
1588@section Sorting Text 1624@section Sorting Text
1589@cindex sorting 1625@cindex sorting
1590 1626
diff --git a/man/msdog.texi b/man/msdog.texi
index a1d7647a95d..a5aea27f161 100644
--- a/man/msdog.texi
+++ b/man/msdog.texi
@@ -419,13 +419,12 @@ EOL conversion is determined by @code{file-name-buffer-file-type-alist}.
419@node MS-DOS Printing 419@node MS-DOS Printing
420@section Printing and MS-DOS 420@section Printing and MS-DOS
421 421
422 Printing commands, such as @code{lpr-buffer} (@pxref{Hardcopy}) and 422 Printing commands, such as @code{lpr-buffer} (@pxref{Printing}) and
423@code{ps-print-buffer} (@pxref{PostScript}) can work in MS-DOS and 423@code{ps-print-buffer} (@pxref{PostScript}) can work in MS-DOS and
424MS-Windows by sending the output to one of the printer ports, if a 424MS-Windows by sending the output to one of the printer ports, if a
425Posix-style @code{lpr} program is unavailable. The same Emacs 425Posix-style @code{lpr} program is unavailable. The same Emacs
426variables control printing on all systems (@pxref{Hardcopy}), but in 426variables control printing on all systems, but in some cases they have
427some cases they have different default values on MS-DOS and 427different default values on MS-DOS and MS-Windows.
428MS-Windows.
429 428
430@vindex printer-name @r{(MS-DOS)} 429@vindex printer-name @r{(MS-DOS)}
431 If you want to use your local printer, printing on it in the usual DOS 430 If you want to use your local printer, printing on it in the usual DOS
@@ -758,7 +757,7 @@ implements a Posix-like shell entirely in Emacs Lisp.
758Processes}. 757Processes}.
759 758
760@cindex printing under MS-DOS 759@cindex printing under MS-DOS
761 Printing commands, such as @code{lpr-buffer} (@pxref{Hardcopy}) and 760 Printing commands, such as @code{lpr-buffer} (@pxref{Printing}) and
762@code{ps-print-buffer} (@pxref{PostScript}), work in MS-DOS by sending 761@code{ps-print-buffer} (@pxref{PostScript}), work in MS-DOS by sending
763the output to one of the printer ports. @xref{MS-DOS Printing}. 762the output to one of the printer ports. @xref{MS-DOS Printing}.
764 763
diff --git a/man/org.texi b/man/org.texi
index 4f3576d57c4..69c323c5eba 100644
--- a/man/org.texi
+++ b/man/org.texi
@@ -4,8 +4,8 @@
4@setfilename ../info/org 4@setfilename ../info/org
5@settitle Org Mode Manual 5@settitle Org Mode Manual
6 6
7@set VERSION 3.10 7@set VERSION 3.11
8@set DATE May 2005 8@set DATE June 2005
9 9
10@dircategory Emacs 10@dircategory Emacs
11@direntry 11@direntry
@@ -103,6 +103,7 @@ Document Structure
103* Visibility cycling:: Show ad hide, much simplified 103* Visibility cycling:: Show ad hide, much simplified
104* Motion:: Jumping to other headlines 104* Motion:: Jumping to other headlines
105* Structure editing:: Changing sequence and level of headlines 105* Structure editing:: Changing sequence and level of headlines
106* Archiving:: Move done task trees to a different place
106* Sparse trees:: Matches embedded in context 107* Sparse trees:: Matches embedded in context
107 108
108Tables 109Tables
@@ -158,8 +159,8 @@ Miscellaneous
158* Customization:: Adapting Org-mode to your taste 159* Customization:: Adapting Org-mode to your taste
159* FAQ:: Frequently asked questions 160* FAQ:: Frequently asked questions
160* Interaction:: Other Emacs packages 161* Interaction:: Other Emacs packages
161* Acknowledgments:: These people provided feedback and more
162* Bugs:: Things which do not work perfectly 162* Bugs:: Things which do not work perfectly
163* Acknowledgments:: These people provided feedback and more
163 164
164@end detailmenu 165@end detailmenu
165@end menu 166@end menu
@@ -303,6 +304,7 @@ edit the structure of the document.
303* Visibility cycling:: Show ad hide, much simplified 304* Visibility cycling:: Show ad hide, much simplified
304* Motion:: Jumping to other headlines 305* Motion:: Jumping to other headlines
305* Structure editing:: Changing sequence and level of headlines 306* Structure editing:: Changing sequence and level of headlines
307* Archiving:: Move done task trees to a different place
306* Sparse trees:: Matches embedded in context 308* Sparse trees:: Matches embedded in context
307@end menu 309@end menu
308 310
@@ -426,7 +428,7 @@ the original buffer, and the headings hierarchy above it is made
426visible. 428visible.
427@end table 429@end table
428 430
429@node Structure editing, Sparse trees, Motion, Document Structure 431@node Structure editing, Archiving, Motion, Document Structure
430@section Structure editing 432@section Structure editing
431@cindex structure editing 433@cindex structure editing
432@cindex headline, promotion and demotion 434@cindex headline, promotion and demotion
@@ -487,7 +489,30 @@ just after the last headline to change. Note that when the cursor is
487inside a table (@pxref{Tables}), the Meta-Cursor keys have different 489inside a table (@pxref{Tables}), the Meta-Cursor keys have different
488functionality. 490functionality.
489 491
490@node Sparse trees, , Structure editing, Document Structure 492@node Archiving, Sparse trees, Structure editing, Document Structure
493@section Archiving
494@cindex archiving
495
496When an project represented by a (sub)tree is finished, you may want
497to move the tree to an Archive place, either in the same file under a
498special top-level heading, or even to a different file.
499@table @kbd
500@kindex @kbd{C-c $}
501@item @kbd{C-c $}
502Archive the subtree starting at the cursor position to the location
503given by @code{org-archive-location}.
504@end table
505
506@cindex archive locations
507The default archive is a file in the same directory as the current
508file, with the name derived by appending @file{_archive} to the
509current file name. For information and examples on how to change
510this, see the documentation string of the variable
511@code{org-archive-location}. If you are also using the Org-mode
512agenda, archiving to a different file is a good way to keep archived
513trees from contributing agenda items.
514
515@node Sparse trees, , Archiving, Document Structure
491@section Sparse trees 516@section Sparse trees
492@cindex sparse trees 517@cindex sparse trees
493@cindex trees, sparse 518@cindex trees, sparse
@@ -702,7 +727,8 @@ When current field is empty, copy from first non-empty field above.
702When not empty, copy current field down to next row and move cursor 727When not empty, copy current field down to next row and move cursor
703along with it. Depending on the variable 728along with it. Depending on the variable
704@code{org-table-copy-increment}, integer field values will be 729@code{org-table-copy-increment}, integer field values will be
705incremented during copy. 730incremented during copy. This key is also used by CUA-mode
731(@pxref{Interaction}).
706 732
707@cindex formula, in tables 733@cindex formula, in tables
708@cindex calculations, in tables 734@cindex calculations, in tables
@@ -807,33 +833,35 @@ articles, emails and much more.
807@cindex SHELL links 833@cindex SHELL links
808 834
809Org-mode supports links to files, websites, usenet and email messages; 835Org-mode supports links to files, websites, usenet and email messages;
810and BBDB database entries. Links are just plain-text URL-like locators. 836and BBDB database entries. Links are just plain-text URL-like
811The following list shows examples for each link type. 837locators, optionally enclosed by angular brackets. The following list
838shows examples for each link type.
812 839
813@example 840@example
814http://www.astro.uva.nl/~dominik @r{on the web} 841<http://www.astro.uva.nl/~dominik> @r{on the web}
815file:/home/dominik/images/jupiter.jpg @r{file, absolute path} 842<file:/home/dominik/images/jupiter.jpg> @r{file, absolute path}
816file:papers/last.pdf @r{file, relative path} 843<file:papers/last.pdf> @r{file, relative path}
817file:~/code/main.c:255 @r{file, with line number} 844<file:~/code/main.c:255> @r{file, with line number}
818news:comp.emacs @r{Usenet link} 845<news:comp.emacs> @r{Usenet link}
819mailto:adent@@galaxy.net @r{Mail link} 846<mailto:adent@@galaxy.net> @r{Mail link}
820vm:folder @r{VM folder link} 847<vm:folder> @r{VM folder link}
821vm:folder#id @r{VM message link} 848<vm:folder#id> @r{VM message link}
822vm://myself@@some.where.org/folder#id @r{VM on remote machine} 849<vm://myself@@some.where.org/folder#id> @r{VM on remote machine}
823wl:folder @r{WANDERLUST folder link} 850<wl:folder> @r{WANDERLUST folder link}
824wl:folder#id @r{WANDERLUST message link} 851<wl:folder#id> @r{WANDERLUST message link}
825rmail:folder @r{RMAIL folder link} 852<rmail:folder> @r{RMAIL folder link}
826rmail:folder#id @r{RMAIL message link} 853<rmail:folder#id> @r{RMAIL message link}
827gnus:group @r{GNUS group link} 854<gnus:group> @r{GNUS group link}
828gnus:group#id @r{GNUS article link} 855<gnus:group#id> @r{GNUS article link}
829bbdb:Richard Stallman @r{BBDB link} 856<bbdb:Richard Stallman> @r{BBDB link}
830shell:ls *.org @r{A shell command} 857<shell:ls *.org>@footnote{Note that @samp{<} and @samp{>} cannot be part of a link, and therefore of a shell command. If you need redirection, use @@@{ and @@@} instead.} @r{A shell command}
831@end example 858@end example
832 859
833A link may contain space characters and is terminated by the end of 860A link may contain space characters and is terminated by @samp{>} or by
834the line or, in tables, by the end of the table field. Therefore, 861the end of a line. In tables, the end of a table field also terminates
835outside of tables there can be only one link per line (but see the 862a link. Angle brackets around a link are not required, but are
836variable @code{org-allow-space-in-links}). 863recommended to avoid problems with punctuation and other text following
864the link. See also the variable @code{org-allow-space-in-links}.
837 865
838@cindex storing links 866@cindex storing links
839@table @kbd 867@table @kbd
@@ -854,10 +882,11 @@ Insert a link. This prompts for a link to be inserted into the
854buffer. You can just type a link, using one of the link type prefixes 882buffer. You can just type a link, using one of the link type prefixes
855mentioned in the examples above. Through completion, all links stored 883mentioned in the examples above. Through completion, all links stored
856during the current session can be accessed. When called with prefix 884during the current session can be accessed. When called with prefix
857arg, you can use file name completion to enter a file link. Note that 885arg, you can use file name completion to enter a file link. The link
858you don't have to use this command to insert a link. Links in 886will be formatted as given in the variable @code{org-link-format} and
859Org-mode are plain text, and you can type or paste them straight into 887inserted into the buffer. Note that you don't have to use this
860the buffer. 888command to insert a link. Links in Org-mode are plain text, and you
889can type or paste them straight into the buffer.
861 890
862@cindex inserting links 891@cindex inserting links
863@kindex C-c C-o 892@kindex C-c C-o
@@ -930,9 +959,11 @@ cycling (@key{TAB}) to find a better place. Pressing @key{RET} or
930 Or use prefix arg to specify level manually. 959 Or use prefix arg to specify level manually.
931@end multitable 960@end multitable
932 961
933So the fastest way to store the note is to press @kbd{C-c C-c @key{RET} 962So a fast way to store the note is to press @kbd{C-c C-c @key{RET}
934@key{RET}} to append it to the default file. But with little extra 963@key{RET}} to append it to the default file. Even shorter would be
935effort, you can push it directly to the correct location. 964@kbd{C-u C-c C-c}, which does the same without even showing the tree.
965But with little extra effort, you can push it directly to the correct
966location.
936 967
937Before inserting the text into a tree, the function ensures that the 968Before inserting the text into a tree, the function ensures that the
938text has a headline, i.e. a first line that starts with a @samp{*}. 969text has a headline, i.e. a first line that starts with a @samp{*}.
@@ -1140,6 +1171,8 @@ agenda buffer with the @kbd{,} command (@pxref{Agenda commands}).
1140@itemx S-@key{down} 1171@itemx S-@key{down}
1141Increase/decrease priority of current item. Note that these keys are 1172Increase/decrease priority of current item. Note that these keys are
1142also used to modify time stamps (@pxref{Creating timestamps}). 1173also used to modify time stamps (@pxref{Creating timestamps}).
1174Furthermore, these keys is also used by CUA-mode
1175(@pxref{Interaction}).
1143@end table 1176@end table
1144 1177
1145 1178
@@ -1267,7 +1300,8 @@ Insert @samp{SCHEDULED} keyword along with a stamp.
1267@kindex S-@key{right} 1300@kindex S-@key{right}
1268@item S-@key{left} 1301@item S-@key{left}
1269@itemx S-@key{right} 1302@itemx S-@key{right}
1270Change date at cursor by one day. 1303Change date at cursor by one day. These key bindings conflict with
1304CUA-mode (@pxref{Interaction}).
1271 1305
1272@kindex S-@key{up} 1306@kindex S-@key{up}
1273@kindex S-@key{down} 1307@kindex S-@key{down}
@@ -1275,8 +1309,10 @@ Change date at cursor by one day.
1275@itemx S-@key{down} 1309@itemx S-@key{down}
1276Change the item under the cursor in a timestamp. The cursor can be on 1310Change the item under the cursor in a timestamp. The cursor can be on
1277a year, month, day, hour or minute. Note that if the cursor is not at 1311a year, month, day, hour or minute. Note that if the cursor is not at
1278a time stamp, these same keys modify the priority of an item 1312a time stamp, these same keys modify the priority of an item.
1279(@pxref{Priorities}). 1313(@pxref{Priorities}). These key bindings conflict with CUA-mode
1314(@pxref{Interaction}).
1315
1280 1316
1281@kindex C-c C-y 1317@kindex C-c C-y
1282@cindex evaluate time range 1318@cindex evaluate time range
@@ -1872,7 +1908,8 @@ letters, and press @kbd{M-@key{TAB}} to see possible completions.
1872 1908
1873@cindex tables, export to HTML 1909@cindex tables, export to HTML
1874@item 1910@item
1875Tables are transformed into HTML tables. 1911Tables are transformed into HTML tables. Data fields before the first
1912horizontal separator line will be formatted as table header fields.
1876 1913
1877@cindex fixed width 1914@cindex fixed width
1878@item 1915@item
@@ -1960,8 +1997,8 @@ Toggle the COMMENT keyword at the beginning of an entry.
1960* Customization:: Adapting Org-mode to your taste 1997* Customization:: Adapting Org-mode to your taste
1961* FAQ:: Frequently asked questions 1998* FAQ:: Frequently asked questions
1962* Interaction:: Other Emacs packages 1999* Interaction:: Other Emacs packages
1963* Acknowledgments:: These people provided feedback and more
1964* Bugs:: Things which do not work perfectly 2000* Bugs:: Things which do not work perfectly
2001* Acknowledgments:: These people provided feedback and more
1965@end menu 2002@end menu
1966 2003
1967@node Completion, Customization, Miscellaneous, Miscellaneous 2004@node Completion, Customization, Miscellaneous, Miscellaneous
@@ -2024,9 +2061,7 @@ file, but with different outline visibility. Is that possible?}@*
2024In GNU Emacs, you may use @emph{indirect buffers} which do exactly 2061In GNU Emacs, you may use @emph{indirect buffers} which do exactly
2025this. See the documentation on the command 2062this. See the documentation on the command
2026@code{make-indirect-buffer}. In XEmacs, this is currently not 2063@code{make-indirect-buffer}. In XEmacs, this is currently not
2027possible because of the different outline implementation., which visit 2064possible because of the different outline implementation.
2028the same file, but have separate settings, also for outline
2029visibility.
2030 2065
2031@item @b{Is there an easy way to insert links to web locations?}@* 2066@item @b{Is there an easy way to insert links to web locations?}@*
2032@cindex URL, paste into buffer 2067@cindex URL, paste into buffer
@@ -2060,12 +2095,17 @@ configure the @samp{H} switch.
2060If you want to export a subtree, mark the subtree as region and then 2095If you want to export a subtree, mark the subtree as region and then
2061export. Marking can be done with @kbd{C-c @@ C-x C-x}, for example. 2096export. Marking can be done with @kbd{C-c @@ C-x C-x}, for example.
2062 2097
2098@item @b{Org-mode takes over the S-cursor keys. I also want to use
2099CUA-mode, is there a way to fix this conflict?}@*
2100Yes, see @ref{Interaction}
2101
2063@item @b{Is there an easy way to insert an empty table template with a 2102@item @b{Is there an easy way to insert an empty table template with a
2064default number of rows and columns?}@* 2103default number of rows and columns?}@*
2065@cindex table, empty template 2104@cindex table, empty template
2066To insert an empty table template, just type @samp{|-} and use 2105To insert an empty table template, just type @samp{|-} and use
2067@key{TAB}. The default size can be changed with the variable 2106@key{TAB}. The default size can be changed with the variable
2068@code{org-table-default-size}. 2107@code{org-table-default-size}. However, just starting to type the
2108first line is usually much easier.
2069 2109
2070@item @b{When I am in the last column of a table and just above a 2110@item @b{When I am in the last column of a table and just above a
2071horizontal line in the table, pressing TAB creates a new table line 2111horizontal line in the table, pressing TAB creates a new table line
@@ -2082,7 +2122,7 @@ indentation of the first line and realign with @key{TAB}.
2082@end enumerate 2122@end enumerate
2083 2123
2084 2124
2085@node Interaction, Acknowledgments, FAQ, Miscellaneous 2125@node Interaction, Bugs, FAQ, Miscellaneous
2086@section Interaction with other packages 2126@section Interaction with other packages
2087@cindex packages, interaction with other 2127@cindex packages, interaction with other
2088@cindex @file{planner.el} 2128@cindex @file{planner.el}
@@ -2106,11 +2146,64 @@ planner.
2106@cindex @file{table.el} 2146@cindex @file{table.el}
2107@item @file{table.el} by Takaaki Ota 2147@item @file{table.el} by Takaaki Ota
2108Org mode cooperates with table.el, see @ref{table.el}. 2148Org mode cooperates with table.el, see @ref{table.el}.
2149@cindex @file{CUA.el}
2150@item @file{CUA.el} by Kim. F. Storm
2151Keybindings in Org-mode conflict with the @kbd{S-<cursor>} keys
2152used by CUA-mode (as well as pc-select-mode and s-region-mode) to
2153select and extend the region. If you want to use one of these
2154packages along with Org-mode, configure the variable
2155@code{org-CUA-compatible}. When set, Org-mode will move the folowing
2156keybindings in org-mode files, and in the agenda buffer (but not
2157during date selection).
2158@example
2159S-UP -> M-p S-DOWN -> M-n
2160S-LEFT -> M-- S-RIGHT -> M-+
2161S-RET -> C-S-RET
2162@end example
2163Yes, these are unfortunately more difficult to remember. If you want
2164to have other replacement keys, look at the variable
2165@code{org-disputed-keys}.
2166
2109@end table 2167@end table
2110 2168
2111@page @c FIXME 2169@node Bugs, Acknowledgments, Interaction, Miscellaneous
2170@section Bugs
2171@cindex bugs
2172
2173Here is a list of things which should work differently, but which I
2174have found too hard to fix.
2112 2175
2113@node Acknowledgments, Bugs, Interaction, Miscellaneous 2176@itemize @bullet
2177@item
2178If you call @code{fill-paragraph} (bound to @kbd{M-q}) in a table, the
2179filling is correctly disabled. However, if some text directly
2180(without an empty line in between) preceeds or follws a table, calling
2181@code{fill-paragraph} in that text will also fill the table like
2182normal text. Also, @code{fill-region} does bypass the
2183@code{fill-paragraph} code and will fill tables like normal text.
2184@item
2185When the application called by @kbd{C-c C-o} to open a file link fails
2186(for example because the application does not exits or refuses to open
2187the file), it does so silently. No error message is displayed.
2188@item
2189Under XEmacs, if Org-mode entries are included into the diary, it is
2190not possible to jump back from the diary to the org file. Apparently,
2191the text properties are lost when the fancy-diary-display is used.
2192However, from Org-mode's timeline and agenda buffers (created with
2193@kbd{C-c C-r} and @kbd{C-c a}), things do work correctly.
2194@item
2195Linux should also have a default viewer application, using mailcap.
2196Maybe we can use GNUS or VM mime code? Or dired's guessing commands?
2197Any hints (or even patches) are appreciated.
2198@item
2199When you write @samp{x = a /b/ c}, b will be exported in italics.
2200@item
2201The exporters work well, but could be made more efficient.
2202@end itemize
2203
2204@page
2205
2206@node Acknowledgments, , Bugs, Miscellaneous
2114@section Acknowledgments 2207@section Acknowledgments
2115@cindex acknowledgments 2208@cindex acknowledgments
2116 2209
@@ -2136,13 +2229,18 @@ his ideas have found their way into the agenda.
2136Philip Rooke created the Org-mode reference card. He also helped with 2229Philip Rooke created the Org-mode reference card. He also helped with
2137beta testing and contributed a number of very useful ideas. 2230beta testing and contributed a number of very useful ideas.
2138@item 2231@item
2232Christian Schlauer proposed angular brackets around links, and some
2233other useful stuff.
2234@item
2235David Wainberg suggested to implement an archiving mechanism.
2236@item
2139Linking to VM/BBDB/GNUS was inspired by Tom Shannon's 2237Linking to VM/BBDB/GNUS was inspired by Tom Shannon's
2140@file{organizer-mode.el}. 2238@file{organizer-mode.el}.
2141@item 2239@item
2142Scheduling TODO items was inspired by John Wiegley's @file{planner.el}. 2240Scheduling TODO items was inspired by John Wiegley's @file{planner.el}.
2143@item 2241@item
2144Sacha Chua, the current maintainer of Planner suggested to take some 2242Sacha Chua, the current maintainer of Planner, offered linking code
2145linking code from Planner, which I did (for RMAIL and Wanderlust). 2243from Planner. I made use of the offer for links to RMAIL and Wanderlust.
2146@item 2244@item
2147Oliver Oppitz sent several useful suggestions. 2245Oliver Oppitz sent several useful suggestions.
2148@item 2246@item
@@ -2150,38 +2248,13 @@ Carsten Wimmer suggested some changes and helped fix a bug in linking
2150to GNUS. 2248to GNUS.
2151@item 2249@item
2152Pavel Chalmoviansky reported bugs and suggested improvements related 2250Pavel Chalmoviansky reported bugs and suggested improvements related
2153to the agenda treatment of items with specifed time. 2251to the agenda treatment of items with specified time.
2154@item 2252@item
2155Stefan Monnier provided a patch with lots of little fixes to keep the 2253Stefan Monnier provided a patch with lots of little fixes to keep the
2156Emacs-Lisp compiler happy. 2254Emacs-Lisp compiler happy.
2157@end itemize 2255@item
2158 2256Kai Grossjohann pointed out that a number of key bindings in Org-mode
2159@node Bugs, , Acknowledgments, Miscellaneous 2257conflict with other packages.
2160@section Bugs
2161@cindex bugs
2162
2163Here is a list of things which should work differently, but which I
2164have found too hard to fix.
2165
2166@itemize @bullet
2167@item
2168When the application called by @kbd{C-c C-o} to open a file link fails
2169(for example because the application does not exits or refuses to open
2170the file), it does so silently. No error message is displayed.
2171@item
2172Under XEmacs, if Org-mode entries are included into the diary, it is
2173not possible to jump back from the diary to the org file. Apparently,
2174the text properties are lost when the fancy-diary-display is used.
2175However, from Org-mode's timeline and agenda buffers (created with
2176@kbd{C-c C-r} and @kbd{C-c a}), things do work correctly.
2177@item
2178Linux should also have a default viewer application, using mailcap.
2179Maybe we can use GNUS or VM mime code? Or dired's guessing commands?
2180Any hints (or even patches) are appreciated.
2181@item
2182When you write @samp{x = a /b/ c}, b will be exported in italics.
2183@item
2184The exporters work well, but could be made more efficient.
2185@end itemize 2258@end itemize
2186 2259
2187@node Index, Key Index, Miscellaneous, Top 2260@node Index, Key Index, Miscellaneous, Top
diff --git a/man/trouble.texi b/man/trouble.texi
index ff846821ff2..da14f25568f 100644
--- a/man/trouble.texi
+++ b/man/trouble.texi
@@ -351,7 +351,6 @@ visits the file but gets the text from the auto-save file.
351recover are present in Emacs buffers. You should then save them. Only 351recover are present in Emacs buffers. You should then save them. Only
352this---saving them---updates the files themselves. 352this---saving them---updates the files themselves.
353 353
354
355 As a last resort, if you had buffers with content which were not 354 As a last resort, if you had buffers with content which were not
356associated with any files, or if the autosave was not recent enough to 355associated with any files, or if the autosave was not recent enough to
357have recorded important changes, you can use the 356have recorded important changes, you can use the
@@ -360,16 +359,16 @@ retrieve them from a core dump--provided that a core dump was saved,
360and that the Emacs executable was not stripped of its debugging 359and that the Emacs executable was not stripped of its debugging
361symbols. 360symbols.
362 361
363 To use this script, run @code{gdb} with the file name of your 362 To use this script, run @code{gdb} with the file name of your Emacs
364Emacs executable and the file name of the core dump, e.g. @samp{gdb 363executable and the file name of the core dump, e.g. @samp{gdb
365/usr/bin/emacs core.emacs}. At the @code{(gdb)} prompt, load the 364/usr/bin/emacs core.emacs}. At the @code{(gdb)} prompt, load the
366recovery script: @samp{source /usr/src/emacs/etc/emacs-buffer.gdb}. 365recovery script: @samp{source /usr/src/emacs/etc/emacs-buffer.gdb}.
367You can now use the commands @code{ybuffer-list} and 366Then type the command @code{ybuffer-list} to see which buffers are
368@code{ysave-buffer} to list and save buffers. The @code{ysave-buffer} 367available. For each buffer, it lists a buffer number. To save a
369command takes a buffer number (as listed by @code{ybuffer-list}) and a 368buffer, use @code{ysave-buffer}; you specify the buffer number, and
370file name to which to write the buffer contents. You should use a 369the file name to write that buffer into. You should use a file name
371file name which does not already exist; no backups of the previous 370which does not already exist; if the file does exist, the script does
372contents of the file will be saved, if any. 371not make make a backup of its old contents.
373 372
374@node Emergency Escape 373@node Emergency Escape
375@subsection Emergency Escape 374@subsection Emergency Escape