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

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

Re: Is there a way to start Calc, taking the region as input and replaci


From: marc tfardy
Subject: Re: Is there a way to start Calc, taking the region as input and replacing it with the value?
Date: Sat, 01 Feb 2014 19:24:18 +0100
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:24.0) Gecko/20100101 Thunderbird/24.2.0

Am 01.02.14 18:40, schrieb Marcin Borkowski:
Well, the subject is basically what I want.  I'd like to be able to
type, e.g., "2+3", mark it as a region, and press *something* only to
get it *replaced* by "5".

C-u C-x * g C-x * y q is pretty close, but not the same (and way too
long to be comfortable).

If there's no such thing, I could probably write it in Elisp myself,
but why reinvent the wheel?

Exactly for this purpose I use macro-math:
https://github.com/nschum/macro-math.el/blob/master/macro-math.el


--
(or greets gruesse pozdro)
tfardy


reply via email to

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