all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Evans Winner <thorne@timbral.net>
To: help-gnu-emacs@gnu.org
Subject: Re: Emacs manual URL citations for use in mail
Date: Fri, 13 Jun 2008 08:56:52 -0600	[thread overview]
Message-ID: <86iqwd4c3v.fsf@timbral.net> (raw)
In-Reply-To: mailman.13180.1213360260.18990.help-gnu-emacs@gnu.org

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 "\")"))))



  parent reply	other threads:[~2008-06-13 14:56 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-11 16:58 Emacs manual URL citations for use in mail reader
2008-06-11 19:43 ` Reiner Steib
2008-06-13 12:30   ` reader
2008-06-13 15:33     ` William Xu
2008-06-13 18:04     ` Reiner Steib
2008-06-18 13:17       ` reader
2008-06-18 18:29         ` Reiner Steib
     [not found]   ` <mailman.13180.1213360260.18990.help-gnu-emacs@gnu.org>
2008-06-13 14:56     ` Evans Winner [this message]
2008-06-18 13:23       ` reader
     [not found] <mailman.13080.1213203510.18990.help-gnu-emacs@gnu.org>
2008-06-11 19:05 ` Evans Winner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86iqwd4c3v.fsf@timbral.net \
    --to=thorne@timbral.net \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.