help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: two function requests


From: PJ Weisberg
Subject: Re: two function requests
Date: Wed, 1 Aug 2012 09:24:49 -0700

On Wed, Aug 1, 2012 at 8:45 AM, drain <aeuster@gmail.com> wrote:
>
> (1) A command that deletes every instance of a certain char, e.g., "_" is
> entered and every "_" is deleted from the text. Would be very useful when
> formatting pdfs into orgs.

`replace-string' (see also `replace-regexp')

The second argument can be an empty string.  It only replaces strings
*after* point, so you would have to move to the beginning of the
buffer first.

-PJ

Gehm's Corollary to Clark's Law: Any technology distinguishable from
magic is insufficiently advanced.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]