* capitalize-word capitalizes acronyms..
@ 2002-05-09 19:05 D. Goel
0 siblings, 0 replies; only message in thread
From: D. Goel @ 2002-05-09 19:05 UTC (permalink / raw)
Dear g.e.bug folks..
consider what happens when you capitalize a region: FSF gets changed
to Fsf in the region. There are (3 differnet) utilities out there
that capitalize each sentence-beginning for you.. some of them write
their own implementation of capitalize-word for this very reason. So
i figured, perhaps the best place to make the change is in GNU emacs
itself..
IMHO, there could be a variable, say, capitalize-acronyms-p. If this
variable is non-nil, then capitalize-word (and capitalize-region)
should capitalize GNU to GNU, not Gnu. These are built-in functions,
and If i knew enough C and loved it tenth as much as elisp, i would
try to submit a patch myself :)
(in fact, if you so like, more generally, there could be a general
regexp that skips capitalization.. for instance, as in Kevin Rodger's
auto-capitalize.el -->
http://groups.google.com/groups?q=capitalize+auto+group:gnu.emacs.sources&hl=en&selm=3C45E780.89BDDF06%40ihs.com&rnum=2 )
(PS: i use emacs 21.1)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-05-09 19:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-09 19:05 capitalize-word capitalizes acronyms D. Goel
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.