all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "D. Goel" <deego@glue.umd.edu>
Subject: capitalize-word capitalizes acronyms..
Date: 09 May 2002 15:05:52 -0400	[thread overview]
Message-ID: <ap3661xkupb.fsf@fosters.umd.edu> (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)

                 reply	other threads:[~2002-05-09 19:05 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ap3661xkupb.fsf@fosters.umd.edu \
    --to=deego@glue.umd.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.