[PRL] emacs question

Ethan Aubin ethan.aubin at pobox.com
Thu Dec 30 21:37:50 EST 2004


Your looking for `query-replace-regexp-eval' E.g. interactively

  M-x query-replace-regexp-eval

  Query replace regexp: [a-z]+ with eval (upcase \0)

  -- ethan.aubin at pobox.com

On Thu, Dec 30, 2004 at 09:22:31PM -0500, Dave Herman wrote:
> I'm getting good at replace-regexp now, but is there a good way to apply 
> an arbitrary procedure to all matches of a regexp in an emacs buffer? 
> Preferably interactively.
> 
> For example, I'd like to apply uppercase-region (or whatever) to all 
> strings that match some regexp.
> 
> Thanks,
> Dave
> 
> _______________________________________________
> PRL mailing list
> PRL at lists.ccs.neu.edu
> https://lists.ccs.neu.edu/bin/listinfo/prl
> 



More information about the PRL mailing list