GNU bug report logs - #4210
23.1.50; lgrep chooses silly default value for file extension

Previous Next

Package: emacs;

Reported by: Eric Hanchrow <eric.hanchrow <at> gmail.com>

Date: Thu, 20 Aug 2009 20:35:08 UTC

Severity: normal

Done: Juri Linkov <juri <at> jurta.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eric Hanchrow <eric.hanchrow <at> gmail.com>
To: emacs-pretest-bug <at> gnu.org
Subject: bug#4210: 23.1.50; lgrep chooses silly default value for file extension
Date: Wed, 19 Aug 2009 19:20:33 -0700
Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your bug report will be posted to the emacs-pretest-bug <at> gnu.org mailing list.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

I visited a python file

C-x C-f ~ / l o c TAB RET b i n RET . p y RET

(I happen to have a bunch of python files in ~/local/bin, and I have
ido-mode turned on)
 
I cloned the buffer:

C-x 4 c 

I used lgrep to search:

ESC x l g r e p RET ^ c l a s s RET RET RET


At this point I was looking at a *grep* buffer like this:

    -*- mode: grep; default-directory: "~/local/bin/" -*-
    Grep started at Wed Aug 19 19:17:41

    grep -i -nH -e \^class *.py<2>
    /bin/bash: -c: line 0: syntax error near unexpected token `2'
    /bin/bash: -c: line 0: `grep -i -nH -e \^class *.py<2>'

    Grep exited abnormally with code 2 at Wed Aug 19 19:17:41

Naturally the "grep" command should have been 

    grep -i -nH -e \^class *.py

i.e., the "<2>" shouldn't have been put in there.

If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
/usr/local/src/emacs/etc/DEBUG for instructions.



In GNU Emacs 23.1.50.2 (i686-pc-linux-gnu, GTK+ Version 2.12.12)
 of 2009-08-17 on debian
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: nil
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: Python

Minor modes in effect:
  shell-dirtrack-mode: t
  erc-list-mode: t
  erc-menu-mode: t
  erc-ring-mode: t
  erc-pcomplete-mode: t
  erc-track-mode: t
  erc-track-minor-mode: t
  erc-match-mode: t
  erc-netsplit-mode: t
  erc-irccontrols-mode: t
  erc-noncommands-mode: t
  erc-move-to-prompt-mode: t
  erc-readonly-mode: t
  erc-button-mode: t
  erc-fill-mode: t
  erc-stamp-mode: t
  erc-autojoin-mode: t
  erc-log-mode: t
  erc-services-mode: t
  erc-networks-mode: t
  global-auto-revert-mode: t
  display-time-mode: t
  tooltip-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:

Recent messages:
Making completion list...
prep-new-frame: considering #<frame F4 0x9755a38>; SSH_TTY is /dev/pts/0
When done with this frame, type C-x 5 0
Corrections: displays displays display misplays displace displease dispels splays
Mark set
prep-new-frame: considering #<frame F5 0x97c7748>; SSH_TTY is /dev/pts/5
When done with this frame, type C-x 5 0
Quit
Loading tramp...done
Grep exited abnormally with code 2

Load-path shadows:
~/.emacs.d/custom hides /usr/local/src/emacs/lisp/custom

-- 
If there were a little guy running around inside the computer
executing our programs, he would probably have as long and
plaintive a tale to tell about his job as a federal government
employee.
        -- Paul Graham




This bug report was last modified 15 years and 268 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.