From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: David desJardins Newsgroups: gmane.emacs.bugs Subject: Re: Some case conversion commands don't recognize the apostrophe Date: 18 Dec 2002 02:02:43 -0800 Organization: UC Berkeley Math Department Sender: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: Reply-To: David desJardins NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1040205928 8598 80.91.224.249 (18 Dec 2002 10:05:28 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 18 Dec 2002 10:05:28 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18Ob4w-0002EP-00 for ; Wed, 18 Dec 2002 11:05:27 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18Ob4Q-0006UF-01 for gnu-bug-gnu-emacs@m.gmane.org; Wed, 18 Dec 2002 05:04:54 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18Ob3O-00063l-00 for bug-gnu-emacs@gnu.org; Wed, 18 Dec 2002 05:03:50 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18Ob3K-000612-00 for bug-gnu-emacs@gnu.org; Wed, 18 Dec 2002 05:03:49 -0500 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18Ob3K-00060g-00 for bug-gnu-emacs@gnu.org; Wed, 18 Dec 2002 05:03:46 -0500 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by fencepost.gnu.org with esmtp (Exim 4.10) id 18Ob3K-0001jR-00 for gnu-emacs-bug@prep.ai.mit.edu; Wed, 18 Dec 2002 05:03:46 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18Ob3A-0005vh-00 for gnu-emacs-bug@prep.ai.mit.edu; Wed, 18 Dec 2002 05:03:37 -0500 Original-Received: from agate.berkeley.edu ([128.32.206.40]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18Ob2L-0005mO-00 for gnu-emacs-bug@prep.ai.mit.edu; Wed, 18 Dec 2002 05:02:46 -0500 Original-Received: (from news@localhost) by agate.berkeley.edu (8.11.6/8.11.3) id gBIA2hB59864 ; Wed, 18 Dec 2002 02:02:43 -0800 (PST) (envelope-from news) Original-To: gnu-emacs-bug@prep.ai.mit.edu Original-Path: not-for-mail Original-Newsgroups: gnu.emacs.bug Original-Lines: 17 Original-NNTP-Posting-Host: blue3.math.berkeley.edu Original-X-Trace: agate.berkeley.edu 1040205763 59685 169.229.58.191 (18 Dec 2002 10:02:43 GMT) Original-X-Complaints-To: usenet@agate.berkeley.edu Original-NNTP-Posting-Date: Wed, 18 Dec 2002 10:02:43 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:4060 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:4060 Eli Zaretskii 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