all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* latex-mode hook?
@ 2014-09-07  7:43 Sharon Kimble
  2014-09-07  7:49 ` Teemu Likonen
       [not found] ` <mailman.8384.1410076210.1147.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 29+ messages in thread
From: Sharon Kimble @ 2014-09-07  7:43 UTC (permalink / raw)
  To: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 787 bytes --]

I'm writing a lot of latex at the moment and have tried to get the Imenu
automatically working there, just like in org-mode it works.

--8<---------------cut here---------------start------------->8---
(add-hook 'org-mode-hook
(lambda () (imenu-add-to-menubar "Imenu")))
(setq org-imenu-depth 6)

(add-hook 'latex-mode-hook
(lambda () (imenu-add-to-menubar "Imenu")))
(setq latex-imenu-depth 6)
--8<---------------cut here---------------end--------------->8---

The org-mode hook works but the latex-mode one does not. How then can I
get the latex one working please?

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
my git repo = https://bitbucket.org/boudiccas/dots
TGmeds = http://www.tgmeds.org.uk
Debian testing, fluxbox 1.3.5, emacs 24.3.93.1

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]

^ permalink raw reply	[flat|nested] 29+ messages in thread

end of thread, other threads:[~2014-09-09 19:51 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-07  7:43 latex-mode hook? Sharon Kimble
2014-09-07  7:49 ` Teemu Likonen
2014-09-07 13:22   ` Sharon Kimble
     [not found] ` <mailman.8384.1410076210.1147.help-gnu-emacs@gnu.org>
2014-09-07 18:49   ` Emanuel Berg
2014-09-08  9:10     ` Marcin Borkowski
2014-09-08 10:30       ` Thorsten Jolitz
     [not found]       ` <mailman.8449.1410172233.1147.help-gnu-emacs@gnu.org>
2014-09-08 11:46         ` Sebastien Vauban
2014-09-08 12:55           ` Rusi
2014-09-08 22:02             ` Emanuel Berg
2014-09-09  9:17           ` Sebastien Vauban
2014-09-09  9:34             ` Thorsten Jolitz
2014-09-09 12:39               ` Stefan Monnier
2014-09-08 21:57         ` Emanuel Berg
2014-09-09  0:49           ` Thorsten Jolitz
     [not found]           ` <mailman.8489.1410223819.1147.help-gnu-emacs@gnu.org>
2014-09-09  1:09             ` Emanuel Berg
2014-09-09  6:54               ` Thorsten Jolitz
2014-09-09 12:34           ` Stefan Monnier
     [not found]     ` <mailman.8444.1410167430.1147.help-gnu-emacs@gnu.org>
2014-09-08 21:54       ` Emanuel Berg
2014-09-09  7:51         ` Marcin Borkowski
2014-09-09 12:06           ` Stefan Monnier
2014-09-09 12:36             ` Tassilo Horn
2014-09-09 13:21               ` Stefan Monnier
2014-09-09 13:39                 ` Marcin Borkowski
2014-09-09 14:13                   ` Stefan Monnier
2014-09-09 17:00                     ` Marcin Borkowski
2014-09-09 17:24                       ` Stefan Monnier
     [not found]                       ` <mailman.8551.1410283491.1147.help-gnu-emacs@gnu.org>
2014-09-09 19:51                         ` Emanuel Berg
2014-09-09 13:14             ` Thorsten Jolitz
     [not found]         ` <mailman.8504.1410249128.1147.help-gnu-emacs@gnu.org>
2014-09-09 19:35           ` Emanuel Berg

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.