aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaroly Lorentey2005-02-25 13:02:38 +0000
committerKaroly Lorentey2005-02-25 13:02:38 +0000
commit047ba4c2fb052fb5187226fe5589a1be9d36b687 (patch)
treed4c8a6e4c99ceea8a3d16dc02c4f33e904f5b6ea
parent37acc4209655b0a2267ee997cca8ebe42274b877 (diff)
parentff4d39263e40ffb88d9aee64f2e35b0e921c6553 (diff)
downloademacs-047ba4c2fb052fb5187226fe5589a1be9d36b687.tar.gz
emacs-047ba4c2fb052fb5187226fe5589a1be9d36b687.zip
Merged from miles@gnu.org--gnu-2005 (patch 28-30, 126-128)
Patches applied: * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-126 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-127 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-128 Merge from gnus--rel--5.10 * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-28 Update from CVS * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-29 Update from CVS * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-30 Update from CVS git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-301
-rw-r--r--admin/FOR-RELEASE20
-rw-r--r--etc/NEWS6
-rw-r--r--lisp/ChangeLog46
-rw-r--r--lisp/calendar/appt.el21
-rw-r--r--lisp/calendar/icalendar.el40
-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/ChangeLog8
-rw-r--r--lispref/modes.texi8
-rw-r--r--man/ChangeLog4
-rw-r--r--man/cmdargs.texi5
21 files changed, 224 insertions, 89 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 b4c65a77a9a..3e71209d05c 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -699,8 +699,10 @@ multiple files, and C-x d passes it to `dired'.
699*** A numeric prefix argument of `info' selects an Info buffer 699*** A numeric prefix argument of `info' selects an Info buffer
700with the number appended to the *info* buffer name (e.g. "*info*<2>"). 700with the number appended to the *info* buffer name (e.g. "*info*<2>").
701 701
702*** Regexp isearch (C-M-s and C-M-r) can search through multiple nodes. 702*** isearch in Info uses Info-search and searches through multiple nodes.
703Failed isearch wraps to the top/final node. 703Failed isearch wraps to the top/final node. The user option
704`Info-isearch-search' controls whether to use Info-search or the
705default isearch search function.
704 706
705*** New search commands: `Info-search-case-sensitively' (bound to S), 707*** New search commands: `Info-search-case-sensitively' (bound to S),
706`Info-search-backward', and `Info-search-next' which repeats the last 708`Info-search-backward', and `Info-search-next' which repeats the last
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index ada6badaee8..7d48d8704eb 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,16 +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
12005-02-22 Luc Teirlinck <teirllm@auburn.edu> 392005-02-22 Luc Teirlinck <teirllm@auburn.edu>
2 40
3 * cus-edit.el: Comment change. 41 * cus-edit.el: Comment change.
4 42
52005-02-22 Kim F. Storm <storm@cua.dk> 432005-02-22 Kim F. Storm <storm@cua.dk>
6 44
7 * progmodes/hideif.el (hide-ifdef-use-define-alist): Use 45 * progmodes/hideif.el (hide-ifdef-use-define-alist):
8 completing-read. Suggested by Juan-Leon Lahoz Garcia. 46 Use completing-read. Suggested by Juan-Leon Lahoz Garcia.
9 47
102005-02-22 Simon Josefsson <jas@extundo.com> 482005-02-22 Simon Josefsson <jas@extundo.com>
11 49
12 * net/browse-url.el (browse-url-netscape-new-window-is-tab): New 50 * net/browse-url.el (browse-url-netscape-new-window-is-tab):
13 variable. 51 New variable.
14 (browse-url-netscape): Use it. Suggested by "Johann 'Myrkraverk' 52 (browse-url-netscape): Use it. Suggested by "Johann 'Myrkraverk'
15 Oskarsson" <myrkraverk@users.sourceforget.net>. 53 Oskarsson" <myrkraverk@users.sourceforget.net>.
16 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/frame.el b/lisp/frame.el
index e581a586b3e..0fa10babf12 100644
--- a/lisp/frame.el
+++ b/lisp/frame.el
@@ -1344,6 +1344,7 @@ cursor display. On a text-only terminal, this is not implemented."
1344 emacs-quick-startup 1344 emacs-quick-startup
1345 (eq system-type 'ms-dos) 1345 (eq system-type 'ms-dos)
1346 (not (memq initial-window-system '(x w32))))) 1346 (not (memq initial-window-system '(x w32)))))
1347 :group 'cursor
1347 :global t 1348 :global t
1348 (if blink-cursor-idle-timer (cancel-timer blink-cursor-idle-timer)) 1349 (if blink-cursor-idle-timer (cancel-timer blink-cursor-idle-timer))
1349 (if blink-cursor-timer (cancel-timer blink-cursor-timer)) 1350 (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 b5467aa5921..7748a3529fa 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 b22e7886f2f..b318f224918 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -1981,13 +1981,16 @@ If there is no plausible default, return nil."
1981 (re-search-forward "\\(\\sw\\|\\s_\\)+" 1981 (re-search-forward "\\(\\sw\\|\\s_\\)+"
1982 (save-excursion (end-of-line) (point)) 1982 (save-excursion (end-of-line) (point))
1983 t)) 1983 t))
1984 (progn (goto-char (match-end 0)) 1984 (progn
1985 (buffer-substring-no-properties 1985 (goto-char (match-end 0))
1986 (point) 1986 (condition-case nil
1987 (progn (forward-sexp -1) 1987 (buffer-substring-no-properties
1988 (while (looking-at "\\s'") 1988 (point)
1989 (forward-char 1)) 1989 (progn (forward-sexp -1)
1990 (point)))) 1990 (while (looking-at "\\s'")
1991 (forward-char 1))
1992 (point)))
1993 (error nil)))
1991 nil))) 1994 nil)))
1992 1995
1993(defmacro with-syntax-table (table &rest body) 1996(defmacro with-syntax-table (table &rest body)
diff --git a/lisp/textmodes/tex-mode.el b/lisp/textmodes/tex-mode.el
index 4b878f4f240..d15b72c98ba 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 4d990a61f88..e7f05587e71 100644
--- a/lispref/ChangeLog
+++ b/lispref/ChangeLog
@@ -1,5 +1,13 @@
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
12005-02-23 Lute Kamstra <lute@gnu.org> 62005-02-23 Lute Kamstra <lute@gnu.org>
2 7
8 * modes.texi (Defining Minor Modes): define-minor-mode can be used
9 to define global minor modes as well.
10
3 * display.texi (Managing Overlays): overlay-buffer returns nil for 11 * display.texi (Managing Overlays): overlay-buffer returns nil for
4 deleted overlays. 12 deleted overlays.
5 13
diff --git a/lispref/modes.texi b/lispref/modes.texi
index 62f152e1d41..530044ac037 100644
--- a/lispref/modes.texi
+++ b/lispref/modes.texi
@@ -1100,7 +1100,7 @@ characters are reserved for major modes.)
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. 1101implementing a mode in one self-contained definition.
1102 1102
1103@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...
1104@tindex define-minor-mode 1104@tindex define-minor-mode
1105This 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
1106symbol). It defines a command named @var{mode} to toggle the minor 1106symbol). It defines a command named @var{mode} to toggle the minor
@@ -1121,8 +1121,10 @@ specifying bindings in this form:
1121(@var{key-sequence} . @var{definition}) 1121(@var{key-sequence} . @var{definition})
1122@end example 1122@end example
1123 1123
1124The @var{keyword-args} consist of keywords followed by corresponding 1124The above three arguments @var{init-value}, @var{lighter}, and
1125values. 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:
1126 1128
1127@table @code 1129@table @code
1128@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