* 'Bug': gnus-use-tree window height and long articles @ 2001-11-21 3:10 Sascha Lüdecke 2001-11-28 5:59 ` Sascha Lüdecke 0 siblings, 1 reply; 3+ messages in thread From: Sascha Lüdecke @ 2001-11-21 3:10 UTC (permalink / raw) [-- Attachment #1: Type: text/plain, Size: 706 bytes --] I recently discovered the tree buffer which can be displayed together with the summary. I can even tell it to minimize the buffer (which in fact doesn't minimize, but adjust to the needed size). But when I read longer articles and press SPACE for the first time, the tree buffer always becomes 0.25 of the frame height (from gnus-win.el:gnus-configure-frame and gnus-configure-windows). So these might need a fix (anyone with spare time out there?): - (setq gnus-tree-minimize t) results in minimizing not height adjustment in general - SPACE and related doesn't mix up the tree frame height Best regards, Sascha -- Insanity is never having to say "your crazy." [-- Attachment #2: Type: application/pgp-signature, Size: 239 bytes --] ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: 'Bug': gnus-use-tree window height and long articles 2001-11-21 3:10 'Bug': gnus-use-tree window height and long articles Sascha Lüdecke @ 2001-11-28 5:59 ` Sascha Lüdecke 2001-12-29 3:40 ` Lars Magne Ingebrigtsen 0 siblings, 1 reply; 3+ messages in thread From: Sascha Lüdecke @ 2001-11-28 5:59 UTC (permalink / raw) [-- Attachment #1: Type: text/plain, Size: 1069 bytes --] sascha@meta-x.de (Sascha Lüdecke) writes: > So these might need a fix (anyone with spare time out there?): > This patch makes gnus-configure-windows adjust the window heights. It's probably inefficient and at the wrong place, but works fine for me. --------------------------------------------------------------------------- --- gnus-win.el Sun Oct 7 09:31:48 2001 +++ gnus-win.el-treepatch Wed Nov 28 04:54:02 2001 @@ -465,6 +465,11 @@ (switch-to-buffer nntp-server-buffer) (set-buffer nntp-server-buffer)) (gnus-configure-frame split) + (when (and gnus-tree-minimize-window + (get-buffer gnus-tree-buffer)) + (save-excursion + (set-buffer gnus-tree-buffer) + (gnus-tree-minimize))) (when gnus-window-frame-focus (select-frame (window-frame gnus-window-frame-focus)))))))) --------------------------------------------------------------------------- Regards, Sascha -- I haven't lost my mind; it's backed up on tape somewhere! [-- Attachment #2: Type: application/pgp-signature, Size: 239 bytes --] ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: 'Bug': gnus-use-tree window height and long articles 2001-11-28 5:59 ` Sascha Lüdecke @ 2001-12-29 3:40 ` Lars Magne Ingebrigtsen 0 siblings, 0 replies; 3+ messages in thread From: Lars Magne Ingebrigtsen @ 2001-12-29 3:40 UTC (permalink / raw) sascha@meta-x.de (Sascha Lüdecke) writes: > This patch makes gnus-configure-windows adjust the window heights. Thanks for the patch; I've applied it to Oort Gnus v0.04 (i. e., CVS). -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-12-29 3:40 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2001-11-21 3:10 'Bug': gnus-use-tree window height and long articles Sascha Lüdecke 2001-11-28 5:59 ` Sascha Lüdecke 2001-12-29 3:40 ` Lars Magne Ingebrigtsen
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).