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: Kevin Rodgers
Subject: Re: Some case conversion commands don't recognize the apostrophe
Date: Wed, 18 Dec 2002 08:22:45 -0700
User-agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2

David desJardins wrote:

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.

I agree.

--
<a href="mailto:&lt;kevin.rodgers&#64;ihs.com&gt;";>Kevin Rodgers</a>




reply via email to

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