aboutsummaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorKaroly Lorentey2006-05-03 11:56:53 +0000
committerKaroly Lorentey2006-05-03 11:56:53 +0000
commitc044516d384ff70e820686d4e995dcc23ee22e6f (patch)
tree4a9b52cf3e7da73040903b719dfca8113a765884 /man
parentb33c71f58623306001d4d4fe4f7354d8c360edaa (diff)
parent9d6bb9e0af2671a4deca1509f4a2d5655400f67a (diff)
downloademacs-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/ChangeLog48
-rw-r--r--man/building.texi38
-rw-r--r--man/calendar.texi4
-rw-r--r--man/custom.texi3
-rw-r--r--man/emacs.texi137
-rw-r--r--man/macos.texi70
-rw-r--r--man/misc.texi83
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 @@
12006-05-01 Richard Stallman <rms@gnu.org>
2
3 * emacs.texi (Top): Add Diff Mode to menu.
4
52006-05-01 Aaron S. Hawley <Aaron.Hawley@uvm.edu>
6
7 * misc.texi (Diff Mode): New node.
8
92006-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
152006-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
202006-04-30 Glenn Morris <rgm@gnu.org>
21
22 * calendar.texi (LaTeX Calendar): Mention cal-tex-preamble-extra.
23
242006-04-29 Dan Nicolaescu <dann@ics.uci.edu>
25
26 * custom.texi (Examining): Update C-h v output example.
27
282006-04-29 Kim F. Storm <storm@cua.dk>
29
30 * building.texi (Grep Searching): Add lgrep and rgrep.
31
12006-04-26 Reiner Steib <Reiner.Steib@gmx.de> 322006-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
52006-04-26 Sascha Wilde <wilde@sha-bang.de> 362006-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
102006-04-24 Bill Wohler <wohler@newt.com> 402006-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
152006-04-23 Richard Stallman <rms@gnu.org> 452006-04-23 Richard Stallman <rms@gnu.org>
16 46
@@ -24,14 +54,14 @@
242006-04-21 Bill Wohler <wohler@newt.com> 542006-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
312006-04-21 Carsten Dominik <dominik@science.uva.nl> 612006-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
362006-04-21 Eli Zaretskii <eliz@gnu.org> 662006-04-21 Eli Zaretskii <eliz@gnu.org>
37 67
@@ -57,7 +87,7 @@
57 87
582006-04-20 Carsten Dominik <dominik@science.uva.nl> 882006-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
752006-04-18 Carsten Dominik <dominik@science.uva.nl> 1052006-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
792006-04-17 Reiner Steib <Reiner.Steib@gmx.de> 1092006-04-17 Reiner Steib <Reiner.Steib@gmx.de>
80 110
@@ -96,7 +126,7 @@
96 126
972006-04-13 Carsten Dominik <dominik@science.uva.nl> 1272006-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
338Run @code{grep} asynchronously under Emacs, with matching lines 339Run @code{grep} asynchronously under Emacs, with matching lines
339listed in the buffer named @samp{*grep*}. 340listed 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
342Run @code{grep} via @code{find}, with user-specified arguments, and 344Run @code{grep} via @code{find}, with user-specified arguments, and
343collect output in the buffer named @samp{*grep*}. 345collect 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
374the @code{find-grep-dired} command, in @ref{Dired and Find}. 376the @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
383to match, the files to search, and the base directory for the search
384(rgrep only). Case sensitivitivy of the search is controlled by the
385current value of @code{case-fold-search}.
386
387These 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
391The files to search can use aliases defined in the variable
392@code{grep-files-aliases}.
393
394Subdirectories listed in the variable
395@code{grep-find-ignored-directories} such as those typically used by
396various version control systems, like CVS and arch, are automatically
397skipped 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
679Run the program until the selected stack frame returns or 702Run the program until the selected stack frame returns or
680stops for some other reason (@code{gud-finish}). 703stops 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
743The name of the current source file. If the current buffer is the GUD 766The name of the current source file. If the current buffer is the GUD
744buffer, then the ``current source file'' is the file that the program 767buffer, then the ``current source file'' is the file that the program
745stopped in. 768stopped 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
750The number of the current source line. If the current buffer is the GUD 771The 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
752stopped in. 773stopped in.
753 774
754@item %e 775@item %e
755The text of the C lvalue or function-call expression at or adjacent to point. 776In transient-mark-mode the text in the region, if it is active.
777Otherwise the text of the C lvalue or function-call expression at or
778adjacent to point.
756 779
757@item %a 780@item %a
758The text of the hexadecimal address at or adjacent to point. 781The text of the hexadecimal address at or adjacent to point.
@@ -764,6 +787,13 @@ empty string.
764 787
765If you don't use @samp{%p} in the command string, the command you define 788If you don't use @samp{%p} in the command string, the command you define
766ignores any numeric argument. 789ignores any numeric argument.
790
791@item %d
792The name of the directory of the current source file.
793
794@item %c
795Fully 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
396calendars only). If the variable @code{cal-tex-rules} is non-@code{nil} 396calendars 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
398in styles that have sufficient room. 398in styles that have sufficient room. You can use the variable
399@code{cal-tex-preamble-extra} to insert extra LaTeX commands in the
400preamble 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
822Local in buffer custom.texi; global value is 70 822Local in buffer custom.texi; global value is 70
823Automatically becomes buffer-local when set in any fashion. 823Automatically becomes buffer-local when set in any fashion.
824 824
825This variable is safe to use as a file local variable only if its value
826satisfies the predicate `integerp'.
827
825Documentation: 828Documentation:
826*Column beyond which automatic line-wrapping should happen. 829*Column beyond which automatic line-wrapping should happen.
827Interactively, you can set the buffer local value using C-x f. 830Interactively, 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
92If you never before used the Info documentation system, type @kbd{h}, 92To learn more about the Info documentation system, type @kbd{h}, and
93and Emacs will take you to a programmed instruction sequence for the 93Emacs will take you to a programmed instruction sequence for the Info
94Info commands. 94commands.
95@end ifinfo 95@end ifinfo
96 96
97For information on extending Emacs, see @ref{Top, Emacs Lisp,, elisp, The 97For 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
870editor. The reader is not expected to be a programmer; simple 871editor. Simple Emacs customizations do not require you to be a
871customizations do not require programming skill. The user who is not 872programmer, but if you are not interested in customizing, you can
872interested in customizing can ignore the scattered customization hints. 873ignore 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
875primer. For complete beginners, it is a good idea to start with the 876primer. If you are a complete beginner, we recommend you start with
876on-line, learn-by-doing tutorial, before reading the manual. To run the 877the on-line, learn-by-doing tutorial, before reading the manual. To
877tutorial, start Emacs and type @kbd{C-h t}. This way you can learn 878run the tutorial, start Emacs and type @kbd{C-h t}. The tutorial
878Emacs by using Emacs on a specially designed file which describes 879describes commands, tells you when to try them, and explains the
879commands, tells you when to try them, and then explains the results you 880results.
880see.
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
883notational conventions of the manual and the general appearance of the 883notational conventions of the manual and the general appearance of the
884Emacs display screen. Note which questions are answered in these 884Emacs display screen. Note which questions are answered in these
885chapters, so you can refer back later. After reading chapter 4, you 885chapters, so you can refer back later. After reading chapter 4, you
886should practice the commands there. The next few chapters describe 886should practice the commands shown there. The next few chapters
887fundamental techniques and concepts that are used constantly. You need 887describe fundamental techniques and concepts that are used constantly.
888to understand them thoroughly, experimenting with them if necessary. 888You need to understand them thoroughly, so experiment with them
889until 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
891useful for all kinds of editing. Chapter 20 and following chapters 892useful for many kinds of editing. Chapter 20 and following chapters
892describe features that you may or may not want to use; read those 893describe optional but useful features; read those chapters when you
893chapters when you need them. 894need 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
896properly. It explains how to cope with some common problems 897properly. 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.
901Keys (character commands) and command names have separate indexes. There 902Keys (character commands) and command names have separate indexes.
902is also a glossary, with a cross reference for each term. 903There 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.
905The Info file is for on-line perusal with the Info program, which will 906The Info file is for on-line perusal with the Info program, which is
906be the principal way of viewing documentation on-line in the GNU system. 907the principal means of accessing on-line documentation in the GNU
907Both the Info file and the Info program itself are distributed along 908system. Both the Emacs Info file and an Info reader are included with
908with GNU Emacs. The Info file and the printed book contain 909GNU Emacs. The Info file and the printed book contain substantially
909substantially the same text and are generated from the same source 910the same text and are generated from the same source files, which are
910files, which are also distributed along with GNU Emacs. 911also 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
913Emacs editors, all sharing common principles of organization. For 914Emacs 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
1062self-documenting, customizable, extensible real-time display editor Emacs. 1063advanced, 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
1066being edited is visible on the screen and is updated automatically as you 1067insertion and deletion. It can control subprocesses, indent programs
1067type your commands. @xref{Screen,Display}. 1068automatically, show two or more files at once, and edit formatted
1068 1069text. Emacs editing commands operate in terms of characters, words,
1069 We call it a @dfn{real-time} editor because the display is updated very 1070lines, sentences, paragraphs, and pages, as well as expressions and
1070frequently, usually after each character or pair of characters you 1071comments in various programming languages.
1071type. This minimizes the amount of information you must keep in your
1072head as you edit. @xref{Basic,Real-time,Basic Editing}.
1073
1074 We call Emacs advanced because it provides facilities that go beyond
1075simple insertion and deletion: controlling subprocesses; automatic
1076indentation of programs; viewing two or more files at once; editing
1077formatted text; and dealing in terms of characters, words, lines,
1078sentences, paragraphs, and pages, as well as expressions and comments in
1079several 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
1082character, @kbd{Control-h}, to find out what your options are. You can 1074character, @kbd{Control-h}, to find out what your options are. You can
1083also use it to find out what any command does, or to find all the commands 1075also use it to find out what any command does, or to find all the commands
1084that pertain to a topic. @xref{Help}. 1076that 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
1087commands in little ways. For example, if you use a programming language in 1079in simple ways. For example, if you use a programming language in
1088which comments start with @samp{<**} and end with @samp{**>}, you can tell 1080which comments start with @samp{<**} and end with @samp{**>}, you can
1089the Emacs comment manipulation commands to use those strings 1081tell 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
1091command set. For example, if you prefer the four basic cursor motion 1083the command set. For example, you can rebind the basic cursor motion
1092commands (up, down, left and right) on keys in a diamond pattern on the 1084commands (up, down, left and right) to any keys on the keyboard that
1093keyboard, you can rebind the keys that way. @xref{Customization}. 1085you 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
1096write entirely new commands, programs in the Lisp language to be run by 1088and write entirely new commands---programs in the Lisp language to be
1097Emacs's own Lisp interpreter. Emacs is an ``on-line extensible'' 1089run by Emacs's own Lisp interpreter. Emacs is an ``on-line
1098system, which means that it is divided into many functions that call 1090extensible'' system, which means that it is divided into many
1099each other, any of which can be redefined in the middle of an editing 1091functions that call each other, any of which can be redefined in the
1100session. Almost any part of Emacs can be replaced without making a 1092middle of an editing session. Almost any part of Emacs can be
1101separate copy of all of Emacs. Most of the editing commands of Emacs 1093replaced without making a separate copy of all of Emacs. Most of the
1102are written in Lisp; the few exceptions could have been written 1094editing commands of Emacs are written in Lisp; the few exceptions
1103in Lisp but are written in C for efficiency. Although only a programmer 1095could have been written in Lisp but use C instead for efficiency.
1104can write an extension, anybody can use it afterward. @xref{Top, 1096Writing an extension is programming, but non-programmers can use it
1105Emacs Lisp Intro, Preface, eintr, An Introduction to Programming in 1097afterwards. @xref{Top, Emacs Lisp Intro, Preface, eintr, An
1106Emacs Lisp}, if you want to learn Emacs Lisp programming. 1098Introduction to Programming in Emacs Lisp}, if you want to learn Emacs
1099Lisp 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
1109and convenient handling of mouse buttons. But Emacs provides many of 1102and convenient handling of mouse buttons. In addition, Emacs provides
1110the benefits of a graphical display even on a text-only terminal. For 1103many of the benefits of a graphical display even on a text-only
1111instance, it can highlight parts of a file, display and edit several 1104terminal. For instance, it can highlight parts of a file, display and
1112files at once, move text between files, and edit files while running 1105edit several files at once, move text between files, and edit files
1113shell commands. 1106while 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}
105are used to represent these Mac encodings. 105are used to represent these Mac encodings.
106 106
107 The fontset @code{fontset-standard} is created automatically when
108Emacs is run on Mac, and used by default. It displays as many kinds
109of characters as possible using 12-point Monaco as a base font. If
110you see some character as a hollow box with this fontset, then it's
111almost 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
115Methods}) or Mac OS to enter international characters. To use the 108Methods}) or Mac OS to enter international characters. To use the
116former, see the International Character Set Support section of the 109former, 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
295Courier by customizing the default face attributes for all frames: 288Courier 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
317and charset @code{mac-roman}. For example 12-point Monaco can be 311by default. Emacs on Mac OS X uses @acronym{ATSUI, Apple Type Services
318specified by the name @samp{-apple-monaco-*-12-*-mac-roman}. When 312for Unicode Imaging} as well as QuickDraw Text, and most of the
319using a particular size of scalable fonts, it must be specified in a 313characters other than Chinese, Japanese, and Korean ones are drawn using
320format containing 14 @samp{-}s like 314the 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} 317charset @code{iso10646-1}. For example 12-point Monaco can be specified
324characters like 318by the name
325 319@samp{-apple-monaco-medium-r-normal--12-*-*-*-*-*-iso10646-1}. Note
326@lisp 320that it must be specified in a format containing 14 @samp{-}s (i.e., not
321by @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
325names other than @code{iso10646-1}. Native Apple fonts in Mac Roman
326encoding 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
333but that does not extend to ISO-8859-1: specifying a @code{mac-roman} 336but 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},
342respectively. 345respectively.
343 346
344 Since Emacs as of the current version uses QuickDraw Text routines
345for drawing texts, only characters in the charsets listed above can be
346displayed with the OS-bundled fonts, even if other applications that
347use @acronym{ATSUI} or Cocoa can display variety of characters with
348them.
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
351Fontsets}) for defining fontsets often results in wrong ones 348Fontsets}) for defining fontsets often results in wrong ones especially
352especially when using only OS-bundled fonts. The recommended way is 349when using only OS-bundled QuickDraw Text fonts. The recommended way to
353to create a fontset using @code{create-fontset-from-mac-roman-font}: 350use 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
374the name @samp{-ETL-fixed-*-iso8859-1}. 372the 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
37810.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
379rendering (aka CG text rendering) by setting 377such 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}
381to sometimes leave some garbages. 379(QuickDraw). Both @acronym{ATSUI} and QuickDraw Text drawings are
380affected 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;
1827if you enable the command, confirmation will no longer be required for 1827if you enable the command, confirmation will no longer be required for
1828it. @xref{Disabling}. 1828it. @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
1835the @command{diff} program. You can select Diff mode by typing
1836@kbd{M-x diff-mode}; Emacs commands that compare files automatically
1837select Diff mode. @xref{Top,, Diff, diff, Comparing and Merging Files},
1838for more information about @command{diff} output formats.
1839
1840 One general feature of Diff mode is that manual edits to the patch
1841automatically correct line numbers, including those in the hunk
1842header, so that you can actually apply the edited patch. Diff mode
1843also provides the following commands to navigate, manipulate and apply
1844parts of patches:
1845
1846@table @kbd
1847@item M-n
1848Move to the next hunk-start (@code{diff-hunk-next}).
1849
1850@item M-p
1851Move to the previous hunk-start (@code{diff-hunk-prev}).
1852
1853@item M-@}
1854Move to the next file-start, in a multi-file patch
1855(@code{diff-file-next}).
1856
1857@item M-@{
1858Move to the previous file-start, in a multi-file patch
1859(@code{diff-file-prev}).
1860
1861@item M-k
1862Kill the hunk at point (@code{diff-hunk-kill}).
1863
1864@item M-K
1865In a multi-file patch, kill the current file part.
1866(@code{diff-file-kill}).
1867
1868@item C-c C-a
1869Apply this hunk to its target file (@code{diff-apply-hunk}). With a
1870prefix argument of @kbd{C-u}, revert this hunk.
1871
1872@item C-c C-c
1873Go to the source corresponding to this hunk (@code{diff-goto-source}).
1874
1875@item C-c C-e
1876Start 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
1880Restrict the view to the current hunk (@code{diff-restrict-view}).
1881@xref{Narrowing}. With a prefix argument of @kbd{C-u}, restrict the
1882view to the current patch of a multiple file patch. To widen again,
1883use @kbd{C-x n w}.
1884
1885@item C-c C-r
1886Reverse the direction of comparison for the entire buffer
1887(@code{diff-reverse-direction}).
1888
1889@item C-c C-s
1890Split the hunk at point (@code{diff-split-hunk}). This is for
1891manually editing patches, and only works with the unified diff format.
1892
1893@item C-c C-u
1894Convert the entire buffer to unified format
1895(@code{diff-context->unified}). With a prefix argument, convert
1896unified format to context format. In Transient Mark mode, when the
1897mark is active, this command operates only on the region.
1898
1899@item C-c C-w
1900Refine 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,
1905but gets the function name from the patch itself. @xref{Change Log}.
1906This is useful for making log entries for functions that are deleted
1907by 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