From unknown Sat Jun 21 10:43:43 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#14947 <14947@debbugs.gnu.org> To: bug#14947 <14947@debbugs.gnu.org> Subject: Status: Key bindings for info in other window or frame Reply-To: bug#14947 <14947@debbugs.gnu.org> Date: Sat, 21 Jun 2025 17:43:43 +0000 retitle 14947 Key bindings for info in other window or frame reassign 14947 emacs submitter 14947 Matthias Meulien severity 14947 wishlist tag 14947 patch wontfix thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 24 17:24:14 2013 Received: (at submit) by debbugs.gnu.org; 24 Jul 2013 21:24:14 +0000 Received: from localhost ([127.0.0.1]:47718 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V26Xd-00035t-Nw for submit@debbugs.gnu.org; Wed, 24 Jul 2013 17:24:14 -0400 Received: from eggs.gnu.org ([208.118.235.92]:59951) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V26Xa-00035V-Li for submit@debbugs.gnu.org; Wed, 24 Jul 2013 17:24:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V26XS-0006qN-Tf for submit@debbugs.gnu.org; Wed, 24 Jul 2013 17:24:05 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:36427) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V26XS-0006qD-Oj for submit@debbugs.gnu.org; Wed, 24 Jul 2013 17:24:02 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33399) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V26XP-00007x-Sc for bug-gnu-emacs@gnu.org; Wed, 24 Jul 2013 17:24:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V26XM-0006ob-CB for bug-gnu-emacs@gnu.org; Wed, 24 Jul 2013 17:23:59 -0400 Received: from mail-wg0-x22f.google.com ([2a00:1450:400c:c00::22f]:44566) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V26XH-0006nG-1E; Wed, 24 Jul 2013 17:23:51 -0400 Received: by mail-wg0-f47.google.com with SMTP id j13so900184wgh.2 for ; Wed, 24 Jul 2013 14:23:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:user-agent:mime-version :content-type; bh=1cjm9skxMjQoPppSIFPnQz774lFCBrvx9m5CBIt6pJ0=; b=b4I29WRrRgcCHhYJnl5BtXZNkoK5OwjTzV+SZR50xgNOGHRgCEweHGQxLNi2iIk5Ud WXci8Sp+W2Ft7fasFJwuiW/N2q8QSbRquAfZPcd+sB01FZBNjseDxrfLrItc9rPQFY+q V1S+oG5z7yXqCs+jfLixnosnD9mWs4tUiZ4M9sdOPzPljzAwZyDWGi69EI3vGPcDzcAj qk/ND7fWQIp/UIuD9Bytkf2klgqgQTd1norF2DRXIG5oFv05H4hvJWG/hs4xlQvsuog9 nl0DACE2iiwV+yrJWW3CVzSFIp5xeMm2LA9AbI93xYt7BquFQA2NFfE7gkYRnp0VCRy9 28Ew== X-Received: by 10.194.119.195 with SMTP id kw3mr28082109wjb.64.1374701029499; Wed, 24 Jul 2013 14:23:49 -0700 (PDT) Received: from choubidou.localdomain (jau31-3-82-239-20-84.fbx.proxad.net. [82.239.20.84]) by mx.google.com with ESMTPSA id fb2sm8105558wic.4.2013.07.24.14.23.47 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 24 Jul 2013 14:23:48 -0700 (PDT) From: Matthias Meulien To: bug-gnu-emacs@gnu.org Subject: Key bindings for info in other window or frame Date: Wed, 24 Jul 2013 23:28:00 +0200 Message-ID: <87k3kfmyvz.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: submit Cc: emacs-devel@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.7 (--) --=-=-= Content-Type: text/plain; format=flowed Severity: wishlist Tags: patch Everything is in the subject! The attached patch defines `info-other-frame' and bind it to `C-x 5 i'. It also bind `info-other-window' to `C-x 4 i'. I know that `info-other-window' is already bind to `C-h 4 i' but I found it more difficult to remember than the key binding which use the ubiquitous `C-x 4' keymap. --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=info_other_frame_and_window.patch Content-Description: Key bindings for info in other window or frame >From cf8d4210743c1c9b06db28e5b5bb5a51f8a190bf Mon Sep 17 00:00:00 2001 From: Matthias Meulien Date: Wed, 24 Jul 2013 23:23:44 +0200 Subject: [PATCH] lisp/info.el (info-other-window): Add key binding and other frame defun --- lisp/info.el | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/lisp/info.el b/lisp/info.el index 0e0a117..99098e8 100644 --- a/lisp/info.el +++ b/lisp/info.el @@ -745,6 +745,7 @@ in `Info-file-supports-index-cookies-list'." (not (member dir (split-string path ":" t))) (push dir Info-directory-list))))))) +;;;###autoload (define-key ctl-x-4-map "i" 'info-other-window) ;;;###autoload (defun info-other-window (&optional file-or-node buffer) "Like `info' but show the Info buffer in another window." @@ -756,6 +757,18 @@ in `Info-file-supports-index-cookies-list'." (info-setup file-or-node (switch-to-buffer-other-window (or buffer "*info*")))) +;;;###autoload (define-key ctl-x-5-map "i" 'info-other-frame) +;;;###autoload +(defun info-other-frame (&optional file-or-node buffer) + "Like `info' but put the Info buffer in another frame." + (interactive (list + (if (and current-prefix-arg (not (numberp current-prefix-arg))) + (read-file-name "Info file name: " nil nil t)) + (if (numberp current-prefix-arg) + (format "*info*<%s>" current-prefix-arg)))) + (info-setup file-or-node + (switch-to-buffer-other-frame (or buffer "*info*")))) + ;;;###autoload (put 'info 'info-file (purecopy "emacs")) ;;;###autoload (defun info (&optional file-or-node buffer) -- 1.8.3.3 --=-=-= Content-Type: text/plain; format=flowed Thanks for reading, -- Matthias --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 24 21:09:27 2013 Received: (at submit) by debbugs.gnu.org; 25 Jul 2013 01:09:27 +0000 Received: from localhost ([127.0.0.1]:47961 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V2A3a-0005B6-OX for submit@debbugs.gnu.org; Wed, 24 Jul 2013 21:09:27 -0400 Received: from eggs.gnu.org ([208.118.235.92]:46393) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V2A3Z-0005AU-5n for submit@debbugs.gnu.org; Wed, 24 Jul 2013 21:09:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V2A3T-0003zX-3q for submit@debbugs.gnu.org; Wed, 24 Jul 2013 21:09:19 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-100.0 required=5.0 tests=BAYES_20, USER_IN_WHITELIST autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:53024) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V2A3T-0003zT-0e for submit@debbugs.gnu.org; Wed, 24 Jul 2013 21:09:19 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48104) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V2A3O-0001RL-KW for bug-gnu-emacs@gnu.org; Wed, 24 Jul 2013 21:09:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V2A3K-0003yl-Bq for bug-gnu-emacs@gnu.org; Wed, 24 Jul 2013 21:09:14 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.182]:8063) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V2A3K-0003ya-7Z; Wed, 24 Jul 2013 21:09:10 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EABK/CFFFxLd+/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLDiYSFBgNJIgeBsEtkQoDpHqBXoMTgUok X-IPAS-Result: Av4EABK/CFFFxLd+/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLDiYSFBgNJIgeBsEtkQoDpHqBXoMTgUok X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="19754183" Received: from 69-196-183-126.dsl.teksavvy.com (HELO pastel.home) ([69.196.183.126]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 24 Jul 2013 21:09:03 -0400 Received: by pastel.home (Postfix, from userid 20848) id DD8D262E5D; Wed, 24 Jul 2013 21:09:08 -0400 (EDT) From: Stefan Monnier To: Matthias Meulien Subject: Re: Key bindings for info in other window or frame Message-ID: References: <87k3kfmyvz.fsf@gmail.com> Date: Wed, 24 Jul 2013 21:09:08 -0400 In-Reply-To: <87k3kfmyvz.fsf@gmail.com> (Matthias Meulien's message of "Wed, 24 Jul 2013 23:28:00 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -2.4 (--) X-Debbugs-Envelope-To: submit Cc: bug-gnu-emacs@gnu.org, emacs-devel@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) > The attached patch defines `info-other-frame' and bind it to `C-x > 5 i'. It also bind `info-other-window' to `C-x 4 i'. Thanks. But what I'm looking for is a C-x 4 command and a C-x 5 command which work like prefix keys changing the subsequent command to use a new window/frame (presumably using display-buffer-overriding-action). Then C-x 4 C-x C-f would do the same as the current C-x 4 f, and C-x 4 M-x info would do the same as your C-x 4 i. Also we could further tweak those commands to use a set-temporary-overlay-map so as to provide shortcuts like the preexisting C-x 4 f (which would map to C-x 4 C-x C-f), at which point adding C-x 4 i and C-x 5 i would be easy and wouldn't require any new command. Stefan From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 25 04:16:23 2013 Received: (at submit) by debbugs.gnu.org; 25 Jul 2013 08:16:23 +0000 Received: from localhost ([127.0.0.1]:48576 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V2Gik-00079O-FH for submit@debbugs.gnu.org; Thu, 25 Jul 2013 04:16:22 -0400 Received: from eggs.gnu.org ([208.118.235.92]:38732) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V2Gii-000790-DV for submit@debbugs.gnu.org; Thu, 25 Jul 2013 04:16:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V2GiZ-0001FO-J3 for submit@debbugs.gnu.org; Thu, 25 Jul 2013 04:16:14 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:48919) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V2GiZ-0001FE-Fk for submit@debbugs.gnu.org; Thu, 25 Jul 2013 04:16:11 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40407) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V2GiW-0000bz-Pe for bug-gnu-emacs@gnu.org; Thu, 25 Jul 2013 04:16:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V2GiS-0001DE-9E for bug-gnu-emacs@gnu.org; Thu, 25 Jul 2013 04:16:08 -0400 Received: from mail-ee0-x22e.google.com ([2a00:1450:4013:c00::22e]:47286) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V2GiS-0001Cr-2J; Thu, 25 Jul 2013 04:16:04 -0400 Received: by mail-ee0-f46.google.com with SMTP id d41so732074eek.19 for ; Thu, 25 Jul 2013 01:16:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=D85PG+GGdl9l/BgCkRY6iFjUPozzhx4ItIXHpyLc/yY=; b=LRm1nQeeXFYzIdD2FAbxsvzVyoWm6VwkVHQuuNQ7KKpqMTS7t2jPKX+VUDEeaWYexP 7NDYafyxcWOJ7fUTdelE5xOXcyxYaMUyFRe0WCsyv5EtUx+mPt0a9ksPKQs2EJPE+Jc7 RxQP9RaTWtnSIRD5oi1DlFNtW4ax2bTsTv1UUuKTBPo2eZEvnKeB3FOdMLpsOTZQ5iKc AdWWsQklVmNwPM4vkiKWdv8+NGP0TC7DyEHkmc0S/NoHb7/Ltj5o6RQ8FQQMvZOQ1s3q S1WamJsQ1ovx+00kFONyVemlXsMPqnYB7zmxqxYAVS6jj3dvbrFeTBzkDy3hvYj6SNX3 D8HQ== X-Received: by 10.15.36.72 with SMTP id h48mr41632403eev.33.1374740163049; Thu, 25 Jul 2013 01:16:03 -0700 (PDT) Received: from [192.168.10.20] (LPuteaux-156-15-41-99.w82-127.abo.wanadoo.fr. [82.127.68.99]) by mx.google.com with ESMTPSA id o5sm71849267eef.5.2013.07.25.01.16.01 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 25 Jul 2013 01:16:02 -0700 (PDT) Message-ID: <51F0DEB2.9050703@gmail.com> Date: Thu, 25 Jul 2013 10:15:46 +0200 From: Matthias Meulien User-Agent: Mozilla/5.0 (Windows NT 6.0; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 MIME-Version: 1.0 To: Stefan Monnier Subject: Re: Key bindings for info in other window or frame References: <87k3kfmyvz.fsf@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: submit Cc: bug-gnu-emacs@gnu.org, emacs-devel@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.7 (--) > (...) But what I'm looking for is a C-x 4 command and a C-x 5 command > which work like prefix keys changing the subsequent command to use a new > window/frame (presumably using display-buffer-overriding-action). I see. You're right and I'll make a try in that direction. -- Matthias From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 23 23:33:18 2016 Received: (at control) by debbugs.gnu.org; 24 Feb 2016 04:33:18 +0000 Received: from localhost ([127.0.0.1]:42157 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aYR8Y-0005zp-2g for submit@debbugs.gnu.org; Tue, 23 Feb 2016 23:33:18 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:38575) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aYR8W-0005zh-Cr for control@debbugs.gnu.org; Tue, 23 Feb 2016 23:33:16 -0500 Received: from cpe-60-225-211-161.nsw.bigpond.net.au ([60.225.211.161] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aYR86-0000JJ-Si for control@debbugs.gnu.org; Wed, 24 Feb 2016 05:32:51 +0100 Date: Wed, 24 Feb 2016 15:32:46 +1100 Message-Id: <877fhuiv81.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #14947 X-MailScanner-ID: 1aYR86-0000JJ-Si X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1456893172.82765@sa2fhnKYwKQy0VRnbU4T+w X-Spam-Status: No X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) tags 14947 wontfix close 14947 From unknown Sat Jun 21 10:43:43 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 23 Mar 2016 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator