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)

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.

Similar Messages

  • Is there any command line option, so that when I open firefox from command line it uses the already opened firefox, instead of creating a new firefox window.

    for example: this option is available with jedit editor.
    jedit
    above cmd always opens a new jedit instance.
    jedit -reuseview
    above cmd checks if there is a existing jedit instance if yes brings it to focus else opens up a new one.

    Start your '''Computer''' in safe mode with networking. Then start Firefox.
    After a bit, close it. Then open it a few minutes later.
    '''[http://encyclopedia2.thefreedictionary.com/Linux+Safe+Mode Starting The Computer In Safe Mode;<br>Free Online Encyclopedia]'''

  • Palettes are empty when I open files in CC

    I have a serious problem with Illustrator CC. The layers and colours palettes are empty when I open files. I have had to revert to version CS6 which works fine.
    MAcPro 1,1 2 x 3 GHz Dual Core Intel Xeon OS 10.7.5

    Tim,
    It seems that something is seriously wrong.  You may try the following (you may have tried/done some of them already) and see whether it helps (the following is a general list of things you may try when the issue is not in a specific file; 3) and 4) are specifically aimed at possibly corrupt preferences):
    1) Close down Illy and open again;
    2) Restart the computer (you may do that up to 3 times);
    3) Close down Illy and press Ctrl+Alt+Shift/Cmd+Option+Shift during startup (easy but irreversible);
    4) Move the folder with Illy closed (more tedious but also more thorough and reversible);
    5) Look through and try out the relevant among the Other options (Item 7) is a list of usual suspects among other applications that may disturb and confuse Illy);
    Even more seriously, you may:
    6) Uninstall, run the Cleaner Tool, and reinstall.
    http://www.adobe.com/support/contact/cscleanertool.html

  • Photoshop CS3 lauches but does not open files from Lightroom 2.7

    These programs have been on my computer since the dawn of time and have always worked. Now all of a sudden I can't open files from LR into PS. PS launches, but the files don't open. I get that message Photoshop could not be lauched, which is ironic since the program is now open.
    I haven't done anything to the programs so it makes no sense. IN the past I have had issues with PS and the tech had me create a new login on my computer and it fixed things. Tried that. No help.
    Does anyone ahve any suggestions. I have repaired both programs to no avail.
    Thanks for you help.

    Something has gone wrong with how Lightroom finds and communicates with Photoshop.
    That could be a registry string, or some preference within Lightroom.
    The Lightroom forum is more likely to be able to help you solve this.

  • Adobe Reader 11 (XI) won't open file via command line

    Hello,
    I have posted this question to probably inapropriate topic earlier today, so I am repeating it again.
    I installed newest Adobe Reader XI today and when I tried to open certain pdf file via command line, it reported a syntax error. Now, this syntax worked so far on versions 9 and 10  (I checked today with them and it is working), so my question is - where can I find new syntax, if there is any? Googling didn't help. Or what else could wrong?
    In previous versions I was able to open pdf file (on page 5) like this (all was taken from Help file "Open parameters")
    "CompletePathToAdobeReader"/A"page=5""CompletePathToPDF",
    ie
    "C:\Program Files (x86)\Adobe\Reader 11.0\Reader\AcroRd32.exe"/A"page=5""d:\V2\DataSheet.pdf"
    but now - not that it doesn't open specific page, but it doesn't want to open file at all.
    edit:
    Operating systems running: Windows 7, Windows XP
    Thank you.
    Message was edited by: v604

    Yes, it reported correctly becuase there is a syntax error in your command. Try spaces between the /A switch and open parameter. Try this:
    "C:\Program Files (x86)\Adobe\Reader 11.0\Reader\AcroRd32.exe" /A "page=5" "d:\V2\DataSheet.pdf"
    Hope this helps.
    -Sumit

  • Running Unit Test from test manager that run bat file from command line

    Hi ,
    I am trying to run Jsystem (java framewotk) from command line using runScenario.bat thru unit test that i associated to test in test manager.
    the idea is that when i ran the automated test  from MTM - it will run the the unit test that will run the appropriate test case in java.
    i wrote the code like this : 
    using System;
    using Microsoft.VisualStudio.TestTools.UnitTesting;
    namespace UnitTestProject3
    [TestClass]
    public class UnitTest1
    [TestMethod]
    public void TestMethod1()
    try
    String command = "c:\\JSYSTEM\\runner\\runScenario.bat
    c:\\Users\\ryeshua\\Source\\Workspaces\\Auto1\\my-tests-project\\target\\classes scenarios\\feature1 RoeySetup.xml ";
    System.Diagnostics.ProcessStartInfo procStartInfo =
    new System.Diagnostics.ProcessStartInfo("cmd", "/c " + command);
    procStartInfo.RedirectStandardOutput = true;
    procStartInfo.UseShellExecute = false;
    //procStartInfo.CreateNoWindow = true;
    System.Diagnostics.Process proc = new System.Diagnostics.Process();
    proc.StartInfo = procStartInfo;
    proc.Start();
    string result = proc.StandardOutput.ReadToEnd();
    Console.WriteLine(result);
    catch (Exception objException)
    // Log the exception
    and when i ran it from visual studio it worked perfect. and update  the Jsystem logs of the junit test in the jsystem/runner/log folder.
    but when i added it to associated test and ran it from MTM - it pass but it does not update  the logs in jsystem folder.
    the problem that i dont know what is not working. i cant see the output of it when i ran from mtm but can see when i ran from VS.
    i am using VS 2013 Pro with MTM 2013.
    please advice
    Roey

    Hi Roey,
    Thank you for posting in MSDN forum.
    Based on your issue, could you please tell me how you generate the log file under the jsystem folder?
    Generally, I know that when we run unit test from VS IDE, the file will be saved into the local machine. But when we run unit test from MTM, the unit test method will be run on the test agent machine, so the file will be saved into the test agent machine.
    Therefore, I suggest you could check if you did not see the updated logs file in jsystem folder on the test agent machine.
    In addition, I suggest you could try to copy this unit test project on this test agent machine and then run the unit test method using mstest.exe in command line and then check if you can update the logs file.
    https://msdn.microsoft.com/en-us/library/ms182489.aspx?f=255&MSPPError=-2147217396
    If you have any updated message about this issue, please tell me.
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Run PDF File from command line and goto a bookmark

    Hi,
    I need to open a pdf file vi command line (WinXP / Win7).
    Till this I do not have a problem.
    But I need to go to a bookmark in the file direct after opening the file.
    I tried "acrord23.exe /a nameddest=BOOKMARK file.pdf" but this opened only the file.
    "acrord23.exe /a zoom=50 file.pdf" works fine.
    Is there another parameter to go to a bookmark after open a file?
    Where is my mistake?
    Thanks in advance
    Regards
    Marc
    Message was edited by: mgemmerich - reason: typo

    Hi,
    I read the PDF Open Parameters reference. So I tried the nameddest. I think the nameddest is a bookmark, or is this wrong?
    The background is, that we have the dokumentation for our application in word. So we save the word as pdf. Each chapter is now a bookmark.
    In the application we want to call the pdf and jump to the bookmark. Each frame were you can call "help" is a chapter/bookmark.
    Or is there another way to do this?
    Regards
    Marc

  • Photoshop CS4 Extended will not open file from Bridge.

    This is 2nd time this has occurred.  Last time I uninstalled CS4 and re-installed to fix it.  Prefer to not do that again.
    System: XP Media center, SP3,  3 GB memory, Athlon 64x2.  Generic - motherboard graphic card.  18 GB disk space remaining.
    Typical work flow is edit DNG files in Lightroom.  Once done, select DNG files in Bridge and under Tools run the Photoshop Image Processor which changes color profiles, sharpens and converts to JPEG and saves.  Done this probably a thoudand times.  Ran a batch Sunday afternoon fine.
    I may have interrupted an Image Processor batch that was just starting and glitched something.
    Now Bridge will open Photoshop but nothing gets imported with the Image Processor.  Also Bridge will not run a Batch.  Bridge will open Adobe Raw for editing a DNG but cannot load it into Photoshop.
    Once I try any of these things, Photoshop will usually not close/exit and many menu items are shaded out.  For example, opening a file or starting a new file is not available.  Activate/Deactivate not accessible.  Can Deactivate and Activate through InDesign. Photoshop seems OK otherwise if re-started after re-boot.
    Any ideas?
    Thank you.

    So far, no good.  Here is what I have done and current symptoms.
    1) I backed up all the settings and workspace files, then deleted them.  No change.
    2) No matter what I do, everytime I hold down the control, alt and delete keys when starting PS CS4 all I get is the Windows start settings "Adobe Photoshop CS4 Properties" box where you can select "Target" and "Start In" paths.  I do not get any dialog or confirmation to reset anything.
    3) Bridge successfully reset preferences using the Control key while starting it up.
    Everything about Bridge has appeared to function corectly before and after these changes.  But when the Tools/Image Processor or Batch is called, it starts Photoshop OK but nothing in imported to be processed.
    Photoshop opens (either from import or stand alone start) with menus partially functioning.  Under the file tab, nothign important works.  Cannot open a file, cannnot start a file, cannot exit - all grayed out.  But keyboard shortcuts do work and I can open a file or start a new file using the shortcuts.  Once I get a file open with the keyboard shortcut, most of the menu functions come back under the file tab and can be used and can exit PS.  The "X" in the upper right corner to close the program still remains greyed out and not functional.  The Activate/Deactivate options under Help remain grayed out.
    4) I deactivated the Suite from within InDesign and the I uninstalled only PS using the Windows uninstall utility.  I reinstalled PS from the CS4 Suite which of course reinstalled Bridge and some other utilities.  I reactivated from within InDesign and ran all updates from within InDesign since updates were still grayed out in PS. Encountered an error (Adobe CSI CS4 1.0.1,Adobe Drive CS4 1.0.1,Adobe Extension Manager CS4 2.1:Failed to install.)
    Problems still exist as described.
    5) Finally I deactivated again from within InDesign and re-installed the whole CS4 Suite without uninstalling anything before hand. I noticed that process did an uninstall before each module was re-installed.
    Problems still exist as described above.  I did notice that Photoshop showed itself still Activated (but grayed out) in the help menu even though I had previously deactivated the suite before the re-install.  Ran complete Updates from within Bridge.  Encountered an error (Adobe CSI CS4 1.0.1,Adobe Drive CS4 1.0.1,Adobe Extension Manager CS4 2.1:Failed to install.) but continued on. Everything else updated OK.
    I looked through the registry settings for the settings path as noted in referenced forum links and all looked correct.
    Additional Notes:  I installed the OnOne Plugin Suite 4 a few weeks ago.  Everything has run smothly since then until this problem poped up.  After the Uninstall/reinstall the OnOne menu option appears as normal.  As do my old Nik plug ins.  I doubt this has anything to do with the issue.
    Any more ideas outside of starting all over on a clean drive/machine which I really dread even contemplating?
    Thank you.

  • Photoshop CS6 not opening files from Lightroom 5.6

    On my mac I updated to Lightroom 5.6. Now it will not open the file in Photoshop CS6 using the "Edit it Photoshop" option. Anyone know how to work around this? I do not want to "render in lightroom" each time. Thanks!

    There used to be a weird bug where this didn't work when there was an accented character (like ø, ä, etc.) somewhere in the path to the file, in the filename itself or in the metadata, the file simply wouldn't open in CS3. Don't know if that ever was fixed, but might be something to check.

  • Cs5 (trial) not opening files from LR3

    I've looked for this on the web. Seen a lot of stuff from some time ago where the solution is to delete prefs files.. done all that. no different.
    If i click 'open in Cs5' in LR3 Photoshop fires up, but the file does not open in PS. Also the menus are greyed out.
    Clicking the X, top right of window to close does not work either.
    Hitting an 'f' key restores the menus, and makes the close window button work.
    Even if PS is already open, doing 'edit in CS5' still means the fiel does not open.
    Can anyone help.

    i have the question posted over there too..
    Interestingly - I reinstalled CS4. files open with no issue using CS4 as external editor.
    Also - files open with no issue if PS Elements is used as the External editor.
    Looks like the issue is with CS5.

  • CS5.1 Not Opening Files from Hard Drive

    I'm on a 2010 iMac with the lastest OS, and every time I try to open a RAW file from one of my external hard drives, I get an error messages that says "Could not complete your request because of a program error."  If go to the file through the hard drive and then drag it to Photoshop, it opens up, but if I go to File>Open> and then choose my external drive.

    i have the question posted over there too..
    Interestingly - I reinstalled CS4. files open with no issue using CS4 as external editor.
    Also - files open with no issue if PS Elements is used as the External editor.
    Looks like the issue is with CS5.

  • Can't open .term Terminal.app files from command line

    Howdy. I use Terminal.app constantly for ssh'ing into numerous remote machines. On my G4 Powerbook I have simply created .term files with customized colors, titlebars, and an appropriate ssh execution string for each machine/userid combination, which I am able to open with "open ~/bin/foo.term". Life is no longer so joyously simple on my new Intel iMac. I create a .term file (via Cmd-s while in a terminal window), but the above command to open foo.term now simply doesn't work on my iMac once a single terminal window has been opened (even after it's been closed) -- I can start one such file only from the finder or via Launchbar or Quicksilver. The only way I can use my .term files is by switching to Terminal and selecting File...Open and clicking on the .term file -- which, being a command line (and Launchbar) junkie, I hate, of course. Applescripts don't work either.
    I would be forever grateful if someone could tell me how to fix this problem!
    txlogic
    Intel iMac Mac OS X (10.4.6)
    iMac   Mac OS X (10.4.6)  

    TXLogic
    I cannot do it either.
    Ah, interesting -- thanks for the input. I had thought the problem might have something to do with the fact that I was using an Intel iMac, but you are using a PPC iBook. The problem isn't with 10.4.6 either, as that is what I'm running on my G4 Powerbook, and the .term files work as expected on that machine.
    Initially I thought it was a
    problem with permissions, i.e the term file hadn't
    the execute bit set (which it did not). Setting the x
    bit though did not help at all.
    Right, the .term files aren't executable.
    A work around was to
    save the command(s) into a plain text document in
    text edit (not rtf) as a .command file (no txt
    extension in this case) and set its execute bit in
    terminal (sudo chmod u+x ...).
    I don't quite understand the workaround -- what command(s) exactly did you put into the .command file? Could you paste the contents of such a file here?
    I have not dealt with term files extensively but I
    noticed that .term files are xml ones. Could anyone
    shed some light in possible changes in the way
    terminal handles them?
    Since the .term files work as desired on my Powerbook, it now doesn't appear that Terminal.app has changed its processing of the files. Something else is going on here.
    txlogic

  • Can't run JavaFX app as a jar file from command line

    I'm trying to build a JavaFX app from scratch (that is, by including the jar file from the JavaFX SDK rather than by using the special JavaFX project type from NetBeans). It runs fine in NetBeans. However, when I try to launch it as a jar file from the command line (using "java -jar dist\TestApp") I get the following. Has anybody seen this before, and if so how can I fix it?:
    *** Fallback to Prism SW pipeline
    Exception in thread "main" java.lang.RuntimeException: java.lang.UnsatisfiedLink
    Error: Can't load library: C:\dev\TestApp\dist\bin\mat.dll
    at com.sun.javafx.tk.quantum.QuantumToolkit.startup(QuantumToolkit.java:
    289)
    at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:68)
    at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherIm
    pl.java:145)
    at com.sun.javafx.application.LauncherImpl.access$000(LauncherImpl.java:
    27)
    at com.sun.javafx.application.LauncherImpl$1.run(LauncherImpl.java:97)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.UnsatisfiedLinkError: Can't load library: C:\dev\RedactionT
    oolPrototype\RedactionToolPrototype.Core\dist\bin\mat.dll
    at java.lang.ClassLoader.loadLibrary(Unknown Source)
    at java.lang.Runtime.load0(Unknown Source)
    at java.lang.System.load(Unknown Source)
    at com.sun.glass.utils.NativeLibLoader.loadLibraryFullPath(NativeLibLoad
    er.java:155)
    at com.sun.glass.utils.NativeLibLoader.loadLibraryInternal(NativeLibLoad
    er.java:85)
    at com.sun.glass.utils.NativeLibLoader.loadLibrary(NativeLibLoader.java:
    30)
    at com.sun.glass.ui.Application$1.run(Application.java:28)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.glass.ui.Application.loadNativeLibrary(Application.java:26)
    at com.sun.glass.ui.win.WinApplication.<clinit>(WinApplication.java:33)
    at com.sun.glass.ui.win.WinPlatformFactory.createApplication(WinPlatform
    Factory.java:20)
    at com.sun.glass.ui.win.WinPlatformFactory.createApplication(WinPlatform
    Factory.java:17)
    at com.sun.glass.ui.Application.Run(Application.java:51)
    at com.sun.javafx.tk.quantum.QuantumToolkit.startup(QuantumToolkit.java:
    279)
    ... 5 more

    Unsatisfied link means that Java is trying to access a native library, but it cannot be found. As to why this error is being thrown, here is my guess:
    If you open up one of the sample jars with a zip viewer, you will see that the Manifest file has the following entries:
    >
    Manifest-Version: 1.0
    JavaFX-Version: 2.0
    implementation-vendor: Oracle
    implementation-title: BrickBreaker
    implementation-version: 1.0
    JavaFX-Application-Class: brickbreaker.Main
    Created-By: JavaFX Packager
    Main-Class: com/javafx/main/Main
    >
    In other words, a JavaFX project works a bit differently than a normal Java project. com/javafx/main/Main is used as the Main class and your "Main" class is called later.
    If you are trying to build this from a normal Java project, then com/javafx/main/Main will not be created and it will call your Main class right away. Thus, whatever setup is needed to run JavaFX will not occur.

  • How to launch a specific TestStand sequence file from command line?

    I've written a TestStand sequence file launching other sequence files.
    When I launch it via the TestStand GUI, it works well.
    Now, I would like to launch it via command line. Could you indicate me how to proceed?

    Hi,
    I think this link can help you:
    How to Run a Sequence File When Opened from Windows Explorer
    http://digital.ni.com/public.nsf/websearch/146D372C1F807E6D862567E7004881AB?OpenDocument
    regards,
    Alexandre D
    NIF

  • Passing arguments to the jsx file from command line

    Thanks for taking my question.
    I am using the following to be able to run my script from the command line.In case you were wondering on why i would be doing this- i would need to invoke the javascript from a server side code(like java,php etc. in my case it is java)
    "c:\Program Files\Adobe\Adobe Utilities\ExtendScript Toolkit\ExtendScript Toolkit.exe" "c:\path to script\myscript.jsx"
    Anyways, i have been successful in running the myscript.jsx from the command line but i am not able to figure out how i could pass arguments to "myscript.jsx" from the command line, and be able to refer to these arguments within the script.
    I have tried the following
    "c:\Program Files\Adobe\Adobe Utilities\ExtendScript Toolkit\ExtendScript Toolkit.exe" "c:\path to script\myscript.jsx" "argument1" "argument2"
    and tried to refer these arguments within the script using arguments[0] and arguments[1] . But looks like this does not work.
    Any thoughts?????

    To run JavaScript from the prompt using ExtendScript Toolkit 1.0.3 or 2.0.2 you need to do the following:
    Add the line #target indesign to the top of your script otherwise ESTK will open without executing the script. Example:
    #target indesign
    //MakeDocumentWithParameters.jsx
    //An InDesign CS2 JavaScript
    //Shows how to use the parameters of the document.open method.
    //The first parameter (showingWindow) controls the visibility of the
    //document. Hidden documents are not minimized, and will not appear until
    //you add a new window to the document. The second parameter (documentPreset)
    //specifies the document preset to use. The following line assumes that
    //you have a document preset named "Flyer" on your system.
    var myDocument = app.documents.add(true, app.documentPresets.item("Flyer"));
    //SaveDocumentAs.jsx
    //An InDesign CS2 JavaScript
    //If the active document has not been saved (ever), save it.
    if(app.activeDocument.saved == false){
    //If you do not provide a file name, InDesign will display the Save dialog box.
    app.activeDocument.save(new File("/c/temp/myTestDocument.indd"));
    Ensure Indesign is open. Execute the following command:
    "C:\Program Files\Adobe\Adobe Utilities\ExtendScript Toolkit\ExtendScript Toolkit.exe" -run "[path to script]\script.jsx"
    For example:
    "C:\Program Files\Adobe\Adobe Utilities\ExtendScript Toolkit\ExtendScript Toolkit.exe" -run "C:\Program Files\Adobe\Adobe InDesign CS2\Presets\Scripts\test.jsx"
    This command can be easily called from Java or any other third party application of your choice.
    It took me a while to find this information, so I thought I'd share it with everyone.
    Good luck!

Maybe you are looking for

  • How NOT to Embed Fonts in a Signature?

    I've seen the various threads relating to problems with fonts in Mail and unexpected results when received by someone with different settings or on a different operating system. This is exacerbated by the fact that our office standard signatures have

  • Imovie: cant share to facebook due to "wrong password

    when trying to share a movie or a trailer to facebook I am unable to log on to fb due to "incorrect password.  However this is the password !!!

  • Cannot search mail in OWA

    I have a Windows 7 Pro PC and I'm using IE 11. I can search my mail on my laptop in Outlook, but I can't on my PC via OWA. Thanks

  • No app for cloud

    No app for cloud

  • Trying to edit contents in an invisible folder? help!

    Hi, i recently downloaded a file in 0S 9 and i'm trying to open or edit it. By using sherlock 2 I can locate the file in an invisible folder titled, "The Volume and Settings Folder". However, when I try to open, edit, or delete the file, Sherlock 2 t