From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Mark Oteiza Newsgroups: gmane.emacs.bugs Subject: bug#24580: 25.2.50; query-replace history doesn't work Date: Mon, 3 Oct 2016 07:24:07 -0400 Message-ID: <20161003112407.GA999@holos.localdomain> References: <87fuogh8mo.fsf@mbork.pl> <83y428lawc.fsf@gnu.org> <20161002041715.GA5612@holos.localdomain> <8337kfkzcd.fsf@gnu.org> <20161002165128.GA1032@holos.localdomain> <83lgy5q58q.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1475493929 27624 195.159.176.226 (3 Oct 2016 11:25:29 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 3 Oct 2016 11:25:29 +0000 (UTC) User-Agent: Mutt/1.7+23 (87911ba95dae) (2016-08-17) Cc: mbork@mbork.pl, 24580@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 03 13:25:25 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1br1N0-0005p0-7b for geb-bug-gnu-emacs@m.gmane.org; Mon, 03 Oct 2016 13:25:18 +0200 Original-Received: from localhost ([::1]:36240 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1br1My-0003wG-Qf for geb-bug-gnu-emacs@m.gmane.org; Mon, 03 Oct 2016 07:25:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60924) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1br1Mp-0003rY-Sb for bug-gnu-emacs@gnu.org; Mon, 03 Oct 2016 07:25:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1br1Mk-0003CL-C4 for bug-gnu-emacs@gnu.org; Mon, 03 Oct 2016 07:25:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:36394) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1br1Mk-0003CB-8U for bug-gnu-emacs@gnu.org; Mon, 03 Oct 2016 07:25:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1br1Mk-000890-2e for bug-gnu-emacs@gnu.org; Mon, 03 Oct 2016 07:25:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mark Oteiza Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 03 Oct 2016 11:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24580 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24580-submit@debbugs.gnu.org id=B24580.147549385731231 (code B ref 24580); Mon, 03 Oct 2016 11:25:02 +0000 Original-Received: (at 24580) by debbugs.gnu.org; 3 Oct 2016 11:24:17 +0000 Original-Received: from localhost ([127.0.0.1]:42584 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1br1M0-00087f-ME for submit@debbugs.gnu.org; Mon, 03 Oct 2016 07:24:16 -0400 Original-Received: from mail-qk0-f175.google.com ([209.85.220.175]:33990) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1br1Ly-00087N-HR for 24580@debbugs.gnu.org; Mon, 03 Oct 2016 07:24:15 -0400 Original-Received: by mail-qk0-f175.google.com with SMTP id j129so151205334qkd.1 for <24580@debbugs.gnu.org>; Mon, 03 Oct 2016 04:24:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=udel-edu.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=6OFfrejxIGd8tqwtn49qWff6cqrORJs/Gh73x58xSBo=; b=ptjfSHgMnUl61GPufadIMFamjHnKNuMhmB7bHrLhQcoaEwYyl09TKfpYwTP9AJNsZE sdZB5tqeNVi5TTMC6sR+SVzkuS0/qYuWOP898AGhexWkoEuuIb/EyScZQzs+TVj4LARk k4Zq+aIuTRS3Sf7f1e0eeRJfZM+FLLgomOejE97NR5Rl/uzJrDEjxx3Mb224AaO9UAW/ RLASYD5s45bzZ2714haNPTBILc8Tg0MCTipFeRAuuFElC0GE1vQH0T0fRL3u/2hX9jJL zPKzBc3QdJpXszvV6o89+HhRu4r6nx6ro9IiNo6iP83nYg2n2qCFdTVJDRk5yk3jtsgy +Lvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=6OFfrejxIGd8tqwtn49qWff6cqrORJs/Gh73x58xSBo=; b=hrr77jUoXvEeAhafnLcxOsHe6vkC/1VaOhqm+hJgowKW5lfUInfISsmta2hklLkP6N 5DnskStpNCxuN/Z2HeiEAF9ToYJVkS18dSP3VXlPNwXdjcACCjfsHjnoUT7xp+IXWbi9 bmh3at8f0tIfnzEUy+yP3LeL16jJpc7QjMWJ0vp/hpT8OzGFP46geVKeK+lLzfDduJvg 8Q04DZmxjxW/9b+YYud7psDtiEWh9jmA2tfHf7ov3LbQJEwEzynXs2SMIn4Zhtw5hnBh rOjTD3NoddBmzVqsB00gp0/wxOZmDux0ZtHXvgTHKCG8tInMLGJnDHLI57K+OVmbaBsX PSXQ== X-Gm-Message-State: AA6/9RlHLFx8nHL4pTAIu2GaoL+cfYSI547f5OcT2j89KhmKDyBTnhre07DqR0dfNuQghuqe X-Received: by 10.55.72.11 with SMTP id v11mr523415qka.50.1475493849087; Mon, 03 Oct 2016 04:24:09 -0700 (PDT) Original-Received: from holos.localdomain ([69.250.222.218]) by smtp.gmail.com with ESMTPSA id b29sm16707164qkj.14.2016.10.03.04.24.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 03 Oct 2016 04:24:07 -0700 (PDT) Original-Received: by holos.localdomain (Postfix, from userid 1000) id 3374D60D6F; Mon, 3 Oct 2016 07:24:07 -0400 (EDT) Content-Disposition: inline In-Reply-To: <83lgy5q58q.fsf@gnu.org> 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:123948 Archived-At: On 03/10/16 at 10:08am, Eli Zaretskii wrote: > > Date: Sun, 2 Oct 2016 12:51:28 -0400 > > From: Mark Oteiza > > Cc: mbork@mbork.pl, 24580@debbugs.gnu.org > > > > > > As for the other problem Marcin mentioned, that seems to be due to the > > > > custom-reevaluate-setting call in the same function. > > > > > > I'm not sure I understand: what's wrong with > > > custom-reevaluate-setting in this case? > > > > >From -Q: > > > > 1. (setq-default query-replace-from-to-separator " => ") > > 2. Do an M-% (Like Marcin's in original recipe) once to get some default in the prompt > > 3. M-% > > > > I would expect to see (default a => b) in the prompt, but > > custom-reevaluate-setting apparently ignores settings done outside of > > customize. The first step instead needs to be > > > > (custom-set-variables '(query-replace-from-to-separator " => ")) > > > > or something with the default for query-replace-from-to-separator should > > be changed. > > OK, but is this a new problem related to turning on lexical-binding? No.