emacs

How can I open textual sites in emacs?

Hi! I would like to know how to open sites in emacs. Websites with plain HTML without many graphics!! Is there a mode that I must set?? Thanks!! ...

Natural order sort for Emacs Lisp

Has anyone implemented a natural order sort in Emacs Lisp? I know it's not hard to write, but it's easier to borrow someone else's work. (Yeah, I can't believe I just searched for an Emacs function and couldn't find it.) ...

How to have emacs save file at multiple locations?

Is there an easy way to have emacs save current buffer in two locations? I could in the 'after-save-hook' programmatically copy the current file to a second location, but writing lisp code for that might take some time. For those that are curious why I want this: I want the changes I make to my JSP immediately be deployed in tomcat's we...

height of emacs bottom command line

How do I change the height of the emacs bottom command line. It seems it's a fraction of the whole frame, which takes too much space. Thanks in advance. ...

comparison table for emacs regexp and perl compatible regular expression (PCRE)?

Is there a nice table or a cheatsheet on the web that compares the sytax of emacs regex and PCRE? That I have to remember to escape grouping parenthesis and braces and other differences when I'm using emacs regex, it's all confusing, a syntax comparison table would be good for minimizing confusion. ...

Emacs: how to set up warning of file size significantly reduced, when saving file?

I had just lost most of the content of my notes in a text file, when I used emacs, and there was a bug, but I ignored the error message, and forced a file save. After a few hours, I found that my newly saved file had only a few bytes left! Most of my notes in the file had gone. I wish that I had set up warning of file size change signi...

Emacs Etags Returning to Starting Buffer/Position

I am in buffer A and use M-. on some function name which jumps me to buffer B. From that function, I use M-. again which jumps me to buffer C. Now I have seen what I want and want to go back to buffer A. I don't know of a command to do this without opening the buffer list and finding the buffer I was in or remembering the buffer's name a...

Why does sshfs cause these emacs artifacts?

After opening a file in emacs (over an ssh tunneled, sshfs mounted file system) I get symbolic links like this: .#jobid.php -> [email protected]:1260471633 We have determined that these are emacs LOCK files. The sshfs filessystem is mounted with follow_symlinks and transform_symlinks, but it appears to be refusing to re...

Binding C-[ in Emacs

I want to bind "C-[" like so: (define-key py-mode-map "\C-[" 'py-shift-region-left) The problem is, Emacs sees "C-[" as ESC. Am I missing something? ...

Where is the .emacs file in windows GNU emacs

Where is the .emacs file in windows (I'm using Emacs-23-CvsP091103-EmacsW32-1.58 ) When Emacs starts up, it attempts to load and execute the contents of a file commonly called .emacs (though it may have other names, see Where do I put my init file?) which contains any customizations you have made. You can manually add lis...

elisp: Is there a way to get the name of the current .el module (like __FILE__ in C)?

At the top of my elisp module, I want to do something as simple as: (message (concat "Loading " (expand-file-name (current-elisp-module) "."))) ...

Emacs c-mode fill-paragraph with Doxygen Comments

Hello, I have a question that is very similar to http://stackoverflow.com/questions/71788/getting-emacs-fill-paragraph-to-play-nice-with-javadoc-like-comments, but I wasn't sure if I would get many answers in a year old thread. Anyhow, I have C code that has some Doxygen comments that look like the following: /** * Description * * ...

Forcing myself to master Emacs

Assuming a superficial knowledge exists, how might one go about forcing a mastery of Emacs? Assume also that said person currently uses Aquamacs but falls back on Mac OS X-isms far too often. This person is serious (this time for sure), and needs some advice. ...

how to run certain elisp code after starting a new emacsclient frame?

For how to automatically evaluate certain lisp code every time starting an emacsclient, click here. My problem is different. I want to write a script that opens a new emacs frame (with focus on it) (one way to do this is to run emacsclient -c) and then run the following elisp code in that frame. (org-remember) I tried emacsclient -c...

Can emacs longlines-mode or visual-line-mode be made to respect indentation and lists?

I use emacs to edit most of my answers for SO, and although I use longlines-mode (I have not upgraded to emacs 23 because of some critical bugs that don't look like being fixed any time soon), I can't find a way to get longlines-mode to respect the indentation used for Markdown. I would really like to fix this, but I want it for an ordi...

Emacs disable modes

I'd like to disable line highlighting in term-mode. I tried this: (add-hook 'term-mode-hook '(lambda () (global-hl-mode 0))) but it complains about the symbol being void. I have this further in my .emacs: (global-hl-line-mode 1) ...

Modifying an existing input method in Emacs for Faroese keyboard input

I was searching for at solution that could provide me a Faroese input method for use in Emacs 23.1.1. That is what I want. The faroese-keyboard input method does not exist in Emacs. It will be necessary to use a modified version of the Danish-keyboard. The Danish keyboard is mostly similar to Faroese keyboard. Only two keys differ, one ...

Text-to-Speech in Emacs

I'm not blind, I just want to have a way to have my Windows machine read the contents of a buffer outloud. Here are the basic requirements: Read any English text buffer. Pause the reading at any time and resume at any time (not wait a few minutes for a big buffer to finish when someone walks into my office). Adjust the read-back speed...

Understanding the `ctags -e` file format (ctags for emacs)

Hello, I am using "ExuberantCtags" also known as "ctags -e", also known as just "etags" and I am trying to understand the TAGS file format which is generated by the etags command, in particular I want to understand line #2 of the TAGS file. Wikipedia says that line #2 is described like this: {src_file},{size_of_tag_definition_data_in...

Controlling Festival Output

I am working on improving Festival on Emacs. I need better control of Festival when it reads a sentence. Basically, I need two things: Show what word is being read. Change the speed (and maybe pitch) of what is being read. Ideally, there would be some data structure output by Festival that would link offset/length (usually the star...