From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#6980: Could goto-char please have its own history list? Date: Thu, 18 Aug 2011 14:52:20 +0300 Organization: JURTA Message-ID: <87sjoz543b.fsf@mail.jurta.org> References: <878vr1rqpc.fsf@mail.jurta.org> <89731AF8DD9241E7807DCEED9672DC4B@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1313668519 2005 80.91.229.12 (18 Aug 2011 11:55:19 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 18 Aug 2011 11:55:19 +0000 (UTC) Cc: 6980@debbugs.gnu.org To: "Drew Adams" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Aug 18 13:55:15 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Qu1Bo-0002XA-SV for geb-bug-gnu-emacs@m.gmane.org; Thu, 18 Aug 2011 13:55:13 +0200 Original-Received: from localhost ([::1]:43230 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qu1Bl-0000jE-Bi for geb-bug-gnu-emacs@m.gmane.org; Thu, 18 Aug 2011 07:55:09 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:38567) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qu1Bg-0000h0-Rx for bug-gnu-emacs@gnu.org; Thu, 18 Aug 2011 07:55:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qu1Bf-0005Gb-L8 for bug-gnu-emacs@gnu.org; Thu, 18 Aug 2011 07:55:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36664) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qu1Bf-0005GX-IK for bug-gnu-emacs@gnu.org; Thu, 18 Aug 2011 07:55:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Qu1Da-0006KF-1M; Thu, 18 Aug 2011 07:57:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 18 Aug 2011 11:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6980 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6980-submit@debbugs.gnu.org id=B6980.131366856924258 (code B ref 6980); Thu, 18 Aug 2011 11:57:01 +0000 Original-Received: (at 6980) by debbugs.gnu.org; 18 Aug 2011 11:56:09 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qu1Cj-0006JC-6a for submit@debbugs.gnu.org; Thu, 18 Aug 2011 07:56:09 -0400 Original-Received: from smarty.dreamhost.com ([208.113.175.8]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qu1Cg-0006J3-Qd for 6980@debbugs.gnu.org; Thu, 18 Aug 2011 07:56:07 -0400 Original-Received: from ps18281.dreamhostps.com (ps18281.dreamhost.com [69.163.218.105]) by smarty.dreamhost.com (Postfix) with ESMTP id C10CC6E8074; Thu, 18 Aug 2011 04:54:07 -0700 (PDT) Original-Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id B4A1D451C3C3; Thu, 18 Aug 2011 04:54:06 -0700 (PDT) In-Reply-To: <89731AF8DD9241E7807DCEED9672DC4B@us.oracle.com> (Drew Adams's message of "Wed, 10 Aug 2011 14:41:51 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (x86_64-pc-linux-gnu) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 18 Aug 2011 07:57:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) 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:50127 Archived-At: >> > I can't see no reason its history should be mixed by something else. >> > (More than devel historic reasons ;-) >> >> It makes sense to share the same history that contains only numeric >> values between all commands that use `read-number', like >> e.g. `goto-line' and `goto-char' (with some changes), because >> non-numeric values (added to the history from other commands) >> are useless for such number-reading commands. > > I don't have much of an opinion about the suggestion. > There are always pros & cons to making a history more or less specific. > > But I'll point out that just because non-numeric histories are inappropriate for > numeric input does not mean that the same numeric history should be used for all > numeric inputs. Yes, not all number-reading commands should share the numeric history. For instance, version-control commands that read a revision number can also accept non-numeric values like "submit:". So every case should be carefully considered on its own.