unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Emanuel Berg <embe8573@student.uu.se>
To: help-gnu-emacs@gnu.org
Subject: Re: How can I change gnus window configuration for some groups?
Date: Sat, 23 Aug 2014 23:53:10 +0200	[thread overview]
Message-ID: <8761hilvp5.fsf@debian.uxu> (raw)
In-Reply-To: mailman.7430.1408802163.1147.help-gnu-emacs@gnu.org

Alan Schmitt <alan.schmitt@polytechnique.org> 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	other threads:[~2014-08-23 21:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.7430.1408802163.1147.help-gnu-emacs@gnu.org>
2014-08-23 21:53 ` Emanuel Berg [this message]
2014-08-24  8:34   ` How can I change gnus window configuration for some groups? Alan Schmitt
2014-08-24  9:47     ` Alan Schmitt
2014-08-24 15:25     ` Eric Abrahamsen
2014-08-24 19:08       ` Alan Schmitt
2014-08-23 13:55 Alan Schmitt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8761hilvp5.fsf@debian.uxu \
    --to=embe8573@student.uu.se \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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 read-only IMAP folder(s) and NNTP newsgroup(s).