aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2010-04-19 11:07:52 -0400
committerStefan Monnier2010-04-19 11:07:52 -0400
commit6e104790e756226cbb5b7feaf01854103ded9f36 (patch)
tree5a1bd758627d6358a7083bb3d72108676bde8bdb
parentb5feea0feaf721c66ff34ee2728c76a4c028fa0f (diff)
parent79d74ac527b79242175bca1b39ef12b1693c3523 (diff)
downloademacs-6e104790e756226cbb5b7feaf01854103ded9f36.tar.gz
emacs-6e104790e756226cbb5b7feaf01854103ded9f36.zip
Merge from emacs-23
-rw-r--r--admin/notes/bugtracker23
-rw-r--r--doc/emacs/ChangeLog39
-rw-r--r--doc/emacs/ack.texi5
-rw-r--r--doc/emacs/custom.texi41
-rw-r--r--doc/emacs/dired.texi8
-rw-r--r--doc/emacs/emacs.texi2
-rw-r--r--doc/emacs/help.texi4
-rw-r--r--doc/emacs/maintaining.texi79
-rw-r--r--doc/emacs/mark.texi27
-rw-r--r--doc/emacs/misc.texi2
-rw-r--r--doc/emacs/programs.texi68
-rw-r--r--doc/emacs/trouble.texi4
-rw-r--r--doc/lispref/ChangeLog14
-rw-r--r--doc/lispref/abbrevs.texi4
-rw-r--r--doc/lispref/buffers.texi2
-rw-r--r--doc/lispref/windows.texi10
-rw-r--r--doc/misc/ChangeLog28
-rw-r--r--doc/misc/gnus-coding.texi34
-rw-r--r--doc/misc/gnus.texi9
-rw-r--r--doc/misc/info.texi10
-rw-r--r--etc/ChangeLog4
-rw-r--r--etc/MORE.STUFF4
-rw-r--r--etc/NEWS.2365
-rw-r--r--leim/ChangeLog4
-rw-r--r--leim/quail/vntelex.el2
-rw-r--r--lib-src/ChangeLog6
-rw-r--r--lisp/ChangeLog163
-rw-r--r--lisp/cedet/ede/pmake.el7
-rw-r--r--lisp/gnus/ChangeLog11
-rw-r--r--lisp/gnus/nnir.el2
-rw-r--r--lisp/gnus/nnrss.el2
-rw-r--r--lisp/gnus/smime.el2
-rw-r--r--lisp/help.el7
-rw-r--r--lisp/htmlfontify.el2
-rw-r--r--lisp/ido.el8
-rw-r--r--lisp/info.el69
-rw-r--r--lisp/language/indian.el22
-rw-r--r--lisp/minibuffer.el38
-rw-r--r--lisp/progmodes/fortran.el24
-rw-r--r--lisp/progmodes/grep.el4
-rw-r--r--lisp/textmodes/tex-mode.el2
-rw-r--r--lisp/vc-git.el5
-rw-r--r--lisp/vc-hg.el29
-rw-r--r--src/ChangeLog31
-rw-r--r--src/dired.c6
-rw-r--r--src/frame.h2
-rw-r--r--src/nsmenu.m2
-rw-r--r--src/s/darwin.h18
48 files changed, 735 insertions, 219 deletions
diff --git a/admin/notes/bugtracker b/admin/notes/bugtracker
index 19a383dff5b..5936eead85a 100644
--- a/admin/notes/bugtracker
+++ b/admin/notes/bugtracker
@@ -4,7 +4,7 @@ The Emacs Bug Tracker can be found at http://debbugs.gnu.org/
4 4
5* Quick-start guide 5* Quick-start guide
6 6
7This is 95% of all you will ever need. 7This is 95% of all you will ever need to know.
8 8
9** How do I report a bug? 9** How do I report a bug?
10Use M-x report-emacs-bug, or send mail to bug-gnu-emacs@gnu.org. 10Use M-x report-emacs-bug, or send mail to bug-gnu-emacs@gnu.org.
@@ -34,8 +34,12 @@ tags 123 moreinfo|unreproducible|wontfix|patch
34 34
35For a list of all bugs, see http://debbugs.gnu.org/db/pa/lemacs.html 35For a list of all bugs, see http://debbugs.gnu.org/db/pa/lemacs.html
36This is a static page, updated once a day. There is also a dynamic 36This is a static page, updated once a day. There is also a dynamic
37list, generated on request, but since there are many bug reports this 37list, generated on request. This accepts various options, eg to see
38is slow and not recommended. 38the most recent bugs:
39
40http://debbugs.gnu.org/cgi/pkgreport.cgi?newest=100
41
42Or follow the links on the front page http://debbugs.gnu.org .
39 43
40** How do I report a bug in Emacs now? 44** How do I report a bug in Emacs now?
41The same way as you always did. Send mail to bug-gnu-emacs@gnu.org, 45The same way as you always did. Send mail to bug-gnu-emacs@gnu.org,
@@ -92,6 +96,9 @@ mail with the bug report number in. If you do not do this, each reply
92in the subsequent discussion will end up creating a new bug. 96in the subsequent discussion will end up creating a new bug.
93This is annoying. 97This is annoying.
94 98
99(So annoying that a form of message-id tracking has been implemented
100to hopefully stop this happening, but it is still better to use X-Debbugs-CC.)
101
95If a new report contains X-Debbugs-CC in the input, this is 102If a new report contains X-Debbugs-CC in the input, this is
96converted to a real Cc header in the output. (See Bug#1720). 103converted to a real Cc header in the output. (See Bug#1720).
97It is also merged into the Resent-CC header (see below). 104It is also merged into the Resent-CC header (see below).
@@ -191,8 +198,7 @@ Package: emacs
191Version: 23.0.60 198Version: 23.0.60
192Severity: minor 199Severity: minor
193 200
194Optionally, add a sub-package, eg Package: emacs,calendar. 201This can also include tags. Some things (e.g. submitter) don't seem to
195This can include tags. Some things (e.g. submitter) don't seem to
196work here. 202work here.
197 203
198Otherwise, send mail to the control server, control@debbugs.gnu.org. 204Otherwise, send mail to the control server, control@debbugs.gnu.org.
@@ -229,7 +235,7 @@ http://debbugs.gnu.org/...
229 235
230123 # given bug number 236123 # given bug number
231123;mbox=yes # mbox version of given bug 237123;mbox=yes # mbox version of given bug
232package # bugs in given package (don't use "emacs" - too many bugs!) 238package # bugs in given package
233from:submitter@email.address 239from:submitter@email.address
234severity:severity # all bugs of given severity 240severity:severity # all bugs of given severity
235tag:tag # all bugs with given tag 241tag:tag # all bugs with given tag
@@ -281,6 +287,9 @@ to construct the relevant url yourself rather than just typing in a
281search box. The only piece you really need to add is the "users" 287search box. The only piece you really need to add is the "users"
282portion, the rest has the same syntax as normal. 288portion, the rest has the same syntax as normal.
283 289
290**** To browse bugs by usertag:
291http://debbugs.gnu.org/cgi/pkgindex.cgi?indexon=users
292
284**** To find all bugs usertagged by a given email address: 293**** To find all bugs usertagged by a given email address:
285 294
286http://debbugs.gnu.org/cgi/pkgreport.cgi?users=bug-gnu-emacs@gnu.org 295http://debbugs.gnu.org/cgi/pkgreport.cgi?users=bug-gnu-emacs@gnu.org
@@ -359,7 +368,7 @@ fixed 123 23.0.60
359notfixed 123 23.0.60 368notfixed 123 23.0.60
360 369
361*** To assign or reassign a bug to a package or list of packages: 370*** To assign or reassign a bug to a package or list of packages:
362reassign 1234 emacs,cc-mode 371reassign 1234 emacs
363 372
364** To remove spam from the tracker, move it to the `spam' pseudo-package: 373** To remove spam from the tracker, move it to the `spam' pseudo-package:
365reassign 123 spam 374reassign 123 spam
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog
index d589694e168..7c050b83af7 100644
--- a/doc/emacs/ChangeLog
+++ b/doc/emacs/ChangeLog
@@ -1,3 +1,42 @@
12010-04-18 Chong Yidong <cyd@stupidchicken.com>
2
3 * programs.texi (Semantic): New node.
4
5 * maintaining.texi (EDE): New node.
6
7 * emacs.texi: Update node listing.
8
9 * misc.texi (Gnus): Use the `C-h i' keybinding for info.
10
112010-04-18 Glenn Morris <rgm@gnu.org>
12
13 * emacs.texi (Acknowledgments): Remove duplicate.
14
15 * maintaining.texi (VC Directory Commands): Mention stashes and shelves.
16
172010-04-18 Glenn Morris <rgm@gnu.org>
18
19 * dired.texi (Misc Dired Features): Mention VC diff and log.
20 * maintaining.texi (Old Revisions, VC Change Log):
21 Mention that diff and log work in Dired buffers.
22
23 * help.texi (Help Summary): Mention M-x info-finder.
24
25 * ack.texi (Acknowledgments): Add mpc.el.
26
27 * custom.texi (Specifying File Variables, Directory Variables):
28 Document new commands for manipulating local variable lists.
29
302010-04-18 Glenn Morris <rgm@gnu.org>
31
32 * trouble.texi (Contributing): Add cindex entry.
33 Mention etc/CONTRIBUTE.
34
352010-04-18 Chong Yidong <cyd@stupidchicken.com>
36
37 * mark.texi (Persistent Mark): Copyedits. Replace undo example with
38 query-replace (Bug#5774).
39
12010-04-16 Glenn Morris <rgm@gnu.org> 402010-04-16 Glenn Morris <rgm@gnu.org>
2 41
3 * ack.texi, emacs.texi (Acknowledgments): Update for Org changes. 42 * ack.texi, emacs.texi (Acknowledgments): Update for Org changes.
diff --git a/doc/emacs/ack.texi b/doc/emacs/ack.texi
index bb2e9c926a0..2d4636dd74f 100644
--- a/doc/emacs/ack.texi
+++ b/doc/emacs/ack.texi
@@ -801,8 +801,9 @@ a directory-level front end to the CVS version control system;
801@file{reveal.el}, a minor mode for automatically revealing invisible 801@file{reveal.el}, a minor mode for automatically revealing invisible
802text; @file{smerge-mode.el}, a minor mode for resolving @code{diff3} 802text; @file{smerge-mode.el}, a minor mode for resolving @code{diff3}
803conflicts; @file{diff-mode.el}, a mode for viewing and editing context 803conflicts; @file{diff-mode.el}, a mode for viewing and editing context
804diffs; @file{css-mode.el} for Cascading Style Sheets; and 804diffs; @file{css-mode.el} for Cascading Style Sheets;
805@file{bibtex-style.el} for BibTeX Style files. 805@file{bibtex-style.el} for BibTeX Style files; and @file{mpc.el}, a
806client for the ``Music Player Daemon''.
806 807
807@item 808@item
808Morioka Tomohiko wrote several packages for MIME support in Gnus and 809Morioka Tomohiko wrote several packages for MIME support in Gnus and
diff --git a/doc/emacs/custom.texi b/doc/emacs/custom.texi
index f0faec4d40c..a8bba419c25 100644
--- a/doc/emacs/custom.texi
+++ b/doc/emacs/custom.texi
@@ -1,6 +1,7 @@
1@c This is part of the Emacs manual. 1@c This is part of the Emacs manual.
2@c Copyright (C) 1985, 1986, 1987, 1993, 1994, 1995, 1997, 2000, 2001, 2@c Copyright (C) 1985, 1986, 1987, 1993, 1994, 1995, 1997, 2000, 2001,
3@c 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. 3@c 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
4@c Free Software Foundation, Inc.
4@c See file emacs.texi for copying conditions. 5@c See file emacs.texi for copying conditions.
5@node Customization, Quitting, Amusements, Top 6@node Customization, Quitting, Amusements, Top
6@chapter Customization 7@chapter Customization
@@ -1086,11 +1087,22 @@ You can specify any number of variable/value pairs in this way, each
1086pair with a colon and semicolon as shown above. The special 1087pair with a colon and semicolon as shown above. The special
1087variable/value pair @code{mode: @var{modename};}, if present, 1088variable/value pair @code{mode: @var{modename};}, if present,
1088specifies a major or minor mode; if you use this to specify a major 1089specifies a major or minor mode; if you use this to specify a major
1089mode, it should come first in the line. The @var{value}s are are used 1090mode, it should come first in the line. The @var{value}s are used
1090literally, and not evaluated. 1091literally, and not evaluated.
1091 1092
1092 Here is an example that specifies Lisp mode and sets two variables 1093@findex add-file-local-variable-prop-line
1093with numeric values: 1094@findex delete-file-local-variable-prop-line
1095@findex copy-dir-locals-to-file-locals-prop-line
1096 You can use the command @code{add-file-local-variable-prop-line}
1097instead of adding entries by hand. It prompts for a variable
1098and value, and adds them to the first line in the appropriate way.
1099The command @code{delete-file-local-variable-prop-line} deletes a
1100variable from the line. The command
1101@code{copy-dir-locals-to-file-locals-prop-line} copies directory-local
1102variables (@pxref{Directory Variables}) to the first line.
1103
1104 Here is an example first line that specifies Lisp mode and sets two
1105variables with numeric values:
1094 1106
1095@smallexample 1107@smallexample
1096;; -*- mode: Lisp; fill-column: 75; comment-column: 50; -*- 1108;; -*- mode: Lisp; fill-column: 75; comment-column: 50; -*-
@@ -1144,6 +1156,17 @@ won't confuse other programs that the file is intended for. The
1144example above is for the C programming language, where comment lines 1156example above is for the C programming language, where comment lines
1145start with @samp{/*} and end with @samp{*/}. 1157start with @samp{/*} and end with @samp{*/}.
1146 1158
1159@findex add-file-local-variable
1160@findex delete-file-local-variable
1161@findex copy-dir-locals-to-file-locals
1162 You can construct the local variables list yourself, or use the
1163command @code{add-file-local-variable}. This prompts for a variable
1164and value, and adds them to the list. If necessary, it also adds the
1165start and end markers. The command @code{delete-file-local-variable}
1166deletes a variable from the list. The command
1167@code{copy-dir-locals-to-file-locals} copies directory-local variables
1168(@pxref{Directory Variables}) to the list.
1169
1147 As with the @samp{-*-} line, the variables in a local variables list 1170 As with the @samp{-*-} line, the variables in a local variables list
1148are used literally, and are not evaluated first. If you want to split 1171are used literally, and are not evaluated first. If you want to split
1149a long string across multiple lines of the file, you can use 1172a long string across multiple lines of the file, you can use
@@ -1323,6 +1346,16 @@ style for any C or Java source file. Finally, it specifies a different
1323subdirectory of the directory where you put the @file{.dir-locals.el} 1346subdirectory of the directory where you put the @file{.dir-locals.el}
1324file. 1347file.
1325 1348
1349@findex add-dir-local-variable
1350@findex delete-dir-local-variable
1351@findex copy-file-locals-to-dir-locals
1352 You can edit the @file{.dir-locals.el} file by hand, or use the
1353command @code{add-dir-local-variable}. This prompts for a mode (or
1354subdirectory), variable and value, and adds an entry to the file.
1355The command @code{delete-dir-local-variable} deletes an entry. The
1356command @code{copy-file-locals-to-dir-locals} copies file local
1357variables (@pxref{File Variables}) to the @file{.dir-locals.el} file.
1358
1326@findex dir-locals-set-class-variables 1359@findex dir-locals-set-class-variables
1327@findex dir-locals-set-directory-class 1360@findex dir-locals-set-directory-class
1328 Another method of specifying directory-local variables is to explicitly 1361 Another method of specifying directory-local variables is to explicitly
diff --git a/doc/emacs/dired.texi b/doc/emacs/dired.texi
index f1a8b0aa9c1..f6a4572f8dd 100644
--- a/doc/emacs/dired.texi
+++ b/doc/emacs/dired.texi
@@ -1,6 +1,7 @@
1@c This is part of the Emacs manual. 1@c This is part of the Emacs manual.
2@c Copyright (C) 1985, 1986, 1987, 1993, 1994, 1995, 1997, 2000, 2001, 2@c Copyright (C) 1985, 1986, 1987, 1993, 1994, 1995, 1997, 2000, 2001,
3@c 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. 3@c 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
4@c Free Software Foundation, Inc.
4@c See file emacs.texi for copying conditions. 5@c See file emacs.texi for copying conditions.
5@node Dired, Calendar/Diary, Rmail, Top 6@node Dired, Calendar/Diary, Rmail, Top
6@chapter Dired, the Directory Editor 7@chapter Dired, the Directory Editor
@@ -1339,6 +1340,11 @@ names into arguments for other Emacs commands. It also displays what
1339it added to the kill ring, so you can use it to display the list of 1340it added to the kill ring, so you can use it to display the list of
1340currently marked files in the echo area. 1341currently marked files in the echo area.
1341 1342
1343@cindex Dired and version control
1344 If the directory you are visiting is under version control
1345(@pxref{Version Control}), then the normal VC diff and log commands
1346will operate on the selected files.
1347
1342@findex dired-compare-directories 1348@findex dired-compare-directories
1343 The command @kbd{M-x dired-compare-directories} is used to compare 1349 The command @kbd{M-x dired-compare-directories} is used to compare
1344the current Dired buffer with another directory. It marks all the files 1350the current Dired buffer with another directory. It marks all the files
diff --git a/doc/emacs/emacs.texi b/doc/emacs/emacs.texi
index a92da3b4842..d4f6c1af92c 100644
--- a/doc/emacs/emacs.texi
+++ b/doc/emacs/emacs.texi
@@ -649,6 +649,7 @@ Editing Programs
649* Hideshow:: Displaying blocks selectively. 649* Hideshow:: Displaying blocks selectively.
650* Symbol Completion:: Completion on symbol names of your program or language. 650* Symbol Completion:: Completion on symbol names of your program or language.
651* Glasses:: Making identifiersLikeThis more readable. 651* Glasses:: Making identifiersLikeThis more readable.
652* Semantic:: Suite of editing tools based on source code parsing.
652* Misc for Programs:: Other Emacs features useful for editing programs. 653* Misc for Programs:: Other Emacs features useful for editing programs.
653* C Modes:: Special commands of C, C++, Objective-C, 654* C Modes:: Special commands of C, C++, Objective-C,
654 Java, and Pike modes. 655 Java, and Pike modes.
@@ -763,6 +764,7 @@ Maintaining Large Programs
763* Change Log:: Maintaining a change history for your program. 764* Change Log:: Maintaining a change history for your program.
764* Tags:: Go directly to any function in your program in one 765* Tags:: Go directly to any function in your program in one
765 command. Tags remembers which file it is in. 766 command. Tags remembers which file it is in.
767* EDE:: An integrated development environment for Emacs.
766* Emerge:: A convenient way of merging two versions of a program. 768* Emerge:: A convenient way of merging two versions of a program.
767 769
768Version Control 770Version Control
diff --git a/doc/emacs/help.texi b/doc/emacs/help.texi
index 4ee1a728ae6..ac3539881d8 100644
--- a/doc/emacs/help.texi
+++ b/doc/emacs/help.texi
@@ -133,7 +133,9 @@ Display documentation of the current major mode (@code{describe-mode}).
133@item C-h n 133@item C-h n
134Display news of recent Emacs changes (@code{view-emacs-news}). 134Display news of recent Emacs changes (@code{view-emacs-news}).
135@item C-h p 135@item C-h p
136Find packages by topic keyword (@code{finder-by-keyword}). 136Find packages by topic keyword (@code{finder-by-keyword}). For an
137alternative interface to the same information, try the @code{info-finder}
138command.
137@item C-h r 139@item C-h r
138Display the Emacs manual in Info (@code{info-emacs-manual}). 140Display the Emacs manual in Info (@code{info-emacs-manual}).
139@item C-h s 141@item C-h s
diff --git a/doc/emacs/maintaining.texi b/doc/emacs/maintaining.texi
index 8cc5b97d919..8c417bc12ac 100644
--- a/doc/emacs/maintaining.texi
+++ b/doc/emacs/maintaining.texi
@@ -14,6 +14,7 @@ programs.
14* Change Log:: Maintaining a change history for your program. 14* Change Log:: Maintaining a change history for your program.
15* Tags:: Go directly to any function in your program in one 15* Tags:: Go directly to any function in your program in one
16 command. Tags remembers which file it is in. 16 command. Tags remembers which file it is in.
17* EDE:: An integrated development environment for Emacs.
17@ifnottex 18@ifnottex
18* Emerge:: A convenient way of merging two versions of a program. 19* Emerge:: A convenient way of merging two versions of a program.
19@end ifnottex 20@end ifnottex
@@ -653,7 +654,8 @@ its own (@code{vc-revision-other-window}).
653@item C-x v = 654@item C-x v =
654Compare the files in the current fileset with the working revision(s) 655Compare the files in the current fileset with the working revision(s)
655you started from (@code{vc-diff}). With a prefix argument, prompt for 656you started from (@code{vc-diff}). With a prefix argument, prompt for
656two revisions of the current fileset and compare them. 657two revisions of the current fileset and compare them. You can call
658this command from a Dired buffer (@pxref{Dired}).
657 659
658@item C-x v D 660@item C-x v D
659Compare the entire tree corresponding to the current fileset with the 661Compare the entire tree corresponding to the current fileset with the
@@ -895,6 +897,7 @@ i.e. the ones you enter via the @samp{*VC-Log*} buffer. @xref{Log
895Buffer}.) Point is centered at the revision of the file currently 897Buffer}.) Point is centered at the revision of the file currently
896being visited. With a prefix argument, the command prompts for the 898being visited. With a prefix argument, the command prompts for the
897revision to center on, and the maximum number of revisions to display. 899revision to center on, and the maximum number of revisions to display.
900You can call this command from a Dired buffer (@pxref{Dired}).
898 901
899@findex vc-print-root-log 902@findex vc-print-root-log
900 Type @kbd{C-x v L} (@code{vc-print-root-log}) to display a 903 Type @kbd{C-x v L} (@code{vc-print-root-log}) to display a
@@ -1145,9 +1148,14 @@ directory buffer will be used.
1145 1148
1146 @kbd{M-s a C-M-s} does an incremental search on the marked files. 1149 @kbd{M-s a C-M-s} does an incremental search on the marked files.
1147 1150
1148 Commands are also accessible from the VC-dir menu. Note that some VC 1151@cindex stashes in version control
1149backends use the VC-dir menu to make available extra backend specific 1152@cindex shelves in version control
1150commands. 1153 Commands are also accessible from the VC-dir menu. Note that some
1154VC backends use the VC-dir menu to make available extra,
1155backend-specific, commands. For example, Git and Bazaar allow you to
1156manipulate @dfn{stashes} and @dfn{shelves}. (These provide a
1157mechanism to temporarily store uncommitted changes somewhere out of
1158the way, and bring them back at a later time.)
1151 1159
1152 Normal VC commands with the @kbd{C-x v} prefix work in VC directory 1160 Normal VC commands with the @kbd{C-x v} prefix work in VC directory
1153buffers. Some single-key shortcuts are available as well; @kbd{=}, 1161buffers. Some single-key shortcuts are available as well; @kbd{=},
@@ -2260,6 +2268,69 @@ name in the buffer. @xref{Symbol Completion}.
2260@include emerge-xtra.texi 2268@include emerge-xtra.texi
2261@end ifnottex 2269@end ifnottex
2262 2270
2271@node EDE
2272@section Emacs Development Environment
2273@cindex EDE (Emacs Development Environment)
2274@cindex Emacs Development Environment
2275@cindex Integrated development environment
2276
2277EDE (@dfn{Emacs Development Environment}) is a package that simplifies
2278the task of creating, building, and debugging large programs with
2279Emacs. It provides some of the features of an IDE, or @dfn{Integrated
2280Development Environment}, in Emacs.
2281
2282This section provides a brief description of EDE usage.
2283@ifnottex
2284For full details, see @ref{Top, EDE,, ede, Emacs Development Environment}.
2285@end ifnottex
2286@iftex
2287For full details on Ede, type @kbd{C-h i} and then select the EDE
2288manual.
2289@end iftex
2290
2291 EDE is implemented as a global minor mode (@pxref{Minor Modes}). To
2292enable it, type @kbd{M-x global-ede-mode} or click on the
2293@samp{Project Support (EDE)} item in the @samp{Tools} menu. You can
2294also enable EDE each time you start Emacs, by adding the following
2295line to your initialization file:
2296
2297@smallexample
2298(global-ede-mode t)
2299@end smallexample
2300
2301@noindent
2302Activating EDE adds a menu named @samp{Development} to the menu bar.
2303Many EDE commands, including the ones described below, can be invoked
2304from this menu.
2305
2306 EDE organizes files into @dfn{projects}, which correspond to
2307directory trees. The @dfn{project root} is the topmost directory of a
2308project. To define a new project, visit a file in the desired project
2309root and type @kbd{M-x ede-new}. This command prompts for a
2310@dfn{project type}, which refers to the underlying method that EDE
2311will use to manage the project (@pxref{Creating a Project, EDE,, ede,
2312Emacs Development Environment}). The most common project types are
2313@samp{Make}, which uses Makefiles, and @samp{Automake}, which uses GNU
2314Automake (@pxref{Top, Automake,, automake, Automake}). In both cases,
2315EDE also creates a file named @file{Project.ede}, which stores
2316information about the project.
2317
2318 A project may contain one or more @dfn{targets}. A target can be an
2319object file, executable program, or some other type of file, which is
2320``built'' from one or more of the files in the project.
2321
2322 To add a new @dfn{target} to a project, type @kbd{C-c . t}
2323(@code{M-x ede-new-target}). This command also asks if you wish to
2324``add'' the current file to that target, which means that the target
2325is to be built from that file. After you have defined a target, you
2326can add more files to it by typing @kbd{C-c . a}
2327(@code{ede-add-file}).
2328
2329 To build a target, type @kbd{C-c . c} (@code{ede-compile-target}).
2330To build all the targets in the project, type @kbd{C-c . C}
2331(@code{ede-compile-project}). EDE uses the file types to guess how
2332the target should be built.
2333
2263@ignore 2334@ignore
2264 arch-tag: b9d83dfb-82ea-4ff6-bab5-05a3617091fb 2335 arch-tag: b9d83dfb-82ea-4ff6-bab5-05a3617091fb
2265@end ignore 2336@end ignore
diff --git a/doc/emacs/mark.texi b/doc/emacs/mark.texi
index 5cf166c0cbf..217d5b1b06d 100644
--- a/doc/emacs/mark.texi
+++ b/doc/emacs/mark.texi
@@ -387,10 +387,10 @@ Mark}), or with shift-selection (@pxref{Shift Selection}).
387 387
388@findex transient-mark-mode 388@findex transient-mark-mode
389 To turn off Transient Mark mode, type @kbd{M-x transient-mark-mode}. 389 To turn off Transient Mark mode, type @kbd{M-x transient-mark-mode}.
390This command toggles the mode; you can use the same command to turn 390This command toggles the mode; you can use the same command to turn it
391Transient Mark mode on again. You can also turn off Transient Mark 391on again. You can also toggle Transient Mark mode using the
392mode using the menu bar: in the @samp{Options} menu, toggle the 392@samp{Active Region Highlighting} menu item in the @samp{Options}
393@samp{Active Region Highlighting} menu item. 393menu.
394 394
395 Here are the details of how Emacs behaves when Transient Mark mode 395 Here are the details of how Emacs behaves when Transient Mark mode
396is off: 396is off:
@@ -415,13 +415,12 @@ Many commands that move point long distances, like @kbd{M-<} and
415@kbd{C-s}, first set the mark where point was. 415@kbd{C-s}, first set the mark where point was.
416 416
417@item 417@item
418Some commands, which ordinarily operate on the region when the mark is 418Some commands, which ordinarily act on the region when the mark is
419active, instead act on the entire buffer. For instance, @kbd{C-x u} 419active, no longer do so. For example, normally @kbd{M-%}
420normally reverses changes within the region if the mark is active; 420(@code{query-replace}) performs replacements within the region, if the
421when Transient Mark mode is off, it acts on the entire buffer. 421mark is active. When Transient Mark mode is off, it always operates
422However, you can type @kbd{C-u C-x u} to make it operate on the 422from point to the end of the buffer. Commands that act this way are
423region. @xref{Undo}. Other commands that act this way are identified 423identified in their own documentation.
424in their own documentation.
425@end itemize 424@end itemize
426 425
427 While Transient Mark mode is off, you can activate it temporarily 426 While Transient Mark mode is off, you can activate it temporarily
@@ -437,9 +436,9 @@ command twice.)
437 436
438@item C-u C-x C-x 437@item C-u C-x C-x
439@kindex C-u C-x C-x 438@kindex C-u C-x C-x
440Activate the mark without changing it; enable Transient Mark mode just 439Activate the mark and enable Transient Mark mode temporarily, until
441once, until the mark is deactivated. (This is the @kbd{C-x C-x} 440the mark is next deactivated. (This is the @kbd{C-x C-x} command,
442command, @code{exchange-point-and-mark}, with a prefix argument.) 441@code{exchange-point-and-mark}, with a prefix argument.)
443@end table 442@end table
444 443
445 These commands set or activate the mark, and enable Transient Mark 444 These commands set or activate the mark, and enable Transient Mark
diff --git a/doc/emacs/misc.texi b/doc/emacs/misc.texi
index 808c3bfc3d3..7944a6b85e7 100644
--- a/doc/emacs/misc.texi
+++ b/doc/emacs/misc.texi
@@ -203,7 +203,7 @@ Here we introduce Gnus and describe several basic features.
203For full details, see @ref{Top, Gnus,, gnus, The Gnus Manual}. 203For full details, see @ref{Top, Gnus,, gnus, The Gnus Manual}.
204@end ifnottex 204@end ifnottex
205@iftex 205@iftex
206For full details on Gnus, type @kbd{M-x info} and then select the Gnus 206For full details on Gnus, type @kbd{C-h i} and then select the Gnus
207manual. 207manual.
208@end iftex 208@end iftex
209 209
diff --git a/doc/emacs/programs.texi b/doc/emacs/programs.texi
index dce6c38692e..72aa8ff121a 100644
--- a/doc/emacs/programs.texi
+++ b/doc/emacs/programs.texi
@@ -39,6 +39,7 @@ Highlight program syntax (@pxref{Font Lock}).
39* Hideshow:: Displaying blocks selectively. 39* Hideshow:: Displaying blocks selectively.
40* Symbol Completion:: Completion on symbol names of your program or language. 40* Symbol Completion:: Completion on symbol names of your program or language.
41* Glasses:: Making identifiersLikeThis more readable. 41* Glasses:: Making identifiersLikeThis more readable.
42* Semantic:: Suite of editing tools based on source code parsing.
42* Misc for Programs:: Other Emacs features useful for editing programs. 43* Misc for Programs:: Other Emacs features useful for editing programs.
43* C Modes:: Special commands of C, C++, Objective-C, 44* C Modes:: Special commands of C, C++, Objective-C,
44 Java, and Pike modes. 45 Java, and Pike modes.
@@ -1387,6 +1388,73 @@ current buffer; you can also add @code{glasses-mode} to the mode hook
1387of the programming language major modes in which you normally want 1388of the programming language major modes in which you normally want
1388to use Glasses mode. 1389to use Glasses mode.
1389 1390
1391@node Semantic
1392@section Semantic
1393@cindex Semantic package
1394
1395Semantic is a package that provides language-aware editing commands
1396based on @code{source code parsers}. This section provides a brief
1397description of Semantic;
1398@ifnottex
1399for full details, see @ref{Top, Semantic,, semantic, Semantic}.
1400@end ifnottex
1401@iftex
1402for full details, type @kbd{C-h i} (@code{info}) and then select the
1403Semantic manual.
1404@end iftex
1405
1406 Most of the ``language aware'' features in Emacs, such as font lock
1407(@pxref{Font Lock}), rely on ``rules of thumb''@footnote{Regular
1408expressions and syntax tables.} that usually give good results but are
1409never completely exact. In contrast, the parsers used by Semantic
1410have an exact understanding of programming language syntax. This
1411allows Semantic to provide search, navigation, and completion commands
1412that are powerful and precise.
1413
1414 To begin using Semantic, type @kbd{M-x semantic-mode} or click on
1415the menu item named @samp{Source Code Parsers (Semantic)} in the
1416@samp{Tools} menu. This enables Semantic mode, a global minor mode.
1417
1418 When Semantic mode is enabled, Emacs automatically attempts to
1419parses each file you visit. Currently, Semantic understands C, C++,
1420Scheme, Javascript, Java, HTML, and Make. Within each parsed buffer,
1421the following commands are available:
1422
1423@table @kbd
1424@item C-c , j
1425@kindex C-c , j
1426Prompt for the name of a function defined in the current file, and
1427move point there (@code{semantic-complete-jump-local}).
1428
1429@item C-c , J
1430@kindex C-c , J
1431Prompt for the name of a function defined in any file Emacs has
1432parsed, and move point there (@code{semantic-complete-jump}).
1433
1434@item C-c , @key{SPC}
1435@kindex C-c , @key{SPC}
1436Display a list of possible completions for the symbol at point
1437(@code{semantic-complete-analyze-inline}). This also activates a set
1438of special keybindings for choosing a completion: @key{RET} accepts
1439the current completion, @kbd{M-n} and @kbd{M-p} cycle through possible
1440completions, @key{TAB} completes as far as possible and then cycles,
1441and @kbd{C-g} or any other key aborts completion.
1442
1443@item C-c , l
1444@kindex C-c , l
1445Display a list of the possible completions of the symbol at point, in
1446another window (@code{semantic-analyze-possible-completions}).
1447@end table
1448
1449@noindent
1450In addition to the above commands, the Semantic package provides a
1451variety of other ways to make use of parser information. For
1452instance, you can use it to display a list of completions when Emacs
1453is idle.
1454@ifnottex
1455@xref{Top, Semantic,, semantic, Semantic}, for details.
1456@end ifnottex
1457
1390@node Misc for Programs 1458@node Misc for Programs
1391@section Other Features Useful for Editing Programs 1459@section Other Features Useful for Editing Programs
1392 1460
diff --git a/doc/emacs/trouble.texi b/doc/emacs/trouble.texi
index dd0d36c7601..69b5b82a056 100644
--- a/doc/emacs/trouble.texi
+++ b/doc/emacs/trouble.texi
@@ -1008,6 +1008,7 @@ form that is clearly safe to install.
1008 1008
1009@node Contributing, Service, Bugs, Top 1009@node Contributing, Service, Bugs, Top
1010@section Contributing to Emacs Development 1010@section Contributing to Emacs Development
1011@cindex contributing to Emacs
1011 1012
1012If you would like to help pretest Emacs releases to assure they work 1013If you would like to help pretest Emacs releases to assure they work
1013well, or if you would like to work on improving Emacs, please contact 1014well, or if you would like to work on improving Emacs, please contact
@@ -1027,6 +1028,9 @@ repository where it is actively maintained by a group of developers.
1027See the Emacs project page 1028See the Emacs project page
1028@url{http://savannah.gnu.org/projects/emacs/} for details. 1029@url{http://savannah.gnu.org/projects/emacs/} for details.
1029 1030
1031For more information on how to contribute, see the @file{etc/CONTRIBUTE}
1032file in the Emacs distribution.
1033
1030@node Service, Copying, Contributing, Top 1034@node Service, Copying, Contributing, Top
1031@section How To Get Help with GNU Emacs 1035@section How To Get Help with GNU Emacs
1032 1036
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index d3b268e10c7..ee95040496c 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,3 +1,17 @@
12010-04-14 Juri Linkov <juri@jurta.org>
2
3 Fix @deffn without category.
4
5 * abbrevs.texi (Abbrev Expansion): Replace @deffn with @defun
6 for `abbrev-insert'.
7
8 * buffers.texi (Indirect Buffers): Add category `Command'
9 to @deffn of `clone-indirect-buffer'.
10
11 * windows.texi (Cyclic Window Ordering): Replace @deffn with @defun
12 for `next-window' and `previous-window'. Add category `Command'
13 to @deffn of `pop-to-buffer'.
14
12010-04-01 Chong Yidong <cyd@stupidchicken.com> 152010-04-01 Chong Yidong <cyd@stupidchicken.com>
2 16
3 * nonascii.texi (Text Representations): Don't mark 17 * nonascii.texi (Text Representations): Don't mark
diff --git a/doc/lispref/abbrevs.texi b/doc/lispref/abbrevs.texi
index 5434aa62357..1bb33475240 100644
--- a/doc/lispref/abbrevs.texi
+++ b/doc/lispref/abbrevs.texi
@@ -281,7 +281,7 @@ function returns @code{nil} as its value, then @code{expand-abbrev}
281returns @code{nil} even though expansion did occur. 281returns @code{nil} even though expansion did occur.
282@end deffn 282@end deffn
283 283
284@deffn abbrev-insert abbrev &optional name start end 284@defun abbrev-insert abbrev &optional name start end
285This function inserts the abbrev expansion of @code{abbrev}, replacing 285This function inserts the abbrev expansion of @code{abbrev}, replacing
286the text between @code{start} and @code{end}. If @code{start} is 286the text between @code{start} and @code{end}. If @code{start} is
287omitted, it defaults to point. @code{name}, if non-@code{nil}, should 287omitted, it defaults to point. @code{name}, if non-@code{nil}, should
@@ -289,7 +289,7 @@ be the name by which this abbrev was found (a string); it is used to
289figure out whether to adjust the capitalization of the expansion. The 289figure out whether to adjust the capitalization of the expansion. The
290function returns @code{abbrev} if the abbrev was successfully 290function returns @code{abbrev} if the abbrev was successfully
291inserted. 291inserted.
292@end deffn 292@end defun
293 293
294@deffn Command abbrev-prefix-mark &optional arg 294@deffn Command abbrev-prefix-mark &optional arg
295This command marks the current location of point as the beginning of 295This command marks the current location of point as the beginning of
diff --git a/doc/lispref/buffers.texi b/doc/lispref/buffers.texi
index 2aa1f725641..2a7a603e733 100644
--- a/doc/lispref/buffers.texi
+++ b/doc/lispref/buffers.texi
@@ -1135,7 +1135,7 @@ non-@code{nil}, the initial state is copied from the actual base
1135buffer, not from @var{base-buffer}. 1135buffer, not from @var{base-buffer}.
1136@end deffn 1136@end deffn
1137 1137
1138@deffn clone-indirect-buffer newname display-flag &optional norecord 1138@deffn Command clone-indirect-buffer newname display-flag &optional norecord
1139This function creates and returns a new indirect buffer that shares 1139This function creates and returns a new indirect buffer that shares
1140the current buffer's base buffer and copies the rest of the current 1140the current buffer's base buffer and copies the rest of the current
1141buffer's attributes. (If the current buffer is not indirect, it is 1141buffer's attributes. (If the current buffer is not indirect, it is
diff --git a/doc/lispref/windows.texi b/doc/lispref/windows.texi
index 54006b35eb4..0e1062a622f 100644
--- a/doc/lispref/windows.texi
+++ b/doc/lispref/windows.texi
@@ -525,7 +525,7 @@ horizontal, the ordering is top to bottom in the left part, and so on.
525In general, within each set of siblings at any level in the window tree 525In general, within each set of siblings at any level in the window tree
526(@pxref{Window Tree}), the order is left to right, or top to bottom. 526(@pxref{Window Tree}), the order is left to right, or top to bottom.
527 527
528@deffn next-window &optional window minibuf all-frames 528@defun next-window &optional window minibuf all-frames
529@cindex minibuffer window, and @code{next-window} 529@cindex minibuffer window, and @code{next-window}
530This function returns the window following @var{window} in the cyclic 530This function returns the window following @var{window} in the cyclic
531ordering of windows. This is the window @kbd{C-x o} selects if typed 531ordering of windows. This is the window @kbd{C-x o} selects if typed
@@ -588,13 +588,13 @@ buffer @samp{windows.texi}:
588 @result{} #<window 56 on windows.texi> 588 @result{} #<window 56 on windows.texi>
589@end group 589@end group
590@end example 590@end example
591@end deffn 591@end defun
592 592
593@deffn previous-window &optional window minibuf all-frames 593@defun previous-window &optional window minibuf all-frames
594This function returns the window preceding @var{window} in the cyclic 594This function returns the window preceding @var{window} in the cyclic
595ordering of windows. The other arguments specify which windows to 595ordering of windows. The other arguments specify which windows to
596include in the cycle, as in @code{next-window}. 596include in the cycle, as in @code{next-window}.
597@end deffn 597@end defun
598 598
599@deffn Command other-window count &optional all-frames 599@deffn Command other-window count &optional all-frames
600This function selects another window in the cyclic ordering of windows. 600This function selects another window in the cyclic ordering of windows.
@@ -827,7 +827,7 @@ This function updates the buffer list just like @code{switch-to-buffer}
827unless @var{norecord} is non-@code{nil}. 827unless @var{norecord} is non-@code{nil}.
828@end deffn 828@end deffn
829 829
830@deffn pop-to-buffer buffer-or-name &optional other-window norecord 830@deffn Command pop-to-buffer buffer-or-name &optional other-window norecord
831This command makes @var{buffer-or-name} the current buffer and switches 831This command makes @var{buffer-or-name} the current buffer and switches
832to it in some window, preferably not the window previously selected. 832to it in some window, preferably not the window previously selected.
833The ``popped-to'' window becomes the selected window. Its frame is 833The ``popped-to'' window becomes the selected window. Its frame is
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog
index 996c788738b..a559873d403 100644
--- a/doc/misc/ChangeLog
+++ b/doc/misc/ChangeLog
@@ -1,3 +1,20 @@
12010-04-18 Teodor Zlatanov <tzz@lifelogs.com>
2
3 * gnus.texi (Gnus Versions, Oort Gnus): Mention the Git repo instead of
4 the CVS repo. Put the Git repo in the news section.
5
6 * gnus-coding.texi (Gnus Maintainance Guide): Fix title typo.
7 Removed some mentions of CVS. Mention the new Git repo.
8
92010-04-18 Andreas Seltenreich <seltenreich@gmx.de>
10
11 * gnus.texi (Score File Format): Fix typo. Reported by Štěpán Němec.
12 (Mail Group Commands): Add index entry.
13
142010-04-18 Glenn Morris <rgm@gnu.org>
15
16 * info.texi (Search Index): Mention Emacs's Info-virtual-index.
17
12010-04-18 Jay Belanger <jay.p.belanger@gmail.com> 182010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
2 19
3 * calc.texi (Radix modes): Mention that the option prefix will 20 * calc.texi (Radix modes): Mention that the option prefix will
@@ -7,11 +24,10 @@
72010-04-15 Carsten Dominik <carsten.dominik@gmail.com> 242010-04-15 Carsten Dominik <carsten.dominik@gmail.com>
8 25
9 * org.texi (LaTeX and PDF export): Add a footnote about xetex. 26 * org.texi (LaTeX and PDF export): Add a footnote about xetex.
10 (LaTeX/PDF export commands): Section renamed and 27 (LaTeX/PDF export commands): Rename and Move section.
11 moved.
12 (Sectioning structure): Update. 28 (Sectioning structure): Update.
13 (References): New use case for field coordinates. 29 (References): New use case for field coordinates.
14 (The export dispatcher): Renamed from ASCII export. 30 (The export dispatcher): Rename from ASCII export.
15 (Setting up the staging area): Document the availability of 31 (Setting up the staging area): Document the availability of
16 encryption for MobileOrg. 32 encryption for MobileOrg.
17 (Images and tables): Document how to reference labels. 33 (Images and tables): Document how to reference labels.
@@ -44,12 +60,10 @@
44 scheduling and deadline commands. 60 scheduling and deadline commands.
45 (Search view): Point to the docstring of 61 (Search view): Point to the docstring of
46 `org-search-view' for more details. 62 `org-search-view' for more details.
47 (Agenda commands): Document that `>' prompts for a 63 (Agenda commands): Document that `>' prompts for a date.
48 date.
49 (Setting tags): Document variable 64 (Setting tags): Document variable
50 org-complete-tags-always-offer-all-agenda-tags. 65 org-complete-tags-always-offer-all-agenda-tags.
51 (Column attributes): Cross-reference special 66 (Column attributes): Cross-reference special properties.
52 properties.
53 67
542010-04-10 Michael Albinus <michael.albinus@gmx.de> 682010-04-10 Michael Albinus <michael.albinus@gmx.de>
55 69
diff --git a/doc/misc/gnus-coding.texi b/doc/misc/gnus-coding.texi
index fc88a6d47b6..fd637ece6a8 100644
--- a/doc/misc/gnus-coding.texi
+++ b/doc/misc/gnus-coding.texi
@@ -32,16 +32,16 @@ license to the document, as described in section 6 of the license.
32 32
33 33
34@titlepage 34@titlepage
35@title Gnus Coding Style and Maintainance Guide 35@title Gnus Coding Style and Maintenance Guide
36 36
37@author by Reiner Steib <Reiner.Steib@@gmx.de> 37@author by Reiner Steib <Reiner.Steib@@gmx.de>
38 38
39@insertcopying 39@insertcopying
40@end titlepage 40@end titlepage
41 41
42@c Obviously this is only a very rudimentary draft. We put it in CVS 42@c Obviously this is only a very rudimentary draft. We put it in the
43@c anyway hoping that it might annoy someone enough to fix it. ;-) 43@c repository anyway hoping that it might annoy someone enough to fix
44@c Fixing only a paragraph also is appreciated. 44@c it. ;-) Fixing only a paragraph also is appreciated.
45 45
46@ifnottex 46@ifnottex
47@node Top 47@node Top
@@ -255,15 +255,17 @@ XEmacs 21.1 and up.
255 255
256@section Stable and development versions 256@section Stable and development versions
257 257
258The development of Gnus normally is done on the CVS trunk, i.e. there 258The development of Gnus normally is done on the Git repository trunk
259are no separate branches to develop and test new features. Most of the 259as of April 19, 2010 (formerly it was done in CVS; the repository is
260time, the trunk is developed quite actively with more or less daily 260at http://git.gnus.org), i.e. there are no separate branches to
261changes. Only after a new major release, e.g. 5.10.1, there's usually a 261develop and test new features. Most of the time, the trunk is
262feature period of several months. After the release of Gnus 5.10.6 the 262developed quite actively with more or less daily changes. Only after
263development of new features started again on the trunk while the 5.10 263a new major release, e.g. 5.10.1, there's usually a feature period of
264series is continued on the stable branch (v5-10) from which more stable 264several months. After the release of Gnus 5.10.6 the development of
265releases will be done when needed (5.10.8, @dots{}). 265new features started again on the trunk while the 5.10 series is
266@ref{Gnus Development, ,Gnus Development, gnus, The Gnus Newsreader} 266continued on the stable branch (v5-10) from which more stable releases
267will be done when needed (5.10.8, @dots{}). @ref{Gnus Development,
268,Gnus Development, gnus, The Gnus Newsreader}
267 269
268Stable releases of Gnus finally become part of Emacs. E.g. Gnus 5.8 270Stable releases of Gnus finally become part of Emacs. E.g. Gnus 5.8
269became a part of Emacs 21 (relabeled to Gnus 5.9). The 5.10 series 271became a part of Emacs 21 (relabeled to Gnus 5.9). The 5.10 series
@@ -333,8 +335,12 @@ rather than having to actually fix the code.
333 335
334@item 336@item
335For general Gnus development changes, of course you just make the 337For general Gnus development changes, of course you just make the
336change on the Gnus CVS trunk and it goes into Emacs a few years 338change on the Gnus Git trunk and it goes into Emacs a few years
337later... :-) 339later... :-)
340
341With the new Git repository, we'll probably set up something to
342automatically synchronize with Emacs when possible. CVS was much less
343powerful for this kind of synchronization.
338@end itemize 344@end itemize
339 345
340Of course in any case, if you just can't wait for me to sync your 346Of course in any case, if you just can't wait for me to sync your
diff --git a/doc/misc/gnus.texi b/doc/misc/gnus.texi
index 7a3fe922cee..585c4d6bcb8 100644
--- a/doc/misc/gnus.texi
+++ b/doc/misc/gnus.texi
@@ -11331,6 +11331,7 @@ disappear forever into that big @file{/dev/null} in the sky.
11331 11331
11332@item B DEL 11332@item B DEL
11333@kindex B DEL (Summary) 11333@kindex B DEL (Summary)
11334@cindex deleting mail
11334@findex gnus-summary-delete-article 11335@findex gnus-summary-delete-article
11335@c @icon{gnus-summary-mail-delete} 11336@c @icon{gnus-summary-mail-delete}
11336Delete the mail article. This is ``delete'' as in ``delete it from your 11337Delete the mail article. This is ``delete'' as in ``delete it from your
@@ -21843,7 +21844,7 @@ You can do this with the following two score file entries:
21843 21844
21844When you enter the group the first time, you will only see the new 21845When you enter the group the first time, you will only see the new
21845threads. You then raise the score of the threads that you find 21846threads. You then raise the score of the threads that you find
21846interesting (with @kbd{I T} or @kbd{I S}), and ignore (@kbd{C y}) the 21847interesting (with @kbd{I T} or @kbd{I S}), and ignore (@kbd{c y}) the
21847rest. Next time you enter the group, you will see new articles in the 21848rest. Next time you enter the group, you will see new articles in the
21848interesting threads, plus any new threads. 21849interesting threads, plus any new threads.
21849 21850
@@ -27111,6 +27112,10 @@ Gnus 5.10 on May 1st 2003 (24 releases).
27111 27112
27112On the January 4th 2004, No Gnus was begun. 27113On the January 4th 2004, No Gnus was begun.
27113 27114
27115On April 19, 2010 Gnus development was moved to Git. See
27116http://git.gnus.org for details (http://www.gnus.org will be updated
27117with the information when possible).
27118
27114If you happen upon a version of Gnus that has a prefixed name -- 27119If you happen upon a version of Gnus that has a prefixed name --
27115``(ding) Gnus'', ``September Gnus'', ``Red Gnus'', ``Quassia Gnus'', 27120``(ding) Gnus'', ``September Gnus'', ``Red Gnus'', ``Quassia Gnus'',
27116``Pterodactyl Gnus'', ``Oort Gnus'', ``No Gnus'' -- don't panic. 27121``Pterodactyl Gnus'', ``Oort Gnus'', ``No Gnus'' -- don't panic.
@@ -28507,7 +28512,7 @@ directory is not used any more. You can safely delete the entire
28507hierarchy. 28512hierarchy.
28508 28513
28509@c FIXME: `gnus-load' is mentioned in README, which is not included in 28514@c FIXME: `gnus-load' is mentioned in README, which is not included in
28510@c CVS. We should find a better place for this item. 28515@c the repository. We should find a better place for this item.
28511@item 28516@item
28512@code{(require 'gnus-load)} 28517@code{(require 'gnus-load)}
28513 28518
diff --git a/doc/misc/info.texi b/doc/misc/info.texi
index 98fffabdd6b..b1157c0c4eb 100644
--- a/doc/misc/info.texi
+++ b/doc/misc/info.texi
@@ -15,7 +15,8 @@ This file describes how to use Info, the on-line, menu-driven GNU
15documentation system. 15documentation system.
16 16
17Copyright @copyright{} 1989, 1992, 1996, 1997, 1998, 1999, 2000, 2001, 17Copyright @copyright{} 1989, 1992, 1996, 1997, 1998, 1999, 2000, 2001,
182002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. 182002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
19Free Software Foundation, Inc.
19 20
20@quotation 21@quotation
21Permission is granted to copy, distribute and/or modify this document 22Permission is granted to copy, distribute and/or modify this document
@@ -1050,6 +1051,13 @@ their names when @kbd{i} prompts you for a topic. For example, if you
1050want to read the description of what the @kbd{C-l} key does, type 1051want to read the description of what the @kbd{C-l} key does, type
1051@kbd{iC-l@key{RET}} literally. 1052@kbd{iC-l@key{RET}} literally.
1052 1053
1054@findex Info-virtual-index
1055@kindex I @r{(Info mode)}
1056Emacs provides the command @code{Info-virtual-index}, bound to the
1057@kbd{I} key. This behaves like @kbd{i}, but constructs a virtual
1058info node displaying the results of an index search, making it easier
1059to select the one you want.
1060
1053@findex info-apropos 1061@findex info-apropos
1054@findex index-apropos 1062@findex index-apropos
1055If you aren't sure which manual documents the topic you are looking 1063If you aren't sure which manual documents the topic you are looking
diff --git a/etc/ChangeLog b/etc/ChangeLog
index 6471a4d422a..b9e443284f3 100644
--- a/etc/ChangeLog
+++ b/etc/ChangeLog
@@ -1,3 +1,7 @@
12010-04-18 Francesc Rocher <rocher@member.fsf.org>
2
3 * MORE.STUFF: Add a new entry for QWE.
4
12010-04-18 Stefan Monnier <monnier@iro.umontreal.ca> 52010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
2 6
3 * HELLO (Mathematics): Prefer Unicode charset. 7 * HELLO (Mathematics): Prefer Unicode charset.
diff --git a/etc/MORE.STUFF b/etc/MORE.STUFF
index a7cb3237b30..36c89651d67 100644
--- a/etc/MORE.STUFF
+++ b/etc/MORE.STUFF
@@ -215,6 +215,10 @@ Several are for Debian GNU/Linux in particular.
215 * Quack: <URL:http://www.neilvandyke.org/quack/> 215 * Quack: <URL:http://www.neilvandyke.org/quack/>
216 Quack enhances Emacs support for Scheme. 216 Quack enhances Emacs support for Scheme.
217 217
218 * QWE: <URL:http://www.nongnu.org/qwe/>
219 QWE's not WEB for Emacs is a quasi-WYSIWYG literate programming system for
220 Emacs that can be used with almost every programming language.
221
218 * Session: <URL:http://emacs-session.sourceforge.net/> 222 * Session: <URL:http://emacs-session.sourceforge.net/>
219 Session Management for Emacs. 223 Session Management for Emacs.
220 224
diff --git a/etc/NEWS.23 b/etc/NEWS.23
index 0d6bfbf52aa..717c2a8c2b5 100644
--- a/etc/NEWS.23
+++ b/etc/NEWS.23
@@ -24,6 +24,7 @@ so we will look at it and add it to the manual.
24 24
25* Installation Changes in Emacs 23.2 25* Installation Changes in Emacs 23.2
26 26
27---
27** New configure options for Emacs developers 28** New configure options for Emacs developers
28These are not new features; only the configure flags are new. 29These are not new features; only the configure flags are new.
29--- 30---
@@ -36,8 +37,10 @@ This might not work on all platforms.
36** `make install' now consistently ignores umask, creating a 37** `make install' now consistently ignores umask, creating a
37world-readable install. 38world-readable install.
38 39
40+++
39** Emacs compiles with Gconf support, if it is detected. 41** Emacs compiles with Gconf support, if it is detected.
40Use the configure option --without-gconf to disable this. 42Use the configure option --without-gconf to disable this.
43This is used by the `font-use-system-font' feature (see below).
41 44
42* Startup Changes in Emacs 23.2 45* Startup Changes in Emacs 23.2
43+++ 46+++
@@ -95,12 +98,14 @@ with `set-process-query-on-exit-flag'.
95unconditionally. The previous behavior, toggling the mode, was 98unconditionally. The previous behavior, toggling the mode, was
96neither reliable nor generally desirable. 99neither reliable nor generally desirable.
97 100
98*** New commands for adding and removing file-local variables: 101+++
102*** There are new commands for adding and removing file-local variables:
99`add-file-local-variable', `delete-file-local-variable', 103`add-file-local-variable', `delete-file-local-variable',
100`add-file-local-variable-prop-line', and 104`add-file-local-variable-prop-line', and
101`delete-file-local-variable-prop-line'. 105`delete-file-local-variable-prop-line'.
102 106
103*** New commands for adding and removing directory-local variables, 107+++
108*** There are new commands for adding and removing directory-local variables,
104and copying them to and from file-local variable lists: 109and copying them to and from file-local variable lists:
105`add-dir-local-variable', `delete-dir-local-variable', 110`add-dir-local-variable', `delete-dir-local-variable',
106`copy-dir-locals-to-file-locals', 111`copy-dir-locals-to-file-locals',
@@ -181,15 +186,18 @@ that file exists.
181 186
182* Changes in Specialized Modes and Packages in Emacs 23.2 187* Changes in Specialized Modes and Packages in Emacs 23.2
183 188
189---
184** The bookmark menu has a narrowing search via bookmark-bmenu-search. 190** The bookmark menu has a narrowing search via bookmark-bmenu-search.
185 191
186** LaTeX mode now provides completion (via completion-at-point). 192** LaTeX mode now provides completion (via completion-at-point).
187 193
188--- 194---
189** sym-comp.el is now declared obsolete, superceded by completion-at-point. 195** sym-comp.el is now declared obsolete, superseded by completion-at-point.
190 196
197---
191** lucid.el and levents.el are now declared obsolete. 198** lucid.el and levents.el are now declared obsolete.
192 199
200---
193** pcomplete provides a new command `pcomplete-std-completion' which 201** pcomplete provides a new command `pcomplete-std-completion' which
194is similar to `pcomplete' but using the standard completion UI code. 202is similar to `pcomplete' but using the standard completion UI code.
195 203
@@ -233,9 +241,9 @@ on the page edge advances to the next/previous page.
233 241
234** GDB-UI 242** GDB-UI
235 243
244+++
236*** Toolbar functionality for reverse debugging. Display of STL 245*** Toolbar functionality for reverse debugging. Display of STL
237collections as watch expressions. These features require GDB 7.0 246collections as watch expressions. These features require GDB 7.0 or later.
238or later.
239 247
240** Grep 248** Grep
241+++ 249+++
@@ -243,9 +251,11 @@ or later.
243 251
244** Info 252** Info
245 253
254+++
246*** The new command `Info-virtual-index' bound to "I" displays a menu of 255*** The new command `Info-virtual-index' bound to "I" displays a menu of
247matched topics found in the index. 256matched topics found in the index.
248 257
258+++
249*** The new command `info-finder' replaces finder.el with a virtual Info 259*** The new command `info-finder' replaces finder.el with a virtual Info
250manual that generates an Info file which gives the same information 260manual that generates an Info file which gives the same information
251through a menu structure. 261through a menu structure.
@@ -325,22 +335,25 @@ instead of redisplaying the full log. The RCS, CVS and SCCS VC
325backends do not support this. 335backends do not support this.
326--- 336---
327*** When a file is not found, VC will not try to check it out of RCS anymore. 337*** When a file is not found, VC will not try to check it out of RCS anymore.
328 338+++
329*** Diff and log operations can be used from Dired buffers. 339*** Diff and log operations can be used from Dired buffers.
330 340
331*** vc-git changes 341*** vc-git changes
332 342
333**** The short log format for git makes use of the graph display, so 343---
334it's not supported on git versions earlier than 1.5. 344**** The short log format for git makes use of the graph display,
335 345so it's not supported on git versions earlier than 1.5.6.
336**** Support for operating with stashes has been added to vc-dir: the stash list is
337displayed in the *vc-dir* header, stashes can be created, removed, applied and
338their content displayed.
339 346
340**** vc-dir displays the stash status 347---
348**** vc-dir uses the --relative option of git, and so requires at least
349git version 1.5.5.
341 350
342**** vc-dir requires at least git-1.5.5. 351+++
352**** Support for operating with stashes has been added to vc-dir:
353the stash list is displayed in the *vc-dir* header, stashes can be
354created, removed, applied and their content displayed.
343 355
356+++
344*** vc-bzr supports operating with shelves: the shelve list is 357*** vc-bzr supports operating with shelves: the shelve list is
345displayed in the *vc-dir* header, shelves can be created, removed and applied. 358displayed in the *vc-dir* header, shelves can be created, removed and applied.
346--- 359---
@@ -383,7 +396,7 @@ search in file buffers whose file names match the specified wildcard.
383That means, they change `default-directory' to the new users value, 396That means, they change `default-directory' to the new users value,
384and let commands run under that user permissions. It works even when 397and let commands run under that user permissions. It works even when
385`default-directory' is already remote. Calling the external commands 398`default-directory' is already remote. Calling the external commands
386is possible by `*su' or `*sudo', repectively. 399is possible by `*su' or `*sudo', respectively.
387--- 400---
388*** When running in a new enough xterm (newer than version 242), Emacs 401*** When running in a new enough xterm (newer than version 242), Emacs
389asks xterm what the background color is and it sets up faces 402asks xterm what the background color is and it sets up faces
@@ -397,6 +410,7 @@ consider the background light).
397This is a collection of packages to aid with using Emacs as an IDE 410This is a collection of packages to aid with using Emacs as an IDE
398(integrated development environment): 411(integrated development environment):
399 412
413+++
400*** The Semantic package allows the use of parsers to intelligently 414*** The Semantic package allows the use of parsers to intelligently
401edit and navigate source code. Parsers for C/C++, Java, Javascript, 415edit and navigate source code. Parsers for C/C++, Java, Javascript,
402and several other languages are included by default, and Semantic can 416and several other languages are included by default, and Semantic can
@@ -405,6 +419,7 @@ also interface with external tools such as GNU Global and GNU Idutils.
405To enable Semantic, use the global minor mode `semantic-mode'. 419To enable Semantic, use the global minor mode `semantic-mode'.
406See the Semantic manual for details. 420See the Semantic manual for details.
407 421
422+++
408*** EDE (Emacs Development Environment) is a package for managing code 423*** EDE (Emacs Development Environment) is a package for managing code
409projects, including features such as automatic Makefile generation. 424projects, including features such as automatic Makefile generation.
410 425
@@ -415,9 +430,11 @@ See the EDE manual for details.
415code. It is currently used by some parts of Semantic and EDE; in the 430code. It is currently used by some parts of Semantic and EDE; in the
416future, it may be used for code generation features. 431future, it may be used for code generation features.
417 432
433+++
418*** The EIEIO library implements a subset of the Common Lisp Object 434*** The EIEIO library implements a subset of the Common Lisp Object
419System (CLOS). It is used by the other CEDET packages. 435System (CLOS). It is used by the other CEDET packages.
420 436
437---
421** mpc.el is a front end for the Music Player Daemon. Run it with M-x mpc. 438** mpc.el is a front end for the Music Player Daemon. Run it with M-x mpc.
422 439
423** htmlfontify.el turns a fontified Emacs buffer into an HTML page. 440** htmlfontify.el turns a fontified Emacs buffer into an HTML page.
@@ -425,6 +442,7 @@ System (CLOS). It is used by the other CEDET packages.
425+++ 442+++
426** js.el is a new major mode for JavaScript files. 443** js.el is a new major mode for JavaScript files.
427 444
445---
428** imap-hash.el is a new library to address IMAP mailboxes as hashtables. 446** imap-hash.el is a new library to address IMAP mailboxes as hashtables.
429 447
430 448
@@ -452,16 +470,17 @@ be in use:
452** Support for generating Emacs 18 compatible bytecode (by setting 470** Support for generating Emacs 18 compatible bytecode (by setting
453the variable `byte-compile-compatibility') has been removed. 471the variable `byte-compile-compatibility') has been removed.
454 472
455** In image-mode.el `image-mode-maybe' is obsolete. Instead, you can 473---
456either use `image-mode' that displays an image file as the actual image 474** In image-mode.el `image-mode-maybe' is obsolete.
457inititally, or `image-mode-as-text' when you want to display an image file 475Instead, you can either use `image-mode' (which displays an image file
458as text inititally. `image-mode-as-text' is a combination of a non-image 476as the actual image initially), or `image-mode-as-text' (when you want
459mode from `auto-mode-alist' (or Fundamental mode) and `image-minor-mode'. 477to display an image file as text initially). `image-mode-as-text' is a
460`image-minor-mode' provides `C-c C-c' key binding to toggle image display. 478combination of a non-image mode from `auto-mode-alist' (or Fundamental
479mode) and `image-minor-mode'. `image-minor-mode' provides a `C-c C-c'
480key binding to toggle image display.
461`image-toggle-display-text' removes image properties. 481`image-toggle-display-text' removes image properties.
462`image-toggle-display-image' adds image properties. 482`image-toggle-display-image' adds image properties.
463`image-toggle-display' toggles between `image-mode-as-text' and 483`image-toggle-display' toggles between `image-mode-as-text' and `image-mode'.
464`image-mode'.
465 484
466 485
467* Lisp changes in Emacs 23.2 486* Lisp changes in Emacs 23.2
diff --git a/leim/ChangeLog b/leim/ChangeLog
index 9dd41d3bafa..22642193588 100644
--- a/leim/ChangeLog
+++ b/leim/ChangeLog
@@ -1,3 +1,7 @@
12010-04-06 Chong Yidong <cyd@stupidchicken.com>
2
3 * quail/vntelex.el: Fix "af" rule (Bug#5836).
4
12010-03-27 Eli Zaretskii <eliz@gnu.org> 52010-03-27 Eli Zaretskii <eliz@gnu.org>
2 6
3 * makefile.w32-in ($(TIT), $(MISC_DIC), leim-list.el): Enclose the 7 * makefile.w32-in ($(TIT), $(MISC_DIC), leim-list.el): Enclose the
diff --git a/leim/quail/vntelex.el b/leim/quail/vntelex.el
index bfa1cc9263f..8af020b093c 100644
--- a/leim/quail/vntelex.el
+++ b/leim/quail/vntelex.el
@@ -285,7 +285,7 @@ and postfix: Eee -> Ee, ajj -> aj, etc.
285 ("Dd" ?,2p(B) 285 ("Dd" ?,2p(B)
286;("$$" ?$,1tK(B) ; U+20AB DONG SIGN (#### check) 286;("$$" ?$,1tK(B) ; U+20AB DONG SIGN (#### check)
287 287
288 ("aff" ["aff"]) 288 ("aff" ["af"])
289 ("AFF" ["AF"]) 289 ("AFF" ["AF"])
290 ("Aff" ["Af"]) 290 ("Aff" ["Af"])
291 ("ass" ["as"]) 291 ("ass" ["as"])
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog
index cd0f834be6d..854718b450b 100644
--- a/lib-src/ChangeLog
+++ b/lib-src/ChangeLog
@@ -1,3 +1,9 @@
12010-04-18 Juanma Barranquero <lekktu@gmail.com>
2
3 Add stubs for Windows, required after CVE-2010-0825 change.
4 * ntlib.c (getgid, getegid, setegid): New stubs.
5 * ntlib.h (getgid, getegid, setegid): Declare them.
6
12010-04-12 Dan Nicolaescu <dann@ics.uci.edu> 72010-04-12 Dan Nicolaescu <dann@ics.uci.edu>
2 8
3 * Makefile.in (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Move to the 9 * Makefile.in (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Move to the
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 2cd1b4907bd..f690d8bb2a7 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,80 @@
12010-04-19 Chong Yidong <cyd@stupidchicken.com>
2
3 * cedet/ede/pmake.el (ede-proj-makefile-insert-variables):
4 Don't destroy list before using it.
5
62010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
7
8 Fix the version number for added files.
9 * vc-hg.el (vc-hg-working-revision): Check if the file is
10 registered after hg parent fails (Bug#5961).
11
122010-04-19 Glenn Morris <rgm@gnu.org>
13
14 * htmlfontify.el (htmlfontify-buffer)
15 (htmlfontify-copy-and-link-dir): Autoload entry points.
16
172010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
18
19 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
20 name relative to the project root (Bug#5960).
21
222010-04-19 Glenn Morris <rgm@gnu.org>
23
24 * vc-git.el (vc-git-print-log): Doc fix.
25
262010-04-19 Óscar Fuentes <ofv@wanadoo.es>
27
28 * ido.el (ido-file-internal): Fix 2009-12-02 change.
29
302010-04-19 Christoph <cschol2112@googlemail.com> (tiny change)
31
32 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
33 default settings (Bug#5928).
34
352010-04-19 Glenn Morris <rgm@gnu.org>
36
37 * progmodes/fortran.el (fortran-match-and-skip-declaration):
38 New function.
39 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
40
412010-04-19 Kenichi Handa <handa@m17n.org>
42
43 * language/indian.el (malayalam-composable-pattern): Fix previous
44 change (add U+0D4D "SIGN VIRAMA").
45 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
46 (tamil-composable-pattern): Fix typo in the regexp.
47 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
48 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
49 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
50
512010-04-19 Chong Yidong <cyd@stupidchicken.com>
52
53 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
54 paragraph-separate (Bug#5821).
55
562010-04-19 Juri Linkov <juri@jurta.org>
57
58 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
59
60 * info.el (Info-find-node-2): Comment out code that skips
61 breadcrumbs line.
62 (Info-mouse-follow-link): New command.
63 (Info-link-keymap): New keymap.
64 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
65 Return a string with links instead of inserting breadcrumbs
66 to the Info buffer.
67 (Info-fontify-node): Comment out code that inserts breadcrumbs.
68 Instead of putting the `invisible' text property over the Info
69 header, make an overlay over the Info header with the `invisible'
70 property and `after-string' set to the string returned by
71 `Info-breadcrumbs'.
72
732010-04-19 Chong Yidong <cyd@stupidchicken.com>
74
75 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
76 Reported by monkey@sandpframing.com.
77
12010-04-19 Stefan Monnier <monnier@iro.umontreal.ca> 782010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2 79
3 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu. 80 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
@@ -359,32 +436,31 @@
359 436
3602010-04-07 Michael McNamara <mac@mail.brushroad.com> 4372010-04-07 Michael McNamara <mac@mail.brushroad.com>
361 438
362 * progmodes/verilog-mode.el (verilog-forward-sexp): 439 * progmodes/verilog-mode.el (verilog-forward-sexp):
363 (verilog-calc-1): Support "disable fork" and "fork wait" multi 440 (verilog-calc-1): Support "disable fork" and "fork wait" multi
364 word keywords, suggested by Steve Pearlmutter. 441 word keywords, suggested by Steve Pearlmutter.
365 (verilog-pretty-declarations): Support lineup of declarations in 442 (verilog-pretty-declarations): Support lineup of declarations in
366 port lists. 443 port lists.
367 (verilog-skip-backward-comments, verilog-skip-forward-comment-p): 444 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
368 fix bug for /* / comments 445 fix bug for /* / comments
369 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws): 446 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
370 Speed up and simplfy as this is never called with a bound. 447 Speed up and simplfy as this is never called with a bound.
371 (verilog-pretty-declarations): Enhance to line up declarations 448 (verilog-pretty-declarations): Enhance to line up declarations
372 inside a parameter list, suggested by Alan Morgan. 449 inside a parameter list, suggested by Alan Morgan.
373 (verilog-pretty-expr): Tune assignment regular expression match 450 (verilog-pretty-expr): Tune assignment regular expression match
374 string for corner cases; also use markers instead of character 451 string for corner cases; also use markers instead of character
375 number as indent changes the later. 452 number as indent changes the later.
376 453
3772010-04-07 Wilson Snyder <wsnyder@wsnyder.org> 4542010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
378 455
379 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown as missing 456 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
380 keyword. 457 as missing keyword.
381 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE 458 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
382 causing truncation of AUTOWIRE signals. Reported by Bruce 459 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
383 Tennant. 460 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
384 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for 461 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
385 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce 462 Tennant.
386 Tennant. 463 (verilog-keywords):
387 (verilog-keywords):
388 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE 464 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
389 1800-2009 keywords, including "global.". 465 1800-2009 keywords, including "global.".
390 466
@@ -547,7 +623,7 @@
547 623
5482010-03-31 Stefan Monnier <monnier@iro.umontreal.ca> 6242010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
549 625
550 Make tmm-menubar work for the Buffers menu again. 626 Make tmm-menubar work for the Buffers menu again (bug#5726).
551 * tmm.el (tmm-prompt): Also handle keymap entries in the form of 627 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
552 vectors rather than cons cells, as used in menu-bar-update-buffers. 628 vectors rather than cons cells, as used in menu-bar-update-buffers.
553 629
@@ -1271,11 +1347,6 @@
1271 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date 1347 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
1272 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004). 1348 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
1273 1349
12742010-03-01 Alan Mackenzie <acm@muc.de>
1275
1276 * progmodes/cc-engine.el (c-remove-stale-state-cache):
1277 Correct previous patch.
1278
12792010-03-01 Kenichi Handa <handa@m17n.org> 13502010-03-01 Kenichi Handa <handa@m17n.org>
1280 1351
1281 * language/burmese.el (burmese-composable-pattern): Rename from 1352 * language/burmese.el (burmese-composable-pattern): Rename from
@@ -1287,11 +1358,6 @@
1287 (otf-script-alist): Likewise. 1358 (otf-script-alist): Likewise.
1288 (setup-default-fontset): Likewise. Re-fix :otf spec. 1359 (setup-default-fontset): Likewise. Re-fix :otf spec.
1289 1360
12902010-03-01 Alan Mackenzie <bug-cc-mode@gnu.org>
1291
1292 * cc-engine.el (c-remove-stale-state-cache): Take account of when
1293 `good-pos' is in the same macro as `here'. Fixes bug#5649.
1294
12952010-02-28 Katsumi Yamaoka <yamaoka@jpl.org> 13612010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
1296 1362
1297 * menu-bar.el (menu-bar-manuals-menu): Fix typo. 1363 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
@@ -1357,16 +1423,6 @@
1357 * mail/sendmail.el (send-mail-function): Autoload the call 1423 * mail/sendmail.el (send-mail-function): Autoload the call
1358 to custom-initialize-delay, not otherwise preserved in loaddefs.el. 1424 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
1359 1425
13602010-02-25 Alan Mackenzie <acm@muc.de>
1361
1362 * progmodes/cc-engine.el (c-clear-<-pair-props)
1363 (c-clear->-pair-props): Correct to wipe category text props, not
1364 syntax-table ones.
1365
1366 * progmodes/cc-mode.el (c-after-change): Remove any hard
1367 syntax-table properties for <, > which, e.g., C-y has
1368 inopportunely converted from category properties.
1369
13702010-02-24 Chong Yidong <cyd@stupidchicken.com> 14262010-02-24 Chong Yidong <cyd@stupidchicken.com>
1371 1427
1372 * files.el (hack-local-variables-filter): For eval forms, also 1428 * files.el (hack-local-variables-filter): For eval forms, also
@@ -1704,33 +1760,6 @@
1704 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few 1760 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
1705 windows that are not yet showing images. 1761 windows that are not yet showing images.
1706 1762
17072010-02-04 Alan Mackenzie <acm@muc.de>
1708
1709 Change strategy for marking < and > as template delimiters: mark
1710 them strictly in matching pairs.
1711
1712 * cc-mode.el (c-before-change):
1713 Use c-get-state-before-change-functions.
1714 (c-common-init): Adapt to use
1715 c-get-state-before-change-functions (note plural).
1716
1717 * cc-langs.el (c-no-parens-syntax-table): New syntax table, used
1718 for searching syntactically for matching <s and >s.
1719 (c-get-state-before-change-functions): New language variable (note
1720 the plural) which supersedes c-get-state-before-change-function.
1721
1722 * cc-engine.el (c-clear-<-pair-props, c-clear->-pair-props)
1723 (c-clear-<>-pair-props, c-clear-<-pair-props-if-match-after)
1724 (c-clear->-pair-props-if-match-before)
1725 (c-before-change-check-<>-operators): New functions.
1726 (c-after-change-check-<>-operators): Use macro
1727 c-unmark-<->-as-paren.
1728
1729 * cc-defs.el (c-search-backward-char-property): New macro.
1730
1731 * cc-cmds.el (c-electric-lt-gt): Do not set text properties on <
1732 and > any more. (These will be handled by font locking.)
1733
17342010-02-04 Michael Albinus <michael.albinus@gmx.de> 17632010-02-04 Michael Albinus <michael.albinus@gmx.de>
1735 1764
1736 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call 1765 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
diff --git a/lisp/cedet/ede/pmake.el b/lisp/cedet/ede/pmake.el
index 971cd70a6ee..19c4b26edcd 100644
--- a/lisp/cedet/ede/pmake.el
+++ b/lisp/cedet/ede/pmake.el
@@ -425,10 +425,9 @@ sources variable."
425 (link (ede-proj-linkers this)) 425 (link (ede-proj-linkers this))
426 (name (ede-proj-makefile-target-name this)) 426 (name (ede-proj-makefile-target-name this))
427 (src (oref this source))) 427 (src (oref this source)))
428 (while comp 428 (dolist (obj comp)
429 (ede-compiler-only-once (car comp) 429 (ede-compiler-only-once obj
430 (ede-proj-makefile-insert-variables (car comp))) 430 (ede-proj-makefile-insert-variables obj)))
431 (setq comp (cdr comp)))
432 (ede-proj-makefile-insert-object-variables (car comp) name src) 431 (ede-proj-makefile-insert-object-variables (car comp) name src)
433 (while link 432 (while link
434 (ede-linker-only-once (car link) 433 (ede-linker-only-once (car link)
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index b0b3cd11b6a..94524c262ac 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,6 +1,15 @@
12010-04-17 Teodor Zlatanov <tzz@lifelogs.com>
2
3 * smime.el: Don't mention CVS.
4
5 * nnrss.el (nnrss-fetch): Don't mention CVS.
6
7 * nnir.el: Don't mention CVS.
8
12010-04-14 Stefan Monnier <monnier@iro.umontreal.ca> 92010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2 10
3 * gnus-sum.el (gnus-summary-bookmark-make-record): Add `location' field. 11 * gnus-sum.el (gnus-summary-bookmark-make-record):
12 Add `location' field.
4 13
52010-04-12 Stefan Monnier <monnier@iro.umontreal.ca> 142010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
6 15
diff --git a/lisp/gnus/nnir.el b/lisp/gnus/nnir.el
index 5475506746a..c14d9a1b6aa 100644
--- a/lisp/gnus/nnir.el
+++ b/lisp/gnus/nnir.el
@@ -52,7 +52,7 @@
52 52
53 53
54;; The most recent version of this can always be fetched from the Gnus 54;; The most recent version of this can always be fetched from the Gnus
55;; CVS repository. See http://www.gnus.org/ for more information. 55;; repository. See http://www.gnus.org/ for more information.
56 56
57;; This code is still in the development stage but I'd like other 57;; This code is still in the development stage but I'd like other
58;; people to have a look at it. Please do not hesitate to contact me 58;; people to have a look at it. Please do not hesitate to contact me
diff --git a/lisp/gnus/nnrss.el b/lisp/gnus/nnrss.el
index 36291537909..08b621919eb 100644
--- a/lisp/gnus/nnrss.el
+++ b/lisp/gnus/nnrss.el
@@ -427,7 +427,7 @@ otherwise return nil."
427(defun nnrss-fetch (url &optional local) 427(defun nnrss-fetch (url &optional local)
428 "Fetch URL and put it in a the expected Lisp structure." 428 "Fetch URL and put it in a the expected Lisp structure."
429 (mm-with-unibyte-buffer 429 (mm-with-unibyte-buffer
430 ;;some CVS versions of url.el need this to close the connection quickly 430 ;;some versions of url.el need this to close the connection quickly
431 (let (cs xmlform htmlform) 431 (let (cs xmlform htmlform)
432 ;; bit o' work necessary for w3 pre-cvs and post-cvs 432 ;; bit o' work necessary for w3 pre-cvs and post-cvs
433 (if local 433 (if local
diff --git a/lisp/gnus/smime.el b/lisp/gnus/smime.el
index 8780d6cfb61..b60acee445d 100644
--- a/lisp/gnus/smime.el
+++ b/lisp/gnus/smime.el
@@ -42,7 +42,7 @@
42;; done on messages encoded in these formats. The terminology chosen 42;; done on messages encoded in these formats. The terminology chosen
43;; reflect this. 43;; reflect this.
44;; 44;;
45;; The home of this file is in Gnus CVS, but also available from 45;; The home of this file is in Gnus, but also available from
46;; http://josefsson.org/smime.html. 46;; http://josefsson.org/smime.html.
47 47
48;;; Quick introduction: 48;;; Quick introduction:
diff --git a/lisp/help.el b/lisp/help.el
index 5e4c4ebaf61..899547aa0a1 100644
--- a/lisp/help.el
+++ b/lisp/help.el
@@ -1048,10 +1048,9 @@ scroll the \"other\" window."
1048Select WINDOW according to the value of `help-window-select'. 1048Select WINDOW according to the value of `help-window-select'.
1049Display message telling how to scroll and eventually quit WINDOW. 1049Display message telling how to scroll and eventually quit WINDOW.
1050 1050
1051Optional argument REUSE non-nil means WINDOW has been reused \(by 1051Optional argument REUSE non-nil means WINDOW has been reused by
1052`display-buffer'\) for displaying help. Optional argument 1052`display-buffer'. Optional argument KEEP-FRAME non-nil means
1053KEEP-FRAME non-nil means that quitting must no delete the frame 1053that quitting should not delete WINDOW's frame."
1054of WINDOW."
1055 (let ((number-of-windows 1054 (let ((number-of-windows
1056 (length (window-list (window-frame window) 'no-mini window)))) 1055 (length (window-list (window-frame window) 'no-mini window))))
1057 (cond 1056 (cond
diff --git a/lisp/htmlfontify.el b/lisp/htmlfontify.el
index dbf5cea7fc8..19aae590cb2 100644
--- a/lisp/htmlfontify.el
+++ b/lisp/htmlfontify.el
@@ -1790,6 +1790,7 @@ FILE, if set, is the file name."
1790 (when font-lock-defaults 1790 (when font-lock-defaults
1791 (font-lock-fontify-buffer)) )) 1791 (font-lock-fontify-buffer)) ))
1792 1792
1793;;;###autoload
1793(defun htmlfontify-buffer (&optional srcdir file) 1794(defun htmlfontify-buffer (&optional srcdir file)
1794 "Create a new buffer, named for the current buffer + a .html extension, 1795 "Create a new buffer, named for the current buffer + a .html extension,
1795containing an inline CSS-stylesheet and formatted CSS-markup HTML 1796containing an inline CSS-stylesheet and formatted CSS-markup HTML
@@ -2276,6 +2277,7 @@ See also `hfy-load-tags-cache'."
2276 (save-buffer) 2277 (save-buffer)
2277 (kill-buffer B))) 2278 (kill-buffer B)))
2278 2279
2280;;;###autoload
2279(defun htmlfontify-copy-and-link-dir (srcdir dstdir &optional f-ext l-ext) 2281(defun htmlfontify-copy-and-link-dir (srcdir dstdir &optional f-ext l-ext)
2280 "Trawl SRCDIR and write fontified-and-hyperlinked output in DSTDIR. 2282 "Trawl SRCDIR and write fontified-and-hyperlinked output in DSTDIR.
2281F-EXT and L-EXT specify values for `hfy-extn' and `hfy-link-extn'.\n 2283F-EXT and L-EXT specify values for `hfy-extn' and `hfy-link-extn'.\n
diff --git a/lisp/ido.el b/lisp/ido.el
index ebfcbd4da88..57aa7d4a723 100644
--- a/lisp/ido.el
+++ b/lisp/ido.el
@@ -2312,7 +2312,8 @@ If cursor is not at the end of the user input, move to end of input."
2312 (or ido-use-url-at-point ido-use-filename-at-point)) 2312 (or ido-use-url-at-point ido-use-filename-at-point))
2313 (let (fn d) 2313 (let (fn d)
2314 (require 'ffap) 2314 (require 'ffap)
2315 ;; Duplicate code from ffap-guesser as we want different behavior for files and URLs. 2315 ;; Duplicate code from ffap-guesser as we want different
2316 ;; behavior for files and URLs.
2316 (cond 2317 (cond
2317 ((with-no-warnings 2318 ((with-no-warnings
2318 (and ido-use-url-at-point 2319 (and ido-use-url-at-point
@@ -2328,7 +2329,10 @@ If cursor is not at the end of the user input, move to end of input."
2328 (ffap-guesser) 2329 (ffap-guesser)
2329 (ffap-string-at-point)))) 2330 (ffap-string-at-point))))
2330 (not (string-match "^http:/" fn)) 2331 (not (string-match "^http:/" fn))
2331 (setq d (file-name-directory (expand-file-name fn))) 2332 (let ((absolute-fn (expand-file-name fn)))
2333 (setq d (if (file-directory-p absolute-fn)
2334 (file-name-as-directory absolute-fn)
2335 (file-name-directory absolute-fn))))
2332 (file-directory-p d)) 2336 (file-directory-p d))
2333 (setq ido-current-directory d) 2337 (setq ido-current-directory d)
2334 (setq initial (file-name-nondirectory fn)))))) 2338 (setq initial (file-name-nondirectory fn))))))
diff --git a/lisp/info.el b/lisp/info.el
index 18a11d28777..aea283403ec 100644
--- a/lisp/info.el
+++ b/lisp/info.el
@@ -1053,8 +1053,8 @@ a case-insensitive match is tried."
1053 (Info-select-node) 1053 (Info-select-node)
1054 (goto-char (point-min)) 1054 (goto-char (point-min))
1055 (forward-line 1) ; skip header line 1055 (forward-line 1) ; skip header line
1056 (when (> Info-breadcrumbs-depth 0) ; skip breadcrumbs line 1056 ;; (when (> Info-breadcrumbs-depth 0) ; skip breadcrumbs line
1057 (forward-line 1)) 1057 ;; (forward-line 1))
1058 1058
1059 (cond (anchorpos 1059 (cond (anchorpos
1060 (let ((new-history (list Info-current-file 1060 (let ((new-history (list Info-current-file
@@ -3602,6 +3602,19 @@ If FORK is non-nil, it is passed to `Info-goto-node'."
3602 ((setq node (Info-get-token (point) "Prev: " "Prev: \\([^,\n\t]*\\)")) 3602 ((setq node (Info-get-token (point) "Prev: " "Prev: \\([^,\n\t]*\\)"))
3603 (Info-goto-node node fork))) 3603 (Info-goto-node node fork)))
3604 node)) 3604 node))
3605
3606(defun Info-mouse-follow-link (click)
3607 "Follow a link where you click."
3608 (interactive "e")
3609 (let* ((position (event-start click))
3610 (posn-string (and position (posn-string position)))
3611 (string (car-safe posn-string))
3612 (string-pos (cdr-safe posn-string))
3613 (link-args (and string string-pos
3614 (get-text-property string-pos 'link-args string))))
3615 (when link-args
3616 (Info-goto-node link-args))))
3617
3605 3618
3606(defvar Info-mode-map 3619(defvar Info-mode-map
3607 (let ((map (make-keymap))) 3620 (let ((map (make-keymap)))
@@ -4183,11 +4196,22 @@ the variable `Info-file-list-for-emacs'."
4183 keymap) 4196 keymap)
4184 "Keymap to put on the Up link in the text or the header line.") 4197 "Keymap to put on the Up link in the text or the header line.")
4185 4198
4186(defun Info-insert-breadcrumbs () 4199(defvar Info-link-keymap
4200 (let ((keymap (make-sparse-keymap)))
4201 (define-key keymap [header-line mouse-1] 'Info-mouse-follow-link)
4202 (define-key keymap [header-line mouse-2] 'Info-mouse-follow-link)
4203 (define-key keymap [header-line down-mouse-1] 'ignore)
4204 (define-key keymap [mouse-2] 'Info-mouse-follow-link)
4205 (define-key keymap [follow-link] 'mouse-face)
4206 keymap)
4207 "Keymap to put on the link in the text or the header line.")
4208
4209(defun Info-breadcrumbs ()
4187 (let ((nodes (Info-toc-nodes Info-current-file)) 4210 (let ((nodes (Info-toc-nodes Info-current-file))
4188 (node Info-current-node) 4211 (node Info-current-node)
4189 (crumbs ()) 4212 (crumbs ())
4190 (depth Info-breadcrumbs-depth)) 4213 (depth Info-breadcrumbs-depth)
4214 line)
4191 4215
4192 ;; Get ancestors from the cached parent-children node info 4216 ;; Get ancestors from the cached parent-children node info
4193 (while (and (not (equal "Top" node)) (> depth 0)) 4217 (while (and (not (equal "Top" node)) (> depth 0))
@@ -4214,15 +4238,25 @@ the variable `Info-file-list-for-emacs'."
4214 (file-name-nondirectory Info-current-file) 4238 (file-name-nondirectory Info-current-file)
4215 ;; Some legacy code can still use a symbol. 4239 ;; Some legacy code can still use a symbol.
4216 Info-current-file))))) 4240 Info-current-file)))))
4217 (insert (if (bolp) "" " > ") 4241 (setq line (concat
4218 (cond 4242 line
4219 ((null node) "...") 4243 (if (null line) "" " > ")
4220 ((equal node Info-current-node) 4244 (cond
4221 ;; No point linking to ourselves. 4245 ((null node) "...")
4222 (propertize text 'font-lock-face 'info-header-node)) 4246 ((equal node Info-current-node)
4223 (t 4247 ;; No point linking to ourselves.
4224 (concat "*Note " text "::")))))) 4248 (propertize text 'font-lock-face 'info-header-node))
4225 (insert "\n")))) 4249 (t
4250 (propertize text
4251 'mouse-face 'highlight
4252 'font-lock-face 'info-header-xref
4253 'help-echo "mouse-2: Go to node"
4254 'keymap Info-link-keymap
4255 'link-args text)))))))
4256 (setq line (concat line "\n")))
4257 ;; (font-lock-append-text-property 0 (length line)
4258 ;; 'font-lock-face 'header-line line)
4259 line))
4226 4260
4227(defun Info-fontify-node () 4261(defun Info-fontify-node ()
4228 "Fontify the node." 4262 "Fontify the node."
@@ -4269,8 +4303,8 @@ the variable `Info-file-list-for-emacs'."
4269 ((string-equal (downcase tag) "next") Info-next-link-keymap) 4303 ((string-equal (downcase tag) "next") Info-next-link-keymap)
4270 ((string-equal (downcase tag) "up" ) Info-up-link-keymap)))))) 4304 ((string-equal (downcase tag) "up" ) Info-up-link-keymap))))))
4271 4305
4272 (when (> Info-breadcrumbs-depth 0) 4306 ;; (when (> Info-breadcrumbs-depth 0)
4273 (Info-insert-breadcrumbs)) 4307 ;; (insert (Info-breadcrumbs)))
4274 4308
4275 ;; Treat header line. 4309 ;; Treat header line.
4276 (when Info-use-header-line 4310 (when Info-use-header-line
@@ -4302,7 +4336,10 @@ the variable `Info-file-list-for-emacs'."
4302 ;; that is in the header, if it is just part. 4336 ;; that is in the header, if it is just part.
4303 (cond 4337 (cond
4304 ((> Info-breadcrumbs-depth 0) 4338 ((> Info-breadcrumbs-depth 0)
4305 (put-text-property (point-min) (1+ header-end) 'invisible t)) 4339 (let ((ov (make-overlay (point-min) (1+ header-end))))
4340 (overlay-put ov 'invisible t)
4341 (overlay-put ov 'after-string (Info-breadcrumbs))
4342 (overlay-put ov 'evaporate t)))
4306 ((not (bobp)) 4343 ((not (bobp))
4307 ;; Hide the punctuation at the end, too. 4344 ;; Hide the punctuation at the end, too.
4308 (skip-chars-backward " \t,") 4345 (skip-chars-backward " \t,")
diff --git a/lisp/language/indian.el b/lisp/language/indian.el
index dd5bf2960b1..3414da2e045 100644
--- a/lisp/language/indian.el
+++ b/lisp/language/indian.el
@@ -241,7 +241,7 @@ South Indian language Malayalam is supported in this language environment."))
241 ;; syllables with an independent vowel, or 241 ;; syllables with an independent vowel, or
242 "\\(?:RH\\)?Vn?\\(?:J?HR\\)?v*n?a?A?\\|" 242 "\\(?:RH\\)?Vn?\\(?:J?HR\\)?v*n?a?A?\\|"
243 ;; consonant-based syllables, or 243 ;; consonant-based syllables, or
244 "Cn?\\(?:J?HJ?Cn?\\)*\\(?:H[NJ]?|v*n?a?A?\\)\\|" 244 "Cn?\\(?:J?HJ?Cn?\\)*\\(?:H[NJ]?\\|v*n?a?A?\\)\\|"
245 ;; special consonant form, or 245 ;; special consonant form, or
246 "JHR\\|" 246 "JHR\\|"
247 ;; any other singleton characters 247 ;; any other singleton characters
@@ -256,8 +256,9 @@ South Indian language Malayalam is supported in this language environment."))
256 ("V" . "[\u0B05-\u0B14\u0B60-\u0B61]") ; independent vowel 256 ("V" . "[\u0B05-\u0B14\u0B60-\u0B61]") ; independent vowel
257 ("C" . "[\u0B15-\u0B39\u0B5C-\u0B5D\u0B71]") ; consonant 257 ("C" . "[\u0B15-\u0B39\u0B5C-\u0B5D\u0B71]") ; consonant
258 ("B" . "[\u0B15-\u0B17\u0B1B-\u0B1D\u0B1F-\u0B21\u0B23-\u0B24\u0B27-\u0B30\u0B32-\u0B35\u0B38-\u0B39]") ; consonant with below form 258 ("B" . "[\u0B15-\u0B17\u0B1B-\u0B1D\u0B1F-\u0B21\u0B23-\u0B24\u0B27-\u0B30\u0B32-\u0B35\u0B38-\u0B39]") ; consonant with below form
259 ("R" . "\u0B30") ; RA
259 ("n" . "\u0B3C") ; NUKTA 260 ("n" . "\u0B3C") ; NUKTA
260 ("v" . "[\u0B3E-\u0B44\u0B56-\u0B57\u0B62-\u0B63]") ; vowel sign 261 ("v" . "[\u0B3E-\u0B44\u0B47\u0B56-\u0B57\u0B62-\u0B63]") ; vowel sign
261 ("H" . "\u0B4D") ; VIRAMA 262 ("H" . "\u0B4D") ; VIRAMA
262 ("N" . "\u200C") ; ZWNJ 263 ("N" . "\u200C") ; ZWNJ
263 ("J" . "\u200D") ; ZWJ 264 ("J" . "\u200D") ; ZWJ
@@ -267,7 +268,7 @@ South Indian language Malayalam is supported in this language environment."))
267 ;; syllables with an independent vowel, or 268 ;; syllables with an independent vowel, or
268 "\\(?:RH\\)?Vn?\\(?:J?HB\\)?v*n?a?A?\\|" 269 "\\(?:RH\\)?Vn?\\(?:J?HB\\)?v*n?a?A?\\|"
269 ;; consonant-based syllables, or 270 ;; consonant-based syllables, or
270 "Cn?\\(?:J?HJ?Cn?\\)*\\(?:H[NJ]?|v*n?a?A?\\)\\|" 271 "Cn?\\(?:J?HJ?Cn?\\)*\\(?:H[NJ]?\\|v*n?a?A?\\)\\|"
271 ;; special consonant form, or 272 ;; special consonant form, or
272 "JHB\\|" 273 "JHB\\|"
273 ;; any other singleton characters 274 ;; any other singleton characters
@@ -288,7 +289,7 @@ South Indian language Malayalam is supported in this language environment."))
288 (indian-compose-regexp 289 (indian-compose-regexp
289 (concat 290 (concat
290 ;; consonant-based syllables, or 291 ;; consonant-based syllables, or
291 "C\\(?:J?HJ?C\\)*\\(?:H[NJ]?|v*a?\\)\\|" 292 "C\\(?:J?HJ?C\\)*\\(?:H[NJ]?\\|v*a?\\)\\|"
292 ;; syllables with an independent vowel, or 293 ;; syllables with an independent vowel, or
293 "Vv*a?\\|" 294 "Vv*a?\\|"
294 ;; any other singleton characters 295 ;; any other singleton characters
@@ -302,14 +303,14 @@ South Indian language Malayalam is supported in this language environment."))
302 ("V" . "[\u0C05-\u0C14\u0C60-\u0C61]") ; independent vowel 303 ("V" . "[\u0C05-\u0C14\u0C60-\u0C61]") ; independent vowel
303 ("C" . "[\u0C15-\u0C39\u0C58-\u0C59]") ; consonant 304 ("C" . "[\u0C15-\u0C39\u0C58-\u0C59]") ; consonant
304 ("v" . "[\u0C3E-\u0C4C\u0C55-\u0C56\u0C62-\u0C63]") ; vowel sign 305 ("v" . "[\u0C3E-\u0C4C\u0C55-\u0C56\u0C62-\u0C63]") ; vowel sign
305 ("H" . "\u0BCD") ; VIRAMA 306 ("H" . "\u0C4D") ; VIRAMA
306 ("N" . "\u200C") ; ZWNJ 307 ("N" . "\u200C") ; ZWNJ
307 ("J" . "\u200D") ; ZWJ 308 ("J" . "\u200D") ; ZWJ
308 ("X" . "[\u0C00-\u0C7F]")))) ; all coverage 309 ("X" . "[\u0C00-\u0C7F]")))) ; all coverage
309 (indian-compose-regexp 310 (indian-compose-regexp
310 (concat 311 (concat
311 ;; consonant-based syllables, or 312 ;; consonant-based syllables, or
312 "C\\(?:J?HJ?C\\)*\\(?:H[NJ]?|v*a?\\)\\|" 313 "C\\(?:J?HJ?C\\)*\\(?:H[NJ]?\\|v*a?\\)\\|"
313 ;; syllables with an independent vowel, or 314 ;; syllables with an independent vowel, or
314 "V\\(?:J?HC\\)?v*a?\\|" 315 "V\\(?:J?HC\\)?v*a?\\|"
315 ;; special consonant form, or 316 ;; special consonant form, or
@@ -324,7 +325,7 @@ South Indian language Malayalam is supported in this language environment."))
324 '(("A" . "[\u0C82-\u0C83]") ; SIGN ANUSVARA .. VISARGA 325 '(("A" . "[\u0C82-\u0C83]") ; SIGN ANUSVARA .. VISARGA
325 ("V" . "[\u0C85-\u0C94\u0CE0-\u0CE1]") ; independent vowel 326 ("V" . "[\u0C85-\u0C94\u0CE0-\u0CE1]") ; independent vowel
326 ("C" . "[\u0C95-\u0CB9\u0CDE]") ; consonant 327 ("C" . "[\u0C95-\u0CB9\u0CDE]") ; consonant
327 ("B" . "\u0CB0") ; RA 328 ("R" . "\u0CB0") ; RA
328 ("n" . "\u0CBC") ; NUKTA 329 ("n" . "\u0CBC") ; NUKTA
329 ("v" . "[\u0CBE-\u0CCC\u0CD5-\u0CD6\u0CE2-\u0CE3]") ; vowel sign 330 ("v" . "[\u0CBE-\u0CCC\u0CD5-\u0CD6\u0CE2-\u0CE3]") ; vowel sign
330 ("H" . "\u0CCD") ; VIRAMA 331 ("H" . "\u0CCD") ; VIRAMA
@@ -336,9 +337,9 @@ South Indian language Malayalam is supported in this language environment."))
336 ;; syllables with an independent vowel, or 337 ;; syllables with an independent vowel, or
337 "\\(?:RH\\)?Vn?\\(?:J?HC\\)?v?A?\\|" 338 "\\(?:RH\\)?Vn?\\(?:J?HC\\)?v?A?\\|"
338 ;; consonant-based syllables, or 339 ;; consonant-based syllables, or
339 "Cn?\\(?:J?HJ?Cn?\\)*\\(?:H[NJ]?|v*n?A?\\)\\|" 340 "Cn?\\(?:J?HJ?Cn?\\)*\\(?:H[NJ]?\\|v*n?A?\\)\\|"
340 ;; special consonant form, or 341 ;; special consonant form, or
341 "JHB\\|" 342 "JHC\\|"
342 ;; any other singleton characters 343 ;; any other singleton characters
343 "X") 344 "X")
344 table)) 345 table))
@@ -351,13 +352,14 @@ South Indian language Malayalam is supported in this language environment."))
351 ("C" . "[\u0D15-\u0D39]") ; consonant 352 ("C" . "[\u0D15-\u0D39]") ; consonant
352 ("Y" . "[\u0D2F-\u0D30\u0D32\u0D35]") ; YA, RA, LA, VA 353 ("Y" . "[\u0D2F-\u0D30\u0D32\u0D35]") ; YA, RA, LA, VA
353 ("v" . "[\u0D3E-\u0D48\u0D57\u0D62-\u0D63]") ; postbase matra 354 ("v" . "[\u0D3E-\u0D48\u0D57\u0D62-\u0D63]") ; postbase matra
355 ("H" . "\u0D4D") ; SIGN VIRAMA
354 ("N" . "\u200C") ; ZWNJ 356 ("N" . "\u200C") ; ZWNJ
355 ("J" . "\u200D") ; ZWJ 357 ("J" . "\u200D") ; ZWJ
356 ("X" . "[\u0D00-\u0D7F]")))) ; all coverage 358 ("X" . "[\u0D00-\u0D7F]")))) ; all coverage
357 (indian-compose-regexp 359 (indian-compose-regexp
358 (concat 360 (concat
359 ;; consonant-based syllables, or 361 ;; consonant-based syllables, or
360 "\\(?:CJ?HJ?C\\)*\\(?:H[NJ]?\\|v?A?\\)\\|" 362 "C\\(?:J?HJ?C\\)*\\(?:H[NJ]?\\|v?A?\\)\\|"
361 ;; syllables with an independent vowel, or 363 ;; syllables with an independent vowel, or
362 "V\\(?:J?HY\\)?v*?A?\\|" 364 "V\\(?:J?HY\\)?v*?A?\\|"
363 ;; special consonant form, or 365 ;; special consonant form, or
diff --git a/lisp/minibuffer.el b/lisp/minibuffer.el
index 05cc13bd2e4..c7d0d1c3a0c 100644
--- a/lisp/minibuffer.el
+++ b/lisp/minibuffer.el
@@ -381,21 +381,35 @@ the second failed attempt to complete."
381(defconst completion-styles-alist 381(defconst completion-styles-alist
382 '((emacs21 382 '((emacs21
383 completion-emacs21-try-completion completion-emacs21-all-completions 383 completion-emacs21-try-completion completion-emacs21-all-completions
384 "Simple prefix-based completion.") 384 "Simple prefix-based completion.
385I.e. when completing \"foo_bar\" (where _ is the position of point),
386it will consider all completions candidates matching the glob
387pattern \"foobar*\".")
385 (emacs22 388 (emacs22
386 completion-emacs22-try-completion completion-emacs22-all-completions 389 completion-emacs22-try-completion completion-emacs22-all-completions
387 "Prefix completion that only operates on the text before point.") 390 "Prefix completion that only operates on the text before point.
391I.e. when completing \"foo_bar\" (where _ is the position of point),
392it will consider all completions candidates matching the glob
393pattern \"foo*\" and will add back \"bar\" to the end of it.")
388 (basic 394 (basic
389 completion-basic-try-completion completion-basic-all-completions 395 completion-basic-try-completion completion-basic-all-completions
390 "Completion of the prefix before point and the suffix after point.") 396 "Completion of the prefix before point and the suffix after point.
397I.e. when completing \"foo_bar\" (where _ is the position of point),
398it will consider all completions candidates matching the glob
399pattern \"foo*bar*\".")
391 (partial-completion 400 (partial-completion
392 completion-pcm-try-completion completion-pcm-all-completions 401 completion-pcm-try-completion completion-pcm-all-completions
393 "Completion of multiple words, each one taken as a prefix. 402 "Completion of multiple words, each one taken as a prefix.
394E.g. M-x l-c-h can complete to list-command-history 403I.e. when completing \"l-co_h\" (where _ is the position of point),
395and C-x C-f /u/m/s to /usr/monnier/src.") 404it will consider all completions candidates matching the glob
396 (substring 405 (substring
397 completion-substring-try-completion completion-substring-all-completions 406 completion-substring-try-completion completion-substring-all-completions
398 "Completion of the string taken as a substring.") 407 "Completion of the string taken as a substring.")
408pattern \"l*-co*h*\".
409Furthermore, for completions that are done step by step in subfields,
410the method is applied to all the preceding fields that do not yet match.
411E.g. C-x C-f /u/mo/s TAB could complete to /usr/monnier/src.
412Additionally the user can use the char \"*\" as a glob pattern.")
399 (initials 413 (initials
400 completion-initials-try-completion completion-initials-all-completions 414 completion-initials-try-completion completion-initials-all-completions
401 "Completion of acronyms and initialisms. 415 "Completion of acronyms and initialisms.
@@ -410,7 +424,19 @@ ALL-COMPLETIONS is the function that lists the completions (it should
410follow the calling convention of `completion-all-completions'), 424follow the calling convention of `completion-all-completions'),
411and DOC describes the way this style of completion works.") 425and DOC describes the way this style of completion works.")
412 426
413(defcustom completion-styles '(basic partial-completion emacs22) 427(defcustom completion-styles
428 ;; First, use `basic' because prefix completion has been the standard
429 ;; for "ever" and works well in most cases, so using it first
430 ;; ensures that we obey previous behavior in most cases.
431 '(basic
432 ;; Then use `partial-completion' because it has proven to
433 ;; be a very convenient extension.
434 partial-completion
435 ;; Finally use `emacs22' so as to maintain (in many/most cases)
436 ;; the previous behavior that when completing "foobar" with point
437 ;; between "foo" and "bar" the completion try to complete "foo"
438 ;; and simply add "bar" to the end of the result.
439 emacs22)
414 "List of completion styles to use. 440 "List of completion styles to use.
415The available styles are listed in `completion-styles-alist'." 441The available styles are listed in `completion-styles-alist'."
416 :type `(repeat (choice ,@(mapcar (lambda (x) (list 'const (car x))) 442 :type `(repeat (choice ,@(mapcar (lambda (x) (list 'const (car x)))
diff --git a/lisp/progmodes/fortran.el b/lisp/progmodes/fortran.el
index 6ba9fac608d..3784ba787c4 100644
--- a/lisp/progmodes/fortran.el
+++ b/lisp/progmodes/fortran.el
@@ -403,6 +403,28 @@ program\\|subroutine\\)\\>[ \t]*\\(\\sw+\\)?"
403 '("^ *\\([0-9]+\\)" . font-lock-constant-face))) 403 '("^ *\\([0-9]+\\)" . font-lock-constant-face)))
404 "Medium level highlighting for Fortran mode.") 404 "Medium level highlighting for Fortran mode.")
405 405
406;; See bug#1385. Never really looked into _why_ this matters...
407(defun fortran-match-and-skip-declaration (limit)
408 "Like `font-lock-match-c-style-declaration-item-and-skip-to-next'.
409The only difference is, it returns t in a case when the default returns nil."
410 (when (looking-at "[ \n\t*]*\\(\\sw+\\)[ \t\n]*\\(((?\\)?")
411 (when (and (match-end 2) (> (- (match-end 2) (match-beginning 2)) 1))
412 (let ((pos (point)))
413 (skip-chars-backward " \t\n")
414 (skip-syntax-backward "w")
415 (unless (looking-at "\\(\\sw+\\)[ \t\n]*\\sw+[ \t\n]*\\(((?\\)?")
416 (goto-char pos)
417 (looking-at "[ \n\t*]*\\(\\sw+\\)[ \t\n]*\\(((?\\)?"))))
418 (save-match-data
419 (condition-case nil
420 (save-restriction
421 (narrow-to-region (point-min) limit)
422 (goto-char (match-end 1))
423 (while (not (looking-at "[ \t\n]*\\(\\(,\\)\\|;\\|\\'\\)"))
424 (goto-char (or (scan-sexps (point) 1) (point-max))))
425 (goto-char (match-end 2)))
426 (error t)))))
427
406(defvar fortran-font-lock-keywords-3 428(defvar fortran-font-lock-keywords-3
407 (append 429 (append
408 fortran-font-lock-keywords-1 430 fortran-font-lock-keywords-1
@@ -412,7 +434,7 @@ program\\|subroutine\\)\\>[ \t]*\\(\\sw+\\)?"
412 ;; Type specifier. 434 ;; Type specifier.
413 '(1 font-lock-type-face) 435 '(1 font-lock-type-face)
414 ;; Declaration item (or just /.../ block name). 436 ;; Declaration item (or just /.../ block name).
415 `(font-lock-match-c-style-declaration-item-and-skip-to-next 437 `(fortran-match-and-skip-declaration
416 ;; Start after any *(...) expression. 438 ;; Start after any *(...) expression.
417 (condition-case nil 439 (condition-case nil
418 (and (match-beginning ,(1+ (regexp-opt-depth 440 (and (match-beginning ,(1+ (regexp-opt-depth
diff --git a/lisp/progmodes/grep.el b/lisp/progmodes/grep.el
index b13a75e3844..de94620c737 100644
--- a/lisp/progmodes/grep.el
+++ b/lisp/progmodes/grep.el
@@ -513,8 +513,8 @@ Set up `compilation-exit-message-function' and run `grep-setup-hook'."
513 grep-find-template grep-find-use-xargs 513 grep-find-template grep-find-use-xargs
514 grep-highlight-matches)) 514 grep-highlight-matches))
515 (set setting 515 (set setting
516 (or (cadr (assq setting host-defaults)) 516 (cadr (or (assq setting host-defaults)
517 (cadr (assq setting defaults))))) 517 (assq setting defaults)))))
518 518
519 (unless (or (not grep-use-null-device) (eq grep-use-null-device t)) 519 (unless (or (not grep-use-null-device) (eq grep-use-null-device t))
520 (setq grep-use-null-device 520 (setq grep-use-null-device
diff --git a/lisp/textmodes/tex-mode.el b/lisp/textmodes/tex-mode.el
index 38698af7885..5fc92a92d37 100644
--- a/lisp/textmodes/tex-mode.el
+++ b/lisp/textmodes/tex-mode.el
@@ -1060,7 +1060,7 @@ subshell is initiated, `tex-shell-hook' is run."
1060 "\\>\\|\\\\[a-z]*" (regexp-opt '("space" "skip" "page") t) 1060 "\\>\\|\\\\[a-z]*" (regexp-opt '("space" "skip" "page") t)
1061 "\\>\\)")) 1061 "\\>\\)"))
1062 (setq paragraph-separate 1062 (setq paragraph-separate
1063 (concat "[\f]\\|[ \t]*\\($\\|" 1063 (concat "[\f%]\\|[ \t]*\\($\\|"
1064 "\\\\[][]\\|" 1064 "\\\\[][]\\|"
1065 "\\\\" (regexp-opt (append 1065 "\\\\" (regexp-opt (append
1066 (mapcar 'car latex-section-alist) 1066 (mapcar 'car latex-section-alist)
diff --git a/lisp/vc-git.el b/lisp/vc-git.el
index 6010aa20b35..14cdb4a1e38 100644
--- a/lisp/vc-git.el
+++ b/lisp/vc-git.el
@@ -420,6 +420,7 @@ or an empty string if none."
420 (vc-git-command (current-buffer) 'async files 420 (vc-git-command (current-buffer) 'async files
421 "ls-files" "-z" "-o" "-i" "--directory" 421 "ls-files" "-z" "-o" "-i" "--directory"
422 "--no-empty-directory" "--exclude-standard" "--")) 422 "--no-empty-directory" "--exclude-standard" "--"))
423 ;; --relative added in Git 1.5.5.
423 (diff-index 424 (diff-index
424 (vc-git-command (current-buffer) 'async files 425 (vc-git-command (current-buffer) 'async files
425 "diff-index" "--relative" "-z" "-M" "HEAD" "--"))) 426 "diff-index" "--relative" "-z" "-M" "HEAD" "--")))
@@ -578,7 +579,9 @@ or an empty string if none."
578;;; HISTORY FUNCTIONS 579;;; HISTORY FUNCTIONS
579 580
580(defun vc-git-print-log (files buffer &optional shortlog start-revision limit) 581(defun vc-git-print-log (files buffer &optional shortlog start-revision limit)
581 "Get change log associated with FILES." 582 "Get change log associated with FILES.
583Note that using SHORTLOG requires at least Git version 1.5.6,
584for the --graph option."
582 (let ((coding-system-for-read git-commits-coding-system)) 585 (let ((coding-system-for-read git-commits-coding-system))
583 ;; `vc-do-command' creates the buffer, but we need it before running 586 ;; `vc-do-command' creates the buffer, but we need it before running
584 ;; the command. 587 ;; the command.
diff --git a/lisp/vc-hg.el b/lisp/vc-hg.el
index fae9a15fed2..e67342d707a 100644
--- a/lisp/vc-hg.el
+++ b/lisp/vc-hg.el
@@ -196,16 +196,16 @@ If nil, use the value of `vc-diff-switches'. If t, use no switches."
196 (let* 196 (let*
197 ((status nil) 197 ((status nil)
198 (default-directory (file-name-directory file)) 198 (default-directory (file-name-directory file))
199 ;; Avoid localization of messages so we can parse the output.
200 (avoid-local-env (append (list "TERM=dumb" "LANGUAGE=C" "HGRC=")
201 process-environment))
199 (out 202 (out
200 (with-output-to-string 203 (with-output-to-string
201 (with-current-buffer 204 (with-current-buffer
202 standard-output 205 standard-output
203 (setq status 206 (setq status
204 (condition-case nil 207 (condition-case nil
205 (let ((process-environment 208 (let ((process-environment avoid-local-env))
206 ;; Avoid localization of messages so we can parse the output.
207 (append (list "TERM=dumb" "LANGUAGE=C" "HGRC=")
208 process-environment)))
209 ;; Ignore all errors. 209 ;; Ignore all errors.
210 (process-file 210 (process-file
211 "hg" nil t nil 211 "hg" nil t nil
@@ -213,7 +213,23 @@ If nil, use the value of `vc-diff-switches'. If t, use no switches."
213 ;; Some problem happened. E.g. We can't find an `hg' 213 ;; Some problem happened. E.g. We can't find an `hg'
214 ;; executable. 214 ;; executable.
215 (error nil))))))) 215 (error nil)))))))
216 (when (eq 0 status) out))) 216 (if (eq 0 status)
217 out
218 ;; Check if the file is in the 'added state, the above hg
219 ;; command does not distinguish between 'added and 'unregistered.
220 (setq status
221 (condition-case nil
222 (let ((process-environment avoid-local-env))
223 (process-file
224 "hg" nil nil nil
225 ;; We use "log" here, if there's a faster command
226 ;; that returns true for an 'added file and false
227 ;; for an 'unregistered one, we could use that.
228 "log" "-l1" (file-relative-name file)))
229 ;; Some problem happened. E.g. We can't find an `hg'
230 ;; executable.
231 (error nil)))
232 (when (eq 0 status) "0"))))
217 233
218;;; History functions 234;;; History functions
219 235
@@ -356,7 +372,8 @@ Optional arg REVISION is a revision to annotate from."
356 (if (match-beginning 3) 372 (if (match-beginning 3)
357 (match-string-no-properties 1) 373 (match-string-no-properties 1)
358 (cons (match-string-no-properties 1) 374 (cons (match-string-no-properties 1)
359 (expand-file-name (match-string-no-properties 4))))))) 375 (expand-file-name (match-string-no-properties 4)
376 (vc-hg-root default-directory)))))))
360 377
361(defun vc-hg-previous-revision (file rev) 378(defun vc-hg-previous-revision (file rev)
362 (let ((newrev (1- (string-to-number rev)))) 379 (let ((newrev (1- (string-to-number rev))))
diff --git a/src/ChangeLog b/src/ChangeLog
index d38f2b2c9e1..61d2f124935 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,34 @@
12010-04-19 Juanma Barranquero <lekktu@gmail.com>
2
3 * dired.c (Ffile_attributes): Fix typo in docstring.
4
52010-04-19 Adrian Robert <Adrian.B.Robert@gmail.com>
6
7 * nsmenu.m (EmacsDialog-runDialogAt:): Declare ret as
8 NSInteger (Bug#5811).
9
102010-04-19 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11
12 * s/darwin.h (PTY_ITERATION, PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF)
13 (PTY_OPEN): New defines. Use openpty (Bug#726, Bug#5819).
14
152010-04-19 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
16
17 * frame.h (FRAME_LINE_TO_PIXEL_Y): Add missing parenthesis.
18
192010-04-19 Jan Djärv <jan.h.d@swipnet.se>
20
21 * frame.h (FRAME_TEXT_LINES_TO_PIXEL_HEIGHT): Don't use
22 FRAME_LINE_TO_PIXEL_Y.
23
24 * xterm.c (x_set_window_size_1): Don't add border_width/height to
25 pixelwidth/height.
26
272010-04-19 Chong Yidong <cyd@stupidchicken.com>
28
29 * xdisp.c (prepare_menu_bars): Don't call ns_set_doc_edited for
30 terminal frames (Bug#5837).
31
12010-04-19 Eli Zaretskii <eliz@gnu.org> 322010-04-19 Eli Zaretskii <eliz@gnu.org>
2 33
3 * .gdbinit (xsubchartable): New command. 34 * .gdbinit (xsubchartable): New command.
diff --git a/src/dired.c b/src/dired.c
index 2240f6ec76e..a3ea23df2f6 100644
--- a/src/dired.c
+++ b/src/dired.c
@@ -935,9 +935,9 @@ DEFUN ("file-attributes", Ffile_attributes, Sfile_attributes, 1, 2, 0,
935Value is nil if specified file cannot be opened. 935Value is nil if specified file cannot be opened.
936 936
937ID-FORMAT specifies the preferred format of attributes uid and gid (see 937ID-FORMAT specifies the preferred format of attributes uid and gid (see
938below) - valid values are 'string and 'integer. The latter is the default, 938below) - valid values are 'string and 'integer. The latter is the
939but we plan to change that, so you should specify a non-nil value for 939default, but we plan to change that, so you should specify a non-nil value
940ID-FORMAT if you use the returned uid or gid. 940for ID-FORMAT if you use the returned uid or gid.
941 941
942Elements of the attribute list are: 942Elements of the attribute list are:
943 0. t for directory, string (name linked to) for symbolic link, or nil. 943 0. t for directory, string (name linked to) for symbolic link, or nil.
diff --git a/src/frame.h b/src/frame.h
index 36b0b6b069c..887d47eff21 100644
--- a/src/frame.h
+++ b/src/frame.h
@@ -980,7 +980,7 @@ extern Lisp_Object selected_frame;
980 at ROW/COL. */ 980 at ROW/COL. */
981 981
982#define FRAME_LINE_TO_PIXEL_Y(f, row) \ 982#define FRAME_LINE_TO_PIXEL_Y(f, row) \
983 ((row < FRAME_TOP_MARGIN (f) ? 0 : FRAME_INTERNAL_BORDER_WIDTH (f)) \ 983 (((row) < FRAME_TOP_MARGIN (f) ? 0 : FRAME_INTERNAL_BORDER_WIDTH (f)) \
984 + (row) * FRAME_LINE_HEIGHT (f)) 984 + (row) * FRAME_LINE_HEIGHT (f))
985 985
986#define FRAME_COL_TO_PIXEL_X(f, col) \ 986#define FRAME_COL_TO_PIXEL_X(f, col) \
diff --git a/src/nsmenu.m b/src/nsmenu.m
index 2581be9aeb7..f85ebc165af 100644
--- a/src/nsmenu.m
+++ b/src/nsmenu.m
@@ -1709,7 +1709,7 @@ void process_dialog (id window, Lisp_Object list)
1709 1709
1710- (Lisp_Object)runDialogAt: (NSPoint)p 1710- (Lisp_Object)runDialogAt: (NSPoint)p
1711{ 1711{
1712 int ret; 1712 NSInteger ret;
1713 extern EMACS_TIME timer_check (int do_it_now); /* TODO: add to a header */ 1713 extern EMACS_TIME timer_check (int do_it_now); /* TODO: add to a header */
1714 1714
1715 /* initiate a session that will be ended by pop_down_menu */ 1715 /* initiate a session that will be ended by pop_down_menu */
diff --git a/src/s/darwin.h b/src/s/darwin.h
index e8081c6dd25..016ed343f06 100644
--- a/src/s/darwin.h
+++ b/src/s/darwin.h
@@ -90,6 +90,24 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
90 */ 90 */
91 91
92#define HAVE_PTYS 92#define HAVE_PTYS
93/* Run only once. We need a `for'-loop because the code uses
94 `continue'. */
95#define PTY_ITERATION for (i = 0; i < 1; i++)
96#define PTY_NAME_SPRINTF /* none */
97#define PTY_TTY_NAME_SPRINTF /* none */
98/* Note that openpty may fork via grantpt on Mac OS X 10.4/Darwin 8.
99 But we don't have to block SIGCHLD because it is blocked in the
100 implementation of grantpt. */
101#define PTY_OPEN \
102 do \
103 { \
104 int slave; \
105 if (openpty (&fd, &slave, pty_name, NULL, NULL) == -1) \
106 fd = -1; \
107 else \
108 emacs_close (slave); \
109 } \
110 while (0)
93 111
94/** 112/**
95 * PTYs only work correctly on Darwin 7 or higher. So make the 113 * PTYs only work correctly on Darwin 7 or higher. So make the