A text editor, usually characterized by its extensibility. Often described as "the extensible, customizable, self-documenting, real-time display editor."

learn more… | top users | synonyms

3
votes
1answer
209 views

Emacs shortcuts in term mode

I've a question about using Emacs as editor and terminal. I split my window into different windows with C-x 3for example. One of the generated Window is used as terminal with M-x term. Usually I ...
3
votes
1answer
160 views

End of lines problem in emacs when editing markdown texts via It's All Text

I want to edit markdown source in emacs using the It's All Text plugin for firefox. In markdown you have to add two spaces to the line-end to get a new line. Suppose there is such a newline in a ...
1
vote
0answers
238 views

Is there a better alternative to sudoedit?

What I really hate about sudoedit is the fact that it always uses a different filename. I'm using emacsclient and when editing a file twice I'm left with two useless buffers. Sometimes I even happen ...
2
votes
1answer
97 views

Why does Emacs make it difficult for me to have two frames open the same buffer?

I have 2 frames. I switch the buffer in first frame to buffer A. When I try to switch the buffer in the second frame to buffer A, Emacs brings the first frame forward. What I want is to open buffer A ...
2
votes
1answer
79 views

Emacs + whitespace: ignoring 'normal' spaces

I would like to use whitespace to detect wrong whitespace (i.e. trailing whitespace on line, tabs instead of spaces etc.). However I would like to still have spaces displayed as spaces. I tried to ...
3
votes
3answers
718 views

How do I set up a .emacs initialization file?

I am using Linux Fedora 13 (Constantine) and emacs 23.1.1. I am trying to set up a .emacs file for initialization, by using emacs itself to edit and save a file .emacs in my home directory. However, ...
4
votes
1answer
427 views

Change column width in an emacs Ibuffer on the fly

Is it possible to change the column width in an emacs Ibuffer on the fly?
3
votes
1answer
126 views

In Emacs, editing C, sort-fields not working, or stating sole completion. Why?

In Emacs, editing C, and trying to execute sort-fields doesn't seem to be working. I enter M-x sort-fields after highlighting a region. At one point it was letting me pass a field number, but then ...
9
votes
6answers
818 views

Text Manipulation Across multiple lines

I Have a file that has text like this: AAAA BBBB CCCC DDDD 1234 5678 9012 3456 EEEE 7890 etc... And i want to match up the Alphabetic lines with the Numeric lines so they are like this: ...
2
votes
1answer
451 views

Why dialog doesn't support emacs shell on Debian?

Dialog is a utility that provides dialog boxes from shell scripts, you may have seen them in aptitude during upgrades. When i use Emacs shell (M-x shell) and type sudo aptitude safe-upgrade, i get the ...
2
votes
1answer
158 views

How to bind emacs abort to key

This is from a .el file loaded in my .emacs file. What do you think? ;;; Sun keyboard bindings ;; the below line does not work: ;; when <cancel> is pressed, the minibuffer echoes "Quit" ;; but ...
2
votes
2answers
302 views

GNU Screen and Emacs

I upgraded recently to OpenSuSE 12.1 from 11.3 and now when I open any files in emacs from inside a screen session, I get a blank buffer. Let's say I open it as: emacs myFile.txt it will open to an ...
1
vote
0answers
123 views

Control + Function Key association in Emacs [closed]

I am trying to associate the keyboard shortcut Control + F10 with gud-step in GUD in Emacs. I thought the following would do the trick, but it doesn't: (define-key gud-mode-map '[C-f10] 'gud-step) ...
1
vote
1answer
896 views

Set default font size in Emacs 23.4?

I use the following in my .emacs to set my default font to Ubuntu Mono: (set-face-attribute 'default nil :font "Ubuntu Mono") However, the defauly font size is too tiny for me. In my menubar I see ...
2
votes
0answers
195 views

eldoc makes emacs use 100% cpu

When I use eldoc, I add this to .emacs: (add-hook 'emacs-lisp-mode-hook 'turn-on-eldoc-mode) (add-hook 'lisp-interaction-mode-hook 'turn-on-eldoc-mode) (add-hook 'ielm-mode-hook ...
3
votes
2answers
888 views

No font in emacs on CentOS

When I open emacs over an SSH connection I get this error Warning: Cannot convert string "-*-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-*" to type FontStruct Warning: Cannot convert string ...
4
votes
1answer
110 views

How to create a Emacs file that looks/feels likes the Emacs start up page?

The Emacs start up page has image, link, and fonts with different size all in one. How can I create a page like that?
9
votes
1answer
1k views

Emacs: How to insert 'λ' instead of 'lambda' in Scheme mode?

Long ago, I came across a text editor function that replaced the word 'lambda' with the character 'λ'. I would like to do this in emacs. My preferences: I would like to activate this function in ...
2
votes
2answers
110 views

Can I set font face by file comments in Emacs?

I wonder if we can set the font in Emacs according to the comments in the file. E.g. -*- fond: "my-font"; -*-
8
votes
2answers
855 views

Font size issues with Emacs in linum-mode

I am using Emacs 23. linum-mode works well if using with default settings. But if I increase the font size, the numbers cannot be displayed. It seems the the frame to display the line numbers is not ...
3
votes
3answers
300 views

Scrolling on very long files (1M+ lines) on Emacs

I was wondering if besides the basic navigation commands: C-p : Jump backwards one line. C-n : Jump forward one line. C-v : Jump forward one full screen. M-v : Jump backwards one full screen. M-a : ...
0
votes
1answer
132 views

not able to install jabber with emacs

i downloaded emacs-jabber from git and it created a directory called emacs-jabber and it had files like jabber.el , configure.ac etc. installation guide told me to use ./configure and make and make ...
2
votes
1answer
344 views

Emacs ediff not scrolling buffers equally

In Emacs ediff, I can use v and V to scroll up and down the buffers that I am comparing simultaneously. However, I have noticed that: If I start scrolling each buffer independently Then place the ...
2
votes
1answer
1k views

Creating symbolic links to applications in Mac OS X

I installed Aquamacs in a fresh OS X desktop, and wanted to be able to call the program from the commandline. Calling the file inside the app seems to work just fine: Amoss-iMac:bin amosjyng$ ...
11
votes
2answers
1k views

GNU emacs vs. XEmacs

After using Vim for the past couple of years, I'm switching to emacs as part of my "get out og your comfort zone" 2012 resolution. Although I have been using GNU Emacs for the past 10 days, I am ...
6
votes
3answers
785 views

emacs syntax highlighting fails on my SSH client

I need to connect to a remote server by SSH to edit some documents. When I work at home, I SSH to the remote server using SSH Secure Shell and open emacs, but it doesn't fully highlight documents as I ...
6
votes
1answer
222 views

How can I get recentf-mode to work with emacs server/client?

I like using recentf mode in Emacs which produces a list of files I have recently opened. This list is persistent between sessions, so I can get to files I used a fairly long time ago. However, I ...
1
vote
1answer
446 views

What's the difference between `/usr/share/emacs/site-lisp/` directory and `/usr/share/emacs23/site-lisp/` directory?

I use Emacs 23 on my system. I received a file from a colleague (who has a different Linux distro) to add to the /usr/share/emacs/site-lisp/ directory. As I worked to do this, I noticed another, ...
3
votes
2answers
612 views

Emacs auto encryption and gpg

Emacs encrypts/decrypts .gpg files automatically. But recently I have lost the ability to decrypt files encrypted by the Linux gpg tool and vice versa. I use: passphrase symmetric encryption gnupg ...
2
votes
1answer
274 views

Problem with meta key on Emacs

I have a problem with meta key in Emacs. I trying to use M-> or M-< but in fedora meta key is left Alt that is key change layout (alt+shift) when i press M->(alt+shift+>). How people solve this ...
4
votes
2answers
2k views

Some keys are invalid on emacs when using German keyboard

When I am using emacs 23.3 on KDE, I can not input ^, ´ and ~ from my German keyboard. If I press these keys, then emacs says that <dead-circumflex>, <dead-acute> and <dead-tilde> ...
1
vote
0answers
207 views

uemacs 4.0.15 strange key bindings

Playing around with uemacs I noticed that some of the default alternative key bindings are set to the Fn key in combination with a different key (for example, an alternative for 'help' is set to ...
3
votes
0answers
210 views

How to Select Tutorial Chapters in Uemacs

I finished installing uemacs 4.0.15.1 from github. I have some experience with GNU-emacs and I wanted to give this a try. I got stuck from the beginning. I opened (by pressing Esc+?) the uEmacs/PK 4.0 ...
6
votes
1answer
1k views

Comparing directories in Emacs

I am experimenting with ediff-directories, but I am not sure I am using it correctly. I read in the documentation that, once I supply two directories to ediff-directories, if I press == Emacs ...
3
votes
1answer
898 views

Disabling caps lock by setxkbmap makes it Shift key in Emacs

I'm using GNU Emacs 23.2.1. within Xfce 4.8.0 (both coming from the Ubuntu Natty repository). I disable the CapsLock by running /usr/bin/setxkbmap -option "ctrl:nocaps" at the beginning of the Xfce ...
6
votes
1answer
227 views

Difference between “define-key global-map” and “global-set-key” in Emacs

Looking at how people program their keyboard shortcuts in Emacs, I have noticed two different patterns: One uses: (global-set-key (kbd "M-N) 'select-next-window) The other one: (define-key ...
3
votes
2answers
341 views

Emacs: Deleting a line without sending it to the kill ring

I would like to use C-k to delete a line without sending it to the kill-ring. I have the following on my .emacs file (delete-selection-mode 1) but this only seems to work for C-d (delete-char) I ...
5
votes
2answers
307 views

Is it possible to stop emacs from down translating my key chords?

emacs has the default behaviour of double-guessing which key-combo (chord) I've pressed. It automatically down-translates to a lesser chord when the key-combo I pressed is unassigned, eg. ...
0
votes
1answer
239 views

Is there more, less, or equal overhead for elisp, as for a bash script, to call awk, ps, etc?

Hopefully the question explains itself well enough. I'm referring to exta time and system resources involved for one vs. the other... I tend to think it would be the same, but I want to go beyond just ...
7
votes
2answers
243 views

Emacs Hexl to read device files?

I have to manually edit a FAT 16 partition. After trying few hex editors, I decided to try Emacs Hexl. sudo emacs -> M-x hexl-find-file -> /dev/sdb The commands open device file but its ...
4
votes
2answers
189 views

Emacs' file extension recognition

How do I get Emacs to recognize new file extensions? For example if I have a .c file and I open it in Emacs, I get the correct syntax highlighting for C, but if I have a .bob file format (which I know ...
2
votes
1answer
223 views

How to get transient highlighting to work from an elisp script?

I want an elisp script to highlight a region of text. Upon exit, the highlighted selection should disappear when a key is pressed. Everything I've tried results in the highlighting hanging on like the ...
1
vote
2answers
217 views

How to timestamp a transcripted talk?

I'm trying to mark each paragraph of transcripted text with timestamps of when/where it occurs in the audio. mplayer and emacs are getting me close. mplayer, in the terminal, outputs a stream of ...
6
votes
2answers
2k views

Is there a way to give emacs the KDE look and feel?

I'm using emacs for most of my work. I'm switching from gnome desktop to KDE (checking things out) and it bother me that emacs look soo diferent from the rest of the desktop. Is there a way to give ...
14
votes
3answers
3k views

Shift-arrow not working in emacs within tmux

I recently started using tmux (was a screen user before) and I'm loving it, except for one small problem. I use emacs within my tmux session and I am used to using Shift-arrow keys to move between ...
2
votes
2answers
128 views

Editing the *bookmark list* buffer on Emacs

On Emacs (using Bookmarks+), if I type C-x r l I can open the buffer *Bookmark List* and navigate through my bookmarks. On this buffer, if I type Enter on a given bookmark, Emacs opens the bookmark, ...
9
votes
1answer
796 views

Why am I getting 'Name collision between …' errors and how can I fix them?

Every time I try to launch vim or emacs or even top (I think it's actually any command that uses ncurses) in a unix terminal (on a cluster computer over ssh), I get a a continuous stream of 'Name ...
4
votes
3answers
595 views

Piping into less and editing: “cannot edit standard input” error. Workarounds?

I recently learned that if I page my files with less, I can press v and open the buffer in Emacs. This works as long as I have the environment variable $EDITOR set up correctly, which in my case I ...
6
votes
4answers
907 views

Block editing *live* in Emacs or Vim

jEdit supports block editing, but Emacs and Vim seem to have some serious usability issues on the same subject. If someone could fill in the unknowns here it would be much more bearable to use either ...
4
votes
1answer
69 views

XEmacs: load all files in /home/barry/.emacs_barry

XEmacs creates an .emacs_barry file in my home directory that contain my active buffers + point positions in those buffers(?). It looks like this: "Norma Jean" "/home/barry/plan1.txt" 4504398 nil ...