[Top][All Lists]

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

Re: making curly apostrophe part of a word

From: Andreas Röhler
Subject: Re: making curly apostrophe part of a word
Date: Fri, 06 Sep 2013 11:51:09 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130801 Thunderbird/17.0.8

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?


reply via email to

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