* fix for bad temporary value for gnus-buffer-configuration
@ 2009-08-30 19:08 Karl Kleinpaste
2009-09-02 23:16 ` Katsumi Yamaoka
0 siblings, 1 reply; 2+ messages in thread
From: Karl Kleinpaste @ 2009-08-30 19:08 UTC (permalink / raw)
To: ding
Consequent to needing a frame-width-sensitive change to my
gnus-buffer-configuration choices due to using a really small display
(65x15), I discovered that gnus-buffer-configuration causes trouble if
the 'article selection element displays no Summary. Code in gnus-art.el
needs a visible summary, and if that's not available, it inserts a
temporary value. The problem is that the temporary value is missing a
needed level of parenthesization. It looks like this code was never
tested.
This can be checked by seeing what happens after...
(gnus-add-configuration
'(article
(vertical 1.0 (article 1.0 point)))) ;; no summary displayed
...if you then try to update an already-displayed article using `W w' or
switch its MIMEd plain -vs- html displays with `b'.
Would someone review to make sure this is sane, and commit it if so?
diff -u -r7.293 gnus-art.el
--- lisp/gnus-art.el 12 Aug 2009 08:27:50 -0000 7.293
+++ lisp/gnus-art.el 30 Aug 2009 18:58:31 -0000
@@ -6361,9 +6361,9 @@
(gnus-configure-windows 'article)
(unless (setq win (get-buffer-window summary-buffer 'visible))
(let ((gnus-buffer-configuration
- '(article ((vertical 1.0
- (summary 0.25 point)
- (article 1.0))))))
+ '((article ((vertical 1.0
+ (summary 0.25 point)
+ (article 1.0)))))))
(gnus-configure-windows 'article))
(setq win (get-buffer-window summary-buffer 'visible)))
(gnus-select-frame-set-input-focus (window-frame win))
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: fix for bad temporary value for gnus-buffer-configuration
2009-08-30 19:08 fix for bad temporary value for gnus-buffer-configuration Karl Kleinpaste
@ 2009-09-02 23:16 ` Katsumi Yamaoka
0 siblings, 0 replies; 2+ messages in thread
From: Katsumi Yamaoka @ 2009-09-02 23:16 UTC (permalink / raw)
To: ding
>>>>> Karl Kleinpaste wrote:
> Consequent to needing a frame-width-sensitive change to my
> gnus-buffer-configuration choices due to using a really small display
> (65x15), I discovered that gnus-buffer-configuration causes trouble if
> the 'article selection element displays no Summary. Code in gnus-art.el
> needs a visible summary, and if that's not available, it inserts a
> temporary value. The problem is that the temporary value is missing a
> needed level of parenthesization. It looks like this code was never
> tested.
> This can be checked by seeing what happens after...
> (gnus-add-configuration
> '(article
> (vertical 1.0 (article 1.0 point)))) ;; no summary displayed
> ...if you then try to update an already-displayed article using `W w' or
> switch its MIMEd plain -vs- html displays with `b'.
> Would someone review to make sure this is sane, and commit it if so?
[...]
I've confirmed the bug and installed your patch in the Gnus trunk.
Thanks!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-09-02 23:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-30 19:08 fix for bad temporary value for gnus-buffer-configuration Karl Kleinpaste
2009-09-02 23:16 ` Katsumi Yamaoka
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).