49 |
Fetching a url with url-retrieve can reult in an anrbitrary buffer |
Fetching a url with url-retrieve can reult in an anrbitrary buffer |
50 |
being killed if a 401 (or possibly a 407) result is encountered: |
being killed if a 401 (or possibly a 407) result is encountered: |
51 |
|
|
52 |
url-http-parse-headers calls url-http-handle-authentication, |
url-http-parse-headers calls url-http-handle-authentication, |
53 |
which can call url-retrieve. |
which can call url-retrieve. |
54 |
|
|
55 |
This results in the current buffer being killed, and a new http buffer |
This results in the current buffer being killed, and a new http buffer |
56 |
being generated. However, when the old http buffer is killed, emacs |
being generated. However, when the old http buffer is killed, emacs |
57 |
picks the top buffer from the list as the new current buffer, so by the |
picks the top buffer from the list as the new current buffer, so by the |
58 |
time we get to the end of url-http-parse-headers, _that_ buffer is marked |
time we get to the end of url-http-parse-headers, _that_ buffer is marked |
59 |
as dead even though it is not necessarily a url buffer, so next time the |
as dead even though it is not necessarily a url buffer, so next time the |
60 |
url libraries reap their dead buffers, an innocent bystander buffer is |
url libraries reap their dead buffers, an innocent bystander buffer is |
61 |
killed instead (and an obsolete http buffer may be left lying around too). |
killed instead (and an obsolete http buffer may be left lying around too). |
62 |
|
|
63 |
A possible fix (which I am currently using) is to call set-buffer |
A possible fix (which I am currently using) is to call set-buffer |
74 |
(set-buffer (url-http-handle-authentication nil))) |
(set-buffer (url-http-handle-authentication nil))) |
75 |
etc .... |
etc .... |
76 |
|
|
77 |
which makes sure that it is the right http buffer that is current when |
which makes sure that it is the right http buffer that is current when |
78 |
we come to mark the http buffers as dead. |
we come to mark the http buffers as dead. |
79 |
|
|
80 |
|
|
94 |
A fix would be to somehow disable handling of display properties if an error |
A fix would be to somehow disable handling of display properties if an error |
95 |
is encountered. |
is encountered. |
96 |
|
|
|
** Problem with cursor border around images and window-margins: |
|
|
|
|
|
The border around the image when the cursor is on the image |
|
|
flows into the right fringe and margin. |
|
|
|
|
|
(progn |
|
|
(auto-image-file-mode 1) |
|
|
(find-file (concat data-directory "splash.xpm")) |
|
|
(set-window-margins (selected-window) 25 25)) |
|
|
|
|
97 |
|
|
98 |
** Problem with modeline and window margins: |
** Problem with modeline and window margins: |
99 |
|
|