unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* 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 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).