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

15
votes
1answer
844 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
241 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 ...
4
votes
1answer
33 views

Save scratch emacs file without access to terminal

I'm trying to save the contents of an Emacs scratch buffer, which I can't access any more due to an inaccessible terminal. On my Linux box I've ssh'ed to a server, and started Emacs. My Linux box has ...
4
votes
1answer
497 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 ...
3
votes
1answer
90 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
164 views

Graphical console applications in Emacs

I am having trouble running htop within an ansi-term in Emacs 24.2. It looks like some of the control characters are not interpreted correctly. I thought ansi-term was capable of handling font ...
3
votes
1answer
84 views

Timelineview of all agenda files

Is it possible to get a timeline view that combines the entries from all agenda files?
4
votes
0answers
80 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
45 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
199 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
237 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
132 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
239 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
709 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
39 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
239 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 ...
2
votes
0answers
114 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
70 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
119 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 ...
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
259 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
255 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
227 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
89 views

How to set LANG in locale, despite it's in /etc/default/locale in ubuntu for unicode support?

I run Ubuntu 12.04, I can't set the locale to en_US.utf8. I set the LANG by configuring /etc/default/locale as described here. $cat /etc/default/locale LANG=en_US.utf8 $locale LANG= LANGUAGE= ...
1
vote
0answers
23 views

Autocomplete include directories in c++

VisualStudio has some extension which checks the include directories and makes suggestions while typing. My current project uses a lot of included libraries, sometimes with rather long pathnames. ...
1
vote
0answers
17 views

How to use emacs alphabet key bind even with Thai input method

I'm emacs user and learning Thai language. I can read and write Thai characters with Emacs comfortably. But all Emacs key binding can't be used with Thai input mode. For example when I try to use ...
1
vote
0answers
33 views

Press Alt+< on a Hungarian keyboard (where < requires AltGr)

I use a Hungarian keyboard layout. To type a less-than sign, I have to press: AltGr+í. By default, the Emacs Meta key is set to Alt, so I think I would have to press all of AltGr, Alt and í at once. ...
1
vote
0answers
57 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
52 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
56 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
75 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
134 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
254 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
174 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
52 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
21 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
169 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
208 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
55 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
37 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
91 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
265 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
42 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
59 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
93 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
221 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
257 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
91 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
107 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
134 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 ...