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

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

Re: popd in tcsh fails


From: Peter Dyballa
Subject: Re: popd in tcsh fails
Date: Mon, 8 Aug 2005 16:22:31 +0200


Am 08.08.2005 um 15:43 schrieb Andreas Schwab:

Peter Dyballa <address@hidden> writes:

         '(shell-pushd-regexp "p(ush|)d")

That's not a valid regexp for matching pushd. *Note (emacs)Regexps:: (in
the Emacs manual) for the syntax of regexps as they are implemented by
Emacs.  Basically, Emacs implements a variant of the basic regular
expression syntax, which requires a backslash for the grouping construct.


Hello!

I changed the expression according the manual to:

         '(shell-pushd-regexp "p\(ush\|\)d")

but still I get after:

        pete 151 /\ pete 152 /\ pete 153 /\ .
        /Users/pete/Library/texmf/Arbeit
        pete 154 /\ pd Summa/
        ~/Library/texmf/Arbeit/Summa ~/Library/texmf/Arbeit
        pete 155 /\ pd 02
~/Library/texmf/Arbeit/Summa/02 ~/Library/texmf/Arbeit/Summa ~/Library/texmf/Arbeit
        pete 156 /\ pd ../10
~/Library/texmf/Arbeit/Summa/10 ~/Library/texmf/Arbeit/Summa/02 ~/Library/texmf/Arbeit/Summa ~/Library/texmf/Arbeit
        pete 157 /\ pd +2
~/Library/texmf/Arbeit/Summa ~/Library/texmf/Arbeit/Summa/10 ~/Library/texmf/Arbeit/Summa/02 ~/Library/texmf/Arbeit
        pete 158 /\

when I type C-x d: ~/Library/texmf/Arbeit/Summa/10 ... Using

         '(shell-pushd-regexp "push\|pd")

does not change this, and

         '(shell-pushd-regexp "\(pushd\|pd\)")

is useless too ...

--
Mit friedvollen Grüßen

  Pete

"I wouldn't recommend sex, drugs or insanity for everyone, but they've
always worked for me."
                -- Hunter S. Thompson





reply via email to

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