From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eric Hanchrow Newsgroups: gmane.emacs.bugs Subject: bug#27873: 26.0.50; M-x grep broken Date: Sun, 30 Jul 2017 00:02:14 +0000 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a113ed61215dfb305557da13d" X-Trace: blaine.gmane.org 1501372998 30189 195.159.176.226 (30 Jul 2017 00:03:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 30 Jul 2017 00:03:18 +0000 (UTC) To: 27873@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jul 30 02:03:12 2017 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 1dbbhL-00079B-AK for geb-bug-gnu-emacs@m.gmane.org; Sun, 30 Jul 2017 02:03:07 +0200 Original-Received: from localhost ([::1]:53774 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dbbhP-0002cp-Fl for geb-bug-gnu-emacs@m.gmane.org; Sat, 29 Jul 2017 20:03:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51690) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dbbhI-0002bE-SS for bug-gnu-emacs@gnu.org; Sat, 29 Jul 2017 20:03:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dbbhH-0007h2-4L for bug-gnu-emacs@gnu.org; Sat, 29 Jul 2017 20:03:04 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:59032) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dbbhH-0007go-0R for bug-gnu-emacs@gnu.org; Sat, 29 Jul 2017 20:03:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dbbhG-0007GW-HD for bug-gnu-emacs@gnu.org; Sat, 29 Jul 2017 20:03:02 -0400 X-Loop: help-debbugs@gnu.org 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: X-Debbugs-Original-To: "bug-gnu-emacs@gnu.org" Original-Received: via spool by submit@debbugs.gnu.org id=B.150137296227901 (code B ref -1); Sun, 30 Jul 2017 00:03:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 30 Jul 2017 00:02:42 +0000 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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) 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-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:135128 Archived-At: --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--