unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Tomas Nordin <tomasn@posteo.net>, 29346@debbugs.gnu.org
Subject: bug#29346: dwim transpose-subr opportunity?
Date: Mon, 10 Aug 2020 16:10:54 +0200	[thread overview]
Message-ID: <871rke3829.fsf@gnus.org> (raw)
In-Reply-To: <83bmk0gh8l.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 18 Nov 2017 09:48:10 +0200")

Eli Zaretskii <eliz@gnu.org> writes:

>> It gets a bit silly as suggested though, I guess the logic should be
>> something like (or (= arg 0) (and transpose-dwim (use-region-p)))
>
> Maybe.  But I wonder why this relatively rare use case is so important
> as to mandate a new defcustom, whose only purpose is to save the user
> from typing M-0 or "C-u 0".  Just because people didn't read the doc
> string and therefore didn't know about the special meaning of an
> argument of zero?  But then they will not know about the proposed
> magic, either.

I think the conclusion here was that it didn't seem worth it to add a
new variable to control this behaviour (since `M-0' easy to type), so
I'm closing this bug report.

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





  parent reply	other threads:[~2020-08-10 14:10 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-17 22:00 bug#29346: dwim transpose-subr opportunity? Tomas Nordin
2017-11-18  7:48 ` Eli Zaretskii
2017-11-18 13:35   ` Tomas Nordin
2017-11-18 14:45     ` Eli Zaretskii
2017-11-26 13:54       ` Tomas Nordin
2020-08-10 14:10   ` Lars Ingebrigtsen [this message]
2017-11-25 11:51 ` bug#29346: dwim transpose-subr opportunity new suggestion Tomas Nordin

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=871rke3829.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=29346@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=tomasn@posteo.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).