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#23418: 25.1.50; next-history-element no longer works in query-replace Date: Wed, 04 May 2016 23:05:49 +0300 Organization: LINKOV.NET Message-ID: <87eg9hpp0i.fsf@mail.linkov.net> References: <87inyxxlof.fsf@gmail.com> <8737q0p5i7.fsf@mail.linkov.net> <87eg9iubrx.fsf@mail.linkov.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1462392460 23067 80.91.229.3 (4 May 2016 20:07:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 4 May 2016 20:07:40 +0000 (UTC) Cc: 23418-done@debbugs.gnu.org To: Artur Malabarba Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed May 04 22:07:32 2016 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 1ay351-0006hA-Aw for geb-bug-gnu-emacs@m.gmane.org; Wed, 04 May 2016 22:07:31 +0200 Original-Received: from localhost ([::1]:49952 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ay34x-0000Lm-DO for geb-bug-gnu-emacs@m.gmane.org; Wed, 04 May 2016 16:07:27 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43138) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ay34n-00007c-0y for bug-gnu-emacs@gnu.org; Wed, 04 May 2016 16:07:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ay34b-00087P-C7 for bug-gnu-emacs@gnu.org; Wed, 04 May 2016 16:07:11 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:54177) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ay34b-00085e-8g for bug-gnu-emacs@gnu.org; Wed, 04 May 2016 16:07:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ay34X-0006Nc-So for bug-gnu-emacs@gnu.org; Wed, 04 May 2016 16:07:01 -0400 Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Wed, 04 May 2016 20:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 23418 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 23418@debbugs.gnu.org, juri@linkov.net, bruce.connor.am@gmail.com Original-Received: via spool by 23418-done@debbugs.gnu.org id=D23418.146239237724461 (code D ref 23418); Wed, 04 May 2016 20:07:01 +0000 Original-Received: (at 23418-done) by debbugs.gnu.org; 4 May 2016 20:06:17 +0000 Original-Received: from localhost ([127.0.0.1]:38281 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ay33o-0006MT-TE for submit@debbugs.gnu.org; Wed, 04 May 2016 16:06:17 -0400 Original-Received: from sub3.mail.dreamhost.com ([69.163.253.7]:36918 helo=homiemail-a18.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ay33n-0006MK-Cd for 23418-done@debbugs.gnu.org; Wed, 04 May 2016 16:06:15 -0400 Original-Received: from homiemail-a18.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a18.g.dreamhost.com (Postfix) with ESMTP id A638D25006C; Wed, 4 May 2016 13:06:14 -0700 (PDT) Original-Received: from localhost.linkov.net (85.253.132.88.cable.starman.ee [85.253.132.88]) (Authenticated sender: jurta@jurta.org) by homiemail-a18.g.dreamhost.com (Postfix) with ESMTPA id C82CB25006B; Wed, 4 May 2016 13:06:13 -0700 (PDT) In-Reply-To: <87eg9iubrx.fsf@mail.linkov.net> (Juri Linkov's message of "Tue, 03 May 2016 23:28:18 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.93 (x86_64-pc-linux-gnu) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:117798 Archived-At: >>> 1. emacs -q >>> 2. Go to the scratch buffer and place point on a word. >>> 3. M-x query-replace-regexp (or query-replace) >>> 4. M-n >>> 5. Emacs will say: =E2=80=9CEnd of history; no default available=E2=80= =9D. >>> >>> Until recently, this would try to =E2=80=9Cguess=E2=80=9D what you wa= nt to replace by >>> inserting the word at point on the prompt. If you kept hitting M-n it >>> would try other guesses like inserting the word surrounded in symbol >>> delimiters. >> >> I see the same bug caused by >> http://git.sv.gnu.org/cgit/emacs.git/commit/?h=3Demacs-25&id=3Df99b512= 95b86770e4b16d4717c0e73049191c4c5 >> that breaks syntax for bounds-of-thing-at-point. > > As pointed out by Stefan in > http://lists.gnu.org/archive/html/emacs-devel/2016-03/msg01504.html > http://lists.gnu.org/archive/html/emacs-devel/2016-03/msg01538.html > a proper fix for bug#23127 is to use minibuffer-with-setup-hook: Fixed accordingly.