aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiles Bader2005-02-25 06:44:33 +0000
committerMiles Bader2005-02-25 06:44:33 +0000
commit8cd7fad1b21dd26b900cf8db805cfd212313ca5b (patch)
treeec4fab5e156c4535ab241c26a96bd07bb082f276
parentd8d9feaf6cd5a609e36f7e72c1de9490dcbeede7 (diff)
parentff4d39263e40ffb88d9aee64f2e35b0e921c6553 (diff)
downloademacs-8cd7fad1b21dd26b900cf8db805cfd212313ca5b.tar.gz
emacs-8cd7fad1b21dd26b900cf8db805cfd212313ca5b.zip
Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-18
Merge from emacs--cvs-trunk--0 Patches applied: * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0 (patch 125-128) - Update from CVS - Merge from gnus--rel--5.10 * miles@gnu.org--gnu-2005/gnus--rel--5.10 (patch 28-30) - Update from CVS
-rw-r--r--admin/FOR-RELEASE20
-rw-r--r--etc/NEWS6
-rw-r--r--lisp/ChangeLog50
-rw-r--r--lisp/calendar/appt.el21
-rw-r--r--lisp/calendar/icalendar.el40
-rw-r--r--lisp/cus-edit.el36
-rw-r--r--lisp/frame.el1
-rw-r--r--lisp/gnus/ChangeLog27
-rw-r--r--lisp/gnus/gnus-art.el6
-rw-r--r--lisp/gnus/gnus-group.el3
-rw-r--r--lisp/gnus/gnus-sum.el4
-rw-r--r--lisp/gnus/nnfolder.el2
-rw-r--r--lisp/gnus/nnheader.el2
-rw-r--r--lisp/gnus/smime.el32
-rw-r--r--lisp/info.el37
-rw-r--r--lisp/international/iso-acc.el14
-rw-r--r--lisp/subr.el17
-rw-r--r--lisp/textmodes/tex-mode.el10
-rw-r--r--lispref/ChangeLog13
-rw-r--r--lispref/display.texi3
-rw-r--r--lispref/modes.texi15
-rw-r--r--man/ChangeLog4
-rw-r--r--man/cmdargs.texi5
-rw-r--r--src/ChangeLog4
-rw-r--r--src/buffer.c7
25 files changed, 266 insertions, 113 deletions
diff --git a/admin/FOR-RELEASE b/admin/FOR-RELEASE
index 55e500bcb28..72269d5533b 100644
--- a/admin/FOR-RELEASE
+++ b/admin/FOR-RELEASE
@@ -195,7 +195,7 @@ man/display.texi "Luc Teirlinck" Chong Yidong
195man/emacs.texi "Luc Teirlinck" 195man/emacs.texi "Luc Teirlinck"
196man/entering.texi "Luc Teirlinck" Chong Yidong 196man/entering.texi "Luc Teirlinck" Chong Yidong
197man/files.texi "Luc Teirlinck" Chong Yidong 197man/files.texi "Luc Teirlinck" Chong Yidong
198man/fixit.texi "Luc Teirlinck" 198man/fixit.texi "Luc Teirlinck" Chong Yidong
199man/frames.texi "Luc Teirlinck" Chong Yidong 199man/frames.texi "Luc Teirlinck" Chong Yidong
200man/glossary.texi 200man/glossary.texi
201man/help.texi "Luc Teirlinck" Chong Yidong 201man/help.texi "Luc Teirlinck" Chong Yidong
@@ -205,17 +205,17 @@ man/kmacro.texi "Luc Teirlinck" Chong Yidong
205man/macos.texi 205man/macos.texi
206man/maintaining.texi 206man/maintaining.texi
207man/major.texi "Luc Teirlinck" Chong Yidong 207man/major.texi "Luc Teirlinck" Chong Yidong
208man/mark.texi "Luc Teirlinck" 208man/mark.texi "Luc Teirlinck" Chong Yidong
209man/mini.texi "Luc Teirlinck" 209man/mini.texi "Luc Teirlinck" Chong Yidong
210man/misc.texi 210man/misc.texi
211man/msdog.texi Chong Yidong 211man/msdog.texi Chong Yidong
212man/mule.texi "Luc Teirlinck" 212man/mule.texi "Luc Teirlinck"
213man/m-x.texi "Luc Teirlinck" 213man/m-x.texi "Luc Teirlinck" Chong Yidong
214man/picture.texi Joakim Verona <joakim@verona.se> 214man/picture.texi Joakim Verona <joakim@verona.se>
215man/programs.texi "Stephen Eglen" Chong Yidong 215man/programs.texi "Stephen Eglen" Chong Yidong
216man/regs.texi "Luc Teirlinck" Chong Yidong 216man/regs.texi "Luc Teirlinck" Chong Yidong
217man/rmail.texi 217man/rmail.texi
218man/screen.texi "Luc Teirlinck" 218man/screen.texi "Luc Teirlinck" Chong Yidong
219man/search.texi "Luc Teirlinck" 219man/search.texi "Luc Teirlinck"
220man/sending.texi 220man/sending.texi
221man/text.texi "Luc Teirlinck" Chong Yidong 221man/text.texi "Luc Teirlinck" Chong Yidong
@@ -235,7 +235,7 @@ SECTION READERS
235lispref/abbrevs.texi "Luc Teirlinck" 235lispref/abbrevs.texi "Luc Teirlinck"
236lispref/advice.texi Joakim Verona <joakim@verona.se> 236lispref/advice.texi Joakim Verona <joakim@verona.se>
237lispref/anti.texi 237lispref/anti.texi
238lispref/backups.texi "Luc Teirlinck" 238lispref/backups.texi "Luc Teirlinck" Chong Yidong
239lispref/buffers.texi "Luc Teirlinck" Chong Yidong 239lispref/buffers.texi "Luc Teirlinck" Chong Yidong
240lispref/calendar.texi Joakim Verona <joakim@verona.se> 240lispref/calendar.texi Joakim Verona <joakim@verona.se>
241lispref/commands.texi "Luc Teirlinck" 241lispref/commands.texi "Luc Teirlinck"
@@ -268,17 +268,17 @@ lispref/modes.texi Chong Yidong
268lispref/nonascii.texi "Luc Teirlinck" 268lispref/nonascii.texi "Luc Teirlinck"
269lispref/numbers.texi "Luc Teirlinck" Chong Yidong 269lispref/numbers.texi "Luc Teirlinck" Chong Yidong
270lispref/objects.texi "Luc Teirlinck" Chong Yidong 270lispref/objects.texi "Luc Teirlinck" Chong Yidong
271lispref/os.texi "Luc Teirlinck" 271lispref/os.texi "Luc Teirlinck" Chong Yidong
272lispref/positions.texi "Luc Teirlinck" Chong Yidong 272lispref/positions.texi "Luc Teirlinck" Chong Yidong
273lispref/processes.texi 273lispref/processes.texi
274lispref/searching.texi "Luc Teirlinck" 274lispref/searching.texi "Luc Teirlinck"
275lispref/sequences.texi "Luc Teirlinck" 275lispref/sequences.texi "Luc Teirlinck" Chong Yidong
276lispref/streams.texi "Luc Teirlinck" Chong Yidong 276lispref/streams.texi "Luc Teirlinck" Chong Yidong
277lispref/strings.texi "Luc Teirlinck" Chong Yidong 277lispref/strings.texi "Luc Teirlinck" Chong Yidong
278lispref/symbols.texi "Luc Teirlinck" Chong Yidong 278lispref/symbols.texi "Luc Teirlinck" Chong Yidong
279lispref/syntax.texi "Luc Teirlinck" 279lispref/syntax.texi "Luc Teirlinck" Chong Yidong
280lispref/text.texi Chong Yidong 280lispref/text.texi Chong Yidong
281lispref/tips.texi "Luc Teirlinck" 281lispref/tips.texi "Luc Teirlinck" Chong Yidong
282lispref/variables.texi "Luc Teirlinck" Chong Yidong 282lispref/variables.texi "Luc Teirlinck" Chong Yidong
283lispref/windows.texi "Luc Teirlinck" Chong Yidong 283lispref/windows.texi "Luc Teirlinck" Chong Yidong
284 284
diff --git a/etc/NEWS b/etc/NEWS
index 75854dfc889..45893c99211 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -774,8 +774,10 @@ multiple files, and C-x d passes it to `dired'.
774*** A numeric prefix argument of `info' selects an Info buffer 774*** A numeric prefix argument of `info' selects an Info buffer
775with the number appended to the *info* buffer name (e.g. "*info*<2>"). 775with the number appended to the *info* buffer name (e.g. "*info*<2>").
776 776
777*** Regexp isearch (C-M-s and C-M-r) can search through multiple nodes. 777*** isearch in Info uses Info-search and searches through multiple nodes.
778Failed isearch wraps to the top/final node. 778Failed isearch wraps to the top/final node. The user option
779`Info-isearch-search' controls whether to use Info-search or the
780default isearch search function.
779 781
780*** New search commands: `Info-search-case-sensitively' (bound to S), 782*** New search commands: `Info-search-case-sensitively' (bound to S),
781`Info-search-backward', and `Info-search-next' which repeats the last 783`Info-search-backward', and `Info-search-next' which repeats the last
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index b18ad4d5bc4..f7ad108cfaa 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,12 +1,54 @@
12005-02-24 Luc Teirlinck <teirllm@auburn.edu>
2
3 * frame.el (blink-cursor-mode): Add :group keyword.
4
52005-02-24 Ulf Jasper <ulf.jasper@web.de>
6
7 * calendar/icalendar.el (icalendar--decode-isodatetime): New
8 optional argument DAY-SHIFT.
9 (icalendar-export-region): Fix coding-system-for-write.
10 (icalendar--convert-ical-to-diary): Shift end-day of all-day
11 events by one.
12
132005-02-24 Stefan Monnier <monnier@iro.umontreal.ca>
14
15 * textmodes/tex-mode.el (tex-font-lock-keywords-3): #n is atomic.
16
172005-02-24 Kim F. Storm <storm@cua.dk>
18
19 * international/iso-acc.el (iso-accents-compose): Fix crash
20 during redisplay. Call force-window-update after read-event
21 and delete-region to signal that window is not accurate.
22
232005-02-23 Richard M. Stallman <rms@gnu.org>
24
25 * calendar/appt.el (appt-time-msg-list): 3rd elt of each
26 appointment says it was explicitly made.
27 (appt-add): Set the 3rd element.
28 (appt-make-list): Preserve explicit appointments.
29
30 * subr.el (find-tag-default): Catch errors in forward-sexp.
31
322005-02-23 Juri Linkov <juri@jurta.org>
33
34 * info.el (Info-isearch-search): New defcustom.
35 (Info-isearch-search): Call the default isearch function
36 when Info-isearch-search is nil.
37 (Info-isearch-wrap): Use variable Info-isearch-search.
38
392005-02-22 Luc Teirlinck <teirllm@auburn.edu>
40
41 * cus-edit.el: Comment change.
42
12005-02-22 Kim F. Storm <storm@cua.dk> 432005-02-22 Kim F. Storm <storm@cua.dk>
2 44
3 * progmodes/hideif.el (hide-ifdef-use-define-alist): Use 45 * progmodes/hideif.el (hide-ifdef-use-define-alist):
4 completing-read. Suggested by Juan-Leon Lahoz Garcia. 46 Use completing-read. Suggested by Juan-Leon Lahoz Garcia.
5 47
62005-02-22 Simon Josefsson <jas@extundo.com> 482005-02-22 Simon Josefsson <jas@extundo.com>
7 49
8 * net/browse-url.el (browse-url-netscape-new-window-is-tab): New 50 * net/browse-url.el (browse-url-netscape-new-window-is-tab):
9 variable. 51 New variable.
10 (browse-url-netscape): Use it. Suggested by "Johann 'Myrkraverk' 52 (browse-url-netscape): Use it. Suggested by "Johann 'Myrkraverk'
11 Oskarsson" <myrkraverk@users.sourceforget.net>. 53 Oskarsson" <myrkraverk@users.sourceforget.net>.
12 54
diff --git a/lisp/calendar/appt.el b/lisp/calendar/appt.el
index e6ff2868592..e11129414d3 100644
--- a/lisp/calendar/appt.el
+++ b/lisp/calendar/appt.el
@@ -189,9 +189,11 @@ Only relevant if reminders are being displayed in a window."
189Use `appt-add' and `appt-delete' to add and delete appointments. 189Use `appt-add' and `appt-delete' to add and delete appointments.
190The original list is generated from today's `diary-entries-list', and 190The original list is generated from today's `diary-entries-list', and
191can be regenerated using the function `appt-check'. 191can be regenerated using the function `appt-check'.
192Each element of the generated list has the form (MINUTES) STRING; where 192Each element of the generated list has the form (MINUTES STRING [FLAG]); where
193MINUTES is the time in minutes of the appointment after midnight, and 193MINUTES is the time in minutes of the appointment after midnight, and
194STRING is the description of the appointment.") 194STRING is the description of the appointment.
195FLAG, if non-nil, says that the element was made with `appt-add'
196so calling `appt-make-list' again should preserve it.")
195 197
196(defconst appt-max-time 1439 198(defconst appt-max-time 1439
197 "11:59pm in minutes - number of minutes in a day minus 1.") 199 "11:59pm in minutes - number of minutes in a day minus 1.")
@@ -493,7 +495,7 @@ The time should be in either 24 hour format or am/pm format."
493 (error "Unacceptable time-string")) 495 (error "Unacceptable time-string"))
494 (let* ((appt-time-string (concat new-appt-time " " new-appt-msg)) 496 (let* ((appt-time-string (concat new-appt-time " " new-appt-msg))
495 (appt-time (list (appt-convert-time new-appt-time))) 497 (appt-time (list (appt-convert-time new-appt-time)))
496 (time-msg (cons appt-time (list appt-time-string)))) 498 (time-msg (list appt-time appt-time-string t)))
497 (setq appt-time-msg-list (nconc appt-time-msg-list (list time-msg))) 499 (setq appt-time-msg-list (nconc appt-time-msg-list (list time-msg)))
498 (setq appt-time-msg-list (appt-sort-list appt-time-msg-list)))) 500 (setq appt-time-msg-list (appt-sort-list appt-time-msg-list))))
499 501
@@ -525,12 +527,15 @@ The time should be in either 24 hour format or am/pm format."
525 (defvar diary-entries-list)) 527 (defvar diary-entries-list))
526;;;###autoload 528;;;###autoload
527(defun appt-make-list () 529(defun appt-make-list ()
528 "Create the appointments list from today's diary buffer. 530 "Update the appointments list from today's diary buffer.
529The time must be at the beginning of a line for it to be 531The time must be at the beginning of a line for it to be
530put in the appointments list (see examples in documentation of 532put in the appointments list (see examples in documentation of
531the function `appt-check'). We assume that the variables DATE and 533the function `appt-check'). We assume that the variables DATE and
532NUMBER hold the arguments that `list-diary-entries' received. 534NUMBER hold the arguments that `list-diary-entries' received.
533They specify the range of dates that the diary is being processed for." 535They specify the range of dates that the diary is being processed for.
536
537Any appointments made with `appt-add' are not affected by this
538function."
534 539
535 ;; We have something to do if the range of dates that the diary is 540 ;; We have something to do if the range of dates that the diary is
536 ;; considering includes the current date. 541 ;; considering includes the current date.
@@ -544,7 +549,11 @@ They specify the range of dates that the diary is being processed for."
544 number))))) 549 number)))))
545 (save-excursion 550 (save-excursion
546 ;; Clear the appointments list, then fill it in from the diary. 551 ;; Clear the appointments list, then fill it in from the diary.
547 (setq appt-time-msg-list nil) 552 (dolist (elt appt-time-msg-list)
553 ;; Delete any entries that were not made with appt-add.
554 (unless (nth 2 elt)
555 (setq appt-time-msg-list
556 (delq elt appt-time-msg-list))))
548 (if diary-entries-list 557 (if diary-entries-list
549 558
550 ;; Cycle through the entry-list (diary-entries-list) 559 ;; Cycle through the entry-list (diary-entries-list)
diff --git a/lisp/calendar/icalendar.el b/lisp/calendar/icalendar.el
index 2f0be116ed1..fe127be3990 100644
--- a/lisp/calendar/icalendar.el
+++ b/lisp/calendar/icalendar.el
@@ -90,7 +90,7 @@
90 90
91;;; Code: 91;;; Code:
92 92
93(defconst icalendar-version 0.09 93(defconst icalendar-version 0.10
94 "Version number of icalendar.el.") 94 "Version number of icalendar.el.")
95 95
96;; ====================================================================== 96;; ======================================================================
@@ -360,12 +360,16 @@ children."
360 (append result (list (list param-name param-value))))))) 360 (append result (list (list param-name param-value)))))))
361 result)) 361 result))
362 362
363(defun icalendar--decode-isodatetime (isodatetimestring) 363(defun icalendar--decode-isodatetime (isodatetimestring &optional day-shift)
364 "Return ISODATETIMESTRING in format like `decode-time'. 364 "Return ISODATETIMESTRING in format like `decode-time'.
365Converts from ISO-8601 to Emacs representation. If ISODATETIMESTRING 365Converts from ISO-8601 to Emacs representation. If
366specifies UTC time (trailing letter Z) the decoded time is given in 366ISODATETIMESTRING specifies UTC time (trailing letter Z) the
367the local time zone! FIXME: TZID-attributes are ignored....! FIXME: 367decoded time is given in the local time zone! If optional
368multiple comma-separated values should be allowed!" 368parameter DAY-SHIFT is non-nil the result is shifted by DAY-SHIFT
369days.
370
371FIXME: TZID-attributes are ignored....!
372FIXME: multiple comma-separated values should be allowed!"
369 (icalendar--dmsg isodatetimestring) 373 (icalendar--dmsg isodatetimestring)
370 (if isodatetimestring 374 (if isodatetimestring
371 ;; day/month/year must be present 375 ;; day/month/year must be present
@@ -387,6 +391,15 @@ multiple comma-separated values should be allowed!"
387 (char-equal ?Z (aref isodatetimestring 15))) 391 (char-equal ?Z (aref isodatetimestring 15)))
388 ;; if not UTC add current-time-zone offset 392 ;; if not UTC add current-time-zone offset
389 (setq second (+ (car (current-time-zone)) second))) 393 (setq second (+ (car (current-time-zone)) second)))
394 ;; shift if necessary
395 (if day-shift
396 (let ((mdy (calendar-gregorian-from-absolute
397 (+ (calendar-absolute-from-gregorian
398 (list month day year))
399 day-shift))))
400 (setq month (nth 0 mdy))
401 (setq day (nth 1 mdy))
402 (setq year (nth 2 mdy))))
390 ;; create the decoded date-time 403 ;; create the decoded date-time
391 ;; FIXME!?! 404 ;; FIXME!?!
392 (condition-case nil 405 (condition-case nil
@@ -1083,7 +1096,7 @@ FExport diary data into iCalendar file: ")
1083 1096
1084 ;; we're done, insert everything into the file 1097 ;; we're done, insert everything into the file
1085 (save-current-buffer 1098 (save-current-buffer
1086 (let ((coding-system-for-write 'utf8)) 1099 (let ((coding-system-for-write 'utf-8))
1087 (set-buffer (find-file ical-filename)) 1100 (set-buffer (find-file ical-filename))
1088 (goto-char (point-max)) 1101 (goto-char (point-max))
1089 (insert "BEGIN:VCALENDAR") 1102 (insert "BEGIN:VCALENDAR")
@@ -1284,7 +1297,7 @@ written into the buffer ` *icalendar-errors*'."
1284 (unt 1297 (unt
1285 (icalendar--datetime-to-diary-date 1298 (icalendar--datetime-to-diary-date
1286 (icalendar--decode-isodatetime 1299 (icalendar--decode-isodatetime
1287 until)))) 1300 until -1))))
1288 (setq diary-string 1301 (setq diary-string
1289 (format 1302 (format
1290 (concat "%%%%(and " 1303 (concat "%%%%(and "
@@ -1297,7 +1310,7 @@ written into the buffer ` *icalendar-errors*'."
1297 dtstart) 1310 dtstart)
1298 (icalendar--datetime-to-diary-date 1311 (icalendar--datetime-to-diary-date
1299 (icalendar--decode-isodatetime 1312 (icalendar--decode-isodatetime
1300 until))))) 1313 until -1)))))
1301 (setq diary-string 1314 (setq diary-string
1302 (format "%%%%(and (diary-cyclic %d %s))" 1315 (format "%%%%(and (diary-cyclic %d %s))"
1303 (* interval 7) 1316 (* interval 7)
@@ -1369,7 +1382,7 @@ written into the buffer ` *icalendar-errors*'."
1369 e 'DTSTART)))) 1382 e 'DTSTART))))
1370 (de (icalendar--datetime-to-diary-date 1383 (de (icalendar--datetime-to-diary-date
1371 (icalendar--decode-isodatetime 1384 (icalendar--decode-isodatetime
1372 until)))) 1385 until -1))))
1373 (setq diary-string 1386 (setq diary-string
1374 (format 1387 (format
1375 "%%%%(and (diary-block %s %s))" 1388 "%%%%(and (diary-block %s %s))"
@@ -1406,11 +1419,14 @@ written into the buffer ` *icalendar-errors*'."
1406 (format "......")))) 1419 (format "......"))))
1407 (icalendar--split-value rdate))) 1420 (icalendar--split-value rdate)))
1408 ;; non-recurring event 1421 ;; non-recurring event
1409 ;; long event 1422 ;; all-day event
1410 ((not (string= start-d end-d)) 1423 ((not (string= start-d end-d))
1411 (icalendar--dmsg "non-recurring event") 1424 (icalendar--dmsg "non-recurring event")
1412 (let ((ds (icalendar--datetime-to-diary-date dtstart)) 1425 (let ((ds (icalendar--datetime-to-diary-date dtstart))
1413 (de (icalendar--datetime-to-diary-date dtend))) 1426 (de (icalendar--datetime-to-diary-date
1427 (icalendar--decode-isodatetime
1428 (icalendar--get-event-property e 'DTEND)
1429 -1))))
1414 (setq diary-string 1430 (setq diary-string
1415 (format "%%%%(and (diary-block %s %s))" 1431 (format "%%%%(and (diary-block %s %s))"
1416 ds de))) 1432 ds de)))
diff --git a/lisp/cus-edit.el b/lisp/cus-edit.el
index 71fe7e18fe4..85772094c9a 100644
--- a/lisp/cus-edit.el
+++ b/lisp/cus-edit.el
@@ -35,7 +35,7 @@
35;; that the user will run with M-x, and `Custom-' for interactive commands. 35;; that the user will run with M-x, and `Custom-' for interactive commands.
36 36
37;; The identity of a customize option is represented by a Lisp symbol. 37;; The identity of a customize option is represented by a Lisp symbol.
38;; There is the following values associated with an option. 38;; The following values are associated with an option.
39 39
40;; 0. The current value. 40;; 0. The current value.
41 41
@@ -48,42 +48,42 @@
48 48
49;; 1. The widget value. 49;; 1. The widget value.
50 50
51;; This is the value shown in the widget in a customize buffer. 51;; This is the value shown in the widget in a customize buffer.
52 52
53;; 2. The customized value. 53;; 2. The customized value.
54 54
55;; This is the last value given to the option through customize. 55;; This is the last value given to the option through customize.
56 56
57;; It is stored in the 'customized-value' property of the option, in a 57;; It is stored in the 'customized-value' property of the option, in a
58;; cons-cell whose car evaluate to the customized value. 58;; cons-cell whose car evaluates to the customized value.
59 59
60;; 3. The saved value. 60;; 3. The saved value.
61 61
62;; This is last value saved from customize. 62;; This is last value saved from customize.
63 63
64;; It is stored in the 'saved-value' property of the option, in a 64;; It is stored in the 'saved-value' property of the option, in a
65;; cons-cell whose car evaluate to the saved value. 65;; cons-cell whose car evaluates to the saved value.
66 66
67;; 4. The standard value. 67;; 4. The standard value.
68 68
69;; This is the value given in the 'defcustom' declaration. 69;; This is the value given in the 'defcustom' declaration.
70 70
71;; It is stored in the 'standard-value' property of the option, in a 71;; It is stored in the 'standard-value' property of the option, in a
72;; cons-cell whose car evaluate to the standard value. 72;; cons-cell whose car evaluates to the standard value.
73 73
74;; 5. The "think" value. 74;; 5. The "think" value.
75 75
76;; This is what customize think the current value should be. 76;; This is what customize thinks the current value should be.
77 77
78;; This is the customize value, if any such value exists, otherwise 78;; This is the customized value, if any such value exists, otherwise
79;; the saved value, if that exists, and as a last resort the standard 79;; the saved value, if that exists, and as a last resort the standard
80;; value. 80;; value.
81 81
82;; The reason for storing values unevaluated: This is so you can have 82;; The reason for storing values unevaluated: This is so you can have
83;; values that depend on the environment. For example, you can have a 83;; values that depend on the environment. For example, you can have a
84;; valiable that has one value when Emacs is running under a window 84;; variable that has one value when Emacs is running under a window
85;; system, and another value on a tty. Since the evaluation is only done 85;; system, and another value on a tty. Since the evaluation is only done
86;; when the variable is firsty initialized, this is only relevant for the 86;; when the variable is first initialized, this is only relevant for the
87;; saved (and standard) values, but affect others values for 87;; saved (and standard) values, but affect others values for
88;; compatibility. 88;; compatibility.
89 89
@@ -103,8 +103,8 @@
103;; The widget value is different from the current value. 103;; The widget value is different from the current value.
104 104
105;; 2. changed 105;; 2. changed
106 106
107;; The current value is different from the "think" value. 107;; The current value is different from the "think" value.
108 108
109;; 3. set 109;; 3. set
110 110
@@ -120,7 +120,11 @@
120 120
121;; 6. rogue 121;; 6. rogue
122 122
123;; There are no standard value. 123;; There is no standard value. This means that the variable was
124;; not defined with defcustom. You can not create a Custom buffer
125;; for such variables using the normal interactive Custom commands.
126;; However, such Custom buffers can be created in other ways, for
127;; instance, by calling `customize-option' non-interactively.
124 128
125;; 7. hidden 129;; 7. hidden
126 130
@@ -129,7 +133,7 @@
129;; 8. mismatch 133;; 8. mismatch
130 134
131;; The widget value is not valid member of the :type specified for the 135;; The widget value is not valid member of the :type specified for the
132;; option. 136;; option.
133 137
134;;; Code: 138;;; Code:
135 139
diff --git a/lisp/frame.el b/lisp/frame.el
index 5da549fd73e..6e04537731d 100644
--- a/lisp/frame.el
+++ b/lisp/frame.el
@@ -1273,6 +1273,7 @@ cursor display. On a text-only terminal, this is not implemented."
1273 emacs-quick-startup 1273 emacs-quick-startup
1274 (eq system-type 'ms-dos) 1274 (eq system-type 'ms-dos)
1275 (not (memq window-system '(x w32))))) 1275 (not (memq window-system '(x w32)))))
1276 :group 'cursor
1276 :global t 1277 :global t
1277 (if blink-cursor-idle-timer (cancel-timer blink-cursor-idle-timer)) 1278 (if blink-cursor-idle-timer (cancel-timer blink-cursor-idle-timer))
1278 (if blink-cursor-timer (cancel-timer blink-cursor-timer)) 1279 (if blink-cursor-timer (cancel-timer blink-cursor-timer))
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index 3a9a24b57ce..b994e6520db 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,3 +1,24 @@
12005-02-24 Reiner Steib <Reiner.Steib@gmx.de>
2
3 * nnheader.el (nnheader-find-file-noselect): Added doc string.
4
5 * nnfolder.el (nnfolder-read-folder): Use RAWFILE for
6 `nnheader-find-file-noselect' to avoid
7 `large-file-warning-threshold'.
8
9 * gnus-sum.el (gnus-summary-caesar-message): Apply
10 `gnus-treat-article' after rotation.
11
12 * gnus-group.el (gnus-group-clear-data): Mention process/prefix in
13 doc string.
14
152005-02-22 Arne J,Ax(Brgensen <arne@arnested.dk>
16
17 * smime.el (smime-sign-buffer): Signal an error if
18 `smime-sign-region' fails.
19 (smime-encrypt-buffer): Signal an error if `smime-encrypt-region'
20 fails.
21
12005-02-21 Reiner Steib <Reiner.Steib@gmx.de> 222005-02-21 Reiner Steib <Reiner.Steib@gmx.de>
2 23
3 * gnus-art.el (gnus-parse-news-url, gnus-button-handle-news): 24 * gnus-art.el (gnus-parse-news-url, gnus-button-handle-news):
@@ -12,8 +33,8 @@
12 33
13 * mml.el (mime-to-mml): Ditto. 34 * mml.el (mime-to-mml): Ditto.
14 35
15 * rfc2047.el (rfc2047-encode-parameter): Use ietf-drums-tspecials. 36 * rfc2047.el (rfc2047-quote-decoded-words-containing-tspecials):
16 (rfc2047-quote-decoded-words-containing-tspecials): New variable. 37 New variable.
17 (rfc2047-decode-region): Quote decoded words containing special 38 (rfc2047-decode-region): Quote decoded words containing special
18 characters when rfc2047-quote-decoded-words-containing-tspecials 39 characters when rfc2047-quote-decoded-words-containing-tspecials
19 is non-nil. 40 is non-nil.
@@ -146,7 +167,7 @@
146 167
147 * gnus-start.el (gnus-setup-news): Honor user's setting to 168 * gnus-start.el (gnus-setup-news): Honor user's setting to
148 gnus-message-archive-method. Suggested by Lute Kamstra 169 gnus-message-archive-method. Suggested by Lute Kamstra
149 <Lute.Kamstra@xs4all.nl>. 170 <lute@gnu.org>.
150 171
1512004-12-02 Katsumi Yamaoka <yamaoka@jpl.org> 1722004-12-02 Katsumi Yamaoka <yamaoka@jpl.org>
152 173
diff --git a/lisp/gnus/gnus-art.el b/lisp/gnus/gnus-art.el
index 0cfc433bd5e..1fe9348f759 100644
--- a/lisp/gnus/gnus-art.el
+++ b/lisp/gnus/gnus-art.el
@@ -6683,8 +6683,12 @@ specified by `gnus-button-alist'."
6683 (save-excursion 6683 (save-excursion
6684 (set-buffer gnus-summary-buffer) 6684 (set-buffer gnus-summary-buffer)
6685 (if server 6685 (if server
6686 (let ((gnus-refer-article-method (list (list 'nntp server))) 6686 (let ((gnus-refer-article-method
6687 (nconc (list (list 'nntp server))
6688 gnus-refer-article-method))
6687 (nntp-port-number (or port "nntp"))) 6689 (nntp-port-number (or port "nntp")))
6690 (gnus-message 7 "Fetching %s with %s"
6691 message-id gnus-refer-article-method)
6688 (gnus-summary-refer-article message-id)) 6692 (gnus-summary-refer-article message-id))
6689 (gnus-summary-refer-article message-id)))) 6693 (gnus-summary-refer-article message-id))))
6690 (group 6694 (group
diff --git a/lisp/gnus/gnus-group.el b/lisp/gnus/gnus-group.el
index 5892235deac..767bdacb78e 100644
--- a/lisp/gnus/gnus-group.el
+++ b/lisp/gnus/gnus-group.el
@@ -3028,7 +3028,8 @@ sort in reverse order."
3028;;; Clearing data 3028;;; Clearing data
3029 3029
3030(defun gnus-group-clear-data (&optional arg) 3030(defun gnus-group-clear-data (&optional arg)
3031 "Clear all marks and read ranges from the current group." 3031 "Clear all marks and read ranges from the current group.
3032Obeys the process/prefix convention."
3032 (interactive "P") 3033 (interactive "P")
3033 (gnus-group-iterate arg 3034 (gnus-group-iterate arg
3034 (lambda (group) 3035 (lambda (group)
diff --git a/lisp/gnus/gnus-sum.el b/lisp/gnus/gnus-sum.el
index 5e276fcf915..7914e9b3e91 100644
--- a/lisp/gnus/gnus-sum.el
+++ b/lisp/gnus/gnus-sum.el
@@ -8859,7 +8859,9 @@ forward."
8859 (let ((start (window-start)) 8859 (let ((start (window-start))
8860 buffer-read-only) 8860 buffer-read-only)
8861 (message-caesar-buffer-body arg) 8861 (message-caesar-buffer-body arg)
8862 (set-window-start (get-buffer-window (current-buffer)) start)))))) 8862 (set-window-start (get-buffer-window (current-buffer)) start)))))
8863 ;; Create buttons and stuff...
8864 (gnus-treat-article nil))
8863 8865
8864(autoload 'unmorse-region "morse" 8866(autoload 'unmorse-region "morse"
8865 "Convert morse coded text in region to ordinary ASCII text." 8867 "Convert morse coded text in region to ordinary ASCII text."
diff --git a/lisp/gnus/nnfolder.el b/lisp/gnus/nnfolder.el
index bf8fc9bac9a..f50530ab459 100644
--- a/lisp/gnus/nnfolder.el
+++ b/lisp/gnus/nnfolder.el
@@ -873,7 +873,7 @@ deleted. Point is left where the deleted region was."
873 (buffer (set-buffer 873 (buffer (set-buffer
874 (let ((nnheader-file-coding-system 874 (let ((nnheader-file-coding-system
875 nnfolder-file-coding-system)) 875 nnfolder-file-coding-system))
876 (nnheader-find-file-noselect file))))) 876 (nnheader-find-file-noselect file t)))))
877 (mm-enable-multibyte) ;; Use multibyte buffer for future copying. 877 (mm-enable-multibyte) ;; Use multibyte buffer for future copying.
878 (if (equal (cadr (assoc group nnfolder-scantime-alist)) 878 (if (equal (cadr (assoc group nnfolder-scantime-alist))
879 (nth 5 (file-attributes file))) 879 (nth 5 (file-attributes file)))
diff --git a/lisp/gnus/nnheader.el b/lisp/gnus/nnheader.el
index 7df5ecae205..6224f9718f1 100644
--- a/lisp/gnus/nnheader.el
+++ b/lisp/gnus/nnheader.el
@@ -951,6 +951,8 @@ find-file-hooks, etc.
951 (nnheader-insert-file-contents file))))))) 951 (nnheader-insert-file-contents file)))))))
952 952
953(defun nnheader-find-file-noselect (&rest args) 953(defun nnheader-find-file-noselect (&rest args)
954 "Open a file with some variables bound.
955See `find-file-noselect' for the arguments."
954 (let ((format-alist nil) 956 (let ((format-alist nil)
955 (auto-mode-alist (mm-auto-mode-alist)) 957 (auto-mode-alist (mm-auto-mode-alist))
956 (default-major-mode 'fundamental-mode) 958 (default-major-mode 'fundamental-mode)
diff --git a/lisp/gnus/smime.el b/lisp/gnus/smime.el
index 1d20a3f5c58..cd921719045 100644
--- a/lisp/gnus/smime.el
+++ b/lisp/gnus/smime.el
@@ -332,16 +332,17 @@ is expected to contain of a PEM encoded certificate."
332KEYFILE should contain a PEM encoded key and certificate." 332KEYFILE should contain a PEM encoded key and certificate."
333 (interactive) 333 (interactive)
334 (with-current-buffer (or buffer (current-buffer)) 334 (with-current-buffer (or buffer (current-buffer))
335 (smime-sign-region 335 (unless (smime-sign-region
336 (point-min) (point-max) 336 (point-min) (point-max)
337 (if keyfile 337 (if keyfile
338 keyfile 338 keyfile
339 (smime-get-key-with-certs-by-email 339 (smime-get-key-with-certs-by-email
340 (completing-read 340 (completing-read
341 (concat "Sign using which key? " 341 (concat "Sign using which key? "
342 (if smime-keys (concat "(default " (caar smime-keys) ") ") 342 (if smime-keys (concat "(default " (caar smime-keys) ") ")
343 "")) 343 ""))
344 smime-keys nil nil (car-safe (car-safe smime-keys)))))))) 344 smime-keys nil nil (car-safe (car-safe smime-keys))))))
345 (error "Signing failed"))))
345 346
346(defun smime-encrypt-buffer (&optional certfiles buffer) 347(defun smime-encrypt-buffer (&optional certfiles buffer)
347 "S/MIME encrypt BUFFER for recipients specified in CERTFILES. 348 "S/MIME encrypt BUFFER for recipients specified in CERTFILES.
@@ -350,11 +351,12 @@ a PEM encoded key and certificate. Uses current buffer if BUFFER is
350nil." 351nil."
351 (interactive) 352 (interactive)
352 (with-current-buffer (or buffer (current-buffer)) 353 (with-current-buffer (or buffer (current-buffer))
353 (smime-encrypt-region 354 (unless (smime-encrypt-region
354 (point-min) (point-max) 355 (point-min) (point-max)
355 (or certfiles 356 (or certfiles
356 (list (read-file-name "Recipient's S/MIME certificate: " 357 (list (read-file-name "Recipient's S/MIME certificate: "
357 smime-certificate-directory nil)))))) 358 smime-certificate-directory nil))))
359 (error "Encryption failed"))))
358 360
359;; Verify+decrypt region 361;; Verify+decrypt region
360 362
diff --git a/lisp/info.el b/lisp/info.el
index e6f85d19fe1..4905bf0844e 100644
--- a/lisp/info.el
+++ b/lisp/info.el
@@ -201,6 +201,15 @@ a tab, a carriage return (control-M), a newline, and `]+'."
201 :type 'regexp 201 :type 'regexp
202 :group 'info) 202 :group 'info)
203 203
204(defcustom Info-isearch-search t
205 "*If non-nil, isearch invoked in Info mode uses `Info-search' function.
206This allows isearch to search through multiple nodes.
207When isearch fails, it wraps and restarts the search from the
208top/final node depending on search direction."
209 :version "22.1"
210 :type 'boolean
211 :group 'info)
212
204(defcustom Info-mode-hook 213(defcustom Info-mode-hook
205 ;; Try to obey obsolete Info-fontify settings. 214 ;; Try to obey obsolete Info-fontify settings.
206 (unless (and (boundp 'Info-fontify) (null Info-fontify)) 215 (unless (and (boundp 'Info-fontify) (null Info-fontify))
@@ -1637,23 +1646,21 @@ If DIRECTION is `backward', search in the reverse direction."
1637 (Info-search regexp bound noerror count 'backward)) 1646 (Info-search regexp bound noerror count 'backward))
1638 1647
1639(defun Info-isearch-search () 1648(defun Info-isearch-search ()
1640 (cond 1649 (if (and Info-isearch-search (not isearch-word))
1641 (isearch-word 1650 (lambda (string &optional bound noerror count)
1642 (if isearch-forward 'word-search-forward 'word-search-backward)) 1651 (condition-case nil
1643 (isearch-regexp 1652 (progn
1644 (lambda (regexp bound noerror) 1653 (Info-search (if isearch-regexp string (regexp-quote string))
1645 (condition-case nil 1654 bound noerror count
1646 (progn 1655 (unless isearch-forward 'backward))
1647 (Info-search regexp bound noerror nil 1656 (point))
1648 (unless isearch-forward 'backward)) 1657 (error nil)))
1649 (point)) 1658 (let ((isearch-search-fun-function nil))
1650 (error nil)))) 1659 (isearch-search-fun))))
1651 (t
1652 (if isearch-forward 'search-forward 'search-backward))))
1653 1660
1654(defun Info-isearch-wrap () 1661(defun Info-isearch-wrap ()
1655 (if isearch-regexp 1662 (when (and Info-isearch-search (not isearch-word))
1656 (if isearch-forward (Info-top-node) (Info-final-node)) 1663 (if isearch-forward (Info-top-node) (Info-final-node))
1657 (goto-char (if isearch-forward (point-min) (point-max))))) 1664 (goto-char (if isearch-forward (point-min) (point-max)))))
1658 1665
1659(defun Info-isearch-push-state () 1666(defun Info-isearch-push-state ()
diff --git a/lisp/international/iso-acc.el b/lisp/international/iso-acc.el
index 971d1d128e6..6c94f4aa562 100644
--- a/lisp/international/iso-acc.el
+++ b/lisp/international/iso-acc.el
@@ -290,6 +290,16 @@ the language you choose)."
290 (iso-accents-compose prompt) 290 (iso-accents-compose prompt)
291 (vector last-input-char))) 291 (vector last-input-char)))
292 292
293
294;; The iso-accents-compose function is called deep inside Emacs' read
295;; key sequence machinery, so the call to read-event below actually
296;; recurses into that machinery. Doing that does not cause any
297;; problem on its own, but read-event will have marked the window's
298;; display matrix to be accurate -- which is broken by the subsequent
299;; call to delete-region. Therefore, we must call force-window-update
300;; after delete-region to explicitly clear the accurate state of the
301;; window's display matrix.
302
293(defun iso-accents-compose (prompt) 303(defun iso-accents-compose (prompt)
294 (let* ((first-char last-input-char) 304 (let* ((first-char last-input-char)
295 (list (assq first-char iso-accents-list)) 305 (list (assq first-char iso-accents-list))
@@ -308,7 +318,9 @@ the language you choose)."
308 (read-event)) 318 (read-event))
309 (insert first-char) 319 (insert first-char)
310 (prog1 (read-event) 320 (prog1 (read-event)
311 (delete-region (1- (point)) (point))))) 321 (delete-region (1- (point)) (point))
322 ;; Display is no longer up-to-date.
323 (force-window-update (selected-window)))))
312 (entry (cdr (assq second-char list)))) 324 (entry (cdr (assq second-char list))))
313 (if entry 325 (if entry
314 ;; Found it: return the mapped char 326 ;; Found it: return the mapped char
diff --git a/lisp/subr.el b/lisp/subr.el
index 10094409ad6..7f5856f1f04 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -1969,13 +1969,16 @@ If there is no plausible default, return nil."
1969 (re-search-forward "\\(\\sw\\|\\s_\\)+" 1969 (re-search-forward "\\(\\sw\\|\\s_\\)+"
1970 (save-excursion (end-of-line) (point)) 1970 (save-excursion (end-of-line) (point))
1971 t)) 1971 t))
1972 (progn (goto-char (match-end 0)) 1972 (progn
1973 (buffer-substring-no-properties 1973 (goto-char (match-end 0))
1974 (point) 1974 (condition-case nil
1975 (progn (forward-sexp -1) 1975 (buffer-substring-no-properties
1976 (while (looking-at "\\s'") 1976 (point)
1977 (forward-char 1)) 1977 (progn (forward-sexp -1)
1978 (point)))) 1978 (while (looking-at "\\s'")
1979 (forward-char 1))
1980 (point)))
1981 (error nil)))
1979 nil))) 1982 nil)))
1980 1983
1981(defmacro with-syntax-table (table &rest body) 1984(defmacro with-syntax-table (table &rest body)
diff --git a/lisp/textmodes/tex-mode.el b/lisp/textmodes/tex-mode.el
index 1b7533b939b..dfe5bbfd758 100644
--- a/lisp/textmodes/tex-mode.el
+++ b/lisp/textmodes/tex-mode.el
@@ -1,7 +1,7 @@
1;;; tex-mode.el --- TeX, LaTeX, and SliTeX mode commands -*- coding: utf-8 -*- 1;;; tex-mode.el --- TeX, LaTeX, and SliTeX mode commands -*- coding: utf-8 -*-
2 2
3;; Copyright (C) 1985, 1986, 1989, 1992, 1994, 1995, 1996, 1997, 1998, 1999, 3;; Copyright (C) 1985, 1986, 1989, 1992, 1994, 1995, 1996, 1997, 1998, 1999,
4;; 2002, 2003, 2004 Free Software Foundation, Inc. 4;; 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
5 5
6;; Maintainer: FSF 6;; Maintainer: FSF
7;; Keywords: tex 7;; Keywords: tex
@@ -602,7 +602,7 @@ An alternative value is \" . \", if you use a font with a narrow period."
602 ;; degenerate to nasty complexity (because we try to match the 602 ;; degenerate to nasty complexity (because we try to match the
603 ;; closing brace, which forces trying all matching combinations). 603 ;; closing brace, which forces trying all matching combinations).
604 (arg "{\\(?:[^{}\\]\\|\\\\.\\|{[^}]*}\\)*")) 604 (arg "{\\(?:[^{}\\]\\|\\\\.\\|{[^}]*}\\)*"))
605 `((,(concat "[_^] *\\([^\n\\{}]\\|" slash general "\\|" arg "}\\)") 605 `((,(concat "[_^] *\\([^\n\\{}#]\\|" slash general "\\|#[0-9]\\|" arg "}\\)")
606 (1 (tex-font-lock-suscript (match-beginning 0)) 606 (1 (tex-font-lock-suscript (match-beginning 0))
607 append)))))) 607 append))))))
608 "Experimental expressions to highlight in TeX modes.") 608 "Experimental expressions to highlight in TeX modes.")
@@ -1027,10 +1027,8 @@ Entering SliTeX mode runs the hook `text-mode-hook', then the hook
1027 'tex-categorize-whitespace) 1027 'tex-categorize-whitespace)
1028 (set (make-local-variable 'facemenu-add-face-function) 1028 (set (make-local-variable 'facemenu-add-face-function)
1029 (lambda (face end) 1029 (lambda (face end)
1030 (let ((face-text (cdr (assq face tex-face-alist)))) 1030 (or (cdr (assq face tex-face-alist))
1031 (if face-text 1031 (error "Face %s not configured for %s mode" face mode-name))))
1032 face-text
1033 (error "Face %s not configured for %s mode" face mode-name)))))
1034 (set (make-local-variable 'facemenu-end-add-face) "}") 1032 (set (make-local-variable 'facemenu-end-add-face) "}")
1035 (set (make-local-variable 'facemenu-remove-face-function) t) 1033 (set (make-local-variable 'facemenu-remove-face-function) t)
1036 (set (make-local-variable 'font-lock-defaults) 1034 (set (make-local-variable 'font-lock-defaults)
diff --git a/lispref/ChangeLog b/lispref/ChangeLog
index 96f87a1a9e2..e7f05587e71 100644
--- a/lispref/ChangeLog
+++ b/lispref/ChangeLog
@@ -1,3 +1,16 @@
12005-02-24 Lute Kamstra <lute@gnu.org>
2
3 * modes.texi (Defining Minor Modes): Explain that INIT-VALUE,
4 LIGHTER, and KEYMAP can be omitted when KEYWORD-ARGS are used.
5
62005-02-23 Lute Kamstra <lute@gnu.org>
7
8 * modes.texi (Defining Minor Modes): define-minor-mode can be used
9 to define global minor modes as well.
10
11 * display.texi (Managing Overlays): overlay-buffer returns nil for
12 deleted overlays.
13
12005-02-22 Kim F. Storm <storm@cua.dk> 142005-02-22 Kim F. Storm <storm@cua.dk>
2 15
3 * minibuf.texi (Basic Completion): Allow symbols in addition to 16 * minibuf.texi (Basic Completion): Allow symbols in addition to
diff --git a/lispref/display.texi b/lispref/display.texi
index bccab7323e7..e873b112fa2 100644
--- a/lispref/display.texi
+++ b/lispref/display.texi
@@ -1339,7 +1339,8 @@ as an integer.
1339@end defun 1339@end defun
1340 1340
1341@defun overlay-buffer overlay 1341@defun overlay-buffer overlay
1342This function returns the buffer that @var{overlay} belongs to. 1342This function returns the buffer that @var{overlay} belongs to. It
1343returns @code{nil}, if @var{overlay} has been deleted.
1343@end defun 1344@end defun
1344 1345
1345@defun delete-overlay overlay 1346@defun delete-overlay overlay
diff --git a/lispref/modes.texi b/lispref/modes.texi
index d3f12d158b7..530044ac037 100644
--- a/lispref/modes.texi
+++ b/lispref/modes.texi
@@ -1,7 +1,7 @@
1@c -*-texinfo-*- 1@c -*-texinfo-*-
2@c This is part of the GNU Emacs Lisp Reference Manual. 2@c This is part of the GNU Emacs Lisp Reference Manual.
3@c Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1998, 1999, 2003, 2004 3@c Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1998, 1999,
4@c Free Software Foundation, Inc. 4@c 2003, 2004, 2005 Free Software Foundation, Inc.
5@c See the file elisp.texi for copying conditions. 5@c See the file elisp.texi for copying conditions.
6@setfilename ../info/modes 6@setfilename ../info/modes
7@node Modes, Documentation, Keymaps, Top 7@node Modes, Documentation, Keymaps, Top
@@ -1098,10 +1098,9 @@ characters are reserved for major modes.)
1098@subsection Defining Minor Modes 1098@subsection Defining Minor Modes
1099 1099
1100 The macro @code{define-minor-mode} offers a convenient way of 1100 The macro @code{define-minor-mode} offers a convenient way of
1101implementing a mode in one self-contained definition. It supports only 1101implementing a mode in one self-contained definition.
1102buffer-local minor modes, not global ones.
1103 1102
1104@defmac define-minor-mode mode doc [init-value [lighter [keymap keyword-args... body...]]] 1103@defmac define-minor-mode mode doc [init-value [lighter [keymap]]] keyword-args... body...
1105@tindex define-minor-mode 1104@tindex define-minor-mode
1106This macro defines a new minor mode whose name is @var{mode} (a 1105This macro defines a new minor mode whose name is @var{mode} (a
1107symbol). It defines a command named @var{mode} to toggle the minor 1106symbol). It defines a command named @var{mode} to toggle the minor
@@ -1122,8 +1121,10 @@ specifying bindings in this form:
1122(@var{key-sequence} . @var{definition}) 1121(@var{key-sequence} . @var{definition})
1123@end example 1122@end example
1124 1123
1125The @var{keyword-args} consist of keywords followed by corresponding 1124The above three arguments @var{init-value}, @var{lighter}, and
1126values. A few keywords have special meanings: 1125@var{keymap} can be (partially) omitted when @var{keyword-args} are
1126used. The @var{keyword-args} consist of keywords followed by
1127corresponding values. A few keywords have special meanings:
1127 1128
1128@table @code 1129@table @code
1129@item :global @var{global} 1130@item :global @var{global}
diff --git a/man/ChangeLog b/man/ChangeLog
index beb8925ec45..667bcea4606 100644
--- a/man/ChangeLog
+++ b/man/ChangeLog
@@ -1,3 +1,7 @@
12005-02-23 Lute Kamstra <lute@gnu.org>
2
3 * cmdargs.texi (Initial Options): Add cross reference.
4
12005-02-18 Jonathan Yavner <jyavner@member.fsf.org> 52005-02-18 Jonathan Yavner <jyavner@member.fsf.org>
2 6
3 * ses.texi: Add concept/function/variable indices (this work was 7 * ses.texi: Add concept/function/variable indices (this work was
diff --git a/man/cmdargs.texi b/man/cmdargs.texi
index a8d13da3563..a8b34e4095d 100644
--- a/man/cmdargs.texi
+++ b/man/cmdargs.texi
@@ -1,5 +1,6 @@
1@c This is part of the Emacs manual. 1@c This is part of the Emacs manual.
2@c Copyright (C) 1985,86,87,93,94,95,97,2001,03,2004 Free Software Foundation, Inc. 2@c Copyright (C) 1985, 86, 87, 93, 94, 95, 97,
3@c 2001, 03, 04, 2005 Free Software Foundation, Inc.
3@c See file emacs.texi for copying conditions. 4@c See file emacs.texi for copying conditions.
4@node Emacs Invocation, X Resources, GNU Free Documentation License, Top 5@node Emacs Invocation, X Resources, GNU Free Documentation License, Top
5@appendix Command Line Arguments for Emacs Invocation 6@appendix Command Line Arguments for Emacs Invocation
@@ -293,6 +294,8 @@ your own.
293@opindex --debug-init 294@opindex --debug-init
294@cindex errors in init file 295@cindex errors in init file
295Enable the Emacs Lisp debugger for errors in the init file. 296Enable the Emacs Lisp debugger for errors in the init file.
297@xref{Error Debugging,, Entering the Debugger on an Error, elisp, The
298GNU Emacs Lisp Reference Manual}.
296 299
297@item --unibyte 300@item --unibyte
298@opindex --unibyte 301@opindex --unibyte
diff --git a/src/ChangeLog b/src/ChangeLog
index d70ccc3d42d..bcde95958dd 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
12005-02-23 Lute Kamstra <lute@gnu.org>
2
3 * buffer.c (Foverlay_buffer): Doc fix.
4
12005-02-22 Kim F. Storm <storm@cua.dk> 52005-02-22 Kim F. Storm <storm@cua.dk>
2 6
3 * minibuf.c (Ftry_completion, Fall_completions): Allow both string 7 * minibuf.c (Ftry_completion, Fall_completions): Allow both string
diff --git a/src/buffer.c b/src/buffer.c
index 153b0ca0bb2..be4f4dcae69 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -1,6 +1,6 @@
1/* Buffer manipulation primitives for GNU Emacs. 1/* Buffer manipulation primitives for GNU Emacs.
2 Copyright (C) 1985,86,87,88,89,93,94,95,97,98, 1999, 2000, 2001, 02, 03, 2004 2 Copyright (C) 1985, 86, 87, 88, 89, 93, 94, 95, 97, 98, 99,
3 Free Software Foundation, Inc. 3 2000, 01, 02, 03, 04, 2005 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
@@ -3846,7 +3846,8 @@ DEFUN ("overlay-end", Foverlay_end, Soverlay_end, 1, 1, 0,
3846} 3846}
3847 3847
3848DEFUN ("overlay-buffer", Foverlay_buffer, Soverlay_buffer, 1, 1, 0, 3848DEFUN ("overlay-buffer", Foverlay_buffer, Soverlay_buffer, 1, 1, 0,
3849 doc: /* Return the buffer OVERLAY belongs to. */) 3849 doc: /* Return the buffer OVERLAY belongs to.
3850Return nil if OVERLAY has been deleted. */)
3850 (overlay) 3851 (overlay)
3851 Lisp_Object overlay; 3852 Lisp_Object overlay;
3852{ 3853{