changeset 58282:7c3f5740a5cc

*** empty log message ***
author Richard M. Stallman <rms@gnu.org>
date Tue, 16 Nov 2004 17:31:19 +0000
parents b6f9481dcccd
children c163562b2d59
files admin/FOR-RELEASE etc/NEWS lisp/ChangeLog lispref/ChangeLog src/ChangeLog
diffstat 5 files changed, 94 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/admin/FOR-RELEASE	Tue Nov 16 17:30:48 2004 +0000
+++ b/admin/FOR-RELEASE	Tue Nov 16 17:31:19 2004 +0000
@@ -2,10 +2,6 @@
 
 * NEW FEATURES
 
-** Test the mbox branch of Rmail.
-
-** Install the mbox branch of Rmail.
-
 ** Face remapping.
 
 ** Let mouse-1 follow links.
@@ -36,6 +32,45 @@
 
 ** Clean up flymake.el to follow Emacs Lisp conventions.
 
+* BUGS
+
+** Bug in url-http-parse-headers, reported in
+From: Vivek Dasmohapatra <vivek@zeus.com>
+Date: Tue, 28 Sep 2004 16:13:13 +0100
+
+Fetching a url with url-retrieve can reult in an anrbitrary buffer
+being killed if a 401 (or possibly a 407) result is encountered:
+
+url-http-parse-headers calls url-http-handle-authentication, 
+which can call url-retrieve. 
+
+This results in the current buffer being killed, and a new http buffer 
+being generated. However, when the old http buffer is killed, emacs 
+picks the top buffer from the list as the new current buffer, so by the 
+time we get to the end of url-http-parse-headers, _that_ buffer is marked 
+as dead even though it is not necessarily a url buffer, so next time the 
+url libraries reap their dead buffers, an innocent bystander buffer is 
+killed instead (and an obsolete http buffer may be left lying around too).
+
+A possible fix (which I am currently using) is to call set-buffer
+on the return value of url-http-parse-headers:
+
+      (case url-http-response-status
+	(401
+	 ;; The request requires user authentication.  The response
+	 ;; MUST include a WWW-Authenticate header field containing a
+	 ;; challenge applicable to the requested resource.  The
+	 ;; client MAY repeat the request with a suitable
+	 ;; Authorization header field.
+	 (url-mark-buffer-as-dead (current-buffer))
+	 (set-buffer (url-http-handle-authentication nil)))
+etc ....
+
+which makes sure that it is the right http buffer that is current when 
+we come to mark the http buffers as dead.
+
+
+
 * GTK RELATED BUGS
 
 ** Make GTK scrollbars behave like others w.r.t. overscrolling.
@@ -237,7 +272,7 @@
 lispref/compile.texi     "Luc Teirlinck"
 lispref/control.texi     "Luc Teirlinck"
 lispref/customize.texi
-lispref/debugging.texi
+lispref/debugging.texi   Joakim Verona <joakim@verona.se>
 lispref/display.texi
 lispref/edebug.texi
 lispref/elisp.texi       "Luc Teirlinck"
--- a/etc/NEWS	Tue Nov 16 17:30:48 2004 +0000
+++ b/etc/NEWS	Tue Nov 16 17:31:19 2004 +0000
@@ -2335,6 +2335,14 @@
 
 * Lisp Changes in Emacs 21.4
 
+---
+** list-buffers-noselect now takes an additional argument, BUFFER-LIST.
+If it is non-nil, it specifies which buffers to list.
+
+---
+** set-buffer-file-coding-system now takes an additional argument,
+NOMODIFY.  If it is non-nil, it means don't mark the buffer modified.
+
 +++
 ** The new function syntax-after returns the syntax code
 of the character after a specified buffer position, taking account
--- a/lisp/ChangeLog	Tue Nov 16 17:30:48 2004 +0000
+++ b/lisp/ChangeLog	Tue Nov 16 17:31:19 2004 +0000
@@ -1,3 +1,30 @@
+2004-11-16  Richard M. Stallman  <rms@gnu.org>
+
+	* international/iso-cvt.el (iso-tex2iso-trans-tab):
+	Discard spaces after \i according to TeX rules.
+
+	* international/mule.el (set-buffer-file-coding-system): 
+	New arg NOMODIFY.
+	(after-insert-file-set-coding): Pass that new arg.
+	Prevent set-buffer-multibyte from trying to lock the file.
+
+	* buff-menu.el (list-buffers-noselect): New arg BUFFER-LIST.
+
+	* saveplace.el (save-place): Doc fix.
+
+	* dabbrev.el (dabbrev-expand): When handling SPC M-/,
+	temporarily widen before finding the following word to copy.
+
+	* emacs-lisp/lucid.el (map-keymap): Definition deleted.
+	(cl-map-keymap): Definition deleted.
+
+	* subr.el (map-keymap-internal): New function.
+
+2004-11-14  Frederic Han  <han@math.jussieu.fr>  (tiny change)
+
+	* international/iso-cvt.el (iso-tex2iso-trans-tab): 
+	Discard whitespace after macro \i when converting it.
+
 2004-11-16  Juri Linkov  <juri@jurta.org>
 
 	* emacs-lisp/find-func.el (find-function-regexp):
--- a/lispref/ChangeLog	Tue Nov 16 17:30:48 2004 +0000
+++ b/lispref/ChangeLog	Tue Nov 16 17:31:19 2004 +0000
@@ -1,3 +1,15 @@
+2004-11-16  Richard M. Stallman  <rms@gnu.org>
+
+	* tips.texi (Coding Conventions): Separate defvar and require
+	methods to avoid warnings.  Use require only when there are many
+	functions and variables from that package.
+
+	* minibuf.texi (Minibuffer Completion): When ignoring case,
+	predicate must not be case-sensitive.
+
+	* debugging.texi (Function Debugging, Explicit Debug): Clarified.
+	(Test Coverage): Don't talk about "splotches".  Clarified.
+
 2004-11-16  Thien-Thi Nguyen  <ttn@gnu.org>
 
 	* frames.texi (Window Frame Parameters): Fix typo.
--- a/src/ChangeLog	Tue Nov 16 17:30:48 2004 +0000
+++ b/src/ChangeLog	Tue Nov 16 17:31:19 2004 +0000
@@ -1,3 +1,10 @@
+2004-11-16  Richard M. Stallman  <rms@gnu.org>
+
+	* keymap.c (Fmap_keymap): New arg SORT-FIRST.  Use
+	map-keymap-internal to implement that.
+
+	* indent.c (Fvertical_motion): In batch mode, use vmotion directly.
+
 2004-11-16  Kim F. Storm  <storm@cua.dk>
 
 	* fringe.c (Fdefine_fringe_bitmap): Always set 'h'. Simplify.