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

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

bug#3312: 23.0.93; Use punctuation syntax for apostrophe in Info


From: Stefan Monnier
Subject: bug#3312: 23.0.93; Use punctuation syntax for apostrophe in Info
Date: Sun, 17 May 2009 15:29:18 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.93 (gnu/linux)

> Apostrophe, or single quote, (') currently has word-constituent syntax
> in Info, which it inherits from text-mode.
 
> This means that if point is inside some `...'  string, and you use
> `C-s C-w', you will pick up also the ' at the end as part of the
> search string, which is typically not what you want.

Yes, it might be a good idea to change it in Info-mode, which is quite
different from text-mode because of the extensive use of `...' and the
fact that it's read-only.
 
> I don't know much about text-mode, but I wonder if even there it might
> make sense for ' to have syntax class `punctuation' instead of
> `word'. Probably the answer is "no", or that would already be the
> case. ;-)
 
Indeed, the answer is no because we want M-u M-u to turn "it's time"
into "It's Time" and not "It'S time".


        Stefan






reply via email to

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