Article View: gnu.emacs.bug
Article #890Re: want interface to upcase_initials_region
From: Stephen Gildea
Date: Wed, 30 Dec 1992 19:32
Date: Wed, 30 Dec 1992 19:32
19 lines
1246 bytes
1246 bytes
Date: Wed, 30 Dec 1992 10:43:50 -0800 (PST)
From: MILLER@TGV.COM (Bruce R'. Miller)
What's wrong with (capitalize-region (region-beginning) (region-end)) ?
It does something different with capitals embedded within words.
For example, suppose a person who has difficulty with the Shift key
wants to type a list of names. They might type them in all lower case
and then run some capitalizing function over the names.
Using capitalize-region works only if you don't have any names that
have internal capitals, such as MacArthur, LeFebvre, or DeBakey. You
would have to supply the capitalization of these names when you type
them in, but then using capitalize-region would destroy this work.
Hence the need for upcase-initials-region.
< Stephen
Technical Details
Message-ID:
<9212301932.AA07477@alex.lcs.mit.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!expo.lcs.mit.edu!gildeaReferences:
<725741030.471684.MILLER@TGV.COM>Show Full Headers
Complete Article Headers
Newsgroups: gnu.emacs.bug Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!expo.lcs.mit.edu!gildea From: gildea@expo.lcs.mit.edu (Stephen Gildea) Subject: Re: want interface to upcase_initials_region Message-ID: <9212301932.AA07477@alex.lcs.mit.edu> Sender: gnulists@ai.mit.edu Organization: GNUs Not Usenet References: <725741030.471684.MILLER@TGV.COM> Distribution: gnu Date: Wed, 30 Dec 1992 19:32:52 GMT Approved: bug-gnu-emacs@prep.ai.mit.edu Lines: 20