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

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

Re: Provide numerical argument to indent-rigidly-right


From: Andreas Röhler
Subject: Re: Provide numerical argument to indent-rigidly-right
Date: Sat, 13 Nov 2021 14:50:25 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0


Am 13.11.21 um 13:38 schrieb Robert Pluim:
Try calling it with a prefix arg (including a negative one)

Robert

Calling with negative arg

M-- 4 indent-rigidly RET has no effect here. Bug?

Also

docstring says:


If called interactively with no prefix argument, activate a
transient mode in which the indentation can be adjusted interactively
by typing <left>, <right>, S-<left>, or S-<right>.
Typing any other key exits this mode, and this key is then
acted upon as normally.


That's too complex for such a simple thing.


Andreas

On Sat, Nov 13, 2021, 13:18 Andreas Röhler <andreas.roehler@easy-emacs.de <mailto:andreas.roehler@easy-emacs.de>> wrote:


    Am 13.11.21 um 11:03 schrieb Robert Pluim:
    >>>>>> On Thu, 11 Nov 2021 12:17:45 +0100, Andreas Röhler
    <andreas.roehler@easy-emacs.de
    <mailto:andreas.roehler@easy-emacs.de>> said:
    >      Andreas> Hi,
    >      Andreas> what about providing a numerical argument to
    indent-rigidly-right
    >
    > What's wrong with `indent-rigidly'?
    >
    > Robert


    Here M-x indent-rigidly RET doesn't indent at all, but sends a
    message:

    Indent region with <left>, <right>, S-<left>, or S-<right>.


    That's not as simple as it could be.

    Also, if once selected right, not being asked next time. How to
    indent
    left then?

    Probably there is a docu...

    However, IMO a command indenting left or right should not need much
    docu, it should just do it.

    Thus indent-rigidly seems not first choice as a caller.


    Andreas

    being at GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+
    Version
    2.24.32, cairo version 1.16.0) of 2021-10-14





reply via email to

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