[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
Re: Is there a way to start Calc, taking the region as input and replacing it with the value?
Sat, 1 Feb 2014 20:17:02 +0100
Dnia 2014-02-01, o godz. 19:24:18
marc tfardy <address@hidden> napisał(a):
> 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:
Thanks a lot, seems to be exactly what I meant (though rounding would
be less useful for me)! Meanwhile, I recalled about the embedded mode,
which does a very similar thing.
Adam Mickiewicz University