bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Kevin Ryde
Subject: bug#19900: 24.4; info-look.el quotes from makeinfo @item
Date: Thu, 19 Feb 2015 16:40:47 +1100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

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@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

Attachment: info-look.el.diff
Description: Text Data



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'

reply via email to

[Prev in Thread] Current Thread [Next in Thread]