GNU bug report logs - #19900
24.4; info-look.el quotes from makeinfo @item

Previous Next

Package: emacs;

Reported by: Kevin Ryde <user42_kevin <at> yahoo.com.au>

Date: Thu, 19 Feb 2015 05:42:01 UTC

Severity: normal

Tags: patch

Found in version 24.4

Done: Paul Eggert <eggert <at> cs.ucla.edu>

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 19900 in the body.
You can then email your comments to 19900 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#19900; Package emacs. (Thu, 19 Feb 2015 05:42:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Kevin Ryde <user42_kevin <at> yahoo.com.au>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 19 Feb 2015 05:42:02 GMT) Full text and rfc822 format available.

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

From: Kevin Ryde <user42_kevin <at> yahoo.com.au>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.4; info-look.el quotes from makeinfo @item
Date: Thu, 19 Feb 2015 16:40:47 +1100
[Message part 1 (text/plain, inline)]
Tags: patch

Recent makeinfo on @item generates forward quote 'foo' rather than
backquote `foo' which it used to.  info-look.el doesn't match the
forward 'foo' in various places which are @table (as opposed to @defun
etc).  For example with the glibc manual,

    M-x c-mode
    DBL_MAX          # type this
    C-h S            # and look it up
    =>
    goes to "Floating Point Parameters" node,
    but does not go down to the DBL_MAX entry

I suggest adding ' to the prefix regexps of relevant doc specs.

The latex-mode bit is a further small change to its suffix to match
\frac and \sqrt of the latex2e.info.

2015-02-19  Kevin Ryde  <user42_kevin <at> yahoo.com.au>

	* info-look.el (c-mode, bison-mode, makefile-mode)
	(makefile-automake-mode, texinfo-mode, autoconf-mode, awk-mode)
	(latex-mode, emacs-lisp-mode, sh-mode, cfengine-mode): Match both
	`foo' and 'foo' for @item and similar.
	(emacs-lisp-mode): U+2018,U+2019 in emacs.info and elisp.info too.
	(latex-mode): Match multi-arg \frac{num}{den} or \sqrt[root]{n} in
	suffix regexp

[info-look.el.diff (text/x-diff, attachment)]
[Message part 3 (text/plain, inline)]


In GNU Emacs 24.4.1 (i586-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2014-12-20 on brahms, modified by Debian
Windowing system distributor `The X.Org Foundation', version 11.0.11604000
Configured using:
 `configure --build i586-linux-gnu --prefix=/usr
 --sharedstatedir=/var/lib --libexecdir=/usr/lib
 --localstatedir=/var/lib --infodir=/usr/share/info
 --mandir=/usr/share/man --with-pop=yes
 --enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.4/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.4/site-lisp:/usr/share/emacs/site-lisp
 --build i586-linux-gnu --prefix=/usr --sharedstatedir=/var/lib
 --libexecdir=/usr/lib --localstatedir=/var/lib
 --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes
 --enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.4/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.4/site-lisp:/usr/share/emacs/site-lisp
 --with-x=yes --with-x-toolkit=lucid --with-toolkit-scroll-bars
 --without-gconf --without-gsettings 'CFLAGS=-g -O2
 -fstack-protector-strong -Wformat -Werror=format-security -Wall'
 CPPFLAGS=-D_FORTIFY_SOURCE=2 LDFLAGS=-Wl,-z,relro'

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#19900; Package emacs. (Thu, 19 Feb 2015 06:12:01 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Kevin Ryde <user42_kevin <at> yahoo.com.au>
Cc: 19900 <at> debbugs.gnu.org
Subject: Re: bug#19900: 24.4; info-look.el quotes from makeinfo @item
Date: Thu, 19 Feb 2015 08:11:19 +0200
> From: Kevin Ryde <user42_kevin <at> yahoo.com.au>
> Date: Thu, 19 Feb 2015 16:40:47 +1100
> 
> Recent makeinfo on @item generates forward quote 'foo' rather than
> backquote `foo' which it used to.  info-look.el doesn't match the
> forward 'foo' in various places which are @table (as opposed to @defun
> etc).

These two characters are actually customizable in the latest Texinfo
(although I doubt that many people use that feature).  So perhaps
there should be a defcustom for them, so users could use other
characters if needed.

> 2015-02-19  Kevin Ryde  <user42_kevin <at> yahoo.com.au>
> 
> 	* info-look.el (c-mode, bison-mode, makefile-mode)
> 	(makefile-automake-mode, texinfo-mode, autoconf-mode, awk-mode)
> 	(latex-mode, emacs-lisp-mode, sh-mode, cfengine-mode): Match both
> 	`foo' and 'foo' for @item and similar.
> 	(emacs-lisp-mode): U+2018,U+2019 in emacs.info and elisp.info too.
> 	(latex-mode): Match multi-arg \frac{num}{den} or \sqrt[root]{n} in
> 	suffix regexp

Why do you confine U+2018 and U+2019 to Emacs manuals?  AFAIK, they
will appear in any manual that has its @documentencoding set to UTF-8.
So I think you can see that in any manual any time.

Thanks.




Reply sent to Paul Eggert <eggert <at> cs.ucla.edu>:
You have taken responsibility. (Fri, 13 Mar 2015 18:18:02 GMT) Full text and rfc822 format available.

Notification sent to Kevin Ryde <user42_kevin <at> yahoo.com.au>:
bug acknowledged by developer. (Fri, 13 Mar 2015 18:18:02 GMT) Full text and rfc822 format available.

Message #13 received at 19900-done <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 19900-done <at> debbugs.gnu.org, Kevin Ryde <user42_kevin <at> yahoo.com.au>
Subject: Re: bug#19900: 24.4; info-look.el quotes from makeinfo @item
Date: Fri, 13 Mar 2015 11:17:08 -0700
[Message part 1 (text/plain, inline)]
> Why do you confine U+2018 and U+2019 to Emacs manuals?  AFAIK, they
> will appear in any manual that has its @documentencoding set to UTF-8.
> So I think you can see that in any manual any time.

Yes, that sounds right.  I installed Kevin's patch with that change; the 
resulting patch is attached.  (This patch uses the characters themselves rather 
than \uXXXX escapes, for readability.)  Thanks for reporting the problem, Kevin. 
 Marking this as done.
[info-look.patch (text/x-patch, attachment)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 11 Apr 2015 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 10 years and 73 days ago.

Previous Next


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