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

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

Some case conversion commands don't recognize the apostrophe


From: Michael Stutz
Subject: Some case conversion commands don't recognize the apostrophe
Date: Tue, 17 Dec 2002 13:46:36 -0500

Emacs version: GNU Emacs 20.7.2 (i386-debian-linux-gnu, X toolkit) of Tue Jun 
20 2000 on raven

Some of the commands for changing the case of human-language text do
not recognize the apostrophe character, causing unexpected behavior:

`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.

For example, if the cursor is at the beginning of the following line
in an English-text buffer:

        'cause that's just how it is.

Typing "M-c" moves the cursor to the space just after the first word,
but the first word will not be capitalized.


`M-u' (`upcase-word') continues past a word's trailing apostrophe.

For example, if the cursor is at the beginning of the following line
in an English-text buffer:

        mit's

Typing "M-u" moves the cursor to just after the "'s" and both the word
and its trailing "s" is converted to uppercase letters.



reply via email to

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