From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eric Hanchrow Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#4210: 23.1.50; lgrep chooses silly default value for file extension Date: Wed, 19 Aug 2009 19:20:33 -0700 Message-ID: <87fxbnkyz2.fsf@debian.domain.actdsltmp> Reply-To: Eric Hanchrow , 4210@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1250803193 12094 80.91.229.12 (20 Aug 2009 21:19:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 20 Aug 2009 21:19:53 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Aug 20 23:19:45 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MeF2v-000817-2d for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Aug 2009 23:19:45 +0200 Original-Received: from localhost ([127.0.0.1]:41768 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MeF2u-0007iJ-F1 for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Aug 2009 17:19:44 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MeF2q-0007iB-GQ for bug-gnu-emacs@gnu.org; Thu, 20 Aug 2009 17:19:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MeF2l-0007hi-TZ for bug-gnu-emacs@gnu.org; Thu, 20 Aug 2009 17:19:39 -0400 Original-Received: from [199.232.76.173] (port=58776 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MeF2l-0007hf-Lx for bug-gnu-emacs@gnu.org; Thu, 20 Aug 2009 17:19:35 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:52315) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MeF2l-0007El-6N for bug-gnu-emacs@gnu.org; Thu, 20 Aug 2009 17:19:35 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7KKkpok019227; Thu, 20 Aug 2009 13:48:05 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n7KKZ9uf016996; Thu, 20 Aug 2009 13:35:09 -0700 Resent-Date: Thu, 20 Aug 2009 13:35:09 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Eric Hanchrow Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Thu, 20 Aug 2009 20:35:08 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 4210 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.125073828320312 (code B ref -1); Thu, 20 Aug 2009 20:35:08 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 20 Aug 2009 03:18:03 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7K3I2Mk020306 for ; Wed, 19 Aug 2009 20:18:03 -0700 Original-Received: from mx10.gnu.org ([199.232.76.166]:47684) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1MdyA5-0000TO-0a for emacs-pretest-bug@gnu.org; Wed, 19 Aug 2009 23:18:01 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1MdyA3-0003iC-7B for emacs-pretest-bug@gnu.org; Wed, 19 Aug 2009 23:18:00 -0400 Original-Received: from smtp61.avvanta.com ([206.124.128.61]:39891 helo=mail.avvanta.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MdyA1-0003h6-TJ for emacs-pretest-bug@gnu.org; Wed, 19 Aug 2009 23:17:58 -0400 Original-Received: from mail.avvanta.com (localhost.drteeth.p.blarg.net [127.0.0.1]) by mail.avvanta.com (Postfix) with ESMTP id 16D17F394E for ; Wed, 19 Aug 2009 20:17:49 -0700 (PDT) Original-Received: from debian.domain.actdsltmp (q-static-138-125.avvanta.com [206.124.138.125]) by mail.avvanta.com (Postfix) with ESMTP id E9ECFF3935 for ; Wed, 19 Aug 2009 20:17:48 -0700 (PDT) Original-Received: from erich by debian.domain.actdsltmp with local (Exim 4.69) (envelope-from ) id 1MdyCJ-0005hZ-Te for emacs-pretest-bug@gnu.org; Wed, 19 Aug 2009 20:20:19 -0700 X-BlargAV-Status: No viruses detected, BlargAV v1.1 on localhost.drteeth.p.blarg.net X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Thu, 20 Aug 2009 17:19:39 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:30375 gmane.emacs.pretest.bugs:24971 Archived-At: 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@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 #; 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 #; 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