GNU bug report logs - #21960
25.1.50; add info binding to copy node as @xref

Previous Next

Package: emacs;

Reported by: Tom Tromey <tom <at> tromey.com>

Date: Thu, 19 Nov 2015 22:18:01 UTC

Severity: wishlist

Tags: wontfix

Found in version 25.1.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 21960 <at> debbugs.gnu.org (full text, mbox):

From: Xue Fuqiao <xfq.free <at> gmail.com>
To: Tom Tromey <tom <at> tromey.com>
Cc: 21960 <at> debbugs.gnu.org
Subject: Re: bug#21960: 25.1.50; add info binding to copy node as @xref
Date: Fri, 20 Nov 2015 07:34:58 +0800
On Fri, Nov 20, 2015 at 6:17 AM, Tom Tromey <tom <at> tromey.com> wrote:

Hi Tom,

> Right now I can use "c" to copy the info node name in a basic way, or
> "M-0 c" to copy the node name in a lispy way (nice!).
>
> However, it would also be very handy to be able to copy the info node
> name as a texinfo @xref string.  This is useful when authoring -- I
> could find the info node I want to link to, then copy it as something to
> insert into the texinfo file I'm editing.

There are many ways to add a cross reference: @xref (starts a
sentence), @ref (at the end of a sentence), @pxref (within
parentheses) etc.

And the arguments are not immutable.  Apart from the node name, it can
also contain the cross reference name (although usually omitted),
section name (used in printed manual), Info file name (if it is
different from the current file, for example, an @pxref from
doc/lispref/ to doc/emacs/) and printed manual name.

Do you want a general command or a specific command[1]?

[1] Something like copying this: @xref{Printed Representation}




This bug report was last modified 3 years and 335 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.