emacs

How can I enable Emacs key bindings in Microsoft Visual C# 2008 Express Edition?

How can I enable Emacs key bindings in Microsoft Visual C# 2008 Express Edition? ...

What is the difference between find-grep and grep-find?

What is the difference between find-grep and grep-find in Emacs? ...

What Vim features are missing in Emacs with Viper and Vimpulse?

There are important features of Emacs which are missing in Vim, such as the comint mode, and there are no scripts/plugins which can replace them. There are also benefits of Vim over Emacs, such as modal editing and generally better default shortcuts. However, Viper mode gets me both. Vimpulse also enables visual mode. Unfortunately, no ...

"Diff, save or kill" when killing buffers in emacs

When trying to kill a buffer that contains changes in Emacs, the message: " Buffer [buffer] modified; kill anyway? (yes or no)" is displayed. Instead of this I'd like to have Emacs ask me if I want to: 1. View a diff of what changed, 2. Save the buffer, 3. Kill the buffer. How? ...

Programmatically setting Emacs frame size

My emacs (on Windows) always launches with a set size, which is rather small, and if I resize it, it's not "remembered" at next start-up. I've been playing with the following: (set-frame-position (selected-frame) 200 2) ; pixels x y from upper left (set-frame-size (selected-frame) 110 58) ; rows and columns w h which totally works ...

How do I use IPython as my emacs python interpreter

I'm running Emacs 22.1.1 and IPython 0.9.1 on OS X and I'd like to be able to run lines/methods/snippets of Python code from my current buffer on demand inside an IPython interpreter. What do I need to do to get this working? ...

Which IDE are CLISP Programmers using?

I noticed how SLIME (lisp development package for Emacs) does not come with a frame-source-location function for CLISP, so you can't automagically jump to a source location when inside the debugger. Given that, I figured CLISP users must be using some other IDE (though I guess IDE is a little bit misleading here, maybe they're just using...

Best version of EMACS

I'd like to enter the mysteries of EMACS -- but gently! Excuse the lack of machismo, but is there a EMACS-clone for Windows which supports mouse-and-menu usage to get me started -- so I can delay learning ALT-META_CTRL-C-C for a while. ...

Elisp performance on Windows and Linux

I have the following dead simple elisp functions; the first removes the fill breaks from the current paragraph, and the second loops through the current document applying the first to each paragraph in turn, in effect removing all single line-breaks from the document. It runs fast on my low-spec Puppy Linux box using emacs 22.3 (10 seco...

Haskell Interactive

I am a bit rusty on my Haskell and am looking to ramp back up. One thing I enjoy from F# is the F# Interactive shell integrated with Visual Studio: I can evaluate virtually anything (including function and class definitions) and use F# as a shell. Is there an equivalent in Haskell? When I use ghci, I cannot evaluate function definitions....

sane tab in emacs

I want to override the insane default tabbing scheme in emacs so that it will work like most other editors (eclipse, notepad++). For some reason I can't get it to go. I found a tutorial online ( first google result ), but none of the things there seemed to work. I want to set it so that regardless of mode, tab will insert a tab, and...

Emacs, tramp, plink problem on XP

The target machine is running Ububtu server 8.04. Here's the tramp output: tramp: Opening connection for [email protected] using nil...<br> tramp: Waiting for prompts from remote shell<br> tramp: Waiting 60s for prompt from remote shell<br> tramp: Sending password<br> tramp: Found remote shell prompt.<br> tramp: Initializing remote shel...

How can I have a portable Emacs?

Is there a way run Emacs from a USB drive? I am a Windows user and I would like to be able use it on any PC without an Emacs install. ...

How do I count the number of open buffers / files in Emacs?

Every now and then, I accidentally hit C-x C-c in Emacs when I'm intending to just hit C-x or C-c. This, of course, closes all open frames and buffers with no confirmation. I know that I can make Emacs prompt "Are you sure you want to exit?", but I don't want to do that all the time, which would get annoying. I just want it to do it when...

Emacs and C++

Once again it is time to clean up my emacs setup. Before I go cleaning it up, are there any packages that you would recommend above and beyond c++-mode, cedet, ecb, speedbar etc. ? Especially stuff that's new in the last five years. ...

How do I change the scrollbar color in emacs?

Is it possible to change the scrollbar color in emacs? (Note: Not XEmacs) If it matters, I'm running emacs 22 on Ubuntu 8.10. ...

How do I set an emacs buffer name with a file local variable?

I want my emacs buffer to have a different name than the file name. Rather than setting this manually every time, I want to have this happen automatically based on the file contents, something like: // Local Variables: // buffer-name: MyName // End: But this doesn't work because buffer-name is a function, not a variable. How can I do...

Preventing automatic change of default-directory

As per the Emacs docs, every time you open a file, Emacs changes default-directory to the directory containing that file. Then, if the cursor is in that buffer and you (for example) start SLIME, it uses default-directory as the current working directory for SLIME. If you try to open a new file, it opens the file with default-director...

Is there some way to get more than Meta and Ctrl on Windows? Long time Emacs user wants Hyper/Super.

I've used Emacs for years on Linux, and I have lots of personally useful keybindings I've put under Hyper and Super. Nowadays I'm using Emacs on Windows and am missing those extra keybindings. Is there some way in Windows to get modifier keys other than Ctrl and Meta? ...

portable emacs? (emacs server not working)

I have seen a few suggestions on making emacs portable (on Windows). I have this in my site-start.el: (defvar program-dir (substring data-directory 0 -4)) (setq inhibit-startup-message t) (setenv "HOME" program-dir) I changed the HOME variable so that not only my .emacs init files (and other init files) are read, but everything gener...