You are not logged in.

#1 2009-10-22 22:41:12

fubar0
Member
Registered: 2009-10-05
Posts: 18

Emacs auctex menus empty when not opening file from command line

I have got a problem with emacs/auctex.

In a running emacs editor, if I am opening a .tex file out of the editor, the menus "LaTeX", "Command" and "Math" are empty. That is, upon clicking on them, there is no dropdown list:
Example: http://img8.imageshack.us/img8/7285/ema … ommand.jpg

If, however, I open a .tex file from the console by invoking emacs

$ emacs file.tex

the menus show up the way they should.

My .emacs

(custom-set-variables
  ;; custom-set-variables was added by Custom.
  ;; If you edit it by hand, you could mess it up, so be careful.
  ;; Your init file should contain only one such instance.
  ;; If there is more than one, they won't work right.
 '(inhibit-startup-screen t))
(custom-set-faces
  ;; custom-set-faces was added by Custom.
  ;; If you edit it by hand, you could mess it up, so be careful.
  ;; Your init file should contain only one such instance.
  ;; If there is more than one, they won't work right.
 )

;; Auctex
(load "auctex.el" nil t t)
(setq TeX-auto-save t)
(setq TeX-parse-self t)

(setq-default TeX-master nil) ; Query for master file.
(setq TeX-PDF-mode t)  ;; set pdflatex default, not latex
(add-hook 'LaTeX-mode-hook 'LaTeX-math-mode) ;; set math mode

What am I missing?

Edit: I am running linux 2.6.31 x86_64, emacs 23.1-3, auctex 11.85-2

Last edited by fubar0 (2009-10-22 22:44:48)

Offline

#2 2009-10-24 03:07:18

aWafer
Member
Registered: 2009-10-24
Posts: 2

Re: Emacs auctex menus empty when not opening file from command line

Me too. Same kind of problem with Dired also: the menus are empty. I've even gone so far as to reinstall a fresh Archlinux, although not just for this purpose (I just had to try the Beta Fedora 12, but it crashed all over the place. It lasted about an hour on my machine). I know that if I had any business using Emacs I should know how to fix this, but I don't have a clue. It's been happening for a couple weeks now. And just to reiterate, this is a clean install, I haven't messed with it at all, I don't even have a custom .emacs to show. I haven't looked to see if this empty menu thing happens anywhere else or not--these are just the two things I use emacs for.

I don't see a bug report for this, but I don't feel I have the qualifications to submit a good bug report, so I'm hoping someone qualified will hear our crys for help. Forgive my ignorance, this is my first time posting on here.

Offline

#3 2009-10-24 05:05:48

chpln
Member
From: Australia
Registered: 2009-09-17
Posts: 361

Re: Emacs auctex menus empty when not opening file from command line

I can also reproduce this with emacs-23.1-3.  I suspect it is an upstream issue, as identical behaviour has been reported elsewhere.

I use checkouts from CVS trunk exclusively and have found them highly reliable; I can confirm this issue, for one, is not present.

Offline

#4 2009-10-24 08:08:00

Pank
Member
From: IT
Registered: 2009-06-13
Posts: 371

Re: Emacs auctex menus empty when not opening file from command line

I had the same problem. It always seemed to be the menus in the middle of the frame. Mostly the mode-centric menus. I "fixed" the issue by switching to emacs-cvs from [community].


Arch x64 on Thinkpad X200s/W530

Offline

#5 2009-11-12 15:02:29

fubar0
Member
Registered: 2009-10-05
Posts: 18

Re: Emacs auctex menus empty when not opening file from command line

Asked the same question in Nabble Auctex Forum. There is a suggestion for a walkaround in the debian bug report.
http://old.nabble.com/Auctex-menus-%22e … 22154.html

Offline

#6 2009-12-18 02:57:46

bostonvaulter
Member
Registered: 2008-07-17
Posts: 36

Re: Emacs auctex menus empty when not opening file from command line

Since I'm having this problem here's a link to the bug report that fubar0 mentioned.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=550541

And the workaround is to set GDK_NATIVE_WINDOWS to 1

Offline

Board footer

Powered by FluxBB