From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#35466: 26.2; Feature request: add clone-indirect-buffer-other-frame to C-x 5 c Date: Wed, 29 May 2019 00:41:23 +0300 Organization: LINKOV.NET Message-ID: <87r28ib6kc.fsf@mail.linkov.net> References: <87r29ngg90.fsf@uu.nl> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="265660"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) Cc: 35466@debbugs.gnu.org To: "Kocken\, I.J. \(Ilja\)" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue May 28 23:43:18 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hVjsL-00170D-O5 for geb-bug-gnu-emacs@m.gmane.org; Tue, 28 May 2019 23:43:17 +0200 Original-Received: from localhost ([127.0.0.1]:43076 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hVjsK-0004z2-P3 for geb-bug-gnu-emacs@m.gmane.org; Tue, 28 May 2019 17:43:16 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:39459) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hVjsD-0004yn-Fq for bug-gnu-emacs@gnu.org; Tue, 28 May 2019 17:43:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hVjsB-0007Bc-FO for bug-gnu-emacs@gnu.org; Tue, 28 May 2019 17:43:09 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43935) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hVjs5-00077R-Ul for bug-gnu-emacs@gnu.org; Tue, 28 May 2019 17:43:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hVjs5-0001SP-Rc for bug-gnu-emacs@gnu.org; Tue, 28 May 2019 17:43:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 28 May 2019 21:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35466 X-GNU-PR-Package: emacs Original-Received: via spool by 35466-submit@debbugs.gnu.org id=B35466.15590797765587 (code B ref 35466); Tue, 28 May 2019 21:43:01 +0000 Original-Received: (at 35466) by debbugs.gnu.org; 28 May 2019 21:42:56 +0000 Original-Received: from localhost ([127.0.0.1]:57478 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hVjs0-0001S3-8w for submit@debbugs.gnu.org; Tue, 28 May 2019 17:42:56 -0400 Original-Received: from cichlid.maple.relay.mailchannels.net ([23.83.214.36]:13851) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hVjry-0001Ru-Jt for 35466@debbugs.gnu.org; Tue, 28 May 2019 17:42:55 -0400 X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 390266A2ECE; Tue, 28 May 2019 21:42:53 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a6.g.dreamhost.com (100-96-85-75.trex.outbound.svc.cluster.local [100.96.85.75]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 9AC116A2F61; Tue, 28 May 2019 21:42:52 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a6.g.dreamhost.com ([TEMPUNAVAIL]. [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.17.2); Tue, 28 May 2019 21:42:53 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Juvenile-Stop: 306e221d08553264_1559079772984_3079617988 X-MC-Loop-Signature: 1559079772984:314820464 X-MC-Ingress-Time: 1559079772984 Original-Received: from pdx1-sub0-mail-a6.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a6.g.dreamhost.com (Postfix) with ESMTP id 238C38019B; Tue, 28 May 2019 14:42:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=linkov.net; bh=j9dyD9jW9jSBUQUey7ZcOxjYXtk=; b= jw6ntGyJ4QcaLsJXf7ohF5Cv9LaiEWPCvLbmrDITk8M+4xXfleIrH1nixsPLdc7f 6ammd8l+S+Gr3QyC7s8noWHXqwd8n1kFdVPjZCqfedahFlnq3ZGMCIkkNrcPg/Gy G/EoLl11Lqe2oUEXt25Ub0xX6pPEN7ETZL4Rcjlt58w= Original-Received: from mail.jurta.org (m91-129-96-73.cust.tele2.ee [91.129.96.73]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a6.g.dreamhost.com (Postfix) with ESMTPSA id ACF0480185; Tue, 28 May 2019 14:42:49 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a6 In-Reply-To: <87r29ngg90.fsf@uu.nl> (I. J. Kocken's message of "Sat, 27 Apr 2019 23:50:20 +0000") X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: 0 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduuddruddvhedgudeigecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdfftffgtefojffquffvnecuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufhofhffjgfkfgggtgesthdtredttdertdenucfhrhhomheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqeenucfkphepledurdduvdelrdeliedrjeefnecurfgrrhgrmhepmhhouggvpehsmhhtphdphhgvlhhopehmrghilhdrjhhurhhtrgdrohhrghdpihhnvghtpeeluddruddvledrleeirdejfedprhgvthhurhhnqdhprghthheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqedpmhgrihhlfhhrohhmpehjuhhriheslhhinhhkohhvrdhnvghtpdhnrhgtphhtthhopefkrdflrdfmohgtkhgvnhesuhhurdhnlhenucevlhhushhtvghrufhiiigvpedt X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:159869 Archived-At: > Not so much a bug, as a feature request. But upon reading that the very > useful C-x 4 c is bound to `clone-indirect-buffer-other-window`[1] on > reddit [2], and that the C-x 5 prefix is usually linked to frame related > commands, I was hoping to see that C-x 5 c would create an indirect > buffer copy in a new frame (since I rely on frames-only-mode and my > winowmanager sway for moving between frames). I was sad to see this > didn't exist yet, but glad that by looking at the source code I could > whip a working function up very quickly: > > (defun clone-indirect-buffer-other-frame (newname display-flag &optional norecord) > "Like `clone-indirect-buffer' but display in another frame." > (interactive > (progn > (if (get major-mode 'no-clone-indirect) > (error "Cannot indirectly clone a buffer in %s mode" mode-name)) > (list (if current-prefix-arg > (read-buffer "Name of indirect buffer: " (current-buffer))) > t))) > (let ((pop-up-frames t)) > (clone-indirect-buffer newname display-flag norecord))) > > I think adding this to emacs, bound to C-x 5 c, would create a > more consistent interface. I hope you agree! The only problem with this binding is that bug#34715 proposed to use the same binding C-x 5 c for clone-frame.