From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.bugs Subject: bug#7567: Please add a history variable to read-regexp Date: Tue, 7 Dec 2010 00:46:45 +0100 Message-ID: References: <87wrnm33nf.fsf@mail.jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1291680947 30450 80.91.229.12 (7 Dec 2010 00:15:47 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 7 Dec 2010 00:15:47 +0000 (UTC) Cc: 7567@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Dec 07 01:15:40 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 1PPlDT-0000Oa-ML for geb-bug-gnu-emacs@m.gmane.org; Tue, 07 Dec 2010 01:15:36 +0100 Original-Received: from localhost ([127.0.0.1]:52361 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PPlDR-0007Yd-Vm for geb-bug-gnu-emacs@m.gmane.org; Mon, 06 Dec 2010 19:15:34 -0500 Original-Received: from [140.186.70.92] (port=51159 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PPlDJ-0007XT-Ci for bug-gnu-emacs@gnu.org; Mon, 06 Dec 2010 19:15:26 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PPlDH-0005Mb-V9 for bug-gnu-emacs@gnu.org; Mon, 06 Dec 2010 19:15:25 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54842) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PPlDH-0005MO-Sr for bug-gnu-emacs@gnu.org; Mon, 06 Dec 2010 19:15:23 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PPkh0-0002Kz-SN; Mon, 06 Dec 2010 18:42:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lennart Borgman Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 06 Dec 2010 23:42: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.12916788778926 (code B ref 7567); Mon, 06 Dec 2010 23:42:02 +0000 Original-Received: (at 7567) by debbugs.gnu.org; 6 Dec 2010 23:41:17 +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 1PPkgG-0002Jv-Ea for submit@debbugs.gnu.org; Mon, 06 Dec 2010 18:41:16 -0500 Original-Received: from mail-ew0-f41.google.com ([209.85.215.41]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PPkgD-0002Jd-4V for 7567@debbugs.gnu.org; Mon, 06 Dec 2010 18:41:13 -0500 Original-Received: by ewy27 with SMTP id 27so21912945ewy.0 for <7567@debbugs.gnu.org>; Mon, 06 Dec 2010 15:47:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=5EHbaDgBZei/YUwPVz669Tz3v2nGyhdP4xMcPuzMD6U=; b=DZQ+duoNpdQd5O1q828dCGsR4H1Z6+yd71Jk8Ye42CNFCuGz++V8TO/Hh8BHVIJ4OZ CnSkpEjWvq/DuylF7zlPMYYuFlQZJ6LwAWn6I940WPV5hXtjfjxT4s3Jk338jQtaK2cy nuZKk93RbXKs5icSP5Rtwy5kojbOqz2UM8BpU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=ElNB51Y3hCcf8Blo9Jv3i0kq8r2DvN4XK1GO5pXi6UMFNRVCwQQRTwmcnhh5kt21qq 2d0D4DR3GAc102a53x2f0BUdIduYPvFZ98i+HyX3o84YYMvz9rppw/Ujqjyw85XWYd0M JDCpwAhv78TgWwFVZjX7ladKptM9MGW9AOM0c= Original-Received: by 10.213.28.66 with SMTP id l2mr162704ebc.71.1291679225761; Mon, 06 Dec 2010 15:47:05 -0800 (PST) Original-Received: by 10.213.29.8 with HTTP; Mon, 6 Dec 2010 15:46:45 -0800 (PST) In-Reply-To: <87wrnm33nf.fsf@mail.jurta.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 06 Dec 2010 18:42: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:42245 Archived-At: On Tue, Dec 7, 2010 at 12:03 AM, Juri Linkov wrote: > >> The current read-regexp use is problematic for example in >> multi-isearch-read-matching-buffers and >> multi-occur-in-matching-buffers. I think a common history variable >> could be used for those cases, but they currently use the default >> regexp-history variable which seems totally inappropriate. > > `regexp-history' is a common history variable for all commands > that read a regexp from the minibuffer. =C2=A0I don't understand > what is wrong with that? Please take a look in the current code in query-replace-read-from. This currently does not use read-regexp (which it should) because it is easier to switch history variable if you don't.