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

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

Re: Some case conversion commands don't recognize the apostrophe


From: David desJardins
Subject: Re: Some case conversion commands don't recognize the apostrophe
Date: 18 Dec 2002 02:02:43 -0800
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Eli Zaretskii <address@hidden> writes:
>> `M-c' (`capitalize-word') does not capitalize a word that is preceded
>> by an apostrophe when the cursor is at or before the apostrophe;
>> instead, the cursor moves to just after the word but the word is not
>> capitalized.
>> [...]
>> `M-u' (`upcase-word') continues past a word's trailing apostrophe.
> 
> I think that's because in Text mode, the apostrophe is considered a 
> word-constituent character.

Right.  The question is: should capitalize-word capitalize the first
letter, or the first character?  It seems reasonable to me to think that
the capitalization of a word like 'em should be 'Em.  I.e., capitalize
the first letter, not the first word-constituent.

                                        David desJardins



reply via email to

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