From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: clone-buffer in Info Date: Thu, 19 Nov 2009 09:19:04 -0800 Message-ID: <686066FE605346A3B2374C97903C0D55@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1258652075 13560 80.91.229.12 (19 Nov 2009 17:34:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 19 Nov 2009 17:34:35 +0000 (UTC) To: Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 19 18:34:28 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NBAtm-0000N9-9w for ged-emacs-devel@m.gmane.org; Thu, 19 Nov 2009 18:34:26 +0100 Original-Received: from localhost ([127.0.0.1]:36661 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NBAtl-0003vj-Nu for ged-emacs-devel@m.gmane.org; Thu, 19 Nov 2009 12:34:25 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NBAfj-0007ay-JY for emacs-devel@gnu.org; Thu, 19 Nov 2009 12:19:55 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NBAfe-0007YN-PN for emacs-devel@gnu.org; Thu, 19 Nov 2009 12:19:55 -0500 Original-Received: from [199.232.76.173] (port=54782 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NBAfe-0007YE-GI for emacs-devel@gnu.org; Thu, 19 Nov 2009 12:19:50 -0500 Original-Received: from acsinet11.oracle.com ([141.146.126.233]:38700) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NBAfd-0001O2-Us for emacs-devel@gnu.org; Thu, 19 Nov 2009 12:19:50 -0500 Original-Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by acsinet11.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id nAJHKfTb030192 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 19 Nov 2009 17:20:43 GMT Original-Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by acsinet15.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id nAJ901ut003074 for ; Thu, 19 Nov 2009 17:21:35 GMT Original-Received: from abhmt007.oracle.com by acsmt354.oracle.com with ESMTP id 468041941258651144; Thu, 19 Nov 2009 09:19:04 -0800 Original-Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 19 Nov 2009 09:19:04 -0800 X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcppPGStJZCPAwb6SDiQYy4iT1Ff8A== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Source-IP: acsmt356.oracle.com [141.146.40.156] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090203.4B057E31.003B:SCFMA4539814,ss=1,fgs=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:117268 Archived-At: I just discovered something I should probably have discovered years ago. I often use `M-x clone-buffer' in Info, to be able to view different nodes at the same time. In my own setup, Info windows are always dedicated, which is (apparently) why I can do that. The nodes can be in different manuals. Just now, for instance, for my reply to thread "questions about blink-cursor mode", I compared Info nodes (emacs)Hooks and (elisp)Hooks in separate windows, just by using `clone-buffer'. I never realized that this possibility was only because I use dedicated windows. I found that out by accident, by trying the same thing in `emacs -Q'. There, it's not possible - when you navigate to a node, the cloned buffer follows. Just using `set-window-dedicated-p' takes care of this and DTRT. But `M-: (set-window-dedicated-p (selected-window) t)' is not something that many Emacs users will think of doing, especially for this purpose. They wouldn't even know that this would give them a way to look at multiple nodes (I assume this is not documented as such). It seems so useful, to me, to be able to have separate Info windows looking at different nodes (possibly in different manuals), that I wonder if we shouldn't somehow automatically DTRT in this regard. Either by automatically dedicating the window whenever you use `clone-buffer' (in Info) or by some other means. Or at least document this. I had no idea that this feature was _not_ available out of the box without doing anything. Many Emacs users must have been losing out on this.