From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.bugs Subject: bug#12396: 24.2.50; [PATCH] extend usability of gnus-read-ephemeral-emacs-bug-group Date: Sun, 09 Sep 2012 21:49:05 +0200 Message-ID: <878vcjt1se.fsf@rosalinde.fritz.box> References: <87d31vtccn.fsf@rosalinde.fritz.box> <87txv7yqwa.fsf@gnus.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1347220178 3386 80.91.229.3 (9 Sep 2012 19:49:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 9 Sep 2012 19:49:38 +0000 (UTC) Cc: 12396@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 09 21:49:41 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TAnVk-0000wj-PZ for geb-bug-gnu-emacs@m.gmane.org; Sun, 09 Sep 2012 21:49:40 +0200 Original-Received: from localhost ([::1]:37120 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TAnVh-0004YI-Ic for geb-bug-gnu-emacs@m.gmane.org; Sun, 09 Sep 2012 15:49:37 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:47734) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TAnVe-0004XA-Mk for bug-gnu-emacs@gnu.org; Sun, 09 Sep 2012 15:49:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TAnVb-0001qA-B1 for bug-gnu-emacs@gnu.org; Sun, 09 Sep 2012 15:49:34 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41099) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TAnVb-0001q5-7u for bug-gnu-emacs@gnu.org; Sun, 09 Sep 2012 15:49:31 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TAnW5-0005F8-HT for bug-gnu-emacs@gnu.org; Sun, 09 Sep 2012 15:50:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stephen Berman Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 09 Sep 2012 19:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12396 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 12396-submit@debbugs.gnu.org id=B12396.134722018820129 (code B ref 12396); Sun, 09 Sep 2012 19:50:01 +0000 Original-Received: (at 12396) by debbugs.gnu.org; 9 Sep 2012 19:49:48 +0000 Original-Received: from localhost ([127.0.0.1]:50645 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TAnVo-0005EW-4d for submit@debbugs.gnu.org; Sun, 09 Sep 2012 15:49:48 -0400 Original-Received: from mailout-de.gmx.net ([213.165.64.23]:60593) by debbugs.gnu.org with smtp (Exim 4.72) (envelope-from ) id 1TAnVi-0005EL-NU for 12396@debbugs.gnu.org; Sun, 09 Sep 2012 15:49:43 -0400 Original-Received: (qmail invoked by alias); 09 Sep 2012 19:49:06 -0000 Original-Received: from i59F5698F.versanet.de (EHLO rosalinde.fritz.box) [89.245.105.143] by mail.gmx.net (mp001) with SMTP; 09 Sep 2012 21:49:06 +0200 X-Authenticated: #20778731 X-Provags-ID: V01U2FsdGVkX1+QOBgmuXeQcKisG/JVNeYQjmsPM7cCs3ssDaPnGO YZIvSsQsZCyDQa In-Reply-To: <87txv7yqwa.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sun, 09 Sep 2012 20:47:49 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:64017 Archived-At: On Sun, 09 Sep 2012 20:47:49 +0200 Lars Ingebrigtsen wrote: > Stephen Berman writes: > >> It would be more convenient if the bug number in the current line in >> the Group buffer were offered as default regardless of where point is >> in the line. > > It makes sense, but it's kinda not the way these function in Emacs > usually work. `M-x find-file-at-point', `M-x man', etc, all react to > the thing under point. And that's a very self-evident user interface. > Put point at the thing you're interested in, and then issue a command. I think there are significant differences between these three cases. With ffap, the UI is already announced in the name, and any other behavior would contradict it. With man, the list of items naming man pages is large and could always be augmented, i.e., pretty much any word could be a potential target, so it makes sense to default to the word at point. But with g-r-e-e-b-g, even though bug numbers are in principle unbounded, the context for identifying them can be narrowly specified, as I tried to show; e.g., it won't grab a number in a subject line like "Bug in forward-sexp starting with revision 340958". In other words, for g-r-e-e-b-g the typical use case will have a natural default (or several, as I noted), which it therefore makes sense to use regardless of where point is. If this doesn't convince you, all I can add is that I was annoyed enough times by having to navigate to the bug number to avoid typing it in that I decided to code up a way to avoid having to do that; having it in Emacs might spare others such annoyance. :-) Steve Berman