From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?=C5=BDygimantas?= Bruzgys Newsgroups: gmane.emacs.bugs Subject: bug#31796: 26.1; dired-do-find-regexp-and-replace fails to find multiline regexps Date: Mon, 11 Jun 2018 20:58:28 +0200 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000fc7a6b056e62568d" X-Trace: blaine.gmane.org 1528790057 29931 195.159.176.226 (12 Jun 2018 07:54:17 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 12 Jun 2018 07:54:17 +0000 (UTC) To: 31796@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jun 12 09:54:13 2018 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 1fSe84-0007ek-AO for geb-bug-gnu-emacs@m.gmane.org; Tue, 12 Jun 2018 09:54:12 +0200 Original-Received: from localhost ([::1]:53624 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fSeAB-0001mq-Fe for geb-bug-gnu-emacs@m.gmane.org; Tue, 12 Jun 2018 03:56:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44885) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fSe9x-0001j9-HJ for bug-gnu-emacs@gnu.org; Tue, 12 Jun 2018 03:56:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fSe9s-00070P-I7 for bug-gnu-emacs@gnu.org; Tue, 12 Jun 2018 03:56:09 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:36106) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fSe9s-00070K-Cx for bug-gnu-emacs@gnu.org; Tue, 12 Jun 2018 03:56:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fSe9s-0000mV-5f for bug-gnu-emacs@gnu.org; Tue, 12 Jun 2018 03:56:04 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?=C5=BDygimantas?= Bruzgys Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 12 Jun 2018 07:56:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 31796 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.15287901472961 (code B ref -1); Tue, 12 Jun 2018 07:56:03 +0000 Original-Received: (at submit) by debbugs.gnu.org; 12 Jun 2018 07:55:47 +0000 Original-Received: from localhost ([127.0.0.1]:44001 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fSe9a-0000lh-Sn for submit@debbugs.gnu.org; Tue, 12 Jun 2018 03:55:47 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:57760) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fSS1w-0002Bt-R9 for submit@debbugs.gnu.org; Mon, 11 Jun 2018 14:59:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fSS1q-00017v-30 for submit@debbugs.gnu.org; Mon, 11 Jun 2018 14:58:59 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:47348) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fSS1p-00017n-V0 for submit@debbugs.gnu.org; Mon, 11 Jun 2018 14:58:57 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48700) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fSS1o-0006k2-2Z for bug-gnu-emacs@gnu.org; Mon, 11 Jun 2018 14:58:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fSS1k-00014U-Sr for bug-gnu-emacs@gnu.org; Mon, 11 Jun 2018 14:58:56 -0400 Original-Received: from mail-s66.mailgun.info ([184.173.153.194]:39578) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fSS1k-000144-MR for bug-gnu-emacs@gnu.org; Mon, 11 Jun 2018 14:58:52 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=zygi.xyz; q=dns/txt; s=mailo; t=1528743531; h=Content-Type: To: Subject: Message-ID: Date: From: MIME-Version: Sender; bh=Sa3aHhqFJsJIGnYR/AS84Kw5KhjbGOS3pPkBQytTdYg=; b=X932yvp1ZGibXX3ostmZL8mpC+mylQIqMS5slajFWSr0Jz9HNQwDghgDPfkF18zP4wVN2nVS qkAplXX9j6OT+6HkIY6B+pNb6NqzY4enDfihk57QjALv3J9t+es+YiGyiQCU1sD14qcG9UFP TQCst+A/MG3wYVhZDtLv3jxI3JE= X-Mailgun-Sending-Ip: 184.173.153.194 X-Mailgun-Sid: WyI1MGY1OSIsICJidWctZ251LWVtYWNzQGdudS5vcmciLCAiMDMwNDQyIl0= Original-Received: from mail-wm0-f43.google.com (mail-wm0-f43.google.com [74.125.82.43]) by mxa.mailgun.org with ESMTP id 5b1ec66a.7fd21763ba70-smtp-out-n01; Mon, 11 Jun 2018 18:58:50 -0000 (UTC) Original-Received: by mail-wm0-f43.google.com with SMTP id o13-v6so16416727wmf.4 for ; Mon, 11 Jun 2018 11:58:50 -0700 (PDT) X-Gm-Message-State: APt69E0vpKtpRvCXPazxOeLveHXTjV96352Y0dyWomvr/IJnM3Mo8kK/ kZgIlQf/NeYO/QtU9eiDewu4V/wP79EbWvfoizE= X-Google-Smtp-Source: ADUXVKKsrKyJm8QvR6KW0FHvNzjlNEcjnRIBQEuD5QLOwY1PxCTKS6EU9NUz22ssFP32PJCICFq5FLPRAN9AQUdX0BY= X-Received: by 2002:a1c:c3c6:: with SMTP id t189-v6mr121513wmf.41.1528743528788; Mon, 11 Jun 2018 11:58:48 -0700 (PDT) Original-Received: by 2002:a1c:3cc6:0:0:0:0:0 with HTTP; Mon, 11 Jun 2018 11:58:28 -0700 (PDT) X-Gmail-Original-Message-ID: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Mailman-Approved-At: Tue, 12 Jun 2018 03:55:45 -0400 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:147323 Archived-At: --000000000000fc7a6b056e62568d Content-Type: text/plain; charset="UTF-8" 1) Create ~/test with a file with following contents: multi line 2) Visit directory using dired: C-f ~/test 3) Initiate regexp-replace by hitting Q 4) multi[[:space:]]line RET singeline RET 5) See that dired regexp replace failed reporting that no results were found 6) Visit a file you have just created. 7) Initiate query-replace-regexp with C-M-% 8) Accept the suggested (previous) query-replace by hitting RET 9) See that the query is actually correct and finds the result. In GNU Emacs 26.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.30) of 2018-05-29 built on juergen Windowing system distributor 'The X.Org Foundation', version 11.0.12000000 Recent messages: user-error: No matches for: multi[[:space:]]line Mark set Replaced 1 occurrence Configured using: 'configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --localstatedir=/var --with-x-toolkit=gtk3 --with-xft --with-modules 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt' CPPFLAGS=-D_FORTIFY_SOURCE=2 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS NOTIFY ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 MODULES THREADS LIBSYSTEMD LCMS2 Important settings: value of $LC_COLLATE: de_CH.UTF-8 value of $LC_MONETARY: de_CH.UTF-8 value of $LC_NUMERIC: de_CH.UTF-8 value of $LC_TIME: lt_LT.UTF-8 value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Dired by name 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 buffer-read-only: t column-number-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny seq format-spec rfc822 mml 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 cl-extra help-mode easymenu find-dired semantic/fw mode-local find-func xref cl-seq project eieio byte-opt bytecomp byte-compile cconv eieio-core cl-macs gv eieio-loaddefs grep compile comint ansi-color ring thingatpt dired-aux cl-loaddefs cl-lib dired dired-loaddefs elec-pair leuven-theme time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch 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 composite charscript charprop 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 dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 123229 14374) (symbols 48 22491 4) (miscs 40 103 176) (strings 32 34463 1497) (string-bytes 1 948663) (vectors 16 16681) (vector-slots 8 526030 13780) (floats 8 78 135) (intervals 56 300 0) (buffers 992 14)) --000000000000fc7a6b056e62568d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
1) Create ~/test with a file with following contents:
m= ulti
line

2) Visit directory using dired: C-f ~/test
3) Initia= te regexp-replace by hitting Q
4) multi[[:space:]]line RET singeline RET=
5) See that dired regexp replace failed reporting that no results were<= br>found
6) Visit a file you have just created.
7) Initiate query-rep= lace-regexp with C-M-%
8) Accept the suggested (previous) query-replace = by hitting RET
9) See that the query is actually correct and finds the r= esult.


In GNU Emacs 26.1 (build 1, x86_64-pc-linux-gnu, GTK+ Ver= sion 3.22.30)
=C2=A0of 2018-05-29 built on juergen
Windowing system d= istributor 'The X.Org Foundation', version 11.0.12000000
Recent = messages:
user-error: No matches for: multi[[:space:]]line
Mark setReplaced 1 occurrence

Configured using:
=C2=A0'configure --= prefix=3D/usr --sysconfdir=3D/etc --libexecdir=3D/usr/lib
=C2=A0--locals= tatedir=3D/var --with-x-toolkit=3Dgtk3 --with-xft --with-modules
=C2=A0&= #39;CFLAGS=3D-march=3Dx86-64 -mtune=3Dgeneric -O2 -pipe -fstack-protector-s= trong
=C2=A0-fno-plt' CPPFLAGS=3D-D_FORTIFY_SOURCE=3D2
=C2=A0LDFL= AGS=3D-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now'

Configu= red features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSET= TINGS NOTIFY
ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKI= T_SCROLL_BARS
GTK3 X11 MODULES THREADS LIBSYSTEMD LCMS2

Important= settings:
=C2=A0 value of $LC_COLLATE: de_CH.UTF-8
=C2=A0 value of $= LC_MONETARY: de_CH.UTF-8
=C2=A0 value of $LC_NUMERIC: de_CH.UTF-8
=C2= =A0 value of $LC_TIME: lt_LT.UTF-8
=C2=A0 value of $LANG: en_US.UTF-8=C2=A0 locale-coding-system: utf-8-unix

Major mode: Dired by name
Minor modes in effect:
=C2=A0 tooltip-mode: t
=C2=A0 global-eld= oc-mode: t
=C2=A0 electric-indent-mode: t
=C2=A0 mouse-wheel-mode: t<= br>=C2=A0 tool-bar-mode: t
=C2=A0 menu-bar-mode: t
=C2=A0 file-name-s= hadow-mode: t
=C2=A0 global-font-lock-mode: t
=C2=A0 font-lock-mode: = t
=C2=A0 blink-cursor-mode: t
=C2=A0 auto-composition-mode: t
=C2= =A0 auto-encryption-mode: t
=C2=A0 auto-compression-mode: t
=C2=A0 bu= ffer-read-only: t
=C2=A0 column-number-mode: t
=C2=A0 line-number-mod= e: t
=C2=A0 transient-mark-mode: t

Load-path shadows:
None fou= nd.

Features:
(shadow sort mail-extr emacsbug message rmc puny se= q format-spec rfc822
mml mml-sec password-cache epa derived epg epg-conf= ig gnus-util rmail
rmail-loaddefs mm-decode mm-bodies mm-encode mail-par= se rfc2231
mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf= -drums
mm-util mail-prsvr mail-utils cl-extra help-mode easymenu find-di= red
semantic/fw mode-local find-func xref cl-seq project eieio byte-opt<= br>bytecomp byte-compile cconv eieio-core cl-macs gv eieio-loaddefs grepcompile comint ansi-color ring thingatpt dired-aux cl-loaddefs cl-lib
d= ired dired-loaddefs elec-pair leuven-theme time-date mule-util tooltip
e= ldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel
term/x= -win x-win term/common-win x-dnd tool-bar dnd fontset image
regexp-opt f= ringe tabulated-list replace newcomment text-mode elisp-mode
lisp-mode p= rog-mode register page menu-bar rfn-eshadow isearch timer
select scroll-= bar mouse jit-lock font-lock syntax facemenu font-core
term/tty-colors f= rame cl-generic cham georgian utf-8-lang misc-lang
vietnamese tibetan th= ai tai-viet lao korean japanese eucjp-ms cp51932
hebrew greek romanian s= lovak czech european ethiopic indian cyrillic
chinese composite charscri= pt charprop 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 mul= e custom widget hashtable-print-readable
backquote dbusbind inotify lcms= 2 dynamic-setting system-font-setting
font-render-setting move-toolbar g= tk x-toolkit x multi-tty
make-network-process emacs)

Memory infor= mation:
((conses 16 123229 14374)
=C2=A0(symbols 48 22491 4)
=C2= =A0(miscs 40 103 176)
=C2=A0(strings 32 34463 1497)
=C2=A0(string-byt= es 1 948663)
=C2=A0(vectors 16 16681)
=C2=A0(vector-slots 8 526030 13= 780)
=C2=A0(floats 8 78 135)
=C2=A0(intervals 56 300 0)
=C2=A0(buf= fers 992 14))

--000000000000fc7a6b056e62568d--