On Thu, Sep 23, 2021 at 7:59 PM Andreas Röhler
<andreas.roehler@easy-emacs.de> wrote:
On 23.09.21 11:58, Hongyi Zhao wrote:
On Thu, Sep 23, 2021 at 4:38 PM Andreas Röhler
<andreas.roehler@easy-emacs.de> wrote:
https://github.com/andreas-roehler/numbers-at-point
comes with
ar-raise-in-region-maybe
which should do the trick.
It really does the trick with the following configuration:
(use-package thingatpt-utils-core
:straight (:host github :type git :repo "andreas-roehler/numbers-at-point")
:config
(load "numbers-at-point.el" nil t t))
But how to increase/decrease in steps that are not equal to 1?
HZ
It takes a numerical argument for higher steps the common way:
M-[STEP] ar-raise-in-region-maybe RET
It should be used as follows: First select/mark the data region and
place the point at the end of it, then perform the following
operation:
M-[STEP] M-x ar-raise-in-region-maybe RET,
e.g., use 2 as the step,
M-2 M-x ar-raise-in-region-maybe RET
Best regards, HZ