Gnus development mailing list
 help / color / mirror / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: ding@gnus.org
Subject: gnus-summary-limit-to-author, can we change it?
Date: Mon, 09 Jul 2012 18:28:48 +0800	[thread overview]
Message-ID: <871uklkz33.fsf@ericabrahamsen.net> (raw)

Commit c79df675b50e367e228dde5f417fca33e60814d8 inserts the "from"
address of the message under point as the default address to use when
filtering with `gnus-summary-limit-to-author'.

I use this function all the time, and so far this behavior has not once
been what I want -- having to delete the default address adds a
cumbersome step to what was once my speediest method of finding recent
messages.

More user-friendly might be to use the "From" address of the message
under point as a default only if a blank string is given at the prompt.
So you hit `/ a', and you see:

"Limit to author (regexp, default from@under-point.com): "

Hit enter directly to limit to "from@under-point.com", or type a string
and enter to limit to that.

I'd be happy to submit a patch to this effect if the above sounds
acceptable. Might as well do it for all "limit-to" functions that
operate on a specific header too, right?

Yours,
Eric

-- 
GNU Emacs 24.1.50.1 (i686-pc-linux-gnu, GTK+ Version 2.24.10)
 of 2012-07-08 on pellet
Ma Gnus v0.6




             reply	other threads:[~2012-07-09 10:28 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-09 10:28 Eric Abrahamsen [this message]
2012-07-09 12:05 ` Tassilo Horn
2012-07-10  1:08   ` Eric Abrahamsen
2012-07-10  6:11     ` Tassilo Horn
2012-07-10  8:34       ` Eric Abrahamsen
2012-07-10 10:17         ` Tassilo Horn
2012-07-10 11:52           ` Eric Abrahamsen
2012-07-10 12:07             ` Tassilo Horn
2012-07-18 13:58               ` Ted Zlatanov
2012-07-10 12:54         ` Adam Sjøgren

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

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

  git send-email \
    --in-reply-to=871uklkz33.fsf@ericabrahamsen.net \
    --to=eric@ericabrahamsen.net \
    --cc=ding@gnus.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 NNTP newsgroup(s).