[Top][All Lists]

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

Re: making curly apostrophe part of a word

From: Eric Abrahamsen
Subject: Re: making curly apostrophe part of a word
Date: Fri, 06 Sep 2013 17:58:42 +0800
User-agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3 (gnu/linux)

Andreas Röhler <address@hidden> writes:

> Am 06.09.2013 04:47, schrieb Eric Abrahamsen:
>> In certain modes (actually just certain files) I'd like the `’'
>> character to be treated the same as a `'' character with respect to word
>> movement: ie I'd like M-f to skip over the entirety of both "don't" and
>> "don’t". I'm editing externally-created files, and don't have the
>> liberty of changing this.
>> I thought this would do it:
>> (modify-syntax-entry ?’ "w")
> Works for me in current buffer. `forward-word' passes as expected.
> Which command fails for you?

`forward-word' fails... Hang on, I'll do the emacs -Q dance and see
what's going on. This was originally in an html-mode buffer, but I don't
see why that would matter as long as no third argument was passed to


reply via email to

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