GNU bug report logs - #14240
24.3; Fix info-look for latex-mode

Previous Next

Package: emacs;

Reported by: Leo Liu <sdl.web <at> gmail.com>

Date: Mon, 22 Apr 2013 04:15:02 UTC

Severity: minor

Tags: patch

Found in version 24.3

Done: Leo Liu <sdl.web <at> gmail.com>

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 14240 in the body.
You can then email your comments to 14240 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 karl <at> freefriends.org, bug-gnu-emacs <at> gnu.org:
bug#14240; Package emacs. (Mon, 22 Apr 2013 04:15:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Leo Liu <sdl.web <at> gmail.com>:
New bug report received and forwarded. Copy sent to karl <at> freefriends.org, bug-gnu-emacs <at> gnu.org. (Mon, 22 Apr 2013 04:15:03 GMT) Full text and rfc822 format available.

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

From: Leo Liu <sdl.web <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3; Fix info-look for latex-mode
Date: Mon, 22 Apr 2013 12:09:52 +0800
Hello Karl,

I intend to fix info-look for LaTeX-mode as in the attached patch. Do
you have any idea where latex.info is from? I searched the web and found
http://shadow.ind.ntou.edu.tw/ctan/info/latex-info/latex.texinfo but I
am not sure its relation to the one in
http://svn.gna.org/viewcvs/latexrefman/trunk.

Thank you for your time.

Leo


diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 8cd322ab..f68b235d 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
+2013-04-22  Leo Liu  <sdl.web <at> gmail.com>
+
+	* info-look.el: Fix LaTeX info file name.
+
 2013-03-11  Glenn Morris  <rgm <at> gnu.org>
 
 	* Version 24.3 released.
diff --git a/lisp/info-look.el b/lisp/info-look.el
index f1390011..6d0af10e 100644
--- a/lisp/info-look.el
+++ b/lisp/info-look.el
@@ -866,7 +866,7 @@ (info-lookup-maybe-add-help
 (info-lookup-maybe-add-help
  :mode 'latex-mode
  :regexp "\\\\\\([a-zA-Z]+\\|[^a-zA-Z]\\)"
- :doc-spec '(("(latex)Command Index" nil
+ :doc-spec '(("(latex2e)Command Index" nil
 	      "`" "\\({[^}]*}\\)?'")))
 
 (info-lookup-maybe-add-help




Reply sent to Leo Liu <sdl.web <at> gmail.com>:
You have taken responsibility. (Mon, 22 Apr 2013 14:52:02 GMT) Full text and rfc822 format available.

Notification sent to Leo Liu <sdl.web <at> gmail.com>:
bug acknowledged by developer. (Mon, 22 Apr 2013 14:52:03 GMT) Full text and rfc822 format available.

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

From: Leo Liu <sdl.web <at> gmail.com>
To: 14240-done <at> debbugs.gnu.org
Cc: Karl Berry <karl <at> freefriends.org>
Subject: Re: bug#14240: 24.3; Fix info-look for latex-mode
Date: Mon, 22 Apr 2013 22:45:52 +0800
Fixed in trunk.

------------------------------------------------------------
revno: 112354
fixes bug: http://debbugs.gnu.org/14240
committer: Leo Liu <sdl.web <at> gmail.com>
branch nick: trunk
timestamp: Mon 2013-04-22 22:41:32 +0800
message:
  * info-look.el: Prefer latex2e.info.
diff:
=== modified file 'lisp/ChangeLog'
--- lisp/ChangeLog	2013-04-22 10:26:09 +0000
+++ lisp/ChangeLog	2013-04-22 14:41:32 +0000
@@ -1,3 +1,7 @@
+2013-04-22  Leo Liu  <sdl.web <at> gmail.com>
+
+	* info-look.el: Prefer latex2e.info.  (Bug#14240)
+
 2013-04-22  Michael Albinus  <michael.albinus <at> gmx.de>
 
 	Fix pack/unpack coding.  Reported by David Smith <davidsmith <at> acm.org>.

=== modified file 'lisp/info-look.el'
--- lisp/info-look.el	2013-02-19 03:29:28 +0000
+++ lisp/info-look.el	2013-04-22 14:41:32 +0000
@@ -881,8 +881,11 @@
 (info-lookup-maybe-add-help
  :mode 'latex-mode
  :regexp "\\\\\\([a-zA-Z]+\\|[^a-zA-Z]\\)"
- :doc-spec '(("(latex)Command Index" nil
-	      "`" "\\({[^}]*}\\)?'")))
+ :doc-spec `((,(if (Info-find-file "latex2e" t)
+		   ;; From http://home.gna.org/latexrefman
+		   "(latex2e)Command Index"
+		 "(latex)Command Index")
+	      nil "`" "\\({[^}]*}\\)?'")))
 
 (info-lookup-maybe-add-help
  :mode 'emacs-lisp-mode




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

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

Previous Next


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