unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Auctex - Commands work but menu-bar not
@ 2011-11-13 16:09 ungerade
  2011-11-13 19:35 ` Peter Dyballa
  0 siblings, 1 reply; 6+ messages in thread
From: ungerade @ 2011-11-13 16:09 UTC (permalink / raw)
  To: Help-gnu-emacs


Hello, 

i have some problems concerning auctex in emacs23 on ubuntu 11.04. 

My problem is that when i open a *.tex file the menu items "Preview",
"Latex" and "Command" are available but when i press the button they don't
open. When i use one of the options of these menues (f.e.  C-c C-p C-d of
"Preview") it works. 

How do i get the menus working properly? 

Could it maybe be that the problem are my duplicate Lisp files? 

When i do <M-x> list-load-path-shadows <RET>: 
/usr/share/emacs/23.2/site-lisp/auctex/toolbar-x hides
/usr/share/emacs/site-lisp/auctex/toolbar-x 
/usr/share/emacs/23.2/site-lisp/auctex/tex-font hides
/usr/share/emacs/site-lisp/auctex/tex-font 
/usr/share/emacs/23.2/site-lisp/auctex/latex hides
/usr/share/emacs/site-lisp/auctex/latex 
/usr/share/emacs/23.2/site-lisp/auctex/texmathp hides
/usr/share/emacs/site-lisp/auctex/texmathp 
/usr/share/emacs/23.2/site-lisp/auctex/tex-fptex hides
/usr/share/emacs/site-lisp/auctex/tex-fptex 
/usr/share/emacs/23.2/site-lisp/auctex/tex-style hides
/usr/share/emacs/site-lisp/auctex/tex-style 
/usr/share/emacs/23.2/site-lisp/auctex/bib-cite hides
/usr/share/emacs/site-lisp/auctex/bib-cite 
/usr/share/emacs/23.2/site-lisp/auctex/tex hides
/usr/share/emacs/site-lisp/auctex/tex 
/usr/share/emacs/23.2/site-lisp/auctex/tex-fold hides
/usr/share/emacs/site-lisp/auctex/tex-fold 
/usr/share/emacs/23.2/site-lisp/auctex/tex-buf hides
/usr/share/emacs/site-lisp/auctex/tex-buf 
/usr/share/emacs/23.2/site-lisp/auctex/tex-jp hides
/usr/share/emacs/site-lisp/auctex/tex-jp 
/usr/share/emacs/23.2/site-lisp/auctex/tex-bar hides
/usr/share/emacs/site-lisp/auctex/tex-bar 
/usr/share/emacs/23.2/site-lisp/auctex/tex-info hides
/usr/share/emacs/site-lisp/auctex/tex-info 
/usr/share/emacs/23.2/site-lisp/auctex/tex-mik hides
/usr/share/emacs/site-lisp/auctex/tex-mik 
/usr/share/emacs/23.2/site-lisp/auctex/context hides
/usr/share/emacs/site-lisp/auctex/context 
/usr/share/emacs/23.2/site-lisp/auctex/multi-prompt hides
/usr/share/emacs/site-lisp/auctex/multi-prompt 
/usr/share/emacs/23.2/site-lisp/auctex/context-en hides
/usr/share/emacs/site-lisp/auctex/context-en 
/usr/share/emacs/23.2/site-lisp/auctex/context-nl hides
/usr/share/emacs/site-lisp/auctex/context-nl 
/usr/share/emacs/23.2/site-lisp/auctex/font-latex hides
/usr/share/emacs/site-lisp/auctex/font-latex 
/usr/share/emacs/23.2/site-lisp/debian-startup hides
/usr/share/emacs/site-lisp/debian-startup 
/usr/share/emacs23/site-lisp/dictionaries-common/flyspell hides
/usr/share/emacs/23.2/lisp/textmodes/flyspell 
/usr/share/emacs23/site-lisp/dictionaries-common/ispell hides
/usr/share/emacs/23.2/lisp/textmodes/ispell 

22 Emacs Lisp load-path shadowings were found 
--------------------------------------------------- 

My .emacs file: 
(load "auctex.el" nil t t) 
(load "preview-latex.el" nil t t) 
(setq TeX-auto-save t) 
(setq TeX-parse-self t) 
(setq reftex-plug-into-AUCTeX t) 
---------------------------------------------------- 

If you need more information to help me please tell me. 

Thanks 
Stefan

-- 
View this message in context: http://old.nabble.com/Auctex---Commands-work-but-menu-bar-not-tp32835495p32835495.html
Sent from the Emacs - Help mailing list archive at Nabble.com.




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

* Re: Auctex - Commands work but menu-bar not
  2011-11-13 16:09 Auctex - Commands work but menu-bar not ungerade
@ 2011-11-13 19:35 ` Peter Dyballa
  2011-11-13 20:33   ` Stefan P
  0 siblings, 1 reply; 6+ messages in thread
From: Peter Dyballa @ 2011-11-13 19:35 UTC (permalink / raw)
  To: ungerade; +Cc: Help-gnu-emacs


Am 13.11.2011 um 17:09 schrieb ungerade:

> Could it maybe be that the problem are my duplicate Lisp files? 

Why do you have these duplicate files? Did you install two different versions/packages of AUCTeX?

--
Mit friedvollen Grüßen

  Pete

Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.
				– Albert Einstein




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

* Re: Auctex - Commands work but menu-bar not
  2011-11-13 19:35 ` Peter Dyballa
@ 2011-11-13 20:33   ` Stefan P
  2011-11-13 21:23     ` Peter Dyballa
  0 siblings, 1 reply; 6+ messages in thread
From: Stefan P @ 2011-11-13 20:33 UTC (permalink / raw)
  To: Peter Dyballa; +Cc: Help-gnu-emacs

On Sun, Nov 13, 2011 at 8:35 PM, Peter Dyballa <Peter_Dyballa@web.de> wrote:
> Why do you have these duplicate files? Did you install two different versions/packages of AUCTeX?

I first installed the I standard AUCTeX package of the Ubuntu 11.04
Software Center but i deinstalled it because it has some bug and
AUCTeX didn't work.
Then I installed an debian AUCTeX package like mentioned in
https://bugs.launchpad.net/ubuntu/+source/ghostscript/+bug/543266/comments/28
AUCTeX now seems to work except for the mentioned problems.

As you said it seems like I have still two version but dpkg says:
ungerade@ungerade-laptop:~$ dpkg --get-selections | grep auctex
auctex						install

I don't know how to get rid of the needless installation.

Thanks,
Stefan



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

* Re: Auctex - Commands work but menu-bar not
  2011-11-13 20:33   ` Stefan P
@ 2011-11-13 21:23     ` Peter Dyballa
  2011-11-13 22:21       ` Stefan P
  0 siblings, 1 reply; 6+ messages in thread
From: Peter Dyballa @ 2011-11-13 21:23 UTC (permalink / raw)
  To: Stefan P; +Cc: Help-gnu-emacs


Am 13.11.2011 um 21:33 schrieb Stefan P:

> I don't know how to get rid of the needless installation.

List the contents of the installed package, remove what's not listed as part of the package!

--
Mit friedvollen Grüßen

  Pete

Journalism is printing what someone else does not want printed; everything else is public relations.
			– George Orwell






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

* Re: Auctex - Commands work but menu-bar not
  2011-11-13 21:23     ` Peter Dyballa
@ 2011-11-13 22:21       ` Stefan P
  2011-11-13 23:37         ` Peter Dyballa
  0 siblings, 1 reply; 6+ messages in thread
From: Stefan P @ 2011-11-13 22:21 UTC (permalink / raw)
  To: Peter Dyballa; +Cc: Help-gnu-emacs

On Sun, Nov 13, 2011 at 10:23 PM, Peter Dyballa <Peter_Dyballa@web.de> wrote
> List the contents of the installed package, remove what's not listed as part of the package!

ungerade@ungerade-laptop:/usr/share/emacs$ dpkg -L auctex | grep 23.2
had no result.
So I deleted the auctex-files in this folder:
ungerade@ungerade-laptop:/usr/share/emacs/23.2/site-lisp/auctex$ sudo rm -r *

After this action emacs didn't start anymore so I copied them back.

Any ideas what I should do next?

Thanks,
Stefan



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

* Re: Auctex - Commands work but menu-bar not
  2011-11-13 22:21       ` Stefan P
@ 2011-11-13 23:37         ` Peter Dyballa
  0 siblings, 0 replies; 6+ messages in thread
From: Peter Dyballa @ 2011-11-13 23:37 UTC (permalink / raw)
  To: Stefan P; +Cc: Help-gnu-emacs


Am 13.11.2011 um 23:21 schrieb Stefan P:

> Any ideas what I should do next?

A different Linux/UNIX?

You could try to correct load-path. You could try to find out, with some trace command or such, which files are actually opened and loaded by GNU Emacs. One of them might cause the failures.

A very useful option is to launch GNU Emacs with -Q, i.e. without any customisation. Then, in *scratch* buffer, you can prepare it to load auctex and preview-latex etc. Then open a (La)TeX file and see if the behaviour is different from that when launched customised. If it is, try to launch with -q (no personal customisation, only that from the system). Are auctex and preview-latex already loaded (the *Messages* buffer might tell)? Then you don't need to repeat anything. If not, what is the behaviour when you prepare things again manually in *scratch* buffer and open a (La)TeX file? Is the setting of the variable reftex-plug-into-AUCTeX necessary? What is the behaviour when you don't load preview-latex? Is AUCTeX finding your TeX distribution? Do you know the AUCTeX mail list? Maybe it's for bug reporting…

--
Mit friedvollen Grüßen

  Pete

Specifications are for the weak and timid!




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

end of thread, other threads:[~2011-11-13 23:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-13 16:09 Auctex - Commands work but menu-bar not ungerade
2011-11-13 19:35 ` Peter Dyballa
2011-11-13 20:33   ` Stefan P
2011-11-13 21:23     ` Peter Dyballa
2011-11-13 22:21       ` Stefan P
2011-11-13 23:37         ` Peter Dyballa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).