On Sat, Jan 28, 2017 at 3:32 PM, Rich Shepard <[email protected]> wrote:
> Some agency databases store all words in uppercase and that's how they > are > downloaded to a .csv file. > > I tried creating a macro that would capitalize all uppercase words by > using M-c M-f to capitalize the word under the cursor then move to the next > word. Emacs apparently sees the field-separating comma as the next word, so > I added a right arrow press between the M-c and M-f. This results in a > mish-mash where some words are changed and others aren't because multiple > words within a field are not separated by a comma. > > In my version of emacs, in fundamental mode, M-c alone does just what you want. I think. That is, if I put my cursor at the beginning of: ASDF ASDF,ASDF ASDFA, ADSFA A,ASDF and hit M-c about 6 times, I end up with: Asdf Asdf,Asdf Asdfa, Adsfa A,Asdf _______________________________________________ PLUG mailing list [email protected] http://lists.pdxlinux.org/mailman/listinfo/plug
