unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: sindikat <sindikat@riseup.net>
Cc: 10927@debbugs.gnu.org
Subject: bug#10927: 24.0.93; propose newline-and-indent to have numeric argument
Date: Sat, 17 Aug 2019 16:47:37 -0700	[thread overview]
Message-ID: <878srr8icm.fsf@mouse.gnus.org> (raw)
In-Reply-To: <87r4xbpcsr.fsf@riseup.net> (sindikat@riseup.net's message of "Fri, 02 Mar 2012 15:33:40 +0600")

sindikat <sindikat@riseup.net> writes:

> Currently newline-and-indent does not accept numeric agrument,
> thus, for example C-u 5 M-x newline-and-indent does not create 5
> newlines, while C-u 5 M-x newline does
>
> I want to propose this function to accept numeric argument. It is useful
> when one has newline-and-indent bound to RET.
>
> Also if next-line-add-newlines set to true, it is helpful to enable C-u
> 5 M-x next-line to create 5 newlines, when end of buffer is met.

Sounds reasonable to me, so I've now done this in Emacs 27.

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





      reply	other threads:[~2019-08-17 23:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-02  9:33 bug#10927: 24.0.93; propose newline-and-indent to have numeric argument sindikat
2019-08-17 23:47 ` Lars Ingebrigtsen [this message]

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=878srr8icm.fsf@mouse.gnus.org \
    --to=larsi@gnus.org \
    --cc=10927@debbugs.gnu.org \
    --cc=sindikat@riseup.net \
    /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).