From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#29346: dwim transpose-subr opportunity? Date: Mon, 10 Aug 2020 16:10:54 +0200 Message-ID: <871rke3829.fsf@gnus.org> References: <87a7zkwooy.fsf@fliptop> <83bmk0gh8l.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6677"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Tomas Nordin , 29346@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Aug 10 16:12:41 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k58XZ-0001ZY-Kv for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 10 Aug 2020 16:12:41 +0200 Original-Received: from localhost ([::1]:52284 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k58XY-00069Y-JB for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 10 Aug 2020 10:12:40 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59164) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k58Ww-0005gv-A3 for bug-gnu-emacs@gnu.org; Mon, 10 Aug 2020 10:12:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53719) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k58Wv-00069J-R6 for bug-gnu-emacs@gnu.org; Mon, 10 Aug 2020 10:12:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k58Wv-0001Mw-LX for bug-gnu-emacs@gnu.org; Mon, 10 Aug 2020 10:12:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 10 Aug 2020 14:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29346 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 29346-submit@debbugs.gnu.org id=B29346.15970686705168 (code B ref 29346); Mon, 10 Aug 2020 14:12:01 +0000 Original-Received: (at 29346) by debbugs.gnu.org; 10 Aug 2020 14:11:10 +0000 Original-Received: from localhost ([127.0.0.1]:37027 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k58W5-0001LI-RR for submit@debbugs.gnu.org; Mon, 10 Aug 2020 10:11:10 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:48710) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k58W3-0001L1-NJ for 29346@debbugs.gnu.org; Mon, 10 Aug 2020 10:11:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=JT52kV+l4+oB8fU/zjM+z9qPpPFFSGgEUbDLNwOawf4=; b=uCAir4EzDwufl83sU3pTKijMP0 +DDC9BLrQySM3bUOxj7WrTMqlIMz4NN+eaMp26TQ2ZOhtKTEzC5rZnuPu81xyq9yLjWr7dipkxETs bDgFaksjtIts5k3oe4ok+pvU+2TNfE12BlNEH9+VUt+bSZ5TzSxylHaCkFa4RphcQqWw=; Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k58Vr-0005hm-Ud; Mon, 10 Aug 2020 16:11:01 +0200 In-Reply-To: <83bmk0gh8l.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 18 Nov 2017 09:48:10 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:184522 Archived-At: Eli Zaretskii 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