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.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Kevin Ryde <user42_kevin <at> yahoo.com.au>
Subject: bug#19900: closed (Re: bug#19900: 24.4; info-look.el quotes from
 makeinfo @item)
Date: Fri, 13 Mar 2015 18:18:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#19900: 24.4; info-look.el quotes from makeinfo @item

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 19900 <at> debbugs.gnu.org.

-- 
19900: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=19900
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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 3 (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)]
[Message part 5 (message/rfc822, inline)]
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 6 (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 8 (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'

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

Previous Next


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