From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Richard Copley Newsgroups: gmane.emacs.bugs Subject: bug#24873: 26.0.50; isearch-query-replace from regexp isearch doesn't add to replace-regexp history list Date: Fri, 4 Nov 2016 10:54:00 +0000 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: blaine.gmane.org 1478256939 31569 195.159.176.226 (4 Nov 2016 10:55:39 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 4 Nov 2016 10:55:39 +0000 (UTC) To: 24873@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Nov 04 11:55:29 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 1c2c9L-0004tR-GO for geb-bug-gnu-emacs@m.gmane.org; Fri, 04 Nov 2016 11:55:07 +0100 Original-Received: from localhost ([::1]:37794 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c2c9O-0001Fr-8h for geb-bug-gnu-emacs@m.gmane.org; Fri, 04 Nov 2016 06:55:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60219) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c2c9H-0001Ef-7p for bug-gnu-emacs@gnu.org; Fri, 04 Nov 2016 06:55:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c2c9G-0000YO-4e for bug-gnu-emacs@gnu.org; Fri, 04 Nov 2016 06:55:03 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:56270) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c2c9G-0000Y4-1I for bug-gnu-emacs@gnu.org; Fri, 04 Nov 2016 06:55:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1c2c9F-00047V-Om for bug-gnu-emacs@gnu.org; Fri, 04 Nov 2016 06:55:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Richard Copley Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 04 Nov 2016 10:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 24873 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: "bug-gnu-emacs@gnu.org" Original-Received: via spool by submit@debbugs.gnu.org id=B.147825688715807 (code B ref -1); Fri, 04 Nov 2016 10:55:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 4 Nov 2016 10:54:47 +0000 Original-Received: from localhost ([127.0.0.1]:43436 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c2c90-00046s-PP for submit@debbugs.gnu.org; Fri, 04 Nov 2016 06:54:47 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:40794) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c2c8z-00046h-Iy for submit@debbugs.gnu.org; Fri, 04 Nov 2016 06:54:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c2c8t-0008DN-91 for submit@debbugs.gnu.org; Fri, 04 Nov 2016 06:54:40 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:50895) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c2c8t-0008D5-4o for submit@debbugs.gnu.org; Fri, 04 Nov 2016 06:54:39 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59950) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c2c8r-0000z4-Jf for bug-gnu-emacs@gnu.org; Fri, 04 Nov 2016 06:54:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c2c8n-00083V-GN for bug-gnu-emacs@gnu.org; Fri, 04 Nov 2016 06:54:37 -0400 Original-Received: from mail-vk0-x231.google.com ([2607:f8b0:400c:c05::231]:34623) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c2c8n-000817-8Z for bug-gnu-emacs@gnu.org; Fri, 04 Nov 2016 06:54:33 -0400 Original-Received: by mail-vk0-x231.google.com with SMTP id x186so63569022vkd.1 for ; Fri, 04 Nov 2016 03:54:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=QPYJaXUHJ2c3QU1iKK2ystnQynnQXjkeI5wqoEnuPgM=; b=MTlIZ0Xa++hWS0NjHC5TsXObGEcE016L0yleZpwfttgriGiZ+gs/aQDbkGsea0P+aU S3S5imR/VQg6IT6HXGUyV5fG/xVz45HpSfRrB0ENjYneq0UQnJ7a2e23vCIAiStDxaFI ahGWChGhCgUmZ7ywdcmg/6pzm5viLahwx8wgZXJyhREsy8yRERhk4Jp7srSbNSqwTJO3 xf2yAQZP4ISSk9euEtSyLxQxf5Jhj8bUFBLROnACyeY/bt7W/uR6lQrOxl4HlduSjB9m 2hBMFsknjwc8P1vF6K+Zmu3aaIjFzmhGt/OLL+qdUW95k87w/CYSlRHz5IEcihRaAIoW SkYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=QPYJaXUHJ2c3QU1iKK2ystnQynnQXjkeI5wqoEnuPgM=; b=LomDJhMxrXOKeaTBAaGGsMR7y+5l86XyhbbWi3BklISYmgSzxF7Ht2rLkfey7XaCgp w/jLe3MY7N0DE3rgvWeGtWGLBlOMR60pS2eok0N/l1uXN1NFShSWoo3SbaGD5Fg+w4Uc +ubHJoNzTPJCcEUtsNxQfL7l3kIkuDynnGuPj+5fPCks4arx+72oExxBC1O6X6CZmt3D GietqhOr7ts5nAZQEzrKoIjJXZFCFDaSC7Wgh0294AQsTboTtn/Bes3NmcXrbBF/Vevo cy/OMomVIkuaSb6rXAcR14bcxpbwExcyGOCRKali6WjcBLVEQHQXlxp2+nSlfiRsEyBn r/FA== X-Gm-Message-State: ABUngvd6f1hs4kGoXdJJ49ppa/OwfZniZGQJC+G6BENula+xsYMiYo+B6k7RiHKuWfM93VziBvmPZcP5GAPzhA== X-Received: by 10.31.4.210 with SMTP id 201mr10921693vke.105.1478256871008; Fri, 04 Nov 2016 03:54:31 -0700 (PDT) Original-Received: by 10.176.16.66 with HTTP; Fri, 4 Nov 2016 03:54:00 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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:125334 Archived-At: Recipe from emacs -Q: M-< ;; beginning-of-buffer C-M-s text ;; isearch-forward-regexp M-% xxx RET ! ;; isearch-query-replace C-M-% ;; query-replace-regexp M-p ;; previous-history-element Expected result: selects the previous replace operation "text -> xxx" from the history list. Actual result: signals "user-error: Beginning of history; no preceding item". The bug affects isearch-query replace when invoked during isearch-forward-regexp but not when invoked during isearch-forward. The bug was introduced in the master branch between these two revisions (not tight bounds, just builds I have lying around): GOOD: commit 7fa96cb5ef8c8464496688e88c1b97211a820d79 Author: Paul Eggert Date: Sat Sep 17 15:06:24 2016 -0700 BAD: commit 9640e9f4e95cd95c04875e90a4ff638e1e51f977 Author: Tino Calancha Date: Tue Oct 11 11:47:32 2016 +0900 In GNU Emacs 26.0.50.1 (x86_64-w64-mingw32) of 2016-10-11 built on 60678UHB Repository revision: 9640e9f4e95cd95c04875e90a4ff638e1e51f977 Windowing system distributor 'Microsoft Corp.', version 6.1.7601 Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Mark set [2 times] Replaced 2 occurrences user-error: Beginning of history; no preceding item Quit Configured using: 'configure --prefix /C/emacs/emacs-20161011-024732 --with-modules --without-imagemagick --disable-dependency-tracking --enable-locallisppath=%emacs_dir%/../site-lisp CFLAGS=-O3 CPPFLAGS=-D_WIN32_WINNT=_WIN32_WINNT_WIN7' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND DBUS NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS MODULES Important settings: value of $LANG: ENG locale-coding-system: cp1252 Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message subr-x puny seq byte-opt gv bytecomp byte-compile cl-extra help-mode cconv cl-loaddefs pcase cl-lib dired dired-loaddefs format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils thingatpt misearch multi-isearch time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp disp-table term/w32-win w32-win w32-vars term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote w32notify dbusbind w32 multi-tty make-network-process emacs) Memory information: ((conses 16 99599 14680) (symbols 56 20290 0) (miscs 48 45 149) (strings 32 19347 4182) (string-bytes 1 591428) (vectors 16 13522) (vector-slots 8 442624 4747) (floats 8 181 146) (intervals 56 247 16) (buffers 976 11))