help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How can I change gnus window configuration for some groups?


From: Emanuel Berg
Subject: Re: How can I change gnus window configuration for some groups?
Date: Sat, 23 Aug 2014 23:53:10 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Alan Schmitt <address@hidden> writes:

> I would like to display one particular group with a
> smaller summary buffer. Searching in the
> documentation, I found that I want to play with
> gnus-buffer-configuration'. I see that in the default
> setup, it already has a conditional layout ...

You can add another condition there, of course. That I
think would be the simplest solution - some purists
will not like it, but they are not the ones who are
doing this, and later using it - you are.

> Is there a way to adapt this such that I use the
> layout ... when viewing the "nnvirtual:RSS" group?
> Should this be a global setting or a group parameter?

If you can make in into a group parameter specifically
associated to that group, that would be the most
elegant solution. But I don't know how to do that.

Gut feeling, I would do either of:

1. If you want "RET transparency". In the group buffer,
   you select a group by hitting RET. I would rebind
   that to a defun that runs this:

   (string-equal "nnvirtual:RSS" (gnus-group-group-name) )

   If `t', do special treatment. If `nil', do the
   ordinary thing. You might want to use
   current-prefix-arg to replicate ordinary usage of
   the C-u (to quantify articles).

2. If you don't care for "RET transparency": Simply
   assign a key for the RSS group. That key will open
   the group, then change the configuration; or, if
   that flickers, change configuration, open the RSS
   group, then change the configuration back to normal.

--
underground experts united


reply via email to

[Prev in Thread] Current Thread [Next in Thread]