[Top][All Lists]

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

Re: [Emacs-diffs] master 6827370: Skip past `#' to find BEG

From: Stefan Monnier
Subject: Re: [Emacs-diffs] master 6827370: Skip past `#' to find BEG
Date: Tue, 09 Jun 2015 12:05:59 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

> By the way, what is that 'p' syntax class mentioned in the
> backward-prefix-chars docstring?

In text mode, for example, the single quote has syntax "w p", which
means that it's half-way between a word constituent and a prefix char.
More specifically, when at the beginning/end of a word, it's not
considered as part of the word, but it can appear in the middle of
a word.
This makes capitalize work correctly for things like:

   i can't believe he said 'hello' !

-- Stefan

reply via email to

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