unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* capitalize-word unwilling to capitalize 'god'
@ 2005-11-14 16:03 Dan Jacobson
  2005-11-14 23:18 ` Kevin Rodgers
  2005-11-15 18:07 ` Richard M. Stallman
  0 siblings, 2 replies; 3+ messages in thread
From: Dan Jacobson @ 2005-11-14 16:03 UTC (permalink / raw)


What's the deal? In Text mode ($ emacs file.txt), put the cursor upon
the first apostrophe of
'god'
and hit ESC C, and like, no bananas, man.
However, ESC L, ESC U do their thing normally.
If I want 'God', then I must put the cursor on the g, else no
potatoes, whereas the other two work fine from even before the first
apostrophe. Indeed, ESC C acts like ESC L if not done from the g.
emacs-version "21.4.1"

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: capitalize-word unwilling to capitalize 'god'
  2005-11-14 16:03 capitalize-word unwilling to capitalize 'god' Dan Jacobson
@ 2005-11-14 23:18 ` Kevin Rodgers
  2005-11-15 18:07 ` Richard M. Stallman
  1 sibling, 0 replies; 3+ messages in thread
From: Kevin Rodgers @ 2005-11-14 23:18 UTC (permalink / raw)


Dan Jacobson wrote:
 > What's the deal? In Text mode ($ emacs file.txt), put the cursor upon
 > the first apostrophe of
 > 'god'
 > and hit ESC C, and like, no bananas, man.
 > However, ESC L, ESC U do their thing normally.
 > If I want 'God', then I must put the cursor on the g, else no
 > potatoes, whereas the other two work fine from even before the first
 > apostrophe. Indeed, ESC C acts like ESC L if not done from the g.
 > emacs-version "21.4.1"

This is because in Text mode apostrophe has word syntax, counter to
one's intuition that it is a punctuation character.  Only
capitalize-word is affected because it changes the first character of
the following word, whereas upcase-word and downcase-word change all the
characters.

Here's a fix for your .emacs:

(modify-syntax-entry ?' "." text-mode-syntax-table)

-- 
Kevin Rodgers

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: capitalize-word unwilling to capitalize 'god'
  2005-11-14 16:03 capitalize-word unwilling to capitalize 'god' Dan Jacobson
  2005-11-14 23:18 ` Kevin Rodgers
@ 2005-11-15 18:07 ` Richard M. Stallman
  1 sibling, 0 replies; 3+ messages in thread
From: Richard M. Stallman @ 2005-11-15 18:07 UTC (permalink / raw)
  Cc: bug-gnu-emacs

The reason for that behavior is that, in the Church of Emacs, we
worship an editor--not gods.

However, out of respect for the religious freedom of others who
disagree with us, we fixed the problem in the current development
Emacs.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-11-15 18:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-14 16:03 capitalize-word unwilling to capitalize 'god' Dan Jacobson
2005-11-14 23:18 ` Kevin Rodgers
2005-11-15 18:07 ` Richard M. Stallman

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).