unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Yuri Khan <yuri.v.khan@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: the «inverse» function of join-lines
Date: Tue, 24 Oct 2023 17:12:22 +0700	[thread overview]
Message-ID: <CAP_d_8W4Ef82NpE7Euyh3SYLdQ1r-gG6+AYzVcEJAsE8WvZxew@mail.gmail.com> (raw)
In-Reply-To: <CAP_d_8WjeF7vUhF+7ymSyP40sE8jnhgrFx62v=oiJxK-H6oOjQ@mail.gmail.com>

On Tue, 24 Oct 2023 at 16:47, Yuri Khan <yuri.v.khan@gmail.com> wrote:

> I have the following function on M-J, in addition to standard
> delete-indentation on M-^:
>
> (defun yk-join-lines ()
>   "Join the current line with the next one."
>   (interactive)
>   (delete-indentation 1))

(Someone might say this is superfluous and any other way to invoke
delete-indentation with a prefix argument, like M-6 M-^, would work
just as well. Well, it’s not for me, I don’t like long key sequences
for frequent actions.)



  reply	other threads:[~2023-10-24 10:12 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-24  9:25 the «inverse» function of join-lines Uwe Brauer
2023-10-24  9:37 ` Emanuel Berg
2023-10-24  9:47 ` Yuri Khan
2023-10-24 10:12   ` Yuri Khan [this message]
2023-10-24 12:17   ` Uwe Brauer
2023-10-24 14:23     ` Yuri Khan
2023-10-24 10:10 ` Tim Landscheidt
2023-10-24 12:18   ` Uwe Brauer
2023-10-24 12:50   ` Nikolay Kudryavtsev
2023-10-24 14:43     ` Uwe Brauer
2023-11-23 15:50       ` Nikolay Kudryavtsev
2023-11-23 20:57         ` Emanuel Berg

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=CAP_d_8W4Ef82NpE7Euyh3SYLdQ1r-gG6+AYzVcEJAsE8WvZxew@mail.gmail.com \
    --to=yuri.v.khan@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /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.
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).