aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorRichard M. Stallman2004-11-16 17:31:19 +0000
committerRichard M. Stallman2004-11-16 17:31:19 +0000
commitee31cd78ef49f569262b1a591949d707583dcdb3 (patch)
tree9bb374cc63d53eb9b250a27b25c382d21059874a /admin
parent155cb2e57eb0ae8e874824bcaf733cfe97c4f788 (diff)
downloademacs-ee31cd78ef49f569262b1a591949d707583dcdb3.tar.gz
emacs-ee31cd78ef49f569262b1a591949d707583dcdb3.zip
*** empty log message ***
Diffstat (limited to 'admin')
-rw-r--r--admin/FOR-RELEASE45
1 files changed, 40 insertions, 5 deletions
diff --git a/admin/FOR-RELEASE b/admin/FOR-RELEASE
index 609074efd3c..be314d6255e 100644
--- a/admin/FOR-RELEASE
+++ b/admin/FOR-RELEASE
@@ -2,10 +2,6 @@ Tasks needed before the next release.
2 2
3* NEW FEATURES 3* NEW FEATURES
4 4
5** Test the mbox branch of Rmail.
6
7** Install the mbox branch of Rmail.
8
9** Face remapping. 5** Face remapping.
10 6
11** Let mouse-1 follow links. 7** Let mouse-1 follow links.
@@ -36,6 +32,45 @@ invalid pointer from string_free_list.
36 32
37** Clean up flymake.el to follow Emacs Lisp conventions. 33** Clean up flymake.el to follow Emacs Lisp conventions.
38 34
35* BUGS
36
37** Bug in url-http-parse-headers, reported in
38From: Vivek Dasmohapatra <vivek@zeus.com>
39Date: Tue, 28 Sep 2004 16:13:13 +0100
40
41Fetching a url with url-retrieve can reult in an anrbitrary buffer
42being killed if a 401 (or possibly a 407) result is encountered:
43
44url-http-parse-headers calls url-http-handle-authentication,
45which can call url-retrieve.
46
47This results in the current buffer being killed, and a new http buffer
48being generated. However, when the old http buffer is killed, emacs
49picks the top buffer from the list as the new current buffer, so by the
50time we get to the end of url-http-parse-headers, _that_ buffer is marked
51as dead even though it is not necessarily a url buffer, so next time the
52url libraries reap their dead buffers, an innocent bystander buffer is
53killed instead (and an obsolete http buffer may be left lying around too).
54
55A possible fix (which I am currently using) is to call set-buffer
56on the return value of url-http-parse-headers:
57
58 (case url-http-response-status
59 (401
60 ;; The request requires user authentication. The response
61 ;; MUST include a WWW-Authenticate header field containing a
62 ;; challenge applicable to the requested resource. The
63 ;; client MAY repeat the request with a suitable
64 ;; Authorization header field.
65 (url-mark-buffer-as-dead (current-buffer))
66 (set-buffer (url-http-handle-authentication nil)))
67etc ....
68
69which makes sure that it is the right http buffer that is current when
70we come to mark the http buffers as dead.
71
72
73
39* GTK RELATED BUGS 74* GTK RELATED BUGS
40 75
41** Make GTK scrollbars behave like others w.r.t. overscrolling. 76** Make GTK scrollbars behave like others w.r.t. overscrolling.
@@ -237,7 +272,7 @@ lispref/commands.texi "Luc Teirlinck"
237lispref/compile.texi "Luc Teirlinck" 272lispref/compile.texi "Luc Teirlinck"
238lispref/control.texi "Luc Teirlinck" 273lispref/control.texi "Luc Teirlinck"
239lispref/customize.texi 274lispref/customize.texi
240lispref/debugging.texi 275lispref/debugging.texi Joakim Verona <joakim@verona.se>
241lispref/display.texi 276lispref/display.texi
242lispref/edebug.texi 277lispref/edebug.texi
243lispref/elisp.texi "Luc Teirlinck" 278lispref/elisp.texi "Luc Teirlinck"