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 17:20:26 +0200


Am 08.08.2005 um 16:53 schrieb Andreas Schwab:

I changed the expression according the manual to:

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

This is not the proper string syntax for backslashes. Remember that there are two levels of quoting, first the regexp quoting and, on top of it, the string quoting. Both use the same character for quoting, the backslash. So in order to get the backslash through the string quoting level you have
to quote it with a backslash.  Or, even better, use the customize
interface to change the variable, which removes the second level of
quoting for you.


Oh, thank you! There where only backslashes missing!!

Actually I first introduced these variables from *Customization* -- could be I there used an expression with backslashes, which were escaped, so nothing worked. Then I tried it myself ...

There should be a flashing writing at this spot: jwwym (just write what you mean) -- could this mislead someone too?

--
Mit friedvollen Grüßen

  Pete

Üblicherweise begehen Menschen beim Entwerfen vollkommen narrensicherer Dinge gerne den Fehler, das Genie des Volltrottels zu unterschätzen.





reply via email to

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