[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#8658: 23.2; info-look.el automake macro index node name
From: |
Kevin Ryde |
Subject: |
bug#8658: 23.2; info-look.el automake macro index node name |
Date: |
Thu, 12 May 2011 09:34:48 +1000 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux) |
In automake 1.11 the index node name for its autoconf macros is now
"Macro Index", split from what was a combined "Macro and Variable
Index". Adding it along the lines below allows macros like
AM_INIT_AUTOMAKE to be found from C-h S in autoconf-mode,
2011-05-11 Kevin Ryde <user42@zip.com.au>
* info-look.el (autoconf-mode): Add "(automake)Macro Index" for
automake 1.11 macros. Add "(automake)Index" for automake 1.3
macros.
--- info-look.el.orig 2011-05-12 08:36:49.000000000 +1000
+++ info-look.el 2011-05-12 08:49:43.000000000 +1000
@@ -779,8 +779,10 @@
;; Automake has index entries for its notes on various autoconf
;; macros (eg. AC_PROG_CC). Ensure this is after the autoconf
;; index, so as to prefer the autoconf docs.
- ("(automake)Macro and Variable Index" nil
- "^[ \t]*`" "'"))
+ ;; The node name varies with the automake version, try them all.
+ ("(automake)Macro Index" nil "^[ \t]*`" "'") ;; automake 1.11
+ ("(automake)Macro and Variable Index" nil "^[ \t]*`" "'") ;; 1.4
+ ("(automake)Index" nil "^[ \t]*`" "'")) ;; automake 1.3
;; Autoconf symbols are M4 macros. Thus use M4's parser.
:parse-rule 'ignore
:other-modes '(m4-mode))
In GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0)
of 2010-05-16 on raven, modified by Debian
configured using `configure '--build' 'i486-linux-gnu' '--build'
'i486-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/emacs23:/etc/emacs:/usr/local/share/emacs/23.2/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.2/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.2/leim'
'--with-x=yes' '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars'
'build_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -g -O2' 'LDFLAGS=-g' 'CPPFLAGS=''
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_AU
value of $XMODIFIERS: nil
locale-coding-system: iso-latin-1-unix
default enable-multibyte-characters: t
- bug#8658: 23.2; info-look.el automake macro index node name,
Kevin Ryde <=