* Does grep work in Windows
@ 2007-01-23 21:23 Graham Smith
2007-01-23 22:38 ` Lennart Borgman (gmail)
0 siblings, 1 reply; 25+ messages in thread
From: Graham Smith @ 2007-01-23 21:23 UTC (permalink / raw)
[-- Attachment #1.1: Type: text/plain, Size: 588 bytes --]
In emacs 22 on windows should grep work?
I am typing m-x grep which opens a line in the mini buffer that says
Run grep (like this): grep -n
and a message saying: Grep started at Tue Jan 23 21:19:22
I then add, as shown in the grepmode wiki the following to the mini buffer
-e setq ~/.emacs
giving me a full line in the minibuffer of
Run grep (like this): grep -n -e setq ~/.emacs
hit return and get a message that says
'grep' is not recognized as an internal or external command,
operable program or batch file.
Can anyone point out what I am doing wrong.
Many thanks,
Graham
[-- Attachment #1.2: Type: text/html, Size: 690 bytes --]
[-- Attachment #2: Type: text/plain, Size: 152 bytes --]
_______________________________________________
help-gnu-emacs mailing list
help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Does grep work in Windows
[not found] <mailman.3486.1169587439.2155.help-gnu-emacs@gnu.org>
@ 2007-01-23 21:34 ` Ralf Angeli
2007-01-23 22:27 ` Graham Smith
2007-01-23 21:36 ` Chris McMahan
1 sibling, 1 reply; 25+ messages in thread
From: Ralf Angeli @ 2007-01-23 21:34 UTC (permalink / raw)
* Graham Smith (2007-01-23) writes:
> Run grep (like this): grep -n -e setq ~/.emacs
> hit return and get a message that says
>
> 'grep' is not recognized as an internal or external command,
> operable program or batch file.
>
> Can anyone point out what I am doing wrong.
Did you install grep? Is it in PATH?
--
Ralf
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Does grep work in Windows
[not found] <mailman.3486.1169587439.2155.help-gnu-emacs@gnu.org>
2007-01-23 21:34 ` Does grep work in Windows Ralf Angeli
@ 2007-01-23 21:36 ` Chris McMahan
2007-01-23 22:28 ` Graham Smith
2007-01-24 19:12 ` Mirko
1 sibling, 2 replies; 25+ messages in thread
From: Chris McMahan @ 2007-01-23 21:36 UTC (permalink / raw)
"Graham Smith" <myotisone@gmail.com> writes:
> In emacs 22 on windows should grep work?
> I am typing m-x grep which opens a line in the mini buffer that says
> Run grep (like this): grep -n
> and a message saying: Grep started at Tue Jan 23 21:19:22
> I then add, as shown in the grepmode wiki the following to the mini buffer
> -e setq ~/.emacs
> giving me a full line in the minibuffer of
> Run grep (like this): grep -n -e setq ~/.emacs
> hit return and get a message that says
> 'grep' is not recognized as an internal or external command,
> operable program or batch file.
> Can anyone point out what I am doing wrong.
> Many thanks,
>
> Graham
Grep is not a native program with windows.
I installed the cygwin unix environment on my xp machine, and have
been successfully using the grep command from there for some time.
www.cygwin.com
- Chris McMahan
--
(. .)
=ooO=(_)=Ooo=====================================
Chris McMahan | firstinitiallastname@onedotnet
=================================================
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Does grep work in Windows
2007-01-23 21:34 ` Does grep work in Windows Ralf Angeli
@ 2007-01-23 22:27 ` Graham Smith
2007-01-24 4:12 ` Eli Zaretskii
0 siblings, 1 reply; 25+ messages in thread
From: Graham Smith @ 2007-01-23 22:27 UTC (permalink / raw)
[-- Attachment #1.1: Type: text/plain, Size: 1006 bytes --]
Ralf,
Thanks for the reply.
I have installed Grep from the gnuwin32 web site and "now" added it to the
PATH environmental variable. Same error.
The full error message is
*- mode: grep; default-directory: "~/" -*-
Grep started at Tue Jan 23 22:19:50
grep -n -e setq ~/.emacs NUL
'grep' is not recognized as an internal or external command,
operable program or batch file.
Grep finished with no matches found at Tue Jan 23 22:19:5
On 23/01/07, Ralf Angeli <dev.null@caeruleus.net> wrote:
>
> * Graham Smith (2007-01-23) writes:
>
> > Run grep (like this): grep -n -e setq ~/.emacs
> > hit return and get a message that says
> >
> > 'grep' is not recognized as an internal or external command,
> > operable program or batch file.
> >
> > Can anyone point out what I am doing wrong.
>
> Did you install grep? Is it in PATH?
>
> --
> Ralf
> _______________________________________________
> help-gnu-emacs mailing list
> help-gnu-emacs@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
>
[-- Attachment #1.2: Type: text/html, Size: 1583 bytes --]
[-- Attachment #2: Type: text/plain, Size: 152 bytes --]
_______________________________________________
help-gnu-emacs mailing list
help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Does grep work in Windows
2007-01-23 21:36 ` Chris McMahan
@ 2007-01-23 22:28 ` Graham Smith
2007-01-24 19:12 ` Mirko
1 sibling, 0 replies; 25+ messages in thread
From: Graham Smith @ 2007-01-23 22:28 UTC (permalink / raw)
[-- Attachment #1.1: Type: text/plain, Size: 1452 bytes --]
Chris,
Thanks for the reply.
I have installed the GNUWin32 version of Grep
I assume this should work with Emacs :-(
On 23/01/07, Chris McMahan <first_initiallastname@one.dot.net> wrote:
>
> "Graham Smith" <myotisone@gmail.com> writes:
>
> > In emacs 22 on windows should grep work?
> > I am typing m-x grep which opens a line in the mini buffer that says
> > Run grep (like this): grep -n
> > and a message saying: Grep started at Tue Jan 23 21:19:22
> > I then add, as shown in the grepmode wiki the following to the mini
> buffer
> > -e setq ~/.emacs
> > giving me a full line in the minibuffer of
> > Run grep (like this): grep -n -e setq ~/.emacs
> > hit return and get a message that says
> > 'grep' is not recognized as an internal or external command,
> > operable program or batch file.
> > Can anyone point out what I am doing wrong.
> > Many thanks,
> >
> > Graham
>
> Grep is not a native program with windows.
>
> I installed the cygwin unix environment on my xp machine, and have
> been successfully using the grep command from there for some time.
>
> www.cygwin.com
>
> - Chris McMahan
>
>
> --
> (. .)
> =ooO=(_)=Ooo=====================================
> Chris McMahan | firstinitiallastname@onedotnet
> =================================================
> _______________________________________________
> help-gnu-emacs mailing list
> help-gnu-emacs@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
>
[-- Attachment #1.2: Type: text/html, Size: 2137 bytes --]
[-- Attachment #2: Type: text/plain, Size: 152 bytes --]
_______________________________________________
help-gnu-emacs mailing list
help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Does grep work in Windows
2007-01-23 21:23 Graham Smith
@ 2007-01-23 22:38 ` Lennart Borgman (gmail)
0 siblings, 0 replies; 25+ messages in thread
From: Lennart Borgman (gmail) @ 2007-01-23 22:38 UTC (permalink / raw)
Cc: help-gnu-emacs
Graham Smith wrote:
> In emacs 22 on windows should grep work?
>
> I am typing m-x grep which opens a line in the mini buffer that says
>
> Run grep (like this): grep -n
>
> and a message saying: Grep started at Tue Jan 23 21:19:22
>
> I then add, as shown in the grepmode wiki the following to the mini buffer
>
> -e setq ~/.emacs
>
> giving me a full line in the minibuffer of
>
> Run grep (like this): grep -n -e setq ~/.emacs
>
> hit return and get a message that says
>
> 'grep' is not recognized as an internal or external command,
> operable program or batch file.
>
> Can anyone point out what I am doing wrong.
As someone else has pointed out "grep" is not a native command on MS
Windows. To make it easier to setup Emacs on MS Windows I have therefor
added grep and some other unix style programs to EmacsW32, see
http://ourcomments.org/Emacs/EmacsW32Util.html#featsum
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Does grep work in Windows
2007-01-23 22:27 ` Graham Smith
@ 2007-01-24 4:12 ` Eli Zaretskii
2007-01-24 8:20 ` Graham Smith
[not found] ` <mailman.3506.1169626843.2155.help-gnu-emacs@gnu.org>
0 siblings, 2 replies; 25+ messages in thread
From: Eli Zaretskii @ 2007-01-24 4:12 UTC (permalink / raw)
To: help-gnu-emacs
> Date: Tue, 23 Jan 2007 22:27:35 +0000
> From: "Graham Smith" <myotisone@gmail.com>
>
> I have installed Grep from the gnuwin32 web site and "now" added it to the
> PATH environmental variable. Same error.
Did you restart Emacs after installing Grep? Emacs won't notice any
changes to PATH while it (Emacs) is running.
If you did restart Emacs, please make sure that you modified PATH
correctly, i.e. in a way that will be in effect for all programs,
including Emacs. In practice, this means you should modify PATH via
Control Panel, not in the shell window.
> grep -n -e setq ~/.emacs NUL
> 'grep' is not recognized as an internal or external command,
> operable program or batch file.
This error message says that the OS cannot find grep.exe. You need to
find out why. Something in the way you installed Grep is not right.
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Does grep work in Windows
2007-01-24 4:12 ` Eli Zaretskii
@ 2007-01-24 8:20 ` Graham Smith
2007-01-24 9:48 ` Matthew Flaschen
2007-01-24 19:22 ` Eli Zaretskii
[not found] ` <mailman.3506.1169626843.2155.help-gnu-emacs@gnu.org>
1 sibling, 2 replies; 25+ messages in thread
From: Graham Smith @ 2007-01-24 8:20 UTC (permalink / raw)
To: help-gnu-emacs
[-- Attachment #1.1: Type: text/plain, Size: 1522 bytes --]
Eli,
Thanks for your help.
I did restart Emacs, indeed I re-booted the PC. I modified the PATH via My
Computer|advanced|Environmental variable, and I have re-installed Grep.
In the end I gave up and installed Emacsw32, which comes with Grep, and its
now working.
I would rather have solved the problem but, for now this seems the more
efficient way of sorting it out.
Should I have added anything in the .emacs file?
Graham
On 24/01/07, Eli Zaretskii <eliz@gnu.org> wrote:
>
> > Date: Tue, 23 Jan 2007 22:27:35 +0000
> > From: "Graham Smith" <myotisone@gmail.com>
> >
> > I have installed Grep from the gnuwin32 web site and "now" added it to
> the
> > PATH environmental variable. Same error.
>
> Did you restart Emacs after installing Grep? Emacs won't notice any
> changes to PATH while it (Emacs) is running.
>
> If you did restart Emacs, please make sure that you modified PATH
> correctly, i.e. in a way that will be in effect for all programs,
> including Emacs. In practice, this means you should modify PATH via
> Control Panel, not in the shell window.
>
> > grep -n -e setq ~/.emacs NUL
> > 'grep' is not recognized as an internal or external command,
> > operable program or batch file.
>
> This error message says that the OS cannot find grep.exe. You need to
> find out why. Something in the way you installed Grep is not right.
>
>
> _______________________________________________
> help-gnu-emacs mailing list
> help-gnu-emacs@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
>
[-- Attachment #1.2: Type: text/html, Size: 2120 bytes --]
[-- Attachment #2: Type: text/plain, Size: 152 bytes --]
_______________________________________________
help-gnu-emacs mailing list
help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Does grep work in Windows
2007-01-24 8:20 ` Graham Smith
@ 2007-01-24 9:48 ` Matthew Flaschen
2007-01-24 19:22 ` Eli Zaretskii
1 sibling, 0 replies; 25+ messages in thread
From: Matthew Flaschen @ 2007-01-24 9:48 UTC (permalink / raw)
To: Graham Smith; +Cc: help-gnu-emacs
[-- Attachment #1.1: Type: text/plain, Size: 937 bytes --]
Exactly what text did you add to the PATH variable? It should have been
the directory where grep was installed.
Matthew Flaschen
Graham Smith wrote:
> Eli,
>
> Thanks for your help.
>
> I did restart Emacs, indeed I re-booted the PC. I modified the PATH via My
> Computer|advanced|Environmental variable, and I have re-installed Grep.
>
> In the end I gave up and installed Emacsw32, which comes with Grep, and its
> now working.
>
> I would rather have solved the problem but, for now this seems the more
> efficient way of sorting it out.
>
> Should I have added anything in the .emacs file?
>
> Graham
>
>
>
> On 24/01/07, Eli Zaretskii <eliz@gnu.org> wrote:
>>
>> > Date: Tue, 23 Jan 2007 22:27:35 +0000
>> > From: "Graham Smith" <myotisone@gmail.com>
>> >
>> > I have installed Grep from the gnuwin32 web site and "now" added it to
>> the
>> > PATH environmental variable. Same error.
[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 252 bytes --]
[-- Attachment #2: Type: text/plain, Size: 152 bytes --]
_______________________________________________
help-gnu-emacs mailing list
help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Does grep work in Windows
[not found] ` <mailman.3506.1169626843.2155.help-gnu-emacs@gnu.org>
@ 2007-01-24 11:59 ` Robert Thorpe
2007-01-24 13:02 ` Graham Smith
[not found] ` <mailman.3515.1169643764.2155.help-gnu-emacs@gnu.org>
0 siblings, 2 replies; 25+ messages in thread
From: Robert Thorpe @ 2007-01-24 11:59 UTC (permalink / raw)
To: help-gnu-emacs
On Jan 24, 8:20 am, "Graham Smith" <myotis...@gmail.com> wrote:
> Eli,
>
> Thanks for your help.
>
> I did restart Emacs, indeed I re-booted the PC. I modified the PATH via My
> Computer|advanced|Environmental variable, and I have re-installed Grep.
>
> In the end I gave up and installed Emacsw32, which comes with Grep, and its
> now working.
>
> I would rather have solved the problem but, for now this seems the more
> efficient way of sorting it out.
>
> Should I have added anything in the .emacs file?
No. The message that you saw is a message from Windows that indicates
that the command you have attempted to invoke, grep, can't be found in
the PATH environmental variable. The most likely explanation for the
problem is that the path to grep you entered into the PATH
environmental variable was subtly incorrect.
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Does grep work in Windows
2007-01-24 11:59 ` Robert Thorpe
@ 2007-01-24 13:02 ` Graham Smith
[not found] ` <mailman.3515.1169643764.2155.help-gnu-emacs@gnu.org>
1 sibling, 0 replies; 25+ messages in thread
From: Graham Smith @ 2007-01-24 13:02 UTC (permalink / raw)
To: help-gnu-emacs
[-- Attachment #1.1: Type: text/plain, Size: 1215 bytes --]
Robert,
Thanks, that narrows it down, if I re-install emacs I shall know where to
look.
Graham
On 24 Jan 2007 03:59:45 -0800, Robert Thorpe <rthorpe@realworldtech.com>
wrote:
>
> On Jan 24, 8:20 am, "Graham Smith" <myotis...@gmail.com> wrote:
> > Eli,
> >
> > Thanks for your help.
> >
> > I did restart Emacs, indeed I re-booted the PC. I modified the PATH via
> My
> > Computer|advanced|Environmental variable, and I have re-installed Grep.
> >
> > In the end I gave up and installed Emacsw32, which comes with Grep, and
> its
> > now working.
> >
> > I would rather have solved the problem but, for now this seems the more
> > efficient way of sorting it out.
> >
> > Should I have added anything in the .emacs file?
>
> No. The message that you saw is a message from Windows that indicates
> that the command you have attempted to invoke, grep, can't be found in
> the PATH environmental variable. The most likely explanation for the
> problem is that the path to grep you entered into the PATH
> environmental variable was subtly incorrect.
>
> _______________________________________________
> help-gnu-emacs mailing list
> help-gnu-emacs@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
>
[-- Attachment #1.2: Type: text/html, Size: 1769 bytes --]
[-- Attachment #2: Type: text/plain, Size: 152 bytes --]
_______________________________________________
help-gnu-emacs mailing list
help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Does grep work in Windows
[not found] ` <mailman.3515.1169643764.2155.help-gnu-emacs@gnu.org>
@ 2007-01-24 14:25 ` Robert Thorpe
2007-01-24 15:01 ` Graham Smith
` (2 more replies)
0 siblings, 3 replies; 25+ messages in thread
From: Robert Thorpe @ 2007-01-24 14:25 UTC (permalink / raw)
To: help-gnu-emacs
On Jan 24, 1:02 pm, "Graham Smith" <myotis...@gmail.com> wrote:
> Robert,
>
> Thanks, that narrows it down, if I re-install emacs I shall know where to
> look.
Some tips:-
* The path is needed exactly to the executable, in Cygwin for example
C:\cygwin\bin\
* The path must be separated by ";"s if a mistake is made in doing this
earlier in the path variable it propagates until the next ;
* A new path only goes into effect when you click OK in the dialog box.
Then it only goes into effect for new programs from that time. Ones
currently running are not affected.
* The environmental variables Window gives "system variables" and "user
variables". For most Emacs purpose this doesn't matter since Emacs
will be run as whatever user you are. But for some programs it matters
because they run sub-processes as system tasks.
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Does grep work in Windows
2007-01-24 14:25 ` Robert Thorpe
@ 2007-01-24 15:01 ` Graham Smith
2007-01-24 19:30 ` Eli Zaretskii
[not found] ` <mailman.3533.1169667044.2155.help-gnu-emacs@gnu.org>
2 siblings, 0 replies; 25+ messages in thread
From: Graham Smith @ 2007-01-24 15:01 UTC (permalink / raw)
To: Robert Thorpe; +Cc: help-gnu-emacs
[-- Attachment #1.1: Type: text/plain, Size: 1260 bytes --]
Robert,
Thanks for this, I shall bear this in mind the next time I add a program to
the path. I am finding emacs a big learning experience.
Graham
On 24 Jan 2007 06:25:27 -0800, Robert Thorpe <rthorpe@realworldtech.com>
wrote:
>
> On Jan 24, 1:02 pm, "Graham Smith" <myotis...@gmail.com> wrote:
> > Robert,
> >
> > Thanks, that narrows it down, if I re-install emacs I shall know where
> to
> > look.
>
> Some tips:-
> * The path is needed exactly to the executable, in Cygwin for example
> C:\cygwin\bin\
> * The path must be separated by ";"s if a mistake is made in doing this
> earlier in the path variable it propagates until the next ;
> * A new path only goes into effect when you click OK in the dialog box.
> Then it only goes into effect for new programs from that time. Ones
> currently running are not affected.
> * The environmental variables Window gives "system variables" and "user
> variables". For most Emacs purpose this doesn't matter since Emacs
> will be run as whatever user you are. But for some programs it matters
> because they run sub-processes as system tasks.
>
> _______________________________________________
> help-gnu-emacs mailing list
> help-gnu-emacs@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
>
[-- Attachment #1.2: Type: text/html, Size: 1824 bytes --]
[-- Attachment #2: Type: text/plain, Size: 152 bytes --]
_______________________________________________
help-gnu-emacs mailing list
help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Does grep work in Windows
2007-01-23 21:36 ` Chris McMahan
2007-01-23 22:28 ` Graham Smith
@ 2007-01-24 19:12 ` Mirko
2007-01-25 8:35 ` Kevin Rodgers
[not found] ` <mailman.3559.1169714158.2155.help-gnu-emacs@gnu.org>
1 sibling, 2 replies; 25+ messages in thread
From: Mirko @ 2007-01-24 19:12 UTC (permalink / raw)
To: help-gnu-emacs
On Jan 23, 4:36 pm, Chris McMahan <first_initiallastn...@one.dot.net>
wrote:
> "Graham Smith" <myotis...@gmail.com> writes:
> > In emacs 22 on windows should grep work?
> > I am typing m-x grep which opens a line in the mini buffer that says
> > Run grep (like this): grep -n
> > and a message saying: Grep started at Tue Jan 23 21:19:22
> > I then add, as shown in the grepmode wiki the following to the mini buffer
> > -e setq ~/.emacs
> > giving me a full line in the minibuffer of
> > Run grep (like this): grep -n -e setq ~/.emacs
> > hit return and get a message that says
> > 'grep' is not recognized as an internal or external command,
> > operable program or batch file.
> > Can anyone point out what I am doing wrong.
> > Many thanks,
>
> > GrahamGrep is not a native program with windows.
>
> I installed the cygwin unix environment on my xp machine, and have
> been successfully using the grep command from there for some time.
>
> www.cygwin.com
>
> - Chris McMahan
>
> --
> (. .)
> =ooO=(_)=Ooo=====================================
> Chris McMahan | firstinitiallastname@onedotnet
> =================================================
On a related note, (I also use cygwin's grep + emacs), when I use grep,
I cannot follow the grep hits to the files.
In the *grep* window, I try pressing C-` or Ret on the line containing
the grep hit, but I get the message "No grep hit here". The mode line
reads Grep:exit [matched]
Although the buffer is in grep mode it seems that none of the
keybindings are active (Ret, Tab, etc.)
Just in case that it may help, here is a sample output from grep:
-*- mode: grep; default-directory:
"d:/my-software-add-ons/my-IDL/Numerics/Calculus-like/" -*-
Grep started at Wed Jan 24 14:05:26
e:/cygwin-root/bin/grep.exe function *.pro NUL
DerivTabulated.pro:function
DerivTabulated,X,Y,UseAsinh=UseAsinh,_extra=_extra
DerivTabulated.pro:; functions calculates the derivative of the
tabulated data using
IntTab1DTrapzd.pro:function IntTab1DTrapzd,vx=vx,vy,vdx=vdx
IntTab1DTrapzd.pro:; provided a tabulated function y as function of x
(dimensions N), an
RunningIntegral.pro:function RunningIntegral,x,y,_extra=_extra
SplineDeriv.pro:function
SplineDerivScalar,vxtab,vytab,vy2a,xinterp,iBefore=iBefore
SplineDeriv.pro:function SplineDerivAtTabPoints,vxtab,vytab,vy2a
SplineDeriv.pro:function
SplineDeriv,vxtab,vytab,vy2a,xinterp,aiBefore=aiBefore, $
SplineDeriv.pro:; given the values of the tabulated function by vxtab
and vytab, and
SplineDeriv.pro:; the second derivatives calculated by spl_init, the
function returns
SplineDeriv.pro:; the derivative of the function at vxinterp
inttab2dtrapzd.pro:function
IntTab2DTrapzd,vx=vx,vy=vy,vdx=vdx,vdy=vdy,mz
inttab2dtrapzd.pro:; provided a tabulated function y as function of x
(dimensions N), an
splineintegral.pro:function
SplineIntegral,x,y,y2a,AtTabulatedPoints=AtTabulatedPoints, _extra =
rXtraKwds
splineintegral.pro:; is set, it returns the cumulative integral of the
function at the
Grep finished (matches found) at Wed Jan 24 14:05:28
Thanks,
Mirko
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Does grep work in Windows
2007-01-24 8:20 ` Graham Smith
2007-01-24 9:48 ` Matthew Flaschen
@ 2007-01-24 19:22 ` Eli Zaretskii
2007-01-24 19:28 ` Graham Smith
1 sibling, 1 reply; 25+ messages in thread
From: Eli Zaretskii @ 2007-01-24 19:22 UTC (permalink / raw)
To: help-gnu-emacs
> Date: Wed, 24 Jan 2007 08:20:35 +0000
> From: "Graham Smith" <myotisone@gmail.com>
>
> Should I have added anything in the .emacs file?
No, that shouldn't be necessary.
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Does grep work in Windows
2007-01-24 19:22 ` Eli Zaretskii
@ 2007-01-24 19:28 ` Graham Smith
0 siblings, 0 replies; 25+ messages in thread
From: Graham Smith @ 2007-01-24 19:28 UTC (permalink / raw)
To: help-gnu-emacs
[-- Attachment #1.1: Type: text/plain, Size: 461 bytes --]
Eli,
Thanks, I now understand this isn't required.
Graham
On 24/01/07, Eli Zaretskii <eliz@gnu.org> wrote:
>
> > Date: Wed, 24 Jan 2007 08:20:35 +0000
> > From: "Graham Smith" <myotisone@gmail.com>
> >
> > Should I have added anything in the .emacs file?
>
> No, that shouldn't be necessary.
>
>
> _______________________________________________
> help-gnu-emacs mailing list
> help-gnu-emacs@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
>
[-- Attachment #1.2: Type: text/html, Size: 944 bytes --]
[-- Attachment #2: Type: text/plain, Size: 152 bytes --]
_______________________________________________
help-gnu-emacs mailing list
help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Does grep work in Windows
2007-01-24 14:25 ` Robert Thorpe
2007-01-24 15:01 ` Graham Smith
@ 2007-01-24 19:30 ` Eli Zaretskii
[not found] ` <mailman.3533.1169667044.2155.help-gnu-emacs@gnu.org>
2 siblings, 0 replies; 25+ messages in thread
From: Eli Zaretskii @ 2007-01-24 19:30 UTC (permalink / raw)
To: help-gnu-emacs
> From: "Robert Thorpe" <rthorpe@realworldtech.com>
> Date: 24 Jan 2007 06:25:27 -0800
>
> Some tips:-
> * The path is needed exactly to the executable
Not to the executable, to its directory, as the example shows:
> in Cygwin for example
> C:\cygwin\bin\
>
> * The environmental variables Window gives "system variables" and "user
> variables". For most Emacs purpose this doesn't matter since Emacs
> will be run as whatever user you are. But for some programs it matters
> because they run sub-processes as system tasks.
It does matter if one uses the same machine under several user names,
or wants his aunt to use Emacs. In that case, modify the system-wide
Path; otherwise only for your username.
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Does grep work in Windows
[not found] ` <mailman.3533.1169667044.2155.help-gnu-emacs@gnu.org>
@ 2007-01-24 20:51 ` HS
2007-01-25 4:27 ` Eli Zaretskii
[not found] ` <mailman.3553.1169699271.2155.help-gnu-emacs@gnu.org>
0 siblings, 2 replies; 25+ messages in thread
From: HS @ 2007-01-24 20:51 UTC (permalink / raw)
To: help-gnu-emacs
Just drop those on your c:\windows and never worry about that again...
:)
http://unxutils.sourceforge.net/
The following program versions are covered:
bc-1.05
bison-1.28
bzip2-1.0.2
diffutils-2.7
fileutils-3.16
findutils-4.1
flex-2.5.4
gawk-3.1.0
grep-2.4.2
gsar110
gzip-1.2.4
indent-2.2.9
jwhois-2.4.1
less-340
m4-1.4
make-3.78.1
patch-2.5
recode-3.6
rman-3.0.7
sed-3.02
shellutils-1.9.4
tar-1.12
textutils-2.1
unrar-3.00
wget-1.8.2
which-2.4
Cheers,
HS
On 24 jan, 16:30, Eli Zaretskii <e...@gnu.org> wrote:
> > From: "Robert Thorpe" <rtho...@realworldtech.com>
> > Date: 24 Jan 2007 06:25:27 -0800
>
> > Some tips:-
> > * The path is needed exactly to the executableNot to the executable, to its directory, as the example shows:
>
> > in Cygwin for example
> > C:\cygwin\bin\
>
> > * The environmental variables Window gives "system variables" and "user
> > variables". For most Emacs purpose this doesn't matter since Emacs
> > will be run as whatever user you are. But for some programs it matters
> > because they run sub-processes as system tasks.It does matter if one uses the same machine under several user names,
> or wants his aunt to use Emacs. In that case, modify the system-wide
> Path; otherwise only for your username.
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Does grep work in Windows
2007-01-24 20:51 ` HS
@ 2007-01-25 4:27 ` Eli Zaretskii
2007-01-25 8:50 ` Lennart Borgman (gmail)
[not found] ` <mailman.3561.1169715031.2155.help-gnu-emacs@gnu.org>
[not found] ` <mailman.3553.1169699271.2155.help-gnu-emacs@gnu.org>
1 sibling, 2 replies; 25+ messages in thread
From: Eli Zaretskii @ 2007-01-25 4:27 UTC (permalink / raw)
To: help-gnu-emacs
> From: "HS" <hugows@gmail.com>
> Date: 24 Jan 2007 12:51:53 -0800
>
> Just drop those on your c:\windows and never worry about that again...
> :)
> http://unxutils.sourceforge.net/
First, unxutils is a collection of very old versions of GNU software.
It also seems to not be maintained anymore.
And second, the directory you suggested does not need to exist on a
Windows system, it can have other names.
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Does grep work in Windows
[not found] ` <mailman.3553.1169699271.2155.help-gnu-emacs@gnu.org>
@ 2007-01-25 7:50 ` Mathias Dahl
0 siblings, 0 replies; 25+ messages in thread
From: Mathias Dahl @ 2007-01-25 7:50 UTC (permalink / raw)
To: help-gnu-emacs
Eli Zaretskii <eliz@gnu.org> writes:
> And second, the directory you suggested does not need to exist on a
> Windows system, it can have other names.
One can use %systemroot% for that. Of course, you need write access in
that dir.
/Mathias
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Does grep work in Windows
2007-01-24 19:12 ` Mirko
@ 2007-01-25 8:35 ` Kevin Rodgers
[not found] ` <mailman.3559.1169714158.2155.help-gnu-emacs@gnu.org>
1 sibling, 0 replies; 25+ messages in thread
From: Kevin Rodgers @ 2007-01-25 8:35 UTC (permalink / raw)
To: help-gnu-emacs
Mirko wrote:
> On a related note, (I also use cygwin's grep + emacs), when I use grep,
> I cannot follow the grep hits to the files.
>
> In the *grep* window, I try pressing C-` or Ret on the line containing
> the grep hit, but I get the message "No grep hit here". The mode line
> reads Grep:exit [matched]
>
> Although the buffer is in grep mode it seems that none of the
> keybindings are active (Ret, Tab, etc.)
>
> Just in case that it may help, here is a sample output from grep:
Indeed, why don't the matched lines mention the line number? `M-x grep'
provides the -n option to the grep program by default so that its output
lines look like:
FILE:LINE NUMBER:TEXT
> -*- mode: grep; default-directory:
> "d:/my-software-add-ons/my-IDL/Numerics/Calculus-like/" -*-
> Grep started at Wed Jan 24 14:05:26
>
> e:/cygwin-root/bin/grep.exe function *.pro NUL
> DerivTabulated.pro:function
> DerivTabulated,X,Y,UseAsinh=UseAsinh,_extra=_extra
> DerivTabulated.pro:; functions calculates the derivative of the
> tabulated data using
> IntTab1DTrapzd.pro:function IntTab1DTrapzd,vx=vx,vy,vdx=vdx
> IntTab1DTrapzd.pro:; provided a tabulated function y as function of x
> (dimensions N), an
> RunningIntegral.pro:function RunningIntegral,x,y,_extra=_extra
> SplineDeriv.pro:function
> SplineDerivScalar,vxtab,vytab,vy2a,xinterp,iBefore=iBefore
> SplineDeriv.pro:function SplineDerivAtTabPoints,vxtab,vytab,vy2a
> SplineDeriv.pro:function
> SplineDeriv,vxtab,vytab,vy2a,xinterp,aiBefore=aiBefore, $
> SplineDeriv.pro:; given the values of the tabulated function by vxtab
> and vytab, and
> SplineDeriv.pro:; the second derivatives calculated by spl_init, the
> function returns
> SplineDeriv.pro:; the derivative of the function at vxinterp
> inttab2dtrapzd.pro:function
> IntTab2DTrapzd,vx=vx,vy=vy,vdx=vdx,vdy=vdy,mz
> inttab2dtrapzd.pro:; provided a tabulated function y as function of x
> (dimensions N), an
> splineintegral.pro:function
> SplineIntegral,x,y,y2a,AtTabulatedPoints=AtTabulatedPoints, _extra =
> rXtraKwds
> splineintegral.pro:; is set, it returns the cumulative integral of the
> function at the
>
> Grep finished (matches found) at Wed Jan 24 14:05:28
--
Kevin Rodgers
Denver, Colorado, USA
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Does grep work in Windows
2007-01-25 4:27 ` Eli Zaretskii
@ 2007-01-25 8:50 ` Lennart Borgman (gmail)
[not found] ` <mailman.3561.1169715031.2155.help-gnu-emacs@gnu.org>
1 sibling, 0 replies; 25+ messages in thread
From: Lennart Borgman (gmail) @ 2007-01-25 8:50 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: help-gnu-emacs
Eli Zaretskii wrote:
>> From: "HS" <hugows@gmail.com>
>> Date: 24 Jan 2007 12:51:53 -0800
>>
>> Just drop those on your c:\windows and never worry about that again...
>> :)
>> http://unxutils.sourceforge.net/
>
> First, unxutils is a collection of very old versions of GNU software.
> It also seems to not be maintained anymore.
>
> And second, the directory you suggested does not need to exist on a
> Windows system, it can have other names.
Third, is it really a good idea to place other binaries in this special
directory that is suppose to contain only the OS binaries?
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Does grep work in Windows
[not found] ` <mailman.3561.1169715031.2155.help-gnu-emacs@gnu.org>
@ 2007-01-25 12:55 ` Robert Thorpe
2007-01-26 8:16 ` Mathias Dahl
0 siblings, 1 reply; 25+ messages in thread
From: Robert Thorpe @ 2007-01-25 12:55 UTC (permalink / raw)
To: help-gnu-emacs
On Jan 25, 8:50 am, "Lennart Borgman (gmail)"
<lennart.borg...@gmail.com> wrote:
> Eli Zaretskii wrote:
> >> From: "HS" <hug...@gmail.com>
> >> Date: 24 Jan 2007 12:51:53 -0800
>
> >> Just drop those on your c:\windows and never worry about that again...
> >> :)
> >>http://unxutils.sourceforge.net/
>
> > First, unxutils is a collection of very old versions of GNU software.
> > It also seems to not be maintained anymore.
>
> > And second, the directory you suggested does not need to exist on a
> > Windows system, it can have other names.Third, is it really a good idea to place other binaries in this special
> directory that is suppose to contain only the OS binaries?
It certainly isn't. And putting "find" their will probably interfer
with MS "find" as C:\Windows occurs earlier in PATH than MS find does.
This may break some batch files.
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Does grep work in Windows
[not found] ` <mailman.3559.1169714158.2155.help-gnu-emacs@gnu.org>
@ 2007-01-25 14:55 ` Mirko
0 siblings, 0 replies; 25+ messages in thread
From: Mirko @ 2007-01-25 14:55 UTC (permalink / raw)
To: help-gnu-emacs
On Jan 25, 3:35 am, Kevin Rodgers <kevin.d.rodg...@gmail.com> wrote:
> Mirko wrote:
> > On a related note, (I also use cygwin's grep + emacs), when I use grep,
> > I cannot follow the grep hits to the files.
>
> > In the *grep* window, I try pressing C-` or Ret on the line containing
> > the grep hit, but I get the message "No grep hit here". The mode line
> > reads Grep:exit [matched]
>
> > Although the buffer is in grep mode it seems that none of the
> > keybindings are active (Ret, Tab, etc.)
>
> > Just in case that it may help, here is a sample output from grep:Indeed, why don't the matched lines mention the line number? `M-x grep'
> provides the -n option to the grep program by default so that its output
> lines look like:
>
> FILE:LINE NUMBER:TEXT
>
>
>
> > -*- mode: grep; default-directory:
> > "d:/my-software-add-ons/my-IDL/Numerics/Calculus-like/" -*-
> > Grep started at Wed Jan 24 14:05:26
>
> > e:/cygwin-root/bin/grep.exe function *.pro NUL
> > DerivTabulated.pro:function
> > DerivTabulated,X,Y,UseAsinh=UseAsinh,_extra=_extra
> > DerivTabulated.pro:; functions calculates the derivative of the
> > tabulated data using
> > IntTab1DTrapzd.pro:function IntTab1DTrapzd,vx=vx,vy,vdx=vdx
> > IntTab1DTrapzd.pro:; provided a tabulated function y as function of x
> > (dimensions N), an
> > RunningIntegral.pro:function RunningIntegral,x,y,_extra=_extra
> > SplineDeriv.pro:function
> > SplineDerivScalar,vxtab,vytab,vy2a,xinterp,iBefore=iBefore
> > SplineDeriv.pro:function SplineDerivAtTabPoints,vxtab,vytab,vy2a
> > SplineDeriv.pro:function
> > SplineDeriv,vxtab,vytab,vy2a,xinterp,aiBefore=aiBefore, $
> > SplineDeriv.pro:; given the values of the tabulated function by vxtab
> > and vytab, and
> > SplineDeriv.pro:; the second derivatives calculated by spl_init, the
> > function returns
> > SplineDeriv.pro:; the derivative of the function at vxinterp
> > inttab2dtrapzd.pro:function
> > IntTab2DTrapzd,vx=vx,vy=vy,vdx=vdx,vdy=vdy,mz
> > inttab2dtrapzd.pro:; provided a tabulated function y as function of x
> > (dimensions N), an
> > splineintegral.pro:function
> > SplineIntegral,x,y,y2a,AtTabulatedPoints=AtTabulatedPoints, _extra =
> > rXtraKwds
> > splineintegral.pro:; is set, it returns the cumulative integral of the
> > function at the
>
> > Grep finished (matches found) at Wed Jan 24 14:05:28--
> Kevin Rodgers
> Denver, Colorado, USA
Thank you Kevin!!!!!
Adding the -n option did the thing. I guess that in the mists of time,
I defined my grep command (in custom-set-variables) as
"e:/cygwin-root/bin/grep.exe". I have now added the -n switch to it.
Thanks again,
Mirko
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Does grep work in Windows
2007-01-25 12:55 ` Robert Thorpe
@ 2007-01-26 8:16 ` Mathias Dahl
0 siblings, 0 replies; 25+ messages in thread
From: Mathias Dahl @ 2007-01-26 8:16 UTC (permalink / raw)
To: help-gnu-emacs
"Robert Thorpe" <rthorpe@realworldtech.com> writes:
>> > Windows system, it can have other names.Third, is it really a
>> > good idea to place other binaries in this special
>> directory that is suppose to contain only the OS binaries?
>
> It certainly isn't. And putting "find" their will probably interfer
> with MS "find" as C:\Windows occurs earlier in PATH than MS find does.
> This may break some batch files.
I have put exe files in c:\winnt and c:\windows for many years without
any problems. But I don't put all things there, of course.
^ permalink raw reply [flat|nested] 25+ messages in thread
end of thread, other threads:[~2007-01-26 8:16 UTC | newest]
Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.3486.1169587439.2155.help-gnu-emacs@gnu.org>
2007-01-23 21:34 ` Does grep work in Windows Ralf Angeli
2007-01-23 22:27 ` Graham Smith
2007-01-24 4:12 ` Eli Zaretskii
2007-01-24 8:20 ` Graham Smith
2007-01-24 9:48 ` Matthew Flaschen
2007-01-24 19:22 ` Eli Zaretskii
2007-01-24 19:28 ` Graham Smith
[not found] ` <mailman.3506.1169626843.2155.help-gnu-emacs@gnu.org>
2007-01-24 11:59 ` Robert Thorpe
2007-01-24 13:02 ` Graham Smith
[not found] ` <mailman.3515.1169643764.2155.help-gnu-emacs@gnu.org>
2007-01-24 14:25 ` Robert Thorpe
2007-01-24 15:01 ` Graham Smith
2007-01-24 19:30 ` Eli Zaretskii
[not found] ` <mailman.3533.1169667044.2155.help-gnu-emacs@gnu.org>
2007-01-24 20:51 ` HS
2007-01-25 4:27 ` Eli Zaretskii
2007-01-25 8:50 ` Lennart Borgman (gmail)
[not found] ` <mailman.3561.1169715031.2155.help-gnu-emacs@gnu.org>
2007-01-25 12:55 ` Robert Thorpe
2007-01-26 8:16 ` Mathias Dahl
[not found] ` <mailman.3553.1169699271.2155.help-gnu-emacs@gnu.org>
2007-01-25 7:50 ` Mathias Dahl
2007-01-23 21:36 ` Chris McMahan
2007-01-23 22:28 ` Graham Smith
2007-01-24 19:12 ` Mirko
2007-01-25 8:35 ` Kevin Rodgers
[not found] ` <mailman.3559.1169714158.2155.help-gnu-emacs@gnu.org>
2007-01-25 14:55 ` Mirko
2007-01-23 21:23 Graham Smith
2007-01-23 22:38 ` Lennart Borgman (gmail)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).