How do I remap META to ALT?
I am using emacs in Ubuntu. How can I remap META to the ALT key? ...
I am using emacs in Ubuntu. How can I remap META to the ALT key? ...
This is scenario that I ran into a few times: I copy some text from other program. Go to Emacs and did some editing before I paste/yank the text in. C-y to yank and voila ... not the text I intended to paste in. Then I realize that while I am moving things around, I used commands like kill-line and backward-kill-word, and those killed l...
I have a HTML page, with html-mode enabled. I call function sgml-validate to check for any markup errors. It's based on compilation-mode. I want to remove some warnings from the compilation output, so I wrote a function and hooked it to compilation-filter-hook (this variable is not documented, but compilation-filter invokes it). Everythi...
I'd like to bind ctrl-r to 'isearch-backward and bind ctrl-shift-r to 'tags-apropos but I can't distinguish between the two key presses. Can emacs differentiate between ctrl-r and ctrl-shift-r? What should go into my .emacs file to allow this keybinding? ...
Is there an existing Emacs function that adds the symbol currently under the point to __all__ when editing Python code? E.g., say the cursor was on the first o in foo: # v---- cursor is on that 'o' def foo(): return 42 If you did M-x python-add-to-all (or whatever) it would add 'foo' to __all__. I didn't see one when I google...
I am getting a javascript error "missing = in destructuring declaration" What could be the problem? ...
Heyas How do I get emacs to tell me the location of the .emacs file it has loaded? My situation is simply when I do sudo emacs, it loads up a very different .emacs file than the one in my home directory. I can get around with by doing M-x eval-buffer on my own .emacs file, but that's a lot of extra steps, plus it doesnt seem to clear ...
I want to write a syntax highlighting extension for Emacs, but I Googling of variations on "emacs syntax highlight tutorial" have all failed. How do I go about learning how to write an Emacs highlighter? What good resources are there for learning how to do such things? ...
Zip-Archive mode works on systems with zip/unzip. How do you get it to work on Wnidows? ...
Can I use powershell as the shell, in shell mode for emacs? How? ...
Is there a plugin that would allow me to design the GUI in eclipse or netbeans and then extract the source code to be used in another environment? I am much more comfortable using emacs for my development but gui design is much easier with a WYSIWYG environment. What i am looking for is design the frame in eclipse/netbeans and then extr...
I program Django/Python in emacs, and I would like things like {% comment %} FOO {% endcomment %} to turn orange. How can I set up some colors for important Django template tags? ...
I'm trying to figure out how to use Emacs Code Browser (ECB) and one of the things you can do with it is set ecb-windows-width to decide how wide the ecb windows are. The problem is this sequence: Frame pops up on screen. ecb-activate gets called, scaled according to ecb-windows-width. default-frame-alist parameters kick in, frame gets...
What kind of a hook should i use to collapse just functions in the class. I want to see the outline of the functions in the class but if i hook hide-all everything including the class is collapsed during open. ...
I love emacs. I love regexs. I hate emacs' regex syntax - the need to escape grouping parens and braces, that you dont escape literal parens, the lack of predefined character classes, etc. Can I replace emacs' regex engine, or tweak some setting, so that when I use the Query-replace-regexp (or one of many other) feature I can use the s...
I was trying out tramp-mode, but now I cannot seem to get rid of it.. Whenever I start emacs, it spends about 20 seconds going through various tramp-related initialisations.. tramp: Waiting 60s for prompt from remote shell tramp: Setting up remote shell environment ..and so on. How on earth do I unload tramp? grep'ing my ~/.emacs.d f...
Basically, I really like vi[m]'s key-bindings, but not the rest of the editor. I really dislike emacs key-bindings, but like the rest of the editor. viper-mode seems like the best of both worlds, but it's not perfect.. What vim features did you miss in emacs (and more importantly, how did you get them back)? What config-tweaks did you ...
I have a elisp script for Emacs that I want to do some clean up in if a user hits Ctrl-G. I use 'read-event' to catch all events, but this does not catch the Ctrl-G. When Ctrl-G is hit, it just stops execution. In XEmacs, when you call next-command-event it will give you all events including when a user hits Ctrl-G. There must be som...
I am currently using GNU Emacs 23.0.93.1 in Windows Vista SP1. In my .emacs file I make a call to (server-start) and that is causing an error with the message The directory ~/.emacs.d/server is unsafe. Has anyone seen this and know a fix or workaround? ... other than leaving server turned off ;) Here is the stack trace: Debugger enter...
This is a very simple question. I have installed Emacs 22.2.1 (from the Ubuntu (9.04) repo and I downloaded Slime-current from the repo on their homepage. I followed the instructions provided with slime and it works. I can start slime and use it as expected. However, when I enter lisp-mode (M-x lisp-mode) I can no longer interact with ...