From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#7567: Please add a history variable to read-regexp Date: Thu, 09 Dec 2010 09:31:44 -0500 Message-ID: References: <871v5tqb60.fsf@mail.jurta.org> <6D10D6F57E0A47DE84ACE050152CD553@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1291915835 27174 80.91.229.12 (9 Dec 2010 17:30:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 9 Dec 2010 17:30:35 +0000 (UTC) Cc: 7567@debbugs.gnu.org To: "Drew Adams" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 09 18:30:20 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PQkJr-0006Q9-Ak for geb-bug-gnu-emacs@m.gmane.org; Thu, 09 Dec 2010 18:30:15 +0100 Original-Received: from localhost ([127.0.0.1]:35438 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQkJq-0003GT-7X for geb-bug-gnu-emacs@m.gmane.org; Thu, 09 Dec 2010 12:30:14 -0500 Original-Received: from [140.186.70.92] (port=35766 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQhkf-0006u5-9h for bug-gnu-emacs@gnu.org; Thu, 09 Dec 2010 09:45:46 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PQhkV-0008Uy-9B for bug-gnu-emacs@gnu.org; Thu, 09 Dec 2010 09:45:44 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34490) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PQhkV-0008Uu-7U for bug-gnu-emacs@gnu.org; Thu, 09 Dec 2010 09:45:35 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PQhRa-0005Xe-VJ; Thu, 09 Dec 2010 09:26:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 09 Dec 2010 14:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7567 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 7567-submit@debbugs.gnu.org id=B7567.129190474621278 (code B ref 7567); Thu, 09 Dec 2010 14:26:02 +0000 Original-Received: (at 7567) by debbugs.gnu.org; 9 Dec 2010 14:25:46 +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 1PQhRK-0005X9-1z for submit@debbugs.gnu.org; Thu, 09 Dec 2010 09:25:46 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PQhRI-0005Wx-4h for 7567@debbugs.gnu.org; Thu, 09 Dec 2010 09:25:44 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: As0JAC93AE1FpZR3/2dsb2JhbACiYYEZecALhUoEhGSOBQ X-IronPort-AV: E=Sophos;i="4.59,320,1288584000"; d="scan'208";a="84943203" Original-Received: from 69-165-148-119.dsl.teksavvy.com (HELO ceviche.home) ([69.165.148.119]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 09 Dec 2010 09:31:44 -0500 Original-Received: by ceviche.home (Postfix, from userid 20848) id 08802661D7; Thu, 9 Dec 2010 09:31:44 -0500 (EST) In-Reply-To: <6D10D6F57E0A47DE84ACE050152CD553@us.oracle.com> (Drew Adams's message of "Tue, 7 Dec 2010 19:10:07 -0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 09 Dec 2010 09:26:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:42354 Archived-At: > I agree with that. But I also think that it might be good to use > `completing-read', to allow (lax) completion against the history. > IOW, use the history for both completion and the usual history access. I think this is a bad idea: completing-read is for completion against "possible answers" which should be kept separate from history-completion. We could/should let TAB perform history completion for non-completing-reads, but if we do that, it should be under the control of the user. Personally, I think that M-p should perform history completion, and that's what my .emacs does. Stefan