emacs-devel
[Top][All Lists]
Advanced

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

Re: syntax-after


From: Juri Linkov
Subject: Re: syntax-after
Date: Fri, 12 Nov 2004 01:38:06 +0200
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux)

Stefan Monnier <address@hidden> writes:
> What was the reason for the following change?
>
> 2004-11-06  Richard M. Stallman  <address@hidden>
>
>       * subr.el (syntax-after): Return the syntax letter, not the raw code.
>
> It seems really gratuitous.  There are already 2 ways to represent the
> syntax info of a char: as a cons cell and as a string.  Both are documented
> in the elisp manual.
>
> The above change introduces yet a third representation, and an undocumented
> one at that.  Was that really necessary?
>
> I just saw that the above change caused Juri to install a fix to
> descr-text.el that replaces a call to syntax-after with a copy of its
> (previous) body.  I think this is moving backward, not forward.

FWIW, I grepped the whole source tree, and there were only 2 places
where `syntax-after' was used: `show-paren-function' and `describe-char'.

-- 
Juri Linkov
http://www.jurta.org/emacs/





reply via email to

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