GNU bug report logs -
#8398
24.0.50; info-mode adding spurious "see" to @ref links
Previous Next
Reported by: Jason Earl <jearl <at> notengoamigos.org>
Date: Thu, 31 Mar 2011 17:54:02 UTC
Severity: minor
Tags: notabug
Found in version 24.0.50
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 8398 in the body.
You can then email your comments to 8398 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#8398
; Package
emacs
.
(Thu, 31 Mar 2011 17:54:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Jason Earl <jearl <at> notengoamigos.org>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Thu, 31 Mar 2011 17:54:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.
Your report will be posted to the bug-gnu-emacs <at> gnu.org mailing list
and the gnu.emacs.bug news group, and at http://debbugs.gnu.org.
Please describe exactly what actions triggered the bug
and the precise symptoms of the bug. If you can, give
a recipe starting from `emacs -Q':
I have a Texinfo file that I am working on that uses constructs like:
For more information on info itself you can read
@iftex
@cite{Info: An Introduction}.
@end iftex
@ifnottex
@ref{Top, , Info, info, Info: An Introduction}.
@end ifnottex
The info file produced, and it looked fine in the info client.
For more information on info itself you can read *note Info:
(info)Top.
However, in Emacs' info-mode it looks like this:
For more information on info itself you can read *note Info:
(info)Top.
Essentially it replaced the *note with the word "see" which makes the
sentence read funny.
The same thing can be seen in the Emacs Lisp Intro (which is where I
borrowed the Texinfo bits from.
If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
`bt full' and `xbacktrace'.
For information about debugging Emacs, please read the file
/usr/local/share/emacs/24.0.50/etc/DEBUG.
In GNU Emacs 24.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.22.0)
of 2011-03-28 on c3po
Windowing system distributor `The X.Org Foundation', version 11.0.10900000
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: en_US.utf8
value of $XMODIFIERS: nil
locale-coding-system: utf-8-unix
default enable-multibyte-characters: t
Major mode: Info
Minor modes in effect:
tooltip-mode: t
mouse-wheel-mode: t
tool-bar-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
line-number-mode: t
transient-mark-mode: t
Recent input:
C-h i m p r a <tab> <return> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <return> SPC SPC <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> M-x r e p o <tab> r <tab> <return>
Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Composing main Info directory...done
Making completion list...
Load-path shadows:
/usr/local/share/emacs/site-lisp/emms/tq hides /usr/local/share/emacs/24.0.50/lisp/emacs-lisp/tq
Features:
(shadow sort mail-extr message sendmail regexp-opt format-spec rfc822
mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047
rfc2045 ietf-drums mailabbrev mail-utils gmm-utils mailheader emacsbug
url-util url-parse auth-source eieio byte-opt bytecomp byte-compile
assoc gnus-util time-date password-cache url-vars mm-util mail-prsvr
help-mode view info easymenu tooltip ediff-hook vc-hooks lisp-float-type
mwheel x-win x-dnd tool-bar dnd fontset image fringe lisp-mode register
page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock
font-lock syntax facemenu font-core frame cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew
greek romanian slovak czech european ethiopic indian cyrillic chinese
case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button
minibuffer faces cus-face files text-properties overlay md5 base64
format env code-pages mule custom widget hashtable-print-readable
backquote make-network-process dbusbind dynamic-setting
system-font-setting font-render-setting move-toolbar gtk x-toolkit x
multi-tty emacs)
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#8398
; Package
emacs
.
(Fri, 01 Apr 2011 00:26:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 8398 <at> debbugs.gnu.org (full text, mbox):
Jason Earl wrote:
> For more information on info itself you can read
> @iftex
> @cite{Info: An Introduction}.
> @end iftex
> @ifnottex
> @ref{Top, , Info, info, Info: An Introduction}.
> @end ifnottex
>
> The info file produced, and it looked fine in the info client.
>
> For more information on info itself you can read *note Info:
> (info)Top.
>
> However, in Emacs' info-mode it looks like this:
>
> For more information on info itself you can read *note Info:
> (info)Top.
>
> Essentially it replaced the *note with the word "see" which makes the
> sentence read funny.
I think you mis-typed your second example...
The behaviour is customizable through Info-hide-note-references.
The elisp intro does not say "you can read", so looks OK IMO:
This introduction to `Programming in Emacs Lisp' has a companion
document, see The GNU Emacs Lisp Reference Manual.
Personally I think your "you can read @ref" is not really Texinfo style (?),
which is why the result looks a bit odd.
http://www.gnu.org/s/hello/manual/texinfo/ref.html
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#8398
; Package
emacs
.
(Fri, 01 Apr 2011 07:57:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 8398 <at> debbugs.gnu.org (full text, mbox):
> From: Glenn Morris <rgm <at> gnu.org>
> Date: Thu, 31 Mar 2011 20:25:43 -0400
> Cc: 8398 <at> debbugs.gnu.org
>
> > However, in Emacs' info-mode it looks like this:
> >
> > For more information on info itself you can read *note Info:
> > (info)Top.
> >
> > Essentially it replaced the *note with the word "see" which makes the
> > sentence read funny.
>
> I think you mis-typed your second example...
No, he copy/pasted it from Emacs, and therefore the original text
replaced by Emacs display wizardry reappeared...
> Personally I think your "you can read @ref" is not really Texinfo style (?),
> which is why the result looks a bit odd.
Indeed, that's bad Texinfo and should be fixed.
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#8398
; Package
emacs
.
(Fri, 01 Apr 2011 19:26:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 8398 <at> debbugs.gnu.org (full text, mbox):
On Thu, Mar 31 2011, Glenn Morris wrote:
> Jason Earl wrote:
>
>> For more information on info itself you can read
>> @iftex
>> @cite{Info: An Introduction}.
>> @end iftex
>> @ifnottex
>> @ref{Top, , Info, info, Info: An Introduction}.
>> @end ifnottex
>>
>> The info file produced, and it looked fine in the info client.
>>
>> For more information on info itself you can read *note Info:
>> (info)Top.
>>
>> However, in Emacs' info-mode it looks like this:
>>
>> For more information on info itself you can read *note Info:
>> (info)Top.
>>
>> Essentially it replaced the *note with the word "see" which makes the
>> sentence read funny.
>
> I think you mis-typed your second example...
>
> The behaviour is customizable through Info-hide-note-references.
>
> The elisp intro does not say "you can read", so looks OK IMO:
>
> This introduction to `Programming in Emacs Lisp' has a companion
> document, see The GNU Emacs Lisp Reference Manual.
>
> Personally I think your "you can read @ref" is not really Texinfo style (?),
> which is why the result looks a bit odd.
>
> http://www.gnu.org/s/hello/manual/texinfo/ref.html
I am sorry for the noise. I borrowed the Texinfo from the /Emacs Lisp
Intro/ (it seemed like a safe bet), and then the output appeared
differently in Emacs and the info file reader, so I thought it might be
a bug.
I am starting to realize that borrowing examples from the /Emacs Lisp
Intro/ is not a good idea. This is the second time that has bitten me.
I will reword my Texinfo source and call it good. Thanks for looking
into this, and, once again, sorry for the noise.
Jason Earl
Reply sent
to
Glenn Morris <rgm <at> gnu.org>
:
You have taken responsibility.
(Fri, 01 Apr 2011 22:43:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Jason Earl <jearl <at> notengoamigos.org>
:
bug acknowledged by developer.
(Fri, 01 Apr 2011 22:43:02 GMT)
Full text and
rfc822 format available.
Message #19 received at 8398-done <at> debbugs.gnu.org (full text, mbox):
No worries.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 30 Apr 2011 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 14 years and 58 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.