GNU bug report logs -
#8935
24.0.50; `substitute-command-keys' doc
Previous Next
Reported by: "Drew Adams" <drew.adams <at> oracle.com>
Date: Sat, 25 Jun 2011 21:30:04 UTC
Severity: minor
Tags: fixed
Found in version 24.0.50
Fixed in version 24.1
Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #48 received at 8935 <at> debbugs.gnu.org (full text, mbox):
"Drew Adams" <drew.adams <at> oracle.com> writes:
> Escaping a character means making it act normally, not specially. Only the \
> acts specially,
Wrong.
> and it does so only when it precedes [, {, etc.
Right. And only this is of interest.
> It is _enough_ to say that \= escapes a \, preventing it from
> introducing a substitution when followed by =, [, etc.
No, this is the wrong thing to do. The doc string should say how to
produce a value that contains the two character sequences '\=' or '\['.
That's the *whole* point of the examples (and these are *examples*, not
specification).
You don't need '\=' to produce a backslash in the value. So that is
useless to say so.
A doc string needs to get to the point, not be technically correct.
Andreas.
--
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
This bug report was last modified 14 years and 25 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.