diff options
| author | Karoly Lorentey | 2006-05-03 11:56:53 +0000 |
|---|---|---|
| committer | Karoly Lorentey | 2006-05-03 11:56:53 +0000 |
| commit | c044516d384ff70e820686d4e995dcc23ee22e6f (patch) | |
| tree | 4a9b52cf3e7da73040903b719dfca8113a765884 /man | |
| parent | b33c71f58623306001d4d4fe4f7354d8c360edaa (diff) | |
| parent | 9d6bb9e0af2671a4deca1509f4a2d5655400f67a (diff) | |
| download | emacs-c044516d384ff70e820686d4e995dcc23ee22e6f.tar.gz emacs-c044516d384ff70e820686d4e995dcc23ee22e6f.zip | |
Merged from emacs@sv.gnu.org
Patches applied:
* emacs@sv.gnu.org/emacs--devo--0--patch-252
Merge from gnus--rel--5.10
* emacs@sv.gnu.org/emacs--devo--0--patch-253
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-254
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-255
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-256
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-257
Merge from gnus--rel--5.10
* emacs@sv.gnu.org/emacs--devo--0--patch-258
Clean up lisp/gnus/ChangeLog a bit
* emacs@sv.gnu.org/emacs--devo--0--patch-259
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-260
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-261
lisp/replace.el (occur-engine): Bind `inhibit-field-text-motion' to t
* emacs@sv.gnu.org/emacs--devo--0--patch-262
Update from CVS
* emacs@sv.gnu.org/gnus--rel--5.10--patch-96
Update from CVS
* emacs@sv.gnu.org/gnus--rel--5.10--patch-97
Update from CVS
* emacs@sv.gnu.org/gnus--rel--5.10--patch-98
Update from CVS
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-554
Diffstat (limited to 'man')
| -rw-r--r-- | man/ChangeLog | 48 | ||||
| -rw-r--r-- | man/building.texi | 38 | ||||
| -rw-r--r-- | man/calendar.texi | 4 | ||||
| -rw-r--r-- | man/custom.texi | 3 | ||||
| -rw-r--r-- | man/emacs.texi | 137 | ||||
| -rw-r--r-- | man/macos.texi | 70 | ||||
| -rw-r--r-- | man/misc.texi | 83 |
7 files changed, 260 insertions, 123 deletions
diff --git a/man/ChangeLog b/man/ChangeLog index 1f417968fa9..bd48e3f4f20 100644 --- a/man/ChangeLog +++ b/man/ChangeLog | |||
| @@ -1,16 +1,46 @@ | |||
| 1 | 2006-05-01 Richard Stallman <rms@gnu.org> | ||
| 2 | |||
| 3 | * emacs.texi (Top): Add Diff Mode to menu. | ||
| 4 | |||
| 5 | 2006-05-01 Aaron S. Hawley <Aaron.Hawley@uvm.edu> | ||
| 6 | |||
| 7 | * misc.texi (Diff Mode): New node. | ||
| 8 | |||
| 9 | 2006-05-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | ||
| 10 | |||
| 11 | * macos.texi (Mac International): Now Carbon Emacs has ATSUI support. | ||
| 12 | (Mac Environment Variables): Shorten example line. | ||
| 13 | (Mac Font Specs): Shorten lisp lines. Add descriptions for ATSUI. | ||
| 14 | |||
| 15 | 2006-05-01 Nick Roberts <nickrob@snap.net.nz> | ||
| 16 | |||
| 17 | * building.texi (GUD Customization): Describe cases %d and %c. | ||
| 18 | Update description for %e. | ||
| 19 | |||
| 20 | 2006-04-30 Glenn Morris <rgm@gnu.org> | ||
| 21 | |||
| 22 | * calendar.texi (LaTeX Calendar): Mention cal-tex-preamble-extra. | ||
| 23 | |||
| 24 | 2006-04-29 Dan Nicolaescu <dann@ics.uci.edu> | ||
| 25 | |||
| 26 | * custom.texi (Examining): Update C-h v output example. | ||
| 27 | |||
| 28 | 2006-04-29 Kim F. Storm <storm@cua.dk> | ||
| 29 | |||
| 30 | * building.texi (Grep Searching): Add lgrep and rgrep. | ||
| 31 | |||
| 1 | 2006-04-26 Reiner Steib <Reiner.Steib@gmx.de> | 32 | 2006-04-26 Reiner Steib <Reiner.Steib@gmx.de> |
| 2 | 33 | ||
| 3 | * pgg.texi (Caching passphrase): Fix markup and typos. Simplify. | 34 | * pgg.texi (Caching passphrase): Fix markup and typos. Simplify. |
| 4 | 35 | ||
| 5 | 2006-04-26 Sascha Wilde <wilde@sha-bang.de> | 36 | 2006-04-26 Sascha Wilde <wilde@sha-bang.de> |
| 6 | 37 | ||
| 7 | * pgg.texi (Caching passphrase): Added documentation for | 38 | * pgg.texi (Caching passphrase): Add pgg-gpg-use-agent. |
| 8 | pgg-gpg-use-agent. | ||
| 9 | 39 | ||
| 10 | 2006-04-24 Bill Wohler <wohler@newt.com> | 40 | 2006-04-24 Bill Wohler <wohler@newt.com> |
| 11 | 41 | ||
| 12 | * mh-e.texi (Getting Started): Made it more explicit that you need | 42 | * mh-e.texi (Getting Started): Make it more explicit that you need |
| 13 | to install MH, and also included pointers to current MH implementations. | 43 | to install MH. Add pointers to current MH implementations. |
| 14 | 44 | ||
| 15 | 2006-04-23 Richard Stallman <rms@gnu.org> | 45 | 2006-04-23 Richard Stallman <rms@gnu.org> |
| 16 | 46 | ||
| @@ -24,14 +54,14 @@ | |||
| 24 | 2006-04-21 Bill Wohler <wohler@newt.com> | 54 | 2006-04-21 Bill Wohler <wohler@newt.com> |
| 25 | 55 | ||
| 26 | Release MH-E manual version 7.94. | 56 | Release MH-E manual version 7.94. |
| 27 | 57 | ||
| 28 | * mh-e.texi (VERSION, EDITION, UPDATED, UPDATE-MONTH): Update for | 58 | * mh-e.texi (VERSION, EDITION, UPDATED, UPDATE-MONTH): Update for |
| 29 | release 7.94. | 59 | release 7.94. |
| 30 | 60 | ||
| 31 | 2006-04-21 Carsten Dominik <dominik@science.uva.nl> | 61 | 2006-04-21 Carsten Dominik <dominik@science.uva.nl> |
| 32 | 62 | ||
| 33 | * org.texi: Many small fixes. | 63 | * org.texi: Many small fixes. |
| 34 | (Handling links): Renamed from "Managing links". | 64 | (Handling links): Rename from "Managing links". |
| 35 | 65 | ||
| 36 | 2006-04-21 Eli Zaretskii <eliz@gnu.org> | 66 | 2006-04-21 Eli Zaretskii <eliz@gnu.org> |
| 37 | 67 | ||
| @@ -57,7 +87,7 @@ | |||
| 57 | 87 | ||
| 58 | 2006-04-20 Carsten Dominik <dominik@science.uva.nl> | 88 | 2006-04-20 Carsten Dominik <dominik@science.uva.nl> |
| 59 | 89 | ||
| 60 | * org.texi: (Time stamps): Better explanation of the purpose of | 90 | * org.texi (Time stamps): Better explanation of the purpose of |
| 61 | different time stamps. | 91 | different time stamps. |
| 62 | (Structure editing, Plain lists): More details on how new items | 92 | (Structure editing, Plain lists): More details on how new items |
| 63 | and headings are inserted. | 93 | and headings are inserted. |
| @@ -74,7 +104,7 @@ | |||
| 74 | 104 | ||
| 75 | 2006-04-18 Carsten Dominik <dominik@science.uva.nl> | 105 | 2006-04-18 Carsten Dominik <dominik@science.uva.nl> |
| 76 | 106 | ||
| 77 | * org.texi: (Formula syntax): Fixed link to Calc Manual. | 107 | * org.texi (Formula syntax): Fixed link to Calc Manual. |
| 78 | 108 | ||
| 79 | 2006-04-17 Reiner Steib <Reiner.Steib@gmx.de> | 109 | 2006-04-17 Reiner Steib <Reiner.Steib@gmx.de> |
| 80 | 110 | ||
| @@ -96,7 +126,7 @@ | |||
| 96 | 126 | ||
| 97 | 2006-04-13 Carsten Dominik <dominik@science.uva.nl> | 127 | 2006-04-13 Carsten Dominik <dominik@science.uva.nl> |
| 98 | 128 | ||
| 99 | * org.texi: (Updating settings): New section. | 129 | * org.texi (Updating settings): New section. |
| 100 | (Visibility cycling): Better names for the startup folding | 130 | (Visibility cycling): Better names for the startup folding |
| 101 | options. | 131 | options. |
| 102 | (Exporting): Completely restructured. | 132 | (Exporting): Completely restructured. |
diff --git a/man/building.texi b/man/building.texi index cc5e667f1c3..0cbaa5d1826 100644 --- a/man/building.texi +++ b/man/building.texi | |||
| @@ -335,10 +335,12 @@ treating the matches reported by @code{grep} as if they were ``errors.'' | |||
| 335 | 335 | ||
| 336 | @table @kbd | 336 | @table @kbd |
| 337 | @item M-x grep | 337 | @item M-x grep |
| 338 | @item M-x lgrep | ||
| 338 | Run @code{grep} asynchronously under Emacs, with matching lines | 339 | Run @code{grep} asynchronously under Emacs, with matching lines |
| 339 | listed in the buffer named @samp{*grep*}. | 340 | listed in the buffer named @samp{*grep*}. |
| 340 | @item M-x grep-find | 341 | @item M-x grep-find |
| 341 | @itemx M-x find-grep | 342 | @itemx M-x find-grep |
| 343 | @itemx M-x rgrep | ||
| 342 | Run @code{grep} via @code{find}, with user-specified arguments, and | 344 | Run @code{grep} via @code{find}, with user-specified arguments, and |
| 343 | collect output in the buffer named @samp{*grep*}. | 345 | collect output in the buffer named @samp{*grep*}. |
| 344 | @item M-x kill-grep | 346 | @item M-x kill-grep |
| @@ -373,6 +375,27 @@ initial default for the command---one that runs both @code{find} and | |||
| 373 | @code{grep}, so as to search every file in a directory tree. See also | 375 | @code{grep}, so as to search every file in a directory tree. See also |
| 374 | the @code{find-grep-dired} command, in @ref{Dired and Find}. | 376 | the @code{find-grep-dired} command, in @ref{Dired and Find}. |
| 375 | 377 | ||
| 378 | @findex lgrep | ||
| 379 | @findex rgrep | ||
| 380 | The commands @kbd{M-x lgrep} (local grep) and @kbd{M-x rgrep} | ||
| 381 | (recursive grep) are more user-friendly versions of @code{grep} and | ||
| 382 | @code{grep-find}, which prompt separately for the regular expression | ||
| 383 | to match, the files to search, and the base directory for the search | ||
| 384 | (rgrep only). Case sensitivitivy of the search is controlled by the | ||
| 385 | current value of @code{case-fold-search}. | ||
| 386 | |||
| 387 | These commands build the shell commands based on the variables | ||
| 388 | @code{grep-template} (for @code{lgrep}) and @code{grep-find-template} | ||
| 389 | (for @code{rgrep}). | ||
| 390 | |||
| 391 | The files to search can use aliases defined in the variable | ||
| 392 | @code{grep-files-aliases}. | ||
| 393 | |||
| 394 | Subdirectories listed in the variable | ||
| 395 | @code{grep-find-ignored-directories} such as those typically used by | ||
| 396 | various version control systems, like CVS and arch, are automatically | ||
| 397 | skipped by @code{rgrep}. | ||
| 398 | |||
| 376 | @node Flymake | 399 | @node Flymake |
| 377 | @section Finding Syntax Errors On The Fly | 400 | @section Finding Syntax Errors On The Fly |
| 378 | @cindex checking syntax | 401 | @cindex checking syntax |
| @@ -676,7 +699,7 @@ This key is available only in the GUD interaction buffer. | |||
| 676 | @kindex C-c C-f @r{(GUD)} | 699 | @kindex C-c C-f @r{(GUD)} |
| 677 | @itemx C-x C-a C-f | 700 | @itemx C-x C-a C-f |
| 678 | @findex gud-finish | 701 | @findex gud-finish |
| 679 | Run the program until the selected stack frame returns or | 702 | Run the program until the selected stack frame returns or |
| 680 | stops for some other reason (@code{gud-finish}). | 703 | stops for some other reason (@code{gud-finish}). |
| 681 | 704 | ||
| 682 | @item C-x C-a C-j | 705 | @item C-x C-a C-j |
| @@ -743,8 +766,6 @@ the command to @kbd{C-c @var{binding}} in the GUD buffer's mode and to | |||
| 743 | The name of the current source file. If the current buffer is the GUD | 766 | The name of the current source file. If the current buffer is the GUD |
| 744 | buffer, then the ``current source file'' is the file that the program | 767 | buffer, then the ``current source file'' is the file that the program |
| 745 | stopped in. | 768 | stopped in. |
| 746 | @c This said, ``the name of the file the program counter was in at the last breakpoint.'' | ||
| 747 | @c But I suspect it is really the last stop file. | ||
| 748 | 769 | ||
| 749 | @item %l | 770 | @item %l |
| 750 | The number of the current source line. If the current buffer is the GUD | 771 | The number of the current source line. If the current buffer is the GUD |
| @@ -752,7 +773,9 @@ buffer, then the ``current source line'' is the line that the program | |||
| 752 | stopped in. | 773 | stopped in. |
| 753 | 774 | ||
| 754 | @item %e | 775 | @item %e |
| 755 | The text of the C lvalue or function-call expression at or adjacent to point. | 776 | In transient-mark-mode the text in the region, if it is active. |
| 777 | Otherwise the text of the C lvalue or function-call expression at or | ||
| 778 | adjacent to point. | ||
| 756 | 779 | ||
| 757 | @item %a | 780 | @item %a |
| 758 | The text of the hexadecimal address at or adjacent to point. | 781 | The text of the hexadecimal address at or adjacent to point. |
| @@ -764,6 +787,13 @@ empty string. | |||
| 764 | 787 | ||
| 765 | If you don't use @samp{%p} in the command string, the command you define | 788 | If you don't use @samp{%p} in the command string, the command you define |
| 766 | ignores any numeric argument. | 789 | ignores any numeric argument. |
| 790 | |||
| 791 | @item %d | ||
| 792 | The name of the directory of the current source file. | ||
| 793 | |||
| 794 | @item %c | ||
| 795 | Fully qualified class name derived from the expression surrounding point | ||
| 796 | (jdb only). | ||
| 767 | @end table | 797 | @end table |
| 768 | 798 | ||
| 769 | @node GDB Graphical Interface | 799 | @node GDB Graphical Interface |
diff --git a/man/calendar.texi b/man/calendar.texi index 23aeb191e86..b48b1d547de 100644 --- a/man/calendar.texi +++ b/man/calendar.texi | |||
| @@ -395,7 +395,9 @@ If the variable @code{cal-tex-diary} is non-@code{nil} (the default is | |||
| 395 | @code{nil}), diary entries are included also (in weekly and monthly | 395 | @code{nil}), diary entries are included also (in weekly and monthly |
| 396 | calendars only). If the variable @code{cal-tex-rules} is non-@code{nil} | 396 | calendars only). If the variable @code{cal-tex-rules} is non-@code{nil} |
| 397 | (the default is @code{nil}), the calendar displays ruled pages | 397 | (the default is @code{nil}), the calendar displays ruled pages |
| 398 | in styles that have sufficient room. | 398 | in styles that have sufficient room. You can use the variable |
| 399 | @code{cal-tex-preamble-extra} to insert extra LaTeX commands in the | ||
| 400 | preamble of the generated document if you need to. | ||
| 399 | 401 | ||
| 400 | @node Holidays | 402 | @node Holidays |
| 401 | @section Holidays | 403 | @section Holidays |
diff --git a/man/custom.texi b/man/custom.texi index f133e890b0a..35c9222628c 100644 --- a/man/custom.texi +++ b/man/custom.texi | |||
| @@ -822,6 +822,9 @@ fill-column's value is 70 | |||
| 822 | Local in buffer custom.texi; global value is 70 | 822 | Local in buffer custom.texi; global value is 70 |
| 823 | Automatically becomes buffer-local when set in any fashion. | 823 | Automatically becomes buffer-local when set in any fashion. |
| 824 | 824 | ||
| 825 | This variable is safe to use as a file local variable only if its value | ||
| 826 | satisfies the predicate `integerp'. | ||
| 827 | |||
| 825 | Documentation: | 828 | Documentation: |
| 826 | *Column beyond which automatic line-wrapping should happen. | 829 | *Column beyond which automatic line-wrapping should happen. |
| 827 | Interactively, you can set the buffer local value using C-x f. | 830 | Interactively, you can set the buffer local value using C-x f. |
diff --git a/man/emacs.texi b/man/emacs.texi index 478244aecf6..c30bcb93954 100644 --- a/man/emacs.texi +++ b/man/emacs.texi | |||
| @@ -89,9 +89,9 @@ some of how to customize it; it corresponds to GNU Emacs version | |||
| 89 | @value{EMACSVER}. | 89 | @value{EMACSVER}. |
| 90 | 90 | ||
| 91 | @ifinfo | 91 | @ifinfo |
| 92 | If you never before used the Info documentation system, type @kbd{h}, | 92 | To learn more about the Info documentation system, type @kbd{h}, and |
| 93 | and Emacs will take you to a programmed instruction sequence for the | 93 | Emacs will take you to a programmed instruction sequence for the Info |
| 94 | Info commands. | 94 | commands. |
| 95 | @end ifinfo | 95 | @end ifinfo |
| 96 | 96 | ||
| 97 | For information on extending Emacs, see @ref{Top, Emacs Lisp,, elisp, The | 97 | For information on extending Emacs, see @ref{Top, Emacs Lisp,, elisp, The |
| @@ -197,6 +197,7 @@ Advanced Features | |||
| 197 | * Sorting:: Sorting lines, paragraphs or pages within Emacs. | 197 | * Sorting:: Sorting lines, paragraphs or pages within Emacs. |
| 198 | * Narrowing:: Restricting display and editing to a portion | 198 | * Narrowing:: Restricting display and editing to a portion |
| 199 | of the buffer. | 199 | of the buffer. |
| 200 | * Diff Mode:: Editing diff output. | ||
| 200 | * Two-Column:: Splitting apart columns to edit them | 201 | * Two-Column:: Splitting apart columns to edit them |
| 201 | in side-by-side windows. | 202 | in side-by-side windows. |
| 202 | * Editing Binary Files::Using Hexl mode to edit binary files. | 203 | * Editing Binary Files::Using Hexl mode to edit binary files. |
| @@ -286,7 +287,7 @@ Killing and Moving Text | |||
| 286 | * Killing by Lines:: How to kill entire lines of text at one time. | 287 | * Killing by Lines:: How to kill entire lines of text at one time. |
| 287 | * Other Kill Commands:: Commands to kill large regions of text and | 288 | * Other Kill Commands:: Commands to kill large regions of text and |
| 288 | syntactic units such as words and sentences. | 289 | syntactic units such as words and sentences. |
| 289 | * Graphical Kill:: The kill ring on graphical terminals: | 290 | * Graphical Kill:: The kill ring on graphical displays: |
| 290 | yanking between applications. | 291 | yanking between applications. |
| 291 | * CUA Bindings:: Using @kbd{C-x}, @kbd{C-c}, @kbd{C-v} for copy | 292 | * CUA Bindings:: Using @kbd{C-x}, @kbd{C-c}, @kbd{C-v} for copy |
| 292 | and paste, with enhanced rectangle support. | 293 | and paste, with enhanced rectangle support. |
| @@ -867,47 +868,47 @@ Emacs and Microsoft Windows | |||
| 867 | @unnumbered Preface | 868 | @unnumbered Preface |
| 868 | 869 | ||
| 869 | This manual documents the use and simple customization of the Emacs | 870 | This manual documents the use and simple customization of the Emacs |
| 870 | editor. The reader is not expected to be a programmer; simple | 871 | editor. Simple Emacs customizations do not require you to be a |
| 871 | customizations do not require programming skill. The user who is not | 872 | programmer, but if you are not interested in customizing, you can |
| 872 | interested in customizing can ignore the scattered customization hints. | 873 | ignore the customization hints. |
| 873 | 874 | ||
| 874 | This is primarily a reference manual, but can also be used as a | 875 | This is primarily a reference manual, but can also be used as a |
| 875 | primer. For complete beginners, it is a good idea to start with the | 876 | primer. If you are a complete beginner, we recommend you start with |
| 876 | on-line, learn-by-doing tutorial, before reading the manual. To run the | 877 | the on-line, learn-by-doing tutorial, before reading the manual. To |
| 877 | tutorial, start Emacs and type @kbd{C-h t}. This way you can learn | 878 | run the tutorial, start Emacs and type @kbd{C-h t}. The tutorial |
| 878 | Emacs by using Emacs on a specially designed file which describes | 879 | describes commands, tells you when to try them, and explains the |
| 879 | commands, tells you when to try them, and then explains the results you | 880 | results. |
| 880 | see. | ||
| 881 | 881 | ||
| 882 | On first reading, just skim chapters 1 and 2, which describe the | 882 | On first reading, just skim chapters 1 and 2, which describe the |
| 883 | notational conventions of the manual and the general appearance of the | 883 | notational conventions of the manual and the general appearance of the |
| 884 | Emacs display screen. Note which questions are answered in these | 884 | Emacs display screen. Note which questions are answered in these |
| 885 | chapters, so you can refer back later. After reading chapter 4, you | 885 | chapters, so you can refer back later. After reading chapter 4, you |
| 886 | should practice the commands there. The next few chapters describe | 886 | should practice the commands shown there. The next few chapters |
| 887 | fundamental techniques and concepts that are used constantly. You need | 887 | describe fundamental techniques and concepts that are used constantly. |
| 888 | to understand them thoroughly, experimenting with them if necessary. | 888 | You need to understand them thoroughly, so experiment with them |
| 889 | until you are fluent. | ||
| 889 | 890 | ||
| 890 | Chapters 14 through 19 describe intermediate-level features that are | 891 | Chapters 14 through 19 describe intermediate-level features that are |
| 891 | useful for all kinds of editing. Chapter 20 and following chapters | 892 | useful for many kinds of editing. Chapter 20 and following chapters |
| 892 | describe features that you may or may not want to use; read those | 893 | describe optional but useful features; read those chapters when you |
| 893 | chapters when you need them. | 894 | need them. |
| 894 | 895 | ||
| 895 | Read the Trouble chapter if Emacs does not seem to be working | 896 | Read the Trouble chapter if Emacs does not seem to be working |
| 896 | properly. It explains how to cope with some common problems | 897 | properly. It explains how to cope with several common problems |
| 897 | (@pxref{Lossage}), as well as when and how to report Emacs bugs | 898 | (@pxref{Lossage}), as well as when and how to report Emacs bugs |
| 898 | (@pxref{Bugs}). | 899 | (@pxref{Bugs}). |
| 899 | 900 | ||
| 900 | To find the documentation on a particular command, look in the index. | 901 | To find the documentation of a particular command, look in the index. |
| 901 | Keys (character commands) and command names have separate indexes. There | 902 | Keys (character commands) and command names have separate indexes. |
| 902 | is also a glossary, with a cross reference for each term. | 903 | There is also a glossary, with a cross reference for each term. |
| 903 | 904 | ||
| 904 | This manual is available as a printed book and also as an Info file. | 905 | This manual is available as a printed book and also as an Info file. |
| 905 | The Info file is for on-line perusal with the Info program, which will | 906 | The Info file is for on-line perusal with the Info program, which is |
| 906 | be the principal way of viewing documentation on-line in the GNU system. | 907 | the principal means of accessing on-line documentation in the GNU |
| 907 | Both the Info file and the Info program itself are distributed along | 908 | system. Both the Emacs Info file and an Info reader are included with |
| 908 | with GNU Emacs. The Info file and the printed book contain | 909 | GNU Emacs. The Info file and the printed book contain substantially |
| 909 | substantially the same text and are generated from the same source | 910 | the same text and are generated from the same source files, which are |
| 910 | files, which are also distributed along with GNU Emacs. | 911 | also distributed with GNU Emacs. |
| 911 | 912 | ||
| 912 | GNU Emacs is a member of the Emacs editor family. There are many | 913 | GNU Emacs is a member of the Emacs editor family. There are many |
| 913 | Emacs editors, all sharing common principles of organization. For | 914 | Emacs editors, all sharing common principles of organization. For |
| @@ -1058,59 +1059,51 @@ T.@: Zimmermann, Reto Zimmermann, Neal Ziring, and Detlev Zundel. | |||
| 1058 | @node Intro, Glossary, Distrib, Top | 1059 | @node Intro, Glossary, Distrib, Top |
| 1059 | @unnumbered Introduction | 1060 | @unnumbered Introduction |
| 1060 | 1061 | ||
| 1061 | You are reading about GNU Emacs, the GNU incarnation of the advanced, | 1062 | You are reading about GNU Emacs, the GNU incarnation of the |
| 1062 | self-documenting, customizable, extensible real-time display editor Emacs. | 1063 | advanced, self-documenting, customizable, extensible editor Emacs. |
| 1063 | (The `G' in `GNU' is not silent.) | 1064 | (The `G' in `GNU' is not silent.) |
| 1064 | 1065 | ||
| 1065 | We say that Emacs is a @dfn{display} editor because normally the text | 1066 | We call Emacs advanced because it provides much more than simple |
| 1066 | being edited is visible on the screen and is updated automatically as you | 1067 | insertion and deletion. It can control subprocesses, indent programs |
| 1067 | type your commands. @xref{Screen,Display}. | 1068 | automatically, show two or more files at once, and edit formatted |
| 1068 | 1069 | text. Emacs editing commands operate in terms of characters, words, | |
| 1069 | We call it a @dfn{real-time} editor because the display is updated very | 1070 | lines, sentences, paragraphs, and pages, as well as expressions and |
| 1070 | frequently, usually after each character or pair of characters you | 1071 | comments in various programming languages. |
| 1071 | type. This minimizes the amount of information you must keep in your | ||
| 1072 | head as you edit. @xref{Basic,Real-time,Basic Editing}. | ||
| 1073 | |||
| 1074 | We call Emacs advanced because it provides facilities that go beyond | ||
| 1075 | simple insertion and deletion: controlling subprocesses; automatic | ||
| 1076 | indentation of programs; viewing two or more files at once; editing | ||
| 1077 | formatted text; and dealing in terms of characters, words, lines, | ||
| 1078 | sentences, paragraphs, and pages, as well as expressions and comments in | ||
| 1079 | several different programming languages. | ||
| 1080 | 1072 | ||
| 1081 | @dfn{Self-documenting} means that at any time you can type a special | 1073 | @dfn{Self-documenting} means that at any time you can type a special |
| 1082 | character, @kbd{Control-h}, to find out what your options are. You can | 1074 | character, @kbd{Control-h}, to find out what your options are. You can |
| 1083 | also use it to find out what any command does, or to find all the commands | 1075 | also use it to find out what any command does, or to find all the commands |
| 1084 | that pertain to a topic. @xref{Help}. | 1076 | that pertain to a topic. @xref{Help}. |
| 1085 | 1077 | ||
| 1086 | @dfn{Customizable} means that you can change the definitions of Emacs | 1078 | @dfn{Customizable} means that you can alter Emacs commands' behavior |
| 1087 | commands in little ways. For example, if you use a programming language in | 1079 | in simple ways. For example, if you use a programming language in |
| 1088 | which comments start with @samp{<**} and end with @samp{**>}, you can tell | 1080 | which comments start with @samp{<**} and end with @samp{**>}, you can |
| 1089 | the Emacs comment manipulation commands to use those strings | 1081 | tell the Emacs comment manipulation commands to use those strings |
| 1090 | (@pxref{Comments}). Another sort of customization is rearrangement of the | 1082 | (@pxref{Comments}). Another sort of customization is rearrangement of |
| 1091 | command set. For example, if you prefer the four basic cursor motion | 1083 | the command set. For example, you can rebind the basic cursor motion |
| 1092 | commands (up, down, left and right) on keys in a diamond pattern on the | 1084 | commands (up, down, left and right) to any keys on the keyboard that |
| 1093 | keyboard, you can rebind the keys that way. @xref{Customization}. | 1085 | you find comfortable. @xref{Customization}. |
| 1094 | 1086 | ||
| 1095 | @dfn{Extensible} means that you can go beyond simple customization and | 1087 | @dfn{Extensible} means that you can go beyond simple customization |
| 1096 | write entirely new commands, programs in the Lisp language to be run by | 1088 | and write entirely new commands---programs in the Lisp language to be |
| 1097 | Emacs's own Lisp interpreter. Emacs is an ``on-line extensible'' | 1089 | run by Emacs's own Lisp interpreter. Emacs is an ``on-line |
| 1098 | system, which means that it is divided into many functions that call | 1090 | extensible'' system, which means that it is divided into many |
| 1099 | each other, any of which can be redefined in the middle of an editing | 1091 | functions that call each other, any of which can be redefined in the |
| 1100 | session. Almost any part of Emacs can be replaced without making a | 1092 | middle of an editing session. Almost any part of Emacs can be |
| 1101 | separate copy of all of Emacs. Most of the editing commands of Emacs | 1093 | replaced without making a separate copy of all of Emacs. Most of the |
| 1102 | are written in Lisp; the few exceptions could have been written | 1094 | editing commands of Emacs are written in Lisp; the few exceptions |
| 1103 | in Lisp but are written in C for efficiency. Although only a programmer | 1095 | could have been written in Lisp but use C instead for efficiency. |
| 1104 | can write an extension, anybody can use it afterward. @xref{Top, | 1096 | Writing an extension is programming, but non-programmers can use it |
| 1105 | Emacs Lisp Intro, Preface, eintr, An Introduction to Programming in | 1097 | afterwards. @xref{Top, Emacs Lisp Intro, Preface, eintr, An |
| 1106 | Emacs Lisp}, if you want to learn Emacs Lisp programming. | 1098 | Introduction to Programming in Emacs Lisp}, if you want to learn Emacs |
| 1099 | Lisp programming. | ||
| 1107 | 1100 | ||
| 1108 | When running on a graphical display, Emacs provides its own menus | 1101 | When running on a graphical display, Emacs provides its own menus |
| 1109 | and convenient handling of mouse buttons. But Emacs provides many of | 1102 | and convenient handling of mouse buttons. In addition, Emacs provides |
| 1110 | the benefits of a graphical display even on a text-only terminal. For | 1103 | many of the benefits of a graphical display even on a text-only |
| 1111 | instance, it can highlight parts of a file, display and edit several | 1104 | terminal. For instance, it can highlight parts of a file, display and |
| 1112 | files at once, move text between files, and edit files while running | 1105 | edit several files at once, move text between files, and edit files |
| 1113 | shell commands. | 1106 | while running shell commands. |
| 1114 | 1107 | ||
| 1115 | @include screen.texi | 1108 | @include screen.texi |
| 1116 | @include commands.texi | 1109 | @include commands.texi |
diff --git a/man/macos.texi b/man/macos.texi index 89ce13d1d1b..272609b8392 100644 --- a/man/macos.texi +++ b/man/macos.texi | |||
| @@ -104,13 +104,6 @@ character codes in the range 128-159. The coding systems | |||
| 104 | @code{mac-roman}, @code{mac-centraleurroman}, and @code{mac-cyrillic} | 104 | @code{mac-roman}, @code{mac-centraleurroman}, and @code{mac-cyrillic} |
| 105 | are used to represent these Mac encodings. | 105 | are used to represent these Mac encodings. |
| 106 | 106 | ||
| 107 | The fontset @code{fontset-standard} is created automatically when | ||
| 108 | Emacs is run on Mac, and used by default. It displays as many kinds | ||
| 109 | of characters as possible using 12-point Monaco as a base font. If | ||
| 110 | you see some character as a hollow box with this fontset, then it's | ||
| 111 | almost impossible to display it only by customizing font settings | ||
| 112 | (@pxref{Mac Font Specs}). | ||
| 113 | |||
| 114 | You can use input methods provided either by LEIM (@pxref{Input | 107 | You can use input methods provided either by LEIM (@pxref{Input |
| 115 | Methods}) or Mac OS to enter international characters. To use the | 108 | Methods}) or Mac OS to enter international characters. To use the |
| 116 | former, see the International Character Set Support section of the | 109 | former, see the International Character Set Support section of the |
| @@ -195,7 +188,7 @@ invoked from the Finder or the @command{open} command. | |||
| 195 | Command line arguments are specified like | 188 | Command line arguments are specified like |
| 196 | 189 | ||
| 197 | @example | 190 | @example |
| 198 | /Applications/Emacs.app/Contents/MacOS/Emacs -geometry 80x25 & | 191 | /Applications/Emacs.app/Contents/MacOS/Emacs -g 80x25 & |
| 199 | @end example | 192 | @end example |
| 200 | 193 | ||
| 201 | @noindent | 194 | @noindent |
| @@ -295,7 +288,8 @@ you specify face attributes instead. For example, you can use 14pt | |||
| 295 | Courier by customizing the default face attributes for all frames: | 288 | Courier by customizing the default face attributes for all frames: |
| 296 | 289 | ||
| 297 | @lisp | 290 | @lisp |
| 298 | (set-face-attribute 'default nil :family "courier" :height 140) | 291 | (set-face-attribute 'default nil |
| 292 | :family "courier" :height 140) | ||
| 299 | @end lisp | 293 | @end lisp |
| 300 | 294 | ||
| 301 | @noindent | 295 | @noindent |
| @@ -313,21 +307,30 @@ standard X font name: | |||
| 313 | @noindent | 307 | @noindent |
| 314 | @xref{Font X}. Wildcards are supported as they are on X. | 308 | @xref{Font X}. Wildcards are supported as they are on X. |
| 315 | 309 | ||
| 316 | Native Apple fonts in Mac Roman encoding has maker name @code{apple} | 310 | Emacs on Mac OS Classic uses QuickDraw Text routines for drawing texts |
| 317 | and charset @code{mac-roman}. For example 12-point Monaco can be | 311 | by default. Emacs on Mac OS X uses @acronym{ATSUI, Apple Type Services |
| 318 | specified by the name @samp{-apple-monaco-*-12-*-mac-roman}. When | 312 | for Unicode Imaging} as well as QuickDraw Text, and most of the |
| 319 | using a particular size of scalable fonts, it must be specified in a | 313 | characters other than Chinese, Japanese, and Korean ones are drawn using |
| 320 | format containing 14 @samp{-}s like | 314 | the former by default. |
| 321 | @samp{-apple-monaco-medium-r-normal--13-*-*-*-*-*-mac-roman}. | 315 | |
| 322 | 316 | @acronym{ATSUI}-compatible fonts have maker name @code{apple} and | |
| 323 | You can specify a @code{mac-roman} font for @acronym{ASCII} | 317 | charset @code{iso10646-1}. For example 12-point Monaco can be specified |
| 324 | characters like | 318 | by the name |
| 325 | 319 | @samp{-apple-monaco-medium-r-normal--12-*-*-*-*-*-iso10646-1}. Note | |
| 326 | @lisp | 320 | that it must be specified in a format containing 14 @samp{-}s (i.e., not |
| 321 | by @samp{-apple-monaco-medium-r-normal-12-*-iso10646-1}) because every | ||
| 322 | @acronym{ATSUI}-compatible font is a scalable one. | ||
| 323 | |||
| 324 | QuickDraw Text fonts have maker name @code{apple} and various charset | ||
| 325 | names other than @code{iso10646-1}. Native Apple fonts in Mac Roman | ||
| 326 | encoding has charset @code{mac-roman}. You can specify a | ||
| 327 | @code{mac-roman} font for @acronym{ASCII} characters like | ||
| 328 | |||
| 329 | @smalllisp | ||
| 327 | (add-to-list | 330 | (add-to-list |
| 328 | 'default-frame-alist | 331 | 'default-frame-alist |
| 329 | '(font . "-apple-monaco-medium-r-normal--13-*-*-*-*-*-mac-roman")) | 332 | '(font . "-apple-monaco-medium-r-normal--13-*-*-*-*-*-mac-roman")) |
| 330 | @end lisp | 333 | @end smalllisp |
| 331 | 334 | ||
| 332 | @noindent | 335 | @noindent |
| 333 | but that does not extend to ISO-8859-1: specifying a @code{mac-roman} | 336 | but that does not extend to ISO-8859-1: specifying a @code{mac-roman} |
| @@ -341,16 +344,11 @@ charsets @samp{big5-0}, @samp{gb2312.1980-0}, | |||
| 341 | @samp{mac-cyrillic}, @samp{mac-symbol}, and @samp{mac-dingbats}, | 344 | @samp{mac-cyrillic}, @samp{mac-symbol}, and @samp{mac-dingbats}, |
| 342 | respectively. | 345 | respectively. |
| 343 | 346 | ||
| 344 | Since Emacs as of the current version uses QuickDraw Text routines | ||
| 345 | for drawing texts, only characters in the charsets listed above can be | ||
| 346 | displayed with the OS-bundled fonts, even if other applications that | ||
| 347 | use @acronym{ATSUI} or Cocoa can display variety of characters with | ||
| 348 | them. | ||
| 349 | |||
| 350 | The use of @code{create-fontset-from-fontset-spec} (@pxref{Defining | 347 | The use of @code{create-fontset-from-fontset-spec} (@pxref{Defining |
| 351 | Fontsets}) for defining fontsets often results in wrong ones | 348 | Fontsets}) for defining fontsets often results in wrong ones especially |
| 352 | especially when using only OS-bundled fonts. The recommended way is | 349 | when using only OS-bundled QuickDraw Text fonts. The recommended way to |
| 353 | to create a fontset using @code{create-fontset-from-mac-roman-font}: | 350 | use them is to create a fontset using |
| 351 | @code{create-fontset-from-mac-roman-font}: | ||
| 354 | 352 | ||
| 355 | @lisp | 353 | @lisp |
| 356 | (create-fontset-from-mac-roman-font | 354 | (create-fontset-from-mac-roman-font |
| @@ -374,11 +372,13 @@ encoded in the names of their font suitcases. E.g., the font suitcase | |||
| 374 | the name @samp{-ETL-fixed-*-iso8859-1}. | 372 | the name @samp{-ETL-fixed-*-iso8859-1}. |
| 375 | 373 | ||
| 376 | @vindex mac-allow-anti-aliasing | 374 | @vindex mac-allow-anti-aliasing |
| 377 | Emacs uses the QuickDraw text rendering by default. On Mac OS X | 375 | Mac OS X 10.2 or later can use two types of text renderings: Quartz 2D |
| 378 | 10.2 and later, it can be changed so that it uses the Quartz 2D text | 376 | (aka Core Graphics) and QuickDraw. By default, Emacs uses the former on |
| 379 | rendering (aka CG text rendering) by setting | 377 | such versions. It can be changed by setting |
| 380 | @code{mac-allow-anti-aliasing} to @code{t}. However, it is reported | 378 | @code{mac-allow-anti-aliasing} to @code{t} (Quartz 2D) or @code{nil} |
| 381 | to sometimes leave some garbages. | 379 | (QuickDraw). Both @acronym{ATSUI} and QuickDraw Text drawings are |
| 380 | affected by the value of this variable. | ||
| 381 | |||
| 382 | 382 | ||
| 383 | @node Mac Functions | 383 | @node Mac Functions |
| 384 | @section Mac-Specific Lisp Functions | 384 | @section Mac-Specific Lisp Functions |
diff --git a/man/misc.texi b/man/misc.texi index 0b07e04ed68..71f4aba2b49 100644 --- a/man/misc.texi +++ b/man/misc.texi | |||
| @@ -1761,7 +1761,7 @@ rectangle moves along with the text inside the rectangle. | |||
| 1761 | Many of the sort commands ignore case differences when comparing, if | 1761 | Many of the sort commands ignore case differences when comparing, if |
| 1762 | @code{sort-fold-case} is non-@code{nil}. | 1762 | @code{sort-fold-case} is non-@code{nil}. |
| 1763 | 1763 | ||
| 1764 | @node Narrowing, Two-Column, Sorting, Top | 1764 | @node Narrowing, Diff Mode, Sorting, Top |
| 1765 | @section Narrowing | 1765 | @section Narrowing |
| 1766 | @cindex widening | 1766 | @cindex widening |
| 1767 | @cindex restriction | 1767 | @cindex restriction |
| @@ -1827,7 +1827,86 @@ this command asks for confirmation and gives you the option of enabling it; | |||
| 1827 | if you enable the command, confirmation will no longer be required for | 1827 | if you enable the command, confirmation will no longer be required for |
| 1828 | it. @xref{Disabling}. | 1828 | it. @xref{Disabling}. |
| 1829 | 1829 | ||
| 1830 | @node Two-Column, Editing Binary Files, Narrowing, Top | 1830 | @node Diff Mode, Two-Column, Narrowing, Top |
| 1831 | @section Diff Mode | ||
| 1832 | @cindex Diff mode | ||
| 1833 | |||
| 1834 | Diff mode is useful for editing patches and comparisons produced by | ||
| 1835 | the @command{diff} program. You can select Diff mode by typing | ||
| 1836 | @kbd{M-x diff-mode}; Emacs commands that compare files automatically | ||
| 1837 | select Diff mode. @xref{Top,, Diff, diff, Comparing and Merging Files}, | ||
| 1838 | for more information about @command{diff} output formats. | ||
| 1839 | |||
| 1840 | One general feature of Diff mode is that manual edits to the patch | ||
| 1841 | automatically correct line numbers, including those in the hunk | ||
| 1842 | header, so that you can actually apply the edited patch. Diff mode | ||
| 1843 | also provides the following commands to navigate, manipulate and apply | ||
| 1844 | parts of patches: | ||
| 1845 | |||
| 1846 | @table @kbd | ||
| 1847 | @item M-n | ||
| 1848 | Move to the next hunk-start (@code{diff-hunk-next}). | ||
| 1849 | |||
| 1850 | @item M-p | ||
| 1851 | Move to the previous hunk-start (@code{diff-hunk-prev}). | ||
| 1852 | |||
| 1853 | @item M-@} | ||
| 1854 | Move to the next file-start, in a multi-file patch | ||
| 1855 | (@code{diff-file-next}). | ||
| 1856 | |||
| 1857 | @item M-@{ | ||
| 1858 | Move to the previous file-start, in a multi-file patch | ||
| 1859 | (@code{diff-file-prev}). | ||
| 1860 | |||
| 1861 | @item M-k | ||
| 1862 | Kill the hunk at point (@code{diff-hunk-kill}). | ||
| 1863 | |||
| 1864 | @item M-K | ||
| 1865 | In a multi-file patch, kill the current file part. | ||
| 1866 | (@code{diff-file-kill}). | ||
| 1867 | |||
| 1868 | @item C-c C-a | ||
| 1869 | Apply this hunk to its target file (@code{diff-apply-hunk}). With a | ||
| 1870 | prefix argument of @kbd{C-u}, revert this hunk. | ||
| 1871 | |||
| 1872 | @item C-c C-c | ||
| 1873 | Go to the source corresponding to this hunk (@code{diff-goto-source}). | ||
| 1874 | |||
| 1875 | @item C-c C-e | ||
| 1876 | Start an Ediff session with the patch (@code{diff-ediff-patch}). | ||
| 1877 | @xref{Top, Ediff, Ediff, ediff, The Ediff Manual}. | ||
| 1878 | |||
| 1879 | @item C-c C-n | ||
| 1880 | Restrict the view to the current hunk (@code{diff-restrict-view}). | ||
| 1881 | @xref{Narrowing}. With a prefix argument of @kbd{C-u}, restrict the | ||
| 1882 | view to the current patch of a multiple file patch. To widen again, | ||
| 1883 | use @kbd{C-x n w}. | ||
| 1884 | |||
| 1885 | @item C-c C-r | ||
| 1886 | Reverse the direction of comparison for the entire buffer | ||
| 1887 | (@code{diff-reverse-direction}). | ||
| 1888 | |||
| 1889 | @item C-c C-s | ||
| 1890 | Split the hunk at point (@code{diff-split-hunk}). This is for | ||
| 1891 | manually editing patches, and only works with the unified diff format. | ||
| 1892 | |||
| 1893 | @item C-c C-u | ||
| 1894 | Convert the entire buffer to unified format | ||
| 1895 | (@code{diff-context->unified}). With a prefix argument, convert | ||
| 1896 | unified format to context format. In Transient Mark mode, when the | ||
| 1897 | mark is active, this command operates only on the region. | ||
| 1898 | |||
| 1899 | @item C-c C-w | ||
| 1900 | Refine the current hunk so that it disregards changes in whitespace | ||
| 1901 | (@code{diff-refine-hunk}). | ||
| 1902 | @end table | ||
| 1903 | |||
| 1904 | @kbd{C-x 4 a} in Diff mode operates on behalf of the target file, | ||
| 1905 | but gets the function name from the patch itself. @xref{Change Log}. | ||
| 1906 | This is useful for making log entries for functions that are deleted | ||
| 1907 | by the patch. | ||
| 1908 | |||
| 1909 | @node Two-Column, Editing Binary Files, Diff Mode, Top | ||
| 1831 | @section Two-Column Editing | 1910 | @section Two-Column Editing |
| 1832 | @cindex two-column editing | 1911 | @cindex two-column editing |
| 1833 | @cindex splitting columns | 1912 | @cindex splitting columns |