From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/82008 Path: news.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.gnus.general Subject: gnus-summary-limit-to-author, can we change it? Date: Mon, 09 Jul 2012 18:28:48 +0800 Message-ID: <871uklkz33.fsf@ericabrahamsen.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1341829829 23421 80.91.229.3 (9 Jul 2012 10:30:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 9 Jul 2012 10:30:29 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M30278@lists.math.uh.edu Mon Jul 09 12:30:29 2012 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SoBEa-0006KI-4J for ding-account@gmane.org; Mon, 09 Jul 2012 12:30:28 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1SoBDN-0001Jd-Np; Mon, 09 Jul 2012 05:29:13 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1SoBDM-0001JX-B1 for ding@lists.math.uh.edu; Mon, 09 Jul 2012 05:29:12 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1SoBDL-0007co-1D for ding@lists.math.uh.edu; Mon, 09 Jul 2012 05:29:12 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1SoBDJ-00065F-Jf for ding@gnus.org; Mon, 09 Jul 2012 12:29:09 +0200 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SoBDG-0003zC-DR for ding@gnus.org; Mon, 09 Jul 2012 12:29:06 +0200 Original-Received: from 221.216.161.175 ([221.216.161.175]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 09 Jul 2012 12:29:06 +0200 Original-Received: from eric by 221.216.161.175 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 09 Jul 2012 12:29:06 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 29 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 221.216.161.175 X-Pgp-Key: http://pgp.mit.edu:11371/pks/lookup?op=vindex&search=0xC98BAE7B99D0D373 X-Pgp-Fingerprint: 8E19 28A9 2B51 0C67 565D DB34 C98B AE7B 99D0 D373 User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.1.50 (gnu/linux) Cancel-Lock: sha1:nfQ8WLtpWKBju7k5pHUhl02eE9s= X-Spam-Score: -0.7 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:82008 Archived-At: 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