home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / gnu / emacs / bug / 1599 < prev    next >
Encoding:
Text File  |  1992-12-31  |  1.2 KB  |  34 lines

  1. Newsgroups: gnu.emacs.bug
  2. Path: sparky!uunet!cis.ohio-state.edu!expo.lcs.mit.edu!gildea
  3. From: gildea@expo.lcs.mit.edu (Stephen Gildea)
  4. Subject: Re: want interface to upcase_initials_region
  5. Message-ID: <9212301932.AA07477@alex.lcs.mit.edu>
  6. Sender: gnulists@ai.mit.edu
  7. Organization: GNUs Not Usenet
  8. References: <725741030.471684.MILLER@TGV.COM>
  9. Distribution: gnu
  10. Date: Wed, 30 Dec 1992 19:32:52 GMT
  11. Approved: bug-gnu-emacs@prep.ai.mit.edu
  12. Lines: 20
  13.  
  14.     Date: Wed, 30 Dec 1992 10:43:50 -0800 (PST)
  15.     From: MILLER@TGV.COM (Bruce R'. Miller)
  16.  
  17.     What's wrong with (capitalize-region (region-beginning) (region-end)) ?
  18.     
  19.  
  20. It does something different with capitals embedded within words.
  21.  
  22. For example, suppose a person who has difficulty with the Shift key
  23. wants to type a list of names.  They might type them in all lower case
  24. and then run some capitalizing function over the names.
  25.  
  26. Using capitalize-region works only if you don't have any names that
  27. have internal capitals, such as MacArthur, LeFebvre, or DeBakey.  You
  28. would have to supply the capitalization of these names when you type
  29. them in, but then using capitalize-region would destroy this work.
  30. Hence the need for upcase-initials-region.
  31.  
  32.  < Stephen
  33.  
  34.