emacs

How to ignore comments in the latex file with ispell (within emacs if possible)

I'm writing a text with Latex in English but written my comments in Finnish. When I'm running the spell checking with ispell, I got to run through all the comments. Is there a handy way to skip the comments with the ispell? If that could be done with emacs, that would be double handy =) One way would be to run the ispell within console ...

What is the best alternative IDE for Delphi (.NET)

I work in Delphi 2007 (both win32 and .Net) but the CodeGear IDE frequently annoys me, so if possible I'd like to find a replacemnt. We have a build script so I can compile from the command line and I very rarely do any GUI designing, so the only thing I need is a text editor (with syntax highlighting, Autocomplete/Intellisense ...). I...

What is the best Emacs mode for HTML 4.01 strict editing?

I have been using nxml-mode to edit XHTML. However, it does not work very well for HTML4 documents whose tags don't have to close. Has anybody found a good Emacs mode for editing these files? Example document: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"&gt; <html lang="en-gb"> <head> ...

XEmacs vs Emacs which is better for programming C++

which is better editor for C++ programming XEmacs or Emacs? ...

Emacs on Putty suddenly stopped accepting ctrl-space?

Weirdly, ctrl-space to start a mark works on the command line in putty and on X on the machine, just not in putty. What configuration did I break? ...

Emacs: how to delete text without kill ring?

Hi, I'd like to just delete some text so I can yank some other text instead of it. How can I do that? C-w cuts the selected text to kill ring and I end up without the text I wanted to yank. Also, is it possible to yank text directly instead of some text without even pressing buttons to kill it? ...

IronPython + emacs?

I've decided to get into IronPython, as I work pretty much exclusively in .NET, but need something a little less stuffy than C# for mocking up quick stuff. Python has been fine for small things, throwaway tests, that sort of stuff, but it's to the point that I need to be able to get to some of our .NET code. Despite my complete revulsi...

How do I setup an ASP.NET project *WITHOUT* using the Visual Studio GUI?

I'm using Emacs and Mono on Windows so that I can retain the same development environment while I'm in GNU/Linux. So I need to know what the directory structure of an ASP.NET project and which files are critical to its operation (config files, etc.). ...

How can I fold #ifdef/#ifndef blocks in Emacs?

I want to hide blocks of #ifdef and #ifndef blocks in C. Looks like I'd either need to use Folding mode or the Outline minor mode. ...

Unable to set the syntax of .txt file .tex in Emacs

How can you set the syntax of a .txt file .tex in Emacs? ...

Get Emacs to ignore *.orig files

I end up having a bunch of *.orig files sitting around, from hg reverts. It's annoying when I find myself editing foo.c.orig instead of foo.c by mistake. (I use ido-mode and the first match is not always the shortest.) Is there a way to tell Emacs to ignore *.orig files as though they were *~ files? I'm not having much luck with goog...

Change the Frame Width in Emacs, Interactively

I know you can change the frame size in the .emacs file with set-frame-width or (add-to-list 'default-frame-alist '(width . 80)) but how can I change the width after Emacs has started up (aside from dragging the edge of the frame)? ...

Are there any reasons why a C# developer should learn Emacs/VIM?

I work as a c# developer in a purely Microsoft shop. I recently started teaching myself assembly using gas and Linux in my free time away from work. I like messing about with Linux, I'm still very new to it though. I keep hearing I should learn VIM or Emacs but the thing is, there is absolutely no way I'll need to use them in work,...

How to bind ESC to keyboard-escape-quit in Emacs?

Normally keyboard-escape-quit is bound to EscEscEsc. Is it possible to rebind it to a single Esc? I never use Escape as a prefix key. I'm running Emacs 23.0.60.1 on Windows XP. ...

Why Emacs/Vim/Textmate? Isn't Xcode good enough?

Hi I mostly do C++, Objective-C programming. And I found Xcode plus an auto completion/macro plugin (Completion Dictionary) quite adequate. However, all people seem to praise over their pure text editors. I tried Textmate for a bit; liked its simplicity but dislike its files/framework handling. Am I missing something here? Or, do Vim ...

How do I change the name of emacs auto-recovery file?

At the moment it saves the file with format: .#main.c -> [email protected]:1231918415 This makes it problematic since it ends with ".c". I need it to be .#main.c# Update: I have emacs 22.1 ...

How to select or highlight a block in emacs?

Hello all, I want to select or highlight a block in emacs without mouse but from the keyboard like vim's visual mode. What is the easiest way to do this from a keyboard? ...

What is the best Emacs book out there?

I'm looking for the definitive Emacs book. An Emacs bible if you will - it should serve as a complete introduction, but should also include advanced stuff, like customizing with Emacs Lisp. What, in your opinion, is the best such book? ...

How can I use ediff (emacs diff) as a diff/merge tool in Windows ClearCase?

I'm forced to use ClearCase (Windows version) at work, and I want to use emacs ediff as a diff and merge tool. The problem with the ClearCase map file is that it requires .exe files - I've tried to specify a batch file calling ediff and it didn't work. I don't want to write a C/C++ program (it's been more than 10 years since I've coded ...

emacs c++-mode incorrect indentation?

Hi, I'm running emacs 23 with c++-mode and having some indentation problems. Suppose I have this code: void foo() { if (cond) { <--- int i; ... } <--- } This seems to be the default behavior of the automatic indentation. However I'd like to change it so it'll be like this: void foo() { if (cond) { ...