Every time i open Emacs window,it opens with a width=(monitor-width)/2;height=(3/4)*(monitor-height)I click the maximized icon every time.How can i set the maximized emacs window as default?
I usually develop python code with emacs, emacs being in python code. On my desktop a version is installed and/or configured that way, so I easily can choose a region in the code and simply click on a menu option to comment out this block of code (i.e. at the begin of each line in the selected code two '##' are put). That is very convenient.
However, on my Laptop, running F12 and emacs 23.1.1, this menu option is missing! I searched within google and found the hint that by pressing 'C-c #' I also can comment out a selected region. But on my emacs it says: 'C-c # is undefined'. Am I missing something? Anyone any idea how to fix/install/update/solve this problem, so I can easily choose a couple of python lines and comment them out?
I'm running GNU Emacs 23.1.1 on "Ubuntu 10.04.1 LTS" and any search I perform using the built-in M-x rgrep on the standard Linux kernel source code (vanilla) ends prematurely with the following error printed to the emacs echo area:Grep exited abnormally with code 123.I have been seeing it for a while on Redhat systems as well, and with other (large) code bases.
I do not know what makes this error when I start emacs from the terminal** (emacs:30705): CRITICAL **: murrine_style_draw_box: assertion `height >= -1' failedDoes anyone know how to get rid of this error ?
I'm new to the emacs thingy. i just moved back to ubuntu.i have found out how to have emacs load the .el file from the .emacs file but i cant seem to use the addon.http://blogs.unity3d.com/2010/01/15/...ty-javascript/that is the addon i am trying to use.this is my .emacs file:
(add-to-list 'load-path "~/.emacs.d") ;; UnityJS mode for emacs (autoload 'unityjs-mode "unityjs-mode" "Major mode for editing Unity Javascript code." t)
When clicking on a file in a webpage such as a .tex file the default viewer is mousepad. I search for Emacs to open it, but browsing gets me no where. How do I find it or set it so that I can open directly files in it without explicitly saving them
I am using xubuntu and there are a few types of files on website that instead of downloading and saving and then opening with emacs, I would rather when the radio button choice comes up say open with emacs. I am using xubuntu with xfce, and there is no line for a command to be entered as some ubuntu editions have. In the choice of changing the opening program from mousepad to something else, it says search and allows to navigate to find a program, but I cant find emacs anywhere not in etc/ or elsewhere. So where is its executable to direct the program chooser to?
i have just installed the fedora 13 and emacs, after intalling the emacs when i try to load it i get the next message [root@localhost Eli]# emacs emacs: Cannot open termcap database file
I've noticed that emacs does not notice when an open file is changed on disk (unlike ,say, geany). Is there any way of making it watch for changes of files on disk?
I split vertically Emacs window to 2 frames. In the left frame I edit the code, in the right frame I navigate through files and directories in Dired mode.It is possible to tell Emacs that anytime I choose the file and press Enter in the right frame, the file will be opened in the left frame?I am almost sure that there is a solution for this but I cannot figure out how to do it, and I was not successful for a moment to google for a correct solution
I'm using andLinux and for whatever reason, emacs seems to think that the file I'm editing has been changed every time I try to edit/save and keeps reprompting me. Very annoying. Is there a way to make emacs stop checking the file on the disk?
Since upgrading to Ubuntu 10.10 I have been unable to use Emacs23. Upon starting Emacs, it immediately causes X to crash and I am returned to the login screen.I thought of looking for a log file and providing it here or in a Launchpad post to shed some light on the problem, but I don't know which log I could provide (if there is one).
After I installed GNU Emacs 23 to my Ubuntu system, every time I invoke the "emacs file" command, it launches Emacs.Because opening up Emacs takes time on my PC's last century hardware, and it consumes quite a big chunk of memory too. I wonder if I can still do some quick text editing using Terminal's emacs mode?
I am using emacs at work, and when I am home I use ssh through the terminal to connect to my computer at work. However starting emacs through ssh only gives me emacs in the terminal. As it is a bit awkward to work with I would like to open the GUI version of emacs through ssh. I tried installing tramp, but that did not seem to have any effect.
I like emacs very much, and especially like using C-M-v and C-M-S-V to scroll other window up and down. It is cool, especially when I am coding and referring documents.The problem is, using C-M-v to scroll down is OK in both terminal and X,but using C-M-S-V to scroll up just works well in X, if I use it in terminal, it behaves scrolling down too.
i intend to integrate with speedbar in the emacs frame. but the it seems didn't work correctly follow my mind, i have to press C-x 1 to solve the mistake when emacs startup!!!
screenshot for emacs starup:
and after i press C-x 1
what should i write in .emacs? and i had wrote these lines to ~/.emacs:
I recently clean installed Ubuntu 10.10 and copied over my last home directory from 11.04, after having upgraded from 10.10. Maybe something went wrong in this transition which is making this happen. Basically, I have a macbook pro with Ubuntu 10.10 64 bit and have the latest nvidia driver. I'm sshing using -X and -A. I try "emacs &" and Ubuntu logs me out immediately. Occasionally, it will simply log me out on startup although I haven't seen this happen in the last few logins. I also just tried running kdiff3. It starts to load the window and it does the same as emacs: it logs me out of Ubuntu.
I've recently started using Emacs and find switching between different buffers using the menu to be inconvenient. Is there any mode or trick that allows functionalitry like Alt-tab?
I successfully installed Natty on my PC and everything works great. Or nearly! If I connect to a server via ssh and try to open an emacs window on the server: no fonts are visualized (only empty boxes) and I get the following warnings:
Warning: Cannot convert string "-*-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-*" to type FontStruct Warning: Cannot convert string "-*-helvetica-medium-r-*--*-120-*-*-*-*-iso8859-1" to type FontStruct - running emacs with the "no window" option -nw works fine (but I don't like working with emacs in the terminal window).
I am sufferihng from two problems running emacs in Fedora 12: Firstly, whether I am logged in as root or not, starting emacs from an xterm gives me the following messages: Finished loading /usr/share/emacs/site-lisp/egg/leim-list.el and load others... Loading /usr/share/emacs/23.1/leim/leim-list.el (source)... Loading /usr/share/emacs/23.1/leim/leim-list.el (source)...done Not much of a problem, but I would like to know how to prevent this.
However, if I am logged in as root, or if I use 'su -c emacs' I get an additional message and then emacs takes a long time to start up. The additional message is: socket(): Address family not supported by protocol I did not get this in Fedora 10, and it is not so much the message but more the delay of a few seconds in starting up which is annoying me.
I tried Google search and reading man page options for emacs but couldn't find... If I run emacs in GUI, it starts GUI for emacs. I want to run it in CLI in rxvt. How do I do it?
All I want is that when I press the "TAB" key, I will ALWAYS get an actual TAB character--not spaces, not relative indenting with tabs mixed with spaces, just one singlel TAB character.
I tried every possible option I could find, but nothing works. I absolutely despise the relative indenting, and I haven't found a way to turn it off...
I just updated to emacs23 from emacs22 (sudo apt-get install emacs2). I find that I now have a problem with org mode structured lists not appearing. A single asteriks on a line by itself no longer appears highlighted and no longer collapses and expands using the tab key.
I'm putty'd into an Ubuntu server box and have EDITOR=emacs set. However whenever I run crontab -e my shell locks up.
I can use emacs normally by typing emacs from the command line, so I'm not sure what problem is. If I set EDITOR=vi I can run crontab -e and it opens in vi
I turn on my laptop running 64-bit karmic (if that helps anyone), open GNU Emacs 23.1.1 with the org files I've been working on, and for some reason it is not recognising standard key bindings, for the first time ever, with no reason I can conceive. What does "M-kp-enter is undefined" mean when it seemed well defined not long before? It seems using Esc-enter still works.. can anyone suggest if there are any config files I might need to edit, or what else could have gone wrong?