From unknown Wed Jun 25 00:22:53 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27873: 26.0.50; M-x grep broken Resent-From: Eric Hanchrow Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 30 Jul 2017 00:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 27873 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 27873@debbugs.gnu.org X-Debbugs-Original-To: "bug-gnu-emacs@gnu.org" Received: via spool by submit@debbugs.gnu.org id=B.150137296227901 (code B ref -1); Sun, 30 Jul 2017 00:03:02 +0000 Received: (at submit) by debbugs.gnu.org; 30 Jul 2017 00:02:42 +0000 Received: from localhost ([127.0.0.1]:33476 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dbbgw-0007Fv-EA for submit@debbugs.gnu.org; Sat, 29 Jul 2017 20:02:42 -0400 Received: from eggs.gnu.org ([208.118.235.92]:60682) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dbbgu-0007Fh-5f for submit@debbugs.gnu.org; Sat, 29 Jul 2017 20:02:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dbbgn-0007az-99 for submit@debbugs.gnu.org; Sat, 29 Jul 2017 20:02:34 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:35673) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dbbgn-0007av-5n for submit@debbugs.gnu.org; Sat, 29 Jul 2017 20:02:33 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51653) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dbbgl-0002av-5V for bug-gnu-emacs@gnu.org; Sat, 29 Jul 2017 20:02:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dbbgi-0007Zv-RR for bug-gnu-emacs@gnu.org; Sat, 29 Jul 2017 20:02:31 -0400 Received: from mail-io0-x22c.google.com ([2607:f8b0:4001:c06::22c]:36953) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dbbgi-0007ZF-KH for bug-gnu-emacs@gnu.org; Sat, 29 Jul 2017 20:02:28 -0400 Received: by mail-io0-x22c.google.com with SMTP id c74so100440033iod.4 for ; Sat, 29 Jul 2017 17:02:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=qIrO+TYKC4Q4VTr8qBjxbkk2cCRrUKo5j5dHWOIlZEg=; b=Rddx6j6Zo3Zosr7c3MnvDz1q0TQ+zGBQdhCMyQnS4D9ekjISS5g0dghNJX+OyolxFd ZOGGhATEHFCh3VB5GOmFvg2/bcgCaCpwyTpAIULEV6XH5xnSlfmhaTaQiHH6u/GrdaHY 0/2ZQb8uE063a6gTA15yOF/VERFI4yRLQ26HLWp8AxmoPMKrDLUwEKauBrlWfG5eFq0t NDtMPZc8J3Qn57Tg3FWq/vcWHL4g3aXsMTUKHG4ZdN0soKLYU5MQv9WQDnDVQ33QqSmU 8YntbO5WocqzRF4mBaDoEYEdVSQ5eTPCCCspS8KmNUJBpyuOKo9C5k3X9CK04fbj7ddg ZRpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=qIrO+TYKC4Q4VTr8qBjxbkk2cCRrUKo5j5dHWOIlZEg=; b=YZVAU/kIyqECD9eoyw2FHZD7ZTrIv5ru64tnJUfyeQf17YJoZLFfbEowN6eMk4S1Hb +Fb/4XY9iWks022GiTSKe/9NjMynDHBotDtDnra+qd10rA/7IDu3ETKiuHOatDAgoLaw 4OAsR1i8Q9x3i/ptAvKSs0CrI6yYUQRuSjoJvFNpR4UVzjx9PxSCs8evEMllhnNt+fWT UOia+7K2Nt/vV1XMp4bpHDwWwHnJugq9KwkSdnu6pRBGPLTg/prGwteww0oiXSKQ1BKZ bUvhPY1VHKnZanFQt1UGaJw7WQ98Y2NEfN0u+8EqCm6+pL5+OG9BEfrSjjl2XvQP5pGp TJKw== X-Gm-Message-State: AIVw111VLaeqS9ip985osmcsXZEXOnbqKhjuxWxEV9gWIgswtpobATaL Qt3PbeZi0Mh56AGjDxfPmJlnRIa7u109 X-Received: by 10.107.6.138 with SMTP id f10mr13836464ioi.333.1501372945389; Sat, 29 Jul 2017 17:02:25 -0700 (PDT) MIME-Version: 1.0 From: Eric Hanchrow Date: Sun, 30 Jul 2017 00:02:14 +0000 Message-ID: Content-Type: multipart/alternative; boundary="001a113ed61215dfb305557da13d" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) --001a113ed61215dfb305557da13d Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I ran "grep", searching for the word "alpha" in all files in my home directory. I happen to know that that word appears exactly once in those files. M-x [execute-extended-command] g [self-insert-command] r [self-insert-command] e [self-insert-command] p [self-insert-command] [minibuffer-complete-and-exit] a [self-insert-command] l [self-insert-command] p [self-insert-command] h [self-insert-command] a [self-insert-command] SPC [self-insert-command] * [self-insert-command] [exit-minibuffer] This displayed a *grep* buffer that looked something like I expected, but: * instead of there being exactly one line with some underlining (indicating a "hit"), there were a bunch: the one I expected, as well as a few before it like this: grep: git-repositories: Is a directory grep: guix: Is a directory grep: homedir: Is a directory grep: homework: Is a directory grep: iTunesDSM: Is a directory grep: jessie64: Is a directory grep: local: Is a directory grep: log: Is a directory grep: mygo: Is a directory grep: node_modules: Is a directory grep: perl5: Is a directory phonetic-alphabet.txt1:Stolen from http://www.fourmilab.ch/documents/phoneticalphabet/ grep: pprof: Is a directory You can't tell from what I've pasted above, but the 9 "Is a directory" lines before the actual hit were red and underlined, just like the match was. * Hitting C-x `, instead of visiting the file with the hit, put a nine-line-high prompt in the minibuffer, as if it was asking me which directory to find the file in a directory with a really weird name. (You can see some evedince of this in the "Recent messages" stuff below). In GNU Emacs 26.0.50 (build 1, x86_64-apple-darwin16.7.0, NS appkit-1504.83 Version 10.12.6 (Build 16G29)) of 2017-07-29 built on Eric-Hanchrows-MacBook-Pro.local Repository revision: d7825cb09eae438a83ed2f5b3e0715523d4ed5b7 Windowing system distributor 'Apple', version 10.3.1504 Recent messages: grep: jessie64: Is a directory grep: local: Is a directory grep: log: Is a directory grep: mygo: Is a directory grep: node_modules: Is a directory grep: perl5: Is a directory phonetic-alphabet.txt=E2=80=99 completing-read-default: Command attempted to use minibuffer while in minibuffer QuitInvalid face reference: unspecified Invalid face reference: unspecified [5 times] Configured features: JPEG RSVG NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS Important settings: value of $LC_ALL: en_US.UTF-8 value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: shell-dirtrack-mode: t tooltip-mode: t global-eldoc-mode: t 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 dired dired-loaddefs rfc822 mml easymenu mml-sec 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 tramp tramp-compat tramp-loaddefs trampver parse-time format-spec advice auth-source cl-seq eieio byte-opt bytecomp byte-compile cconv eieio-core cl-macs gv eieio-loaddefs cl-loaddefs cl-lib password-cache shell pcomplete thingatpt grep compile comint ansi-color ring time-date tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/ns-win ns-win ucs-normalize mule-util term/common-win 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 kqueue cocoa ns multi-tty make-network-process emacs) Memory information: ((conses 16 258110 10162) (symbols 48 30900 1) (miscs 40 48 187) (strings 32 53124 1653) (string-bytes 1 1167343) (vectors 16 38237) (vector-slots 8 750607 17056) (floats 8 55 150) (intervals 56 244 0) (buffers 992 12)) --001a113ed61215dfb305557da13d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I ran "grep", searching for the word "= alpha" in all files in my home
directory.=C2=A0 I happen= to know that that word appears exactly once in
those files.

=C2=A0 =C2=A0 =C2=A0M-x [execute-extended-command]
=C2=A0 =C2=A0 =C2=A0g [self-insert-command]
=C2=A0 =C2=A0 = =C2=A0r [self-insert-command]
=C2=A0 =C2=A0 =C2=A0e [self-insert-= command]
=C2=A0 =C2=A0 =C2=A0p [self-insert-command]
= =C2=A0 =C2=A0 =C2=A0<return> [minibuffer-complete-and-exit]
=C2=A0 =C2=A0 =C2=A0a [self-insert-command]
=C2=A0 =C2=A0 =C2=A0= l [self-insert-command]
=C2=A0 =C2=A0 =C2=A0p [self-insert-comman= d]
=C2=A0 =C2=A0 =C2=A0h [self-insert-command]
=C2=A0 = =C2=A0 =C2=A0a [self-insert-command]
=C2=A0 =C2=A0 =C2=A0SPC [sel= f-insert-command]
=C2=A0 =C2=A0 =C2=A0* [self-insert-command]
=C2=A0 =C2=A0 =C2=A0<return> [exit-minibuffer]

<= /div>
This displayed a *grep* buffer that looked something like I expec= ted,
but:

* instead of there being exact= ly one line with some underlining
=C2=A0 (indicating a "hit&= quot;), there were a bunch: the one I expected, as well
=C2=A0 as= a few before it like this:

=C2=A0 =C2=A0 grep: gi= t-repositories: Is a directory
=C2=A0 =C2=A0 grep: guix: Is a dir= ectory
=C2=A0 =C2=A0 grep: homedir: Is a directory
=C2= =A0 =C2=A0 grep: homework: Is a directory
=C2=A0 =C2=A0 grep: iTu= nesDSM: Is a directory
=C2=A0 =C2=A0 grep: jessie64: Is a directo= ry
=C2=A0 =C2=A0 grep: local: Is a directory
=C2=A0 =C2= =A0 grep: log: Is a directory
=C2=A0 =C2=A0 grep: mygo: Is a dire= ctory
=C2=A0 =C2=A0 grep: node_modules: Is a directory
= =C2=A0 =C2=A0 grep: perl5: Is a directory
=C2=A0 =C2=A0 phonetic-= alphabet.txt1:Stolen from http://www.fourmilab.ch/documents/phoneticalphabet/
=C2=A0 =C2=A0 grep: pprof: Is a directory

= =C2=A0 You can't tell from what I've pasted above, but the 9 "= Is a directory"
=C2=A0 lines before the actual hit were red = and underlined, just like the
=C2=A0 match was.

* Hitting C-x `, instead of visiting the file with the hit, put a
=C2=A0 nine-line-high prompt in the minibuffer, as if it was askin= g me which
=C2=A0 directory to find the file in a directory with = a really weird name.
=C2=A0 (You can see some evedince of this in= the "Recent messages" stuff below).


In GNU Emacs 26.0.50 (build 1, x86_64-apple-darw= in16.7.0, NS appkit-1504.83 Version 10.12.6 (Build 16G29))
=C2=A0= of 2017-07-29 built on Eric-Hanchrows-MacBook-Pro.local
Repositor= y revision: d7825cb09eae438a83ed2f5b3e0715523d4ed5b7
Windowing sy= stem distributor 'Apple', version 10.3.1504
Recent messag= es:
grep: jessie64: Is a directory
grep: local: Is a di= rectory
grep: log: Is a directory
grep: mygo: Is a dire= ctory
grep: node_modules: Is a directory
grep: perl5: I= s a directory
phonetic-alphabet.txt=E2=80=99
completing= -read-default: Command attempted to use minibuffer while in minibuffer
QuitInvalid face reference: unspecified
Invalid face refere= nce: unspecified [5 times]

Configured features:
JPEG RSVG NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS

Important settings:
=C2=A0 value of $LC_ALL= : en_US.UTF-8
=C2=A0 value of $LANG: en_US.UTF-8
=C2=A0= locale-coding-system: utf-8-unix

Major mode: Lisp= Interaction

Minor modes in effect:
=C2= =A0 shell-dirtrack-mode: t
=C2=A0 tooltip-mode: t
=C2= =A0 global-eldoc-mode: t
=C2=A0 eldoc-mode: t
=C2=A0 el= ectric-indent-mode: t
=C2=A0 mouse-wheel-mode: t
=C2=A0= tool-bar-mode: t
=C2=A0 menu-bar-mode: t
=C2=A0 file-n= ame-shadow-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 line-number-mode: t
=C2=A0 transient-mark-mode: t

Load-path s= hadows:
None found.

Features:
= (shadow sort mail-extr emacsbug message subr-x puny seq dired
dir= ed-loaddefs rfc822 mml easymenu mml-sec 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 tramp tramp-compat
<= div>tramp-loaddefs trampver parse-time format-spec advice auth-source cl-se= q
eieio byte-opt bytecomp byte-compile cconv eieio-core cl-macs g= v
eieio-loaddefs cl-loaddefs cl-lib password-cache shell pcomplet= e
thingatpt grep compile comint ansi-color ring time-date tooltip= eldoc
electric uniquify ediff-hook vc-hooks lisp-float-type mwhe= el term/ns-win
ns-win ucs-normalize mule-util term/common-win too= l-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-l= ock font-lock syntax facemenu
font-core term/tty-colors frame cl-= generic cham georgian utf-8-lang
misc-lang vietnamese tibetan tha= i tai-viet lao korean japanese eucjp-ms
cp51932 hebrew greek roma= nian slovak czech european ethiopic indian
cyrillic chinese compo= site charscript charprop case-table epa-hook
jka-cmpr-hook help s= imple abbrev obarray minibuffer cl-preloaded nadvice
loaddefs but= ton faces cus-face macroexp files text-properties overlay
sha1 md= 5 base64 format env code-pages mule custom widget
hashtable-print= -readable backquote kqueue cocoa ns multi-tty
make-network-proces= s emacs)

Memory information:
((conses 16= 258110 10162)
=C2=A0(symbols 48 30900 1)
=C2=A0(miscs = 40 48 187)
=C2=A0(strings 32 53124 1653)
=C2=A0(string-= bytes 1 1167343)
=C2=A0(vectors 16 38237)
=C2=A0(vector= -slots 8 750607 17056)
=C2=A0(floats 8 55 150)
=C2=A0(i= ntervals 56 244 0)
=C2=A0(buffers 992 12))

--001a113ed61215dfb305557da13d-- From unknown Wed Jun 25 00:22:53 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27873: Probably a dupe of #27840 References: In-Reply-To: Resent-From: Eric Hanchrow Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 30 Jul 2017 00:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27873 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 27873@debbugs.gnu.org Received: via spool by 27873-submit@debbugs.gnu.org id=B27873.150137334428511 (code B ref 27873); Sun, 30 Jul 2017 00:10:02 +0000 Received: (at 27873) by debbugs.gnu.org; 30 Jul 2017 00:09:04 +0000 Received: from localhost ([127.0.0.1]:33481 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dbbn6-0007Pm-Bg for submit@debbugs.gnu.org; Sat, 29 Jul 2017 20:09:04 -0400 Received: from mail-it0-f42.google.com ([209.85.214.42]:38714) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dbbn4-0007PH-KJ for 27873@debbugs.gnu.org; Sat, 29 Jul 2017 20:09:03 -0400 Received: by mail-it0-f42.google.com with SMTP id h199so111201320ith.1 for <27873@debbugs.gnu.org>; Sat, 29 Jul 2017 17:09:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=N6LvUaM5nHhqae/Emtic/rpUO9giFAN1P0fN0Rqt6EA=; b=SFtfA7xKxKotcaMWu6Ejol+RtFScflPcQFSN4ifXVzS5lx66AimvODqJawPYNN6CeQ iOLmZHQRXypjGYOWEAk2y8LBjO7Z1wfnA8qK92Yi3flb1xlP6FIDpZByXdQngo/o+6xe JOfwtgXwok5vAYyQJleVXe3YaFKvGcv3HdWCg04I4Hflj5muyOydtrGmlh9fDUosTuiK 965xeVet8g+bwmd5uebFsrHQD//rC/mKK5J4CKkG8HWJg1/v2qY3My74lluHRh1dtwVE Evm9DAcGX0dhJ9PgRgpea70jKMS1S7TrKFX+nQmnIAwsvg7f/5cVWW5OxmbEtWtiM+n6 1n/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=N6LvUaM5nHhqae/Emtic/rpUO9giFAN1P0fN0Rqt6EA=; b=EcU+GeJ5AAL9hMqbUb4VozA8X/7L4BVZDhwauXaeegyez5Cefycd6gi+aFKb7eMVNo d6uQh62t8wGst5vkIrnWRTrMP3A55Gwe66EXhJmn27iD/jg9JVNXuABcog6mRm8M1QP7 tW/du1qB0FCOtkwxEHZBPzV0u8XQxio+YbKI2bDmdi7Tf81dPQ3HQUwK2t1Yn1Ljs6tL SeA5wwUMQDFs2+wPzffBKgiW6mqIYHNrvvjuoI47BJXDhZF1CKJ058VS7EkDun02XjrZ FHko7Q8fe5IlV2wZGCQFzHBrHQWqoFVPZI9rB8PNB++dF5c8tN/Sp4HE1XTOg/EZBjhb qHtg== X-Gm-Message-State: AIVw1123L1LSt9+t0UzRekwDK+InieLBkXBWuQnsm2ZgBtgyVBuSfO15 1ZDe+av+PcSc2ZBt8EiF6siEwmpX7M24 X-Received: by 10.36.219.11 with SMTP id c11mr14554128itg.108.1501373336578; Sat, 29 Jul 2017 17:08:56 -0700 (PDT) MIME-Version: 1.0 From: Eric Hanchrow Date: Sun, 30 Jul 2017 00:08:46 +0000 Message-ID: Content-Type: multipart/alternative; boundary="94eb2c058ba666f0b905557db881" X-Spam-Score: 1.7 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=27840 is a similar report from a few days ago. =?UTF-8?Q?https://debbugs.gnu.org/cgi/bugreport.cgi=3Fbug=3D27840=C2?= is a similar report from a few days ago. [...] Content analysis details: (1.7 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.5 RCVD_IN_SORBS_SPAM RBL: SORBS: sender is a spam source [209.85.214.42 listed in dnsbl.sorbs.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [209.85.214.42 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (eric.hanchrow[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 1.2 HTML_OBFUSCATE_10_20 BODY: Message is 10% to 20% HTML obfuscation 0.0 HTML_MESSAGE BODY: HTML included in message -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.214.42 listed in wl.mailspike.net] -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.7 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=27840 is a similar report from a few days ago. =?UTF-8?Q?https://debbugs.gnu.org/cgi/bugreport.cgi=3Fbug=3D27840=C2?= is a similar report from a few days ago. [...] Content analysis details: (1.7 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.5 RCVD_IN_SORBS_SPAM RBL: SORBS: sender is a spam source [209.85.214.42 listed in dnsbl.sorbs.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [209.85.214.42 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.214.42 listed in wl.mailspike.net] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (eric.hanchrow[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 1.2 HTML_OBFUSCATE_10_20 BODY: Message is 10% to 20% HTML obfuscation 0.0 HTML_MESSAGE BODY: HTML included in message -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid --94eb2c058ba666f0b905557db881 Content-Type: text/plain; charset="UTF-8" https://debbugs.gnu.org/cgi/bugreport.cgi?bug=27840 is a similar report from a few days ago. --94eb2c058ba666f0b905557db881 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D27840=C2=A0is= a similar report from a few days ago.
--94eb2c058ba666f0b905557db881-- From unknown Wed Jun 25 00:22:53 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27873: 26.0.50; M-x grep broken Resent-From: npostavs@users.sourceforge.net Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 30 Jul 2017 15:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27873 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eric Hanchrow Cc: 27873@debbugs.gnu.org, Dmitry Gutov Received: via spool by 27873-submit@debbugs.gnu.org id=B27873.150142866022707 (code B ref 27873); Sun, 30 Jul 2017 15:31:02 +0000 Received: (at 27873) by debbugs.gnu.org; 30 Jul 2017 15:31:00 +0000 Received: from localhost ([127.0.0.1]:34429 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dbqBI-0005u7-4a for submit@debbugs.gnu.org; Sun, 30 Jul 2017 11:31:00 -0400 Received: from mail-it0-f67.google.com ([209.85.214.67]:34330) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dbqBF-0005tl-KZ; Sun, 30 Jul 2017 11:30:58 -0400 Received: by mail-it0-f67.google.com with SMTP id t78so16252895ita.1; Sun, 30 Jul 2017 08:30:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=we0EA8P32m6voQZf7Zqbow7fOnNRQo25l5Ub4gnRVV0=; b=cgiIHJX10jcd7INSZSxLuelO2BfAllSMuY3tFbxeb4B9L39lLf4DhnfCbTsFZA0O4N pJ5JF9a5Krwn1UcVD8sImYujojK+gmker2Gtfm0IUYEZXoEqNVfNH3yngxn4hn7dDtip 0vE1pPZ60rRaJpkMohJB7cJRj0qNdQ4DSHi66EWrY1iJxaa53mX5kVUuLWxiAQs9EGUH 63tu/L9FuwJ5SZR4KuDNWBl/tHzEgxAKglUq8CypaPgEct2/71OBxDUMWzOeMN7USagt puilfLFLs8ziR+6UbOYftdxb1UrnrFIgIx9Rt29GUKJC3Gx26K/2m6SvLmEGAVtyhJ1I vc5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=we0EA8P32m6voQZf7Zqbow7fOnNRQo25l5Ub4gnRVV0=; b=XElhfJd236FSZ2B9m97vuiK7AM5NvR68PwT1az4guozX6vGGty30x3GilxSyblcQqC DDi88uO9uHs1W4q6Xq9TtMsCpP/oWw8Mhx31OnsKIEgaoz+SOZxSKjGs4OnjkV18dhTI 5QtzGuH8mpYdzjueAaqmwmEV1UXaLf45z4DfjSp31COLBrVeb0QgWqPGSnRrJSZxGDut 9g7WtAUKNhMT41MwJPXAmDSxIGa5uwHI0qbTd6Wku4Eg8cmV2rGTCaCiVHPOfaOGt0YA UioGzRzGPVf4Ewz6asw8WBg1cl+PJFa5fJ/nmVJ7Qm3woYMJX9t0rIt9rsmPrnPvMDao S5Og== X-Gm-Message-State: AIVw111rLk4NcrBSWIs4kgK9aZkOIqnNpHV68VVYNKkPoGG3bo7r/Ka0 lKvwEREqHQkODUuT X-Received: by 10.36.28.82 with SMTP id c79mr16051137itc.173.1501428651828; Sun, 30 Jul 2017 08:30:51 -0700 (PDT) Received: from zony ([45.2.7.65]) by smtp.googlemail.com with ESMTPSA id w6sm4488481itb.2.2017.07.30.08.30.50 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 30 Jul 2017 08:30:51 -0700 (PDT) From: npostavs@users.sourceforge.net References: Date: Sun, 30 Jul 2017 11:32:31 -0400 In-Reply-To: (Eric Hanchrow's message of "Sun, 30 Jul 2017 00:02:14 +0000") Message-ID: <87a83m7xf4.fsf@users.sourceforge.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2.50 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.7 (/) --=-=-= Content-Type: text/plain tags 27873 + patch quit Eric Hanchrow writes: > This displayed a *grep* buffer that looked something like I expected, > but: > > * instead of there being exactly one line with some underlining > (indicating a "hit"), there were a bunch: the one I expected, as well > as a few before it like this: > > grep: git-repositories: Is a directory > grep: guix: Is a directory > grep: homedir: Is a directory > grep: homework: Is a directory > grep: iTunesDSM: Is a directory > grep: jessie64: Is a directory > grep: local: Is a directory > grep: log: Is a directory > grep: mygo: Is a directory > grep: node_modules: Is a directory > grep: perl5: Is a directory > phonetic-alphabet.txt1:Stolen from http://www.fourmilab.ch/documents/phoneticalphabet/ > grep: pprof: Is a directory > > You can't tell from what I've pasted above, but the 9 "Is a directory" > lines before the actual hit were red and underlined, just like the > match was. > > * Hitting C-x `, instead of visiting the file with the hit, put a > nine-line-high prompt in the minibuffer, as if it was asking me which > directory to find the file in a directory with a really weird name. > (You can see some evedince of this in the "Recent messages" stuff below). > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=27840 is a similar report from a few days ago. It's not a duplicate though, this bug is because I thought using --null would make it possible to get filenames containing newlines unambiguously, but I was wrong. Here's a patch, also covers a couple of minor issues that came up later in Bug#6843. --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=v1-0001-Don-t-take-multiples-lines-of-grep-output-as-a-si.patch Content-Description: patch >From a6fae71f7f1ea5774a85f4b4238c9d7e4ed4e132 Mon Sep 17 00:00:00 2001 From: Noam Postavsky Date: Sun, 30 Jul 2017 11:07:01 -0400 Subject: [PATCH v1] Don't take multiples lines of grep output as a single filename (Bug#27873) * lisp/progmodes/grep.el (grep-with-null-regexp-alist): Exclude newlines from the filename part of the regexp. We must assume filenames don't have newlines to avoid ambiguity with "foo is a directory" messages. Use 'face nil' instead of 'face unspecified', the latter causes errors (albeit demoted to messsages). Also renumber FILE and LINE regexp groups to match the without-null regexp. (grep-without-null-regexp-alist): Rename from `grep-fallback-regexp-alist'. --- lisp/progmodes/grep.el | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/lisp/progmodes/grep.el b/lisp/progmodes/grep.el index 4723290fbe..483a1c49ff 100644 --- a/lisp/progmodes/grep.el +++ b/lisp/progmodes/grep.el @@ -384,16 +384,22 @@ (defconst grep--regexp-alist-column (mend (and mbeg (next-single-property-change mbeg 'font-lock-face nil end)))) (when mend (- mend beg))))))) + (defconst grep--regexp-alist-bin-matcher '("^Binary file \\(.+\\) matches$" 1 nil nil 0 1)) + (defconst grep-with-null-regexp-alist - `(("^\\([^\0]+\\)\\(\0\\)\\([0-9]+\\)\\([\0:]\\)" 1 3 ,grep--regexp-alist-column nil nil - (2 '(face unspecified display ":")) - (4 '(face unspecified display ":"))) + `(;; Use explicit numbering to keep FILE and LINE groups the same + ;; for both regexp alists. + ("^\\(?1:[^\0\n]+\\)\\(?3:\0\\)\\(?2:[0-9]+\\)\\(?4:[\0:]\\)" + 1 2 ,grep--regexp-alist-column nil nil + (3 '(face nil display ":")) + (4 '(face nil display ":"))) ,grep--regexp-alist-bin-matcher) "Regexp used to match grep hits. See `compilation-error-regexp-alist'.") -(defconst grep-fallback-regexp-alist + +(defconst grep-without-null-regexp-alist `(;; Use a tight regexp to handle weird file names (with colons ;; in them) as well as possible. E.g., use [1-9][0-9]* rather ;; than [0-9]+ so as to accept ":034:" in file names. @@ -401,7 +407,8 @@ (defconst grep-fallback-regexp-alist 1 2 ,grep--regexp-alist-column) ,grep--regexp-alist-bin-matcher) "Regexp used to match grep hits when `--null' is not supported. -See `compilation-error-regexp-alist'.") +See `compilation-error-regexp-alist' and +`grep-use-null-filename-separator'.") (defvaralias 'grep-regex-alist 'grep-with-null-regexp-alist) (make-obsolete-variable -- 2.11.1 --=-=-=-- From unknown Wed Jun 25 00:22:53 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27873: 26.0.50; M-x grep broken Resent-From: Eric Hanchrow Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 30 Jul 2017 18:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27873 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: npostavs@users.sourceforge.net Cc: 27873@debbugs.gnu.org, Dmitry Gutov Received: via spool by 27873-submit@debbugs.gnu.org id=B27873.150144052514745 (code B ref 27873); Sun, 30 Jul 2017 18:49:01 +0000 Received: (at 27873) by debbugs.gnu.org; 30 Jul 2017 18:48:45 +0000 Received: from localhost ([127.0.0.1]:34529 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dbtGf-0003pl-C4 for submit@debbugs.gnu.org; Sun, 30 Jul 2017 14:48:45 -0400 Received: from mail-io0-f174.google.com ([209.85.223.174]:37863) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dbtGd-0003pY-J7 for 27873@debbugs.gnu.org; Sun, 30 Jul 2017 14:48:44 -0400 Received: by mail-io0-f174.google.com with SMTP id c74so104133342iod.4 for <27873@debbugs.gnu.org>; Sun, 30 Jul 2017 11:48:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=G/zdfX9jJ9TfrdG72WdhnI5+Mw6BpstKTTfdwej+USk=; b=Gn5plZcKzZmsl4gMA8M7PcleFjdWkn7Ku8GrbXgV3pL5G7ccoeqodRmMfY7S2gvD+w RIhlhro7LSl6Lf7ypRS6Q/92OjWYfN6MYRm7dCf5WWHGloJ8jrxJPIBhoUSOYu1mJ1yg wnP4hSV65tPjI61eCt2bqAAXERVqKt8iOY5IeZ484CW5wz+ZdmeWoE92VnNnpXWKRvv0 yJ3aPSHiMAw60R5VO/5sAWLrFqEgBkdXdlcUNPTzTY2S31F2ZiXq4qbjgXHQkmelvhVJ FEkcco8BskXkkYUIbtn8olwKoRtmGP8dYxwDxH7bm8ByZxEvHohSp04K9VYU7JWmD16E YM2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=G/zdfX9jJ9TfrdG72WdhnI5+Mw6BpstKTTfdwej+USk=; b=ocarj7wMwZSmkVnYDuDiwm/wQvRIalFPCtLeKiE+jec/EDl64hwqgaoLLhAPjeovwo p2Hff2AHkuTysbquUdacYm2Yqom3b8cnyzxK5kL7iVSSb2Ev/m82qo5BEFfP3y6gSQzw vM+539yJsxQh+fHW+PBr2lEVC6JBYEx3j968VwZMG/+PUawtCzO6dUQ2vJ5gSJ1yhLBd 9wZYEZw7uCTMVTBEOAk/WDLumaofVN9H4tEKcWswQ6fzOmqPsR2/9MJe03pICCiFU+ZW h4tsy4M4fypyoFNm9/OzFjLCGjuqfFSC7VlmrHEwPuSQ6WEWiXD4Qm4lrRD67T9Nr54z RNmQ== X-Gm-Message-State: AIVw110SoE3+k0XapHJ1ZMrGnYfHEzLcA6P384o+KNJnjJ48+xPCSB6F qW4EjAeX4lNgWJd/20TsnQ726Eirqg== X-Received: by 10.107.129.232 with SMTP id l101mr15521075ioi.151.1501440517873; Sun, 30 Jul 2017 11:48:37 -0700 (PDT) MIME-Version: 1.0 References: <87a83m7xf4.fsf@users.sourceforge.net> In-Reply-To: <87a83m7xf4.fsf@users.sourceforge.net> From: Eric Hanchrow Date: Sun, 30 Jul 2017 18:48:26 +0000 Message-ID: Content-Type: multipart/alternative; boundary="001a113ed2beb8256a05558d5c44" X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --001a113ed2beb8256a05558d5c44 Content-Type: text/plain; charset="UTF-8" "git apply" refused to apply the patch, but I applied it by hand, and it seems to work fine. Thanks. On Sun, Jul 30, 2017 at 8:30 AM wrote: > tags 27873 + patch > quit > > Eric Hanchrow writes: > > > This displayed a *grep* buffer that looked something like I expected, > > but: > > > > * instead of there being exactly one line with some underlining > > (indicating a "hit"), there were a bunch: the one I expected, as well > > as a few before it like this: > > > > grep: git-repositories: Is a directory > > grep: guix: Is a directory > > grep: homedir: Is a directory > > grep: homework: Is a directory > > grep: iTunesDSM: Is a directory > > grep: jessie64: Is a directory > > grep: local: Is a directory > > grep: log: Is a directory > > grep: mygo: Is a directory > > grep: node_modules: Is a directory > > grep: perl5: Is a directory > > phonetic-alphabet.txt1:Stolen from > http://www.fourmilab.ch/documents/phoneticalphabet/ > > grep: pprof: Is a directory > > > > You can't tell from what I've pasted above, but the 9 "Is a directory" > > lines before the actual hit were red and underlined, just like the > > match was. > > > > * Hitting C-x `, instead of visiting the file with the hit, put a > > nine-line-high prompt in the minibuffer, as if it was asking me which > > directory to find the file in a directory with a really weird name. > > (You can see some evedince of this in the "Recent messages" stuff below). > > > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=27840 is a similar report > from a few days ago. > > It's not a duplicate though, this bug is because I thought using --null > would make it possible to get filenames containing newlines > unambiguously, but I was wrong. Here's a patch, also covers a couple of > minor issues that came up later in Bug#6843. > > --001a113ed2beb8256a05558d5c44 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
"git apply" refused to apply the patch, but I ap= plied it by hand, and it seems to work fine.=C2=A0 Thanks.

On Sun, Jul 30, 2017 at 8:30 AM <npostavs@users.sourceforge.= net> wrote:
tags 27873 + pat= ch
quit

Eric Hanchrow <eric.hanchrow@gmail.com> writes:

> This displayed a *grep* buffer that looked something like I expected,<= br> > but:
>
> * instead of there being exactly one line with some underlining
> (indicating a "hit"), there were a bunch: the one I expected= , as well
> as a few before it like this:
>
> grep: git-repositories: Is a directory
> grep: guix: Is a directory
> grep: homedir: Is a directory
> grep: homework: Is a directory
> grep: iTunesDSM: Is a directory
> grep: jessie64: Is a directory
> grep: local: Is a directory
> grep: log: Is a directory
> grep: mygo: Is a directory
> grep: node_modules: Is a directory
> grep: perl5: Is a directory
> phonetic-alphabet.txt1:Stolen from http://ww= w.fourmilab.ch/documents/phoneticalphabet/
> grep: pprof: Is a directory
>
> You can't tell from what I've pasted above, but the 9 "Is= a directory"
> lines before the actual hit were red and underlined, just like the
> match was.
>
> * Hitting C-x `, instead of visiting the file with the hit, put a
> nine-line-high prompt in the minibuffer, as if it was asking me which<= br> > directory to find the file in a directory with a really weird name. > (You can see some evedince of this in the "Recent messages" = stuff below).

> https://debbugs.gnu.org/cgi/bugreport.cgi= ?bug=3D27840 is a similar report from a few days ago.

It's not a duplicate though, this bug is because I thought using --null=
would make it possible to get filenames containing newlines
unambiguously, but I was wrong.=C2=A0 Here's a patch, also covers a cou= ple of
minor issues that came up later in Bug#6843.

--001a113ed2beb8256a05558d5c44-- From unknown Wed Jun 25 00:22:53 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27873: 26.0.50; M-x grep broken Resent-From: npostavs@users.sourceforge.net Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 30 Jul 2017 20:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27873 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Eric Hanchrow Cc: 27873@debbugs.gnu.org, Dmitry Gutov Received: via spool by 27873-submit@debbugs.gnu.org id=B27873.150144521622397 (code B ref 27873); Sun, 30 Jul 2017 20:07:02 +0000 Received: (at 27873) by debbugs.gnu.org; 30 Jul 2017 20:06:56 +0000 Received: from localhost ([127.0.0.1]:34554 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dbuUK-0005pB-IL for submit@debbugs.gnu.org; Sun, 30 Jul 2017 16:06:56 -0400 Received: from mail-io0-f193.google.com ([209.85.223.193]:34513) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dbuUH-0005ov-VM for 27873@debbugs.gnu.org; Sun, 30 Jul 2017 16:06:55 -0400 Received: by mail-io0-f193.google.com with SMTP id m88so13134629iod.1 for <27873@debbugs.gnu.org>; Sun, 30 Jul 2017 13:06:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=hZi8JD+yMXZUZpiDcyJviWLJmG5sfEPepVKxNzOdFYU=; b=V5lbRRkVWmO2ItAWkDIV41co4JsKFoZx+mUqUkDuj5pv4u9fOn7zNHXBs+ZVgKlp9S dRnWjso41vbGAgJWTBpcDKarQ/S6rz1NXOher038cHG9cjhvddML7oU1fG0Vh3wQLKcv UtTk2TbKjTx9dR5wjO/u1+tgYN1GX8alX7NugHCXQ1EnqgMD+dIrRco/zUBYxOG0t487 cBNrPJdKQ/3928Oh4mJueQjmGMNMot3O5dumHFjnHD9g8GfWJYfj0HhblbEKkY4U9tQT 9MUbFf0rUf23hWkCt5Q8RXXW2GYWJMcF8tKLce3ruE6Ok0AmGM7TeDipWNt3r1cipH5p BuJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=hZi8JD+yMXZUZpiDcyJviWLJmG5sfEPepVKxNzOdFYU=; b=rsDu/4xqcNEcn7OqztO/AaBHQQXp7vw4Q847l7NoUB6ap1nzXLdYVnkHH1uGroc2I1 9mWATVojVQFMgYj42Yiw1CpwAR1S3xDYqwQf+OjnIv3gjAgD5vYWSVbmqGeqp2evTLRz 770r5IbmDA6wjdd3bfiY0uBQgR0frk8qoGFMCNiy17wwIXw+57hXSXTm1km2bI3wQhSK hjfm/pYC5aGyDVtI1YYXqGIIX8LeoWxJsT9Vuu6xqW37AS6B4k/BzxcktEnXXFGLJlx7 97rwpFGPMb7pkUlflw4yHLnb66dMTPsi6P6a+mn3x9jVN2NWQxX2jYsiqFiVIX25ks+H 38ig== X-Gm-Message-State: AIVw112RQPNgpTxAJRp8yndPfszkstyBhRgWwM5jvmcWaDwu0pYRCqS6 7ZmgTszNibiLZg== X-Received: by 10.107.142.81 with SMTP id q78mr17715550iod.213.1501445208471; Sun, 30 Jul 2017 13:06:48 -0700 (PDT) Received: from zony ([45.2.7.65]) by smtp.googlemail.com with ESMTPSA id s63sm4125284ioi.11.2017.07.30.13.06.47 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 30 Jul 2017 13:06:47 -0700 (PDT) From: npostavs@users.sourceforge.net References: <87a83m7xf4.fsf@users.sourceforge.net> Date: Sun, 30 Jul 2017 16:08:28 -0400 In-Reply-To: (Eric Hanchrow's message of "Sun, 30 Jul 2017 18:48:26 +0000") Message-ID: <87379d8z7n.fsf@users.sourceforge.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.6 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) Eric Hanchrow writes: > "git apply" refused to apply the patch Oops, I wrote it here on top of the patch in https://debbugs.gnu.org/cgi/bugreport.cgi?bug=27840#8, so it doesn't apply to current master. > , but I applied it by hand, and it seems to work fine. Thanks. Thanks for testing. I will try to get this grep mess sorted soon. From unknown Wed Jun 25 00:22:53 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27873: 26.0.50; M-x grep broken Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 30 Jul 2017 20:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27873 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Eric Hanchrow Cc: 27873@debbugs.gnu.org Received: via spool by 27873-submit@debbugs.gnu.org id=B27873.150144687124902 (code B ref 27873); Sun, 30 Jul 2017 20:35:01 +0000 Received: (at 27873) by debbugs.gnu.org; 30 Jul 2017 20:34:31 +0000 Received: from localhost ([127.0.0.1]:34560 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dbuv0-0006Ta-UI for submit@debbugs.gnu.org; Sun, 30 Jul 2017 16:34:31 -0400 Received: from mail-oi0-f53.google.com ([209.85.218.53]:33420) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dbuuz-0006TN-Lg for 27873@debbugs.gnu.org; Sun, 30 Jul 2017 16:34:29 -0400 Received: by mail-oi0-f53.google.com with SMTP id a9so169085883oih.0 for <27873@debbugs.gnu.org>; Sun, 30 Jul 2017 13:34:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=3X0X0PyJukmtuaFsmfkDI3H1ywHUhLsboyDEhCI7xVI=; b=VPcRtpU65EGN+RvJlh6N8sGJdGAo4GJMLX7gkLbGss5WN0spziasX0erj0+UXho1+a Zs+Q7MWHazS7REK0wzTUGH2lOwMu5bFKP4CemVTI9SMtdCr7G3ZQ4L9mB4UPF9H0TJkV QLlNQMDQhDaAerTXuHNISIPxuOODaLE0sO5a1kplm88kgU+nsEpLvoiYnwH+eH54l5Lh mrsReicL43UEXs3hd5Qw7WTMNBJx+r4EI+WwPw18xNLh/LgeTTwhhgqxjDYDhs0qWnK0 DhB+WlqkbeuAhR2aSv/W0Oor6uNOijQhVfZOFmjjtQQfZyDv3ngrEpaa64onWR/fCvPm OtnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=3X0X0PyJukmtuaFsmfkDI3H1ywHUhLsboyDEhCI7xVI=; b=GVdkQyblcYIyGOWt8kwj9njUdthvS2mPhWYQPjfdweYuGkHVWt04dI+0w4zZ7gBX0s kySNsg3mOo7/GXJu6yuRZYZRFoYaOPhGI/Ds9m5LE7CWxo9xreWjLEwBiD7xGUmYoCGk u1KGFeW564BRtwYiKkIchmCGKzhkdGoRh6v9CaZRFSN0WiGOmdyFPLQduuuYV8hwIALQ IeikAGRWl1ifBmNCnjDuFVJtu/+r1rXBNUmNkVmFDxWAlIP3/f/wm1zIuINE1ruSgvKU agzQ6ibsVY7LmvTbE+JhPHk0GvOuce+cn9WJUqyVW9bMOe6kueuRChs6Uo3yKpQVkxor SXPA== X-Gm-Message-State: AIVw110Icbhr5XvidreAImkYWELzb8JJk8Rx6QjZF/+kg8gyQHh7nz5c 1tLJ/4a4EepY/79ThSDG3C/HcQwu5g== X-Received: by 10.202.208.79 with SMTP id h76mr13902898oig.65.1501446863987; Sun, 30 Jul 2017 13:34:23 -0700 (PDT) MIME-Version: 1.0 Received: by 10.74.113.6 with HTTP; Sun, 30 Jul 2017 13:34:23 -0700 (PDT) In-Reply-To: References: <87a83m7xf4.fsf@users.sourceforge.net> <87379d8z7n.fsf@users.sourceforge.net> From: Noam Postavsky Date: Sun, 30 Jul 2017 16:34:23 -0400 X-Google-Sender-Auth: fw68FyabCC5b7HSBrfLnEqDiXK4 Message-ID: Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.7 (/) On Sun, Jul 30, 2017 at 4:25 PM, Eric Hanchrow wrote: > I suspect you've subtly changed the semantics of the grep command, by > assuming that the hits are teminated by a 0 byte. This is a good thing, but > it seems to have broken a command I've written myself -- that is, when I run > > cd /Users/erichanchrow/git-repositories/3rd-party/emacs/ && git grep > --perl-regexp -I -n --ignore-case -e hanchrow > > I see ... well, it's hard to describe, but the hits aren't highlighted in > the color I expect, and C-x ` just says "Moved past last grep hit". But, > not surprisingly, if I add --null to that command line, it works nicely. > > So now I will need to adjust my command based on which version of grep.el > I've got. Is there some programmatic way that I can tell which version I've > got? I.e., perhaps I can write something like "if boundp > 'grep-with-null-regexp-alist then add --null to my command, else leave it > out"? It should work to just customize `grep-use-null-filename-separator' to nil. Then you should have the old behaviour again. I'm currently leaning towards making it default to nil actually, to avoid the hassle in cases like the one you've described above (see also Bug#27840). From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 06 20:38:04 2017 Received: (at control) by debbugs.gnu.org; 7 Aug 2017 00:38:04 +0000 Received: from localhost ([127.0.0.1]:45074 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1deW3Y-00053C-6N for submit@debbugs.gnu.org; Sun, 06 Aug 2017 20:38:04 -0400 Received: from mail-it0-f67.google.com ([209.85.214.67]:37389) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1deW3W-00052g-I4; Sun, 06 Aug 2017 20:38:03 -0400 Received: by mail-it0-f67.google.com with SMTP id 77so4561499itj.4; Sun, 06 Aug 2017 17:38:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=GxgLQu4yg8QtrYaYAy8hiQxFIyea3ZnUAPbnUAiz7/Y=; b=iXdx9e8laMFu7fCgExPAuwU0x3utCa8wWYNHFCLKVs/B8VYG3p5/rMWURBi8kIynSv Z2lmgePejAS8ot48zLKLvDm69JA+UwQR1ZecnHomGtU+o3jMsDGs4K70pwn+owQcPAr+ oDwbZkzsHt6bsjs9+ST0gVJFNKIvncNs2HwN13jCHb+HrcfQqThFzBOO9v1mwAxjNMko 2GnXcqrMK1QwHJm+w9pA/d/qeUJep5PkRW41IR1HCjhfoLoSV8sP79VNbpVI4uCoArwV V4ZJ8xdPEqcR+F1JcvrVRooN6Rc7yGnZk5176gsUqAkSeKe0ec7YiYuVc6ad2nQ/aptL BOaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=GxgLQu4yg8QtrYaYAy8hiQxFIyea3ZnUAPbnUAiz7/Y=; b=j+eaXE7m2Qt+EWphhuP4VCNgme4oQ5e63DljY4oEttmgxDD028VEs7jQrXFdjYxSOq dLVkHTJoBT8DnZRXUV7Yu05AmgYlnWW1XQzDwDrxlumJlI757gqwCD90iPFCy7btjIKp MWJwQ48yR5GUmvqk5Y66nT19KJdNZmSqVepeH2q+l/Pbjrk7I/Fy708fUSIZaaEmGKgM Ixup3advTWTCo8oJm8svFShKCo66dKfJnVqUFHffcuuytKkuhnje1LnFcFOPTxqH4e0Z pQQG+lhczNtrMlwkTJYSWBlLKZko7CuKFPIXr2jxQvL4bUjWA/HXow2OEpwgZiXfTjSV FeLw== X-Gm-Message-State: AIVw112qKQ/nWyOTFM6zA5T5PhsCgxlDSxgPRSkIhB87jNTwNPFk6CxU Lx5KZFTFp8IAve1Y X-Received: by 10.36.181.91 with SMTP id j27mr9878473iti.94.1502066276662; Sun, 06 Aug 2017 17:37:56 -0700 (PDT) Received: from zony ([45.2.119.49]) by smtp.googlemail.com with ESMTPSA id g204sm3307152iog.54.2017.08.06.17.37.55 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 06 Aug 2017 17:37:55 -0700 (PDT) From: npostavs@users.sourceforge.net To: Dmitry Gutov Subject: Re: bug#27840: 26.0.50; vc-git-grep stopped working on git master References: <87shhj3wtc.fsf@pokyo> <87inie93lp.fsf@users.sourceforge.net> <07272ad0-8cd0-f75e-1cf7-8f66e1d77466@yandex.ru> <8760e994rv.fsf@users.sourceforge.net> <17696669-9155-d7d2-ffe3-97bb62ceb733@yandex.ru> <87wp6l73ei.fsf@users.sourceforge.net> <87tw1n6k32.fsf@users.sourceforge.net> Date: Sun, 06 Aug 2017 20:39:33 -0400 In-Reply-To: <87tw1n6k32.fsf@users.sourceforge.net> (npostavs@users.sourceforge.net's message of "Fri, 04 Aug 2017 18:31:45 -0400") Message-ID: <87poc843ei.fsf@users.sourceforge.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: control Cc: 27840@debbugs.gnu.org, Tom Tromey X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.7 (/) tags 27840 fixed close 27840 tags 27873 fixed close 27873 quit npostavs@users.sourceforge.net writes: > Dmitry Gutov writes: > >> Also semantic/symref/grep.el. I fixed it before in a separate patch, >> but let's keep this update all together. > > Oops! Thanks for reminding me. I also noticed that I had missed > handling 'grep --null --after/before-context=N ...' output correctly. Pushed to master [1: c2f1830d69]. [1: c2f1830d69]: 2017-08-06 20:25:11 -0400 Merge null and without-null regexp alists (Bug#27840, Bug#27873) http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=c2f1830d69f5a5e20dac6fcbf3af4d51afba92bd