From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Evans Winner Newsgroups: gmane.emacs.help Subject: Re: Emacs manual URL citations for use in mail Date: Fri, 13 Jun 2008 08:56:52 -0600 Organization: Aioe.org NNTP Server Message-ID: <86iqwd4c3v.fsf@timbral.net> References: <87r6b3gb8b.fsf@newsguy.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1213371651 18127 80.91.229.12 (13 Jun 2008 15:40:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 13 Jun 2008 15:40:51 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jun 13 17:41:31 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1K7BP8-0003gl-8S for geh-help-gnu-emacs@m.gmane.org; Fri, 13 Jun 2008 17:41:30 +0200 Original-Received: from localhost ([127.0.0.1]:51008 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K7BOK-0007V0-Aq for geh-help-gnu-emacs@m.gmane.org; Fri, 13 Jun 2008 11:40:40 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!aioe.org!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 27 Original-NNTP-Posting-Host: tHL7Pw00KvzSeEbptdOqCQ.user.aioe.org Original-X-Complaints-To: abuse@aioe.org Cancel-Lock: sha1:GSnM1rod8bw/+1jFG5IIpeNyKV8= User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Original-Xref: news.stanford.edu gnu.emacs.help:159437 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:54795 Archived-At: reader@newsguy.com writes: Yes, thats the one. Can that be generated somehow or do we have to type it out while referencing those elements on the top of an info page? Maybe something like this would work (below). It's quick and dirty but seems to work. Maybe there's already the same functionality somewhere. It seems like an obvious feature and I see people posting links of this form all the time. (defun Info-make-evalable-link () "Make a link to the current Info node and add it to the kill ring. Point must be in the Info buffer. Produces a string of the form: \(info \"\(file\)node\"\) that can be yanked info a buffer and evaluated." (interactive) (kill-new (let ((file (if (stringp Info-current-file) (file-name-nondirectory Info-current-file) " ")) (node (if (stringp Info-current-node) Info-current-node " "))) (concat "(info \"(" file "\)" node "\")"))))