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: Info-mouse-follow-nearest-node should take prefix arg to fork Date: Sun, 8 Jan 2006 10:37:17 -0800 Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1136745468 20752 80.91.229.2 (8 Jan 2006 18:37:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 8 Jan 2006 18:37:48 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jan 08 19:37:44 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EvfQD-00064n-EY for ged-emacs-devel@m.gmane.org; Sun, 08 Jan 2006 19:37:43 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EvfS6-0008CZ-P6 for ged-emacs-devel@m.gmane.org; Sun, 08 Jan 2006 13:39:38 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EvfRv-0008C4-Jt for emacs-devel@gnu.org; Sun, 08 Jan 2006 13:39:27 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EvfRp-0008B0-Si for emacs-devel@gnu.org; Sun, 08 Jan 2006 13:39:25 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EvfRp-0008Ax-PK for emacs-devel@gnu.org; Sun, 08 Jan 2006 13:39:21 -0500 Original-Received: from [148.87.122.30] (helo=rgminet01.oracle.com) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1EvfTy-0001Yi-L7 for emacs-devel@gnu.org; Sun, 08 Jan 2006 13:41:34 -0500 Original-Received: from rgmsgw301.us.oracle.com (rgmsgw301.us.oracle.com [138.1.186.50]) by rgminet01.oracle.com (Switch-3.1.6/Switch-3.1.6) with ESMTP id k08IbK3r029038 for ; Sun, 8 Jan 2006 11:37:20 -0700 Original-Received: from rgmsgw301.us.oracle.com (localhost [127.0.0.1]) by rgmsgw301.us.oracle.com (Switch-3.1.7/Switch-3.1.7) with ESMTP id k08IbJAG014177 for ; Sun, 8 Jan 2006 11:37:19 -0700 Original-Received: from dradamslap (dhcp-amer-rmdc-csvpn-gw5-141-144-104-18.vpn.oracle.com [141.144.104.18]) by rgmsgw301.us.oracle.com (Switch-3.1.7/Switch-3.1.7) with SMTP id k08IbILu014160 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for ; Sun, 8 Jan 2006 11:37:19 -0700 Original-To: "Emacs-Devel" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506 X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE 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:48848 Archived-At: Why not add an optional FORK arg to Info-mouse-follow-nearest-node, so it opens the node in a separate window? The only change is to add the arg and pass it to Info-try-follow-nearest-node. (defun Info-mouse-follow-nearest-node (click &optional fork) "... With a prefix argument, open the node in a separate window." (interactive "e\nP") (mouse-set-point click) (and (not (Info-try-follow-nearest-node fork)) (save-excursion (forward-line 1) (eobp)) (Info-next-preorder)))