From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Artur Malabarba Newsgroups: gmane.emacs.bugs Subject: bug#23418: closed (Re: bug#23418: 25.1.50; next-history-element no longer works in query-replace) Date: Wed, 04 May 2016 20:24:02 +0000 Message-ID: References: <87eg9hpp0i.fsf@mail.linkov.net> <87inyxxlof.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=94eb2c07e9f639561005320a02c1 X-Trace: ger.gmane.org 1462393969 14589 80.91.229.3 (4 May 2016 20:32:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 4 May 2016 20:32:49 +0000 (UTC) Cc: Juri Linkov To: 23418@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed May 04 22:32:40 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 1ay3TK-0004pu-TA for geb-bug-gnu-emacs@m.gmane.org; Wed, 04 May 2016 22:32:39 +0200 Original-Received: from localhost ([::1]:50174 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ay3TH-0003rG-7A for geb-bug-gnu-emacs@m.gmane.org; Wed, 04 May 2016 16:32:35 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52610) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ay3ME-0006aS-Pt for bug-gnu-emacs@gnu.org; Wed, 04 May 2016 16:25:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ay3M2-00013C-63 for bug-gnu-emacs@gnu.org; Wed, 04 May 2016 16:25:13 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:54203) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ay3M1-0000yo-10 for bug-gnu-emacs@gnu.org; Wed, 04 May 2016 16:25:06 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ay3Lx-0006pv-LS for bug-gnu-emacs@gnu.org; Wed, 04 May 2016 16:25:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Artur Malabarba Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 04 May 2016 20:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23418 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 23418-submit@debbugs.gnu.org id=B23418.146239345926219 (code B ref 23418); Wed, 04 May 2016 20:25:01 +0000 Original-Received: (at 23418) by debbugs.gnu.org; 4 May 2016 20:24:19 +0000 Original-Received: from localhost ([127.0.0.1]:38307 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ay3LH-0006op-6q for submit@debbugs.gnu.org; Wed, 04 May 2016 16:24:19 -0400 Original-Received: from mail-yw0-f169.google.com ([209.85.161.169]:34152) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ay3LF-0006od-F3 for 23418@debbugs.gnu.org; Wed, 04 May 2016 16:24:18 -0400 Original-Received: by mail-yw0-f169.google.com with SMTP id j74so104487803ywg.1 for <23418@debbugs.gnu.org>; Wed, 04 May 2016 13:24:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=TicGxGIqy9cBcIC4ydcA7ROIkut2faglf3gg/x51hdw=; b=EaDe/5QManAnTruCISr9MKZ3I0w7VmQ3Ik/CEJ1IF8oOIQD47TDtTuY8/YpXK1lLUz 1tw5+ghg1LR8diNrwmKWlc4fw0X0TeCextnoHZdScME62iYK6n+CO6wHr4yk8/B62nzd rmd30oU4hl5S7PhY8jDXCPbIZzvuK/sq8+xHEx4dkibulxTVqJx9EdGvUg0pkANhyEqp WZ21FaDAzfwNmlwNqJcVAnRupdS47xbV61vy6gF1l7WualTZBHcIis84Tagk1DVRuoCd uAfhB+0xSWZWEmJaSNHZHcFRn8yhZOjcIBmejWWMk0OnYjtaTs42HzliQmuPaLF6dwWy ym7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=TicGxGIqy9cBcIC4ydcA7ROIkut2faglf3gg/x51hdw=; b=Jjf+inJ2niluNSu89VBN/EpWnQqujl0nKYkLio4dX5obVXAwrZYKjk5SdKy4pRWcKe ErS06Sg0DEBxP5EfcBVySRrxsDkMiqTt8KHhkzAFgz1jJaAFIJhiAd3IXKW5f2kJoJ0F mx7cV5MWe+LNiLIcAaoL5zmZBAtm9HI9BimHrtpqDC2Nx4lRuyabmb4H1AdfJSylK2hJ uYmn+TMZw4Z2bw8AKZ4lbpHk9ZH8uM5hYWC5Ogm/g8d3idIvWon7s54S0S4BmACM9Z+W AXNAziKtQN5NW/FsveVXc9UDIp27CuOh4EzE6MgKIPcTB4DhPAOw8KHeuuvj837m6Npb Mt/A== X-Gm-Message-State: AOPr4FU34hiwvGT0Ny0VSQscwL/WUsrLLWy2aPDfO1EN6OOO1pXX+5bJkzK53EvC2ctyKy6FscSuXWGNXDtl1Q== X-Received: by 10.13.247.4 with SMTP id h4mr7055295ywf.15.1462393451917; Wed, 04 May 2016 13:24:11 -0700 (PDT) In-Reply-To: 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:117801 Archived-At: --94eb2c07e9f639561005320a02c1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Thanks, Juri! On Wed, May 4, 2016 at 5:07 PM GNU bug Tracking System wrote: > Your bug report > > #23418: 25.1.50; next-history-element no longer works in query-replace > > which was filed against the emacs package, has been closed. > > The explanation is attached below, along with your original report. > If you require more details, please reply to 23418@debbugs.gnu.org. > > -- > 23418: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D23418 > GNU Bug Tracking System > Contact help-debbugs@gnu.org with problems > > > > ---------- Forwarded message ---------- > From: Juri Linkov > To: Artur Malabarba > Cc: 23418-done@debbugs.gnu.org > Date: Wed, 04 May 2016 23:05:49 +0300 > Subject: Re: bug#23418: 25.1.50; next-history-element no longer works in > query-replace > >>> 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=3Df99b51295b= 86770e4b16d4717c0e73049191c4c5 > >> 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. > > > > > ---------- Forwarded message ---------- > From: Artur Malabarba > To: bug-gnu-emacs@gnu.org > Cc: > Date: Sun, 01 May 2016 23:01:36 -0300 > Subject: 25.1.50; next-history-element no longer works in query-replace > > 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 want t= o 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. > > > --94eb2c07e9f639561005320a02c1 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Thanks, Juri!

On Wed, May 4, 2016 at 5:07 PM GNU bug Tracking System <help-debbugs@gnu.org> wrote:
Your bug report

#23418: 25.1.50; next-history-element no longer works in query-replace

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 23418@debbugs.gnu.org.

--
23418: http://debbugs.gnu.org/cgi/bugreport.cgi?= bug=3D23418
GNU Bug Tracking System
Contact help-debb= ugs@gnu.org with problems



---------- Forwarded message ----------
From:=C2=A0Juri Link= ov <juri@linkov.net= >
To:=C2=A0Artur Malabarba <bruce.connor.am@gmail.com>
Cc:=C2=A0= 23418-done@= debbugs.gnu.org
Date:=C2=A0Wed, 04 May 2016 23:05:49 +0300
Subjec= t:=C2=A0Re: bug#23418: 25.1.50; next-history-element no longer works in que= ry-replace
>>> 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 availab= le=E2=80=9D.
>>>
>>> Until recently, this would try to =E2=80=9Cguess=E2=80=9D what= you want 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&a= mp;id=3Df99b51295b86770e4b16d4717c0e73049191c4c5
>> 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.




---------- Forwarded message ----------
From:=C2=A0Artur Mal= abarba <b= ruce.connor.am@gmail.com>
To:=C2=A0bug-gnu-emacs@gnu.org
Cc:=C2=A0
Date= :=C2=A0Sun, 01 May 2016 23:01:36 -0300
Subject:=C2=A025.1.50; next-histo= ry-element no longer works in query-replace

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.<= br>
Until recently, this would try to =E2=80=9Cguess=E2=80=9D what you want 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.


--94eb2c07e9f639561005320a02c1--