bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#4115: marked as done (grep and null device)


From: Emacs bug Tracking System
Subject: bug#4115: marked as done (grep and null device)
Date: Wed, 12 Aug 2009 17:40:05 +0000

Your message dated Wed, 12 Aug 2009 20:32:38 +0300
with message-id <83my65j5u1.fsf@gnu.org>
and subject line Re: bug#4115: grep and null device
has caused the Emacs bug report #4115,
regarding grep and null device
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com
immediately.)


-- 
4115: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=4115
Emacs Bug Tracking System
Contact owner@emacsbugs.donarmstrong.com with problems
--- Begin Message --- Subject: grep and null device Date: Tue, 11 Aug 2009 09:41:50 +0100 (BST) User-agent: SquirrelMail/1.4.3a
Using emacs 23.1.1 on Windows ( also saw it on emacs 22.x and upgraded )
grep is from cygwin "GNU grep 2.5.3"


Using rgrep always tags on a null device giving lots of output like

grep: NUL: No such file or directory
grep: NUL: No such file or directory
grep: NUL: No such file or directory
grep: NUL: No such file or directory
grep: NUL: No such file or directory

I've tried customising and turning of grep-use-null-device - as from a
quick look at grep.el this is responsible. But no success.

Bug recreated using -no-init-file and -no-site-file



In GNU Emacs 23.1.1 (i386-mingw-nt5.1.2600)
 of 2009-07-30 on SOFT-MJASON
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (4.4)'

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: ENG
  value of $XMODIFIERS: nil
  locale-coding-system: cp1252
  default-enable-multibyte-characters: t

Major mode: Custom

Minor modes in effect:
  tooltip-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-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:
M-x r e g <backspace> <backspace> g r e p <return>
<return> * . a s <return> C-a C-k $ F L A S H / <tab>
<return> <backspace> <return> <left> <left> <left>
<left> <left> <left> <left> <left> <left> <left> <left>
<left> <left> <left> <left> <left> <left> <left> <right>
<backspace> <backspace> <backspace> <backspace> <backspace>
<backspace> <backspace> <backspace> <backspace> <backspace>
<right> L : <backspace> <backspace> : <return> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<menu-bar> <options> <customize> <customize-group>
g r e p <return> <help-echo> <down-mouse-1> <mouse-1>
<wheel-down> <double-wheel-down> <triple-wheel-down>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <down-mouse-1> <help-echo> <mouse-movement>
<drag-mouse-1> <help-echo> <down-mouse-1> <help-echo>
<down-mouse-1> <help-echo> <help-echo> <down-mouse-1>
<mouse-1> M-x r g r e p <return> <return> <return>
<return> <help-echo> <down-mouse-1> <mouse-1> <wheel-down>
<double-wheel-down> M-x r g r e p <return> <return>
<return> <return> <help-echo> <down-mouse-1> <mouse-1>
M-x r e p o r t - e m <tab> <return>

Recent messages:
Creating group...
Creating group members... 91%
Creating group magic...
Creating group state...
Creating group... done
Creating customization items ...done
Resetting customization items...done
Creating customization setup...done
To install your edits, invoke [State] and choose the Set operation
Grep finished (matches found) [2 times]






--- End Message ---
--- Begin Message --- Subject: Re: bug#4115: grep and null device Date: Wed, 12 Aug 2009 20:32:38 +0300
> From: "Tom Shippey" <tomshippey@blueyonder.co.uk>
> Date: Wed, 12 Aug 2009 08:50:57 +0100
> 
> > > find . \( -path \*/SCCS -o -path \*/RCS -o -path \*/CVS -o -path
> > \*/MCVS -o
> > > -path \*/.svn -o -path \*/.git -o -path \*/.hg -o -path \*/.bzr -o -
> > path
> > > \*/_MTN -o -path \*/_darcs -o -path \*/\{arch\} \) -prune -o  -type f
> > \(
> > > -iname \*.c \) -exec grep -i -n junk {} NUL \;
> > > ./x.c:1:junk
> > > ./x.c:3:junk
> > > grep: NUL: No such file or directory
> > > grep: NUL: No such file or directory
> > 
> > Does it help to set null-device to "/dev/null"?
> 
> Yep - that works fine. Many thanks.

Thanks.  I'm closing the bug, because its reason is mixing a native
Windows build of Emacs with Cygwin shell that apparently does not
support NUL as the null device.

--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]