unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Drew Adams <drew.adams@oracle.com>
Cc: 18977@debbugs.gnu.org
Subject: bug#18977: 25.0.50; Enhance (fix) incremental `indent-rigidly'
Date: Thu, 12 May 2022 03:11:07 +0200	[thread overview]
Message-ID: <87y1z7368k.fsf@gnus.org> (raw)
In-Reply-To: <3394deee-e886-4428-9491-2286fcbbcce2@default> (Drew Adams's message of "Thu, 6 Nov 2014 10:36:27 -0800 (PST)")

Drew Adams <drew.adams@oracle.com> writes:

> 1. Please consider adding this binding, so you can simply do `C-x TAB
> TAB...': (define-key indent-rigidly-map "\t" 'indent-rigidly-right).
> And update the doc string and prompt, of course.

Makes sense; I've now added this to Emacs 29.  (But not changed the
prompt.)

> 2. You cannot currently provide a numeric prefix arg to `indent-rigidly'
> for incremental use.  The incremental indentation you get is either 1 
> column (for <right>) or to the next tab stop (for <S-right>).
>
> It would be good to be able to use a numeric prefix arg interactively to
> indent not only once, but each time you hit <right>.

I don't think that makes much sense -- if you've decided to indent X
columns (by using the prefix), then you don't want to enter the
transient map thing.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  reply	other threads:[~2022-05-12  1:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-06 18:36 bug#18977: 25.0.50; Enhance (fix) incremental `indent-rigidly' Drew Adams
2022-05-12  1:11 ` Lars Ingebrigtsen [this message]
2022-05-12 15:58   ` Drew Adams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y1z7368k.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=18977@debbugs.gnu.org \
    --cc=drew.adams@oracle.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).