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

14
votes
1answer
781 views

Keymapping problem when working with Emacs and Openbox

I have an Apple keyboard and I had to do some remapping of the keys to make the mod-4 key the first key to the left of the Space bar for when working with Emacs. The below script worked fine when I ...
5
votes
1answer
205 views

Linux VT Emacs in tmux, breaks color and cursor

TERM is set to screen. I tried with screen-256color, but then the colors went really nuts. I also tried xterm, linux, and some others (that I could think of, not really thinking) but screen is the ...
3
votes
1answer
81 views

How to show console color in Emacs shell

When I run a command by smart-compile, I get string like this. [32mYour bundle is complete![0m [32mIt was installed into ./vendor/bundle[0m I think [32m and [0m represent color in console. Is ...
3
votes
1answer
377 views

Colors for menu bar and the scroll bar on emacs 24

I'd like to change the colours of the menu bar and the scroll bar of emacs 24. The instructions of EmacsWiki (the above links) do not work. This might be because I am using emacs 24. According to ...
4
votes
0answers
66 views

Tracking my shell path in Emacs

Not a long time ago, I found the following precious snippet that allows Emacs to track my current directory on any ansi-term buffer. More specifically, if I cd <some/path> from within a ...
3
votes
0answers
42 views

How can you achieve vi's `se ai` in Emacs?

What's the simplest way to set up auto indentation in Emacs? I can see that auto-fill correctly wraps, say: This is an indented block, and the wrapping happens as expected. On the other hand, I ...
3
votes
0answers
103 views

Emacs slow loading time with AUCTeX on TeX files

I installed the auctex and emacs packages on two Xubuntu 14.04 computers, both of which have been working fine. Emacs itself works fine on both, but now with the auctex package installed, when I load ...
3
votes
0answers
15 views

Window display table and buffer display table conflict in Emacs

In Emacs; Is there a way for both window-display-table and buffer-display-table to have effect at the same time? The reason is, I'm using Pretty-Control-L (from Emacs Goodies El script package) and ...
3
votes
0answers
224 views

Emacs complains: font 'serif 10' is not defined

I am running Linux Mint 12 and trying to start emacs but keep getting this error: font 'serif 10' is not defined It seems obvious to me that I don't have the correct font. However, I cannot for ...
3
votes
0answers
125 views

Configure Emacs to use Chrome as the web browser of choice?

Using Emacs on a Linux system I click: Scala>Browser Scala API which produces a terminal window with this message: /usr/bin/xterm: Can't execvp lynx: No such file or directory How do I inform ...
3
votes
0answers
218 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 ...
3
votes
0answers
653 views

In emacs, is there a way to Hex edit/view a buffer without losing the undo info?

When I use hexl-mode in emacs, it discards the buffer's undo info. Is there another way to hex-edit the buffer and yet retain the undo info? If there is no alternative hex-editor, is there a ...
2
votes
0answers
37 views

How to use `smart-compile` without confirmation in Emacs

I'm using smart-compile in Emacs. It works fine, but if possible I want to omit the confirmation like Compile command: ruby foo.rb. How can I do it?
2
votes
0answers
176 views

Org-mode: Inserting (advanced) LaTeX equations for HTML expot

I'm using org-mode as working environment, and so far has been extremely useful. One of the wonders of it is the versatility of exporting... I can export to LaTeX or HTML or ODT files from the same ...
2
votes
0answers
106 views

zsh: Echoing every statement?

I have an odd problem with zsh when I switch between shells in a particular way: Option 1 (works well): I start a zsh shell. I switch to tcsh with /bin/tcsh, and I switch back to zsh with /bin/zsh ...
2
votes
0answers
64 views

Why isn't Gnus scoring emails based on the To: or Cc: headers?

I use Gnus v5.13 in GNU Emacs 24.1.1 to read my email, and I'm having a trouble getting a simple score file to work. Essentially, I want any mail that's sent to (or copies) a particular email address ...
2
votes
0answers
258 views

Can emacs use gpg-agent in a terminal at all?

I understand that there are problems with getting pinentry-curses to work with emacs (see some of the comments on http://emacswiki.org/emacs/EasyPG), and so using emacs in a terminal isn't compatible ...
2
votes
0answers
36 views

Handle local links to local files in emacs

I have a LaTeX document where I often have to insert pathnames of files on my machine of other LaTeX files. Is there a way in emacs do get the following: A command which opens a file selection ...
2
votes
0answers
222 views

linum auto-activation in .emacs fails

I added the following lines to my .emacs.d/init.el to auto-activate linum at startup: (require 'linum) (global-linum-mode 1) (setq linum-format ā€œ%d ā€œ) But no way, i still have to manually M-x ...
2
votes
0answers
243 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
0answers
207 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 ...
1
vote
0answers
30 views

S-M-* commands aren't recognized by Emacs

I've noticed commands like M-> (end-of-buffer) and M-S-<right arrow> (org-meta-right) aren't being recognized by Emacs. This was confirmed by describing key bindings using C-h k, which showed ...
1
vote
0answers
50 views

How to hold <Caps Lock> when it sends a single event on key press and release?

Using the keyboard of a Macintosh IIcI (~1990) with remapping of the Caps Lock key to Ctrl in Xorg, it is impossible to use it, as holding it does not send events persistently. When holding other ...
1
vote
0answers
47 views

In Emacs' org-mode, any way to hide the subtree with timestamp not set to today?

I just started to learn org-mode (and Emacs) and I plan to use it as a calendar/timetable/todo-list hybrid. Is it possible to hide entries with timestamp not set to today? If so, how? For example, ...
1
vote
0answers
23 views

emacs org-mode clocktable - clock-in clock-out columns

Is there a way to configure the summary clocktable to have two extra columns for clock-in and clock-out times. | Headline | Clock-in | Clock-out | Time | | ...
1
vote
0answers
45 views

customizing size of emacs windows in twm, depending on the vnc session

I connect to the same Unix system (that runs tab windows manager, twm) via vnc. I connect from a laptop with a small screen and from a workstations with a large screen. I have started two different ...
1
vote
0answers
52 views

tmux color theme in emacs gtk

When I use emacs -nw I always use it in tmux 256-color mode. tmux applies its default color theme to emacs so it looks like this: For some reason I like that color theme far better than any other ...
1
vote
0answers
84 views

How to make `helm-execute-persistent-action` not to follow symlink original path

I want to complete by Tab when using find-file, so I bind a function helm-execute-persistent-action to Tab like this. ;; For find-file etc. (define-key helm-read-file-map (kbd "TAB") ...
1
vote
0answers
22 views

How to know function name inside helm

I just installed helm in Emacs. It works fine, but I want to change some key bindings. For example, Go to precedent level inside find-file is binding with C-l. I want to rebind it with C-w. I can't ...
1
vote
0answers
195 views

Passing escape sequences to shells within ansi-term in Emacs

In a regular terminal (e.g. iTerm2 on OS X) I can connect to a database, e.g. > psql .... and then, as I type my command in psql, e.g. $ select foo from bar I can move around (as I type psql ...
1
vote
0answers
125 views

sshfs and Emacs: file changed on the disk

I am using Mac 10.6.8 SSHFS version 2.4 fuse4x library version: FUSE 2.8.7 / fuse4x 0.9.2 I connect via sshfs to a remote cluster (via a bridge). I modify the remote files with emacs. The problem ...
1
vote
0answers
48 views

sshfs: experiencing data loss

I am connecting to a filesystem on a remote server via sshfs. What I do is just to modify these files with emacs. From time to time I am experiencing data loss. While I work on a file and try to ...
1
vote
0answers
19 views

How to define a minor mode that uses specified input-method in Emacs

I want to use korean characters in Emacs, so I installed hangul.el. I can activate input-method by '(set-input-method "korean-hangul")'. And I want to define a mode that have the `korean-hangul' ...
1
vote
0answers
207 views

php indent in web-mode with Emacs

I'm using Emacs web-mode and write a setting for it like this. (require 'web-mode) (add-to-list 'auto-mode-alist '("\\.php\\'" . web-mode)) (defun web-mode-hook () "Hooks for Web mode." (setq ...
1
vote
0answers
131 views

How can I use my own snippets by using yasnippet in Emacs?

I installed yasnippet and it works fine with default snippets.But I can't add my own snippets. To expand a string php to <?php ?>, I've done like this. I wrote in my init file like this. ...
1
vote
0answers
143 views

Emacs ansi-term with zsh: error in process filter. Invalid face: unspecified

I have the latest stable versions of Emacs (24.3) and of Zsh (5.0.2). I can run Zsh without problem from a terminal (e.g. ITerm2), but if I try to run it from M-x ansi-term I get the error: Emacs ...
1
vote
0answers
50 views

How to run Emacs nnrss-* commands

Specifically, I want to run nnrss-opml-import command, which should import an OPML file. Trying to run the command with M-x nnrss-opml-import tells me the command doesn't exist. I want to experience ...
1
vote
0answers
36 views

How to use the same emacs daemon for user and root accounts?

I often work in both user and root accounts but I don't like that I have two emacs daemons running for each user. Is it possible to set the same, only one emacs daemon for user's and root's clients?
1
vote
0answers
194 views

What would make the Simple Emacs Spreadsheet more newbie-friendly?

I am familiarizing myself with ses and I find that it's not very welcoming towards a new user. I am preparing to submit some sort of bug report or improvement suggestion, but I'm not really sure what ...
1
vote
0answers
80 views

how to setup AucTex with LuaTex in Emacs

How can I add to the list LuaTeX when I type Ctrlc Ctrlc? I was able to add Latexmk to the list by adding (add-hook 'LaTeX-mode-hook (lambda () (push '("Latexmk" "latexmk -pdf %s" TeX-run-TeX ...
1
vote
0answers
231 views

Emacs on Minix 3?

Has anybody managed to install Emacs on Minix 3? Emacs was available on earlier versions of Minix. I am OK with an earlier version of Emacs if necessary. I don't find Zile, mg or Elle adequate and ...
1
vote
0answers
39 views

emacs auto indentation

I have Auctex and auto indentation set in my ~/.emacs but it doesn't work correctly for \end{enumerate}. If I had the following, (below is what would happen if I hit tab on the \end{enumerate} ...
1
vote
0answers
99 views

emacs shell sync directory

I encounter this quite a lot. when I open a emacs shell and run M-x dirs it will complain to me that:couldn't cd or sometimes just hang emacs what is the solution for this ? What shell are you ...
1
vote
0answers
49 views

Configure the fields of the Rmail summary

How do I configure the fields of the Rmail summary? The code is in rmailsum.el, but I just can't find the place! For example, the first column in the Rmail summary seems to indicate... mail number? ...
1
vote
0answers
81 views

JS indentation on Emacs

I'm following the Douglas Crockford's code convention, but I can't get the correct identation in JS mode in Emacs. I tried to customize the mode, try another mode like js3 but nothing seems to work. ...
1
vote
0answers
215 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 ...
0
votes
0answers
210 views

Emacs alternate editor client server start

How can I get Emacs to start in server mode with the alternate editor? From this conversation, I was able to enable the server with the alternate editor. However, I just re-installed emacs and I am ...
0
votes
0answers
87 views

ansi-term no longer works when emacs is run in daemon mode

I shell into a remote server to run emacs using ssh. Ever since I started running emacs as a daemon I've been having problems using ansi-term, shell, and eshell. I can run commands in eshell fine, ...
0
votes
0answers
104 views

User installation emacs 23 on a centos 5 with system-wide installed emacs-21.4-20.el5?

I would like to install my own copy of emacs 23 on a Centos 5 Linux where I don't have admin rights. I would like to have my own modern copy of emacs on this Centos 5 system since I've got a problem ...
0
votes
0answers
102 views

How do I remap Caps_lock to Ctrl from inside emacs?

I use emacs on several machines between work and home, and I'm naturally interested in remapping that Caps_Lock key to save my finger from agony. On some platforms it's a bit more difficult to do than ...