* 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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.