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: Andreas Schwab
Subject: Re: popd in tcsh fails
Date: Mon, 08 Aug 2005 16:53:35 +0200
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux)

Peter Dyballa <address@hidden> writes:

> 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.

Andreas.

-- 
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




reply via email to

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