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

0
votes
0answers
24 views

Differences between Vim and Evil Mode Emacs

I normally use emacs on my system however all of the computers at my university have vim installed which I normally ignored (I know basic vim but I'm not very efficient) and used gedit when I needed ...
4
votes
5answers
990 views

Code templates with emacs

How can I configure emacs to generate some code skeleton? For instance, for C files: #include <stdio.h> #include <stdlib.h> int main (int argc, char **argv) { return EXIT_SUCCESS; ...
0
votes
0answers
7 views

org-mode agenda column view with multiple files: can't sum Effort property!

I'd like to use column view within an agenda to sum up estimated effort for the day. If I have only a single project in a single file, this is no problem: * TODO Project 1 ** NEXT Subproject 1-A ** ...
4
votes
3answers
948 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 ...
0
votes
0answers
10 views

emacs is blocking logout?

I've closed all my applications but whenever I tried to shut down, the message always pops up. I feel like there is some process running in the background, how exactly do I terminate that process by ...
4
votes
1answer
726 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= ...
14
votes
6answers
3k views

How to replace current word under cursor in Emacs

How do I replace current word under cursor in Emacs? I know that I can use query-replace or replace-string but every time I do so I have to type entire string to be replaced, this is just annoying. ...
6
votes
0answers
102 views

Perfectly pixelmapped fonts in Emacs

In Ubuntu, in IntelliJ, the font PragmataPro Mono looks like this: Note the perfectly mapped pixels. The IntelliJ setting Appearance & Behavior > Appearance > Antialiasing > Editor is ...
1
vote
2answers
33 views

Running Emacs through the value of the bash variable

How would I add a value to a new variable in bash, so that when I echo the variable Emacs would run?
2
votes
2answers
271 views

Footnotes in emacs org mode: how to disable [n], but keep [fn:]?

How can I disable the [n] being linked to a footnote and highlighted? [n] can be many things, like any index of an array. So, I want my footnotes to be[fn:n]and only[fn:n]`.
1
vote
1answer
42 views

How can mouse support be enabled in terminal Emacs?

How can mouse support be enabled in an Emacs terminal session started with emacs -nw? Is there a keyboard shortcut or a flag to do this? If not how can it be done in terminal emulators? I use Guake.
17
votes
4answers
9k views

How do I configure Emacs to use 'ispell' on Mac OS X?

I'm using brew as my package manager for both Emacs and ispell. I have both installed. Doing a quick google, I was unable to figure out how to tell Emacs where ispell is and to load the appropriate ...
4
votes
2answers
931 views

How to use Emacs to run Matlab programs?

I'm learning matlab and using emacs to edit .m files. Is there a method in Emacs to call matlab to run programs?
1
vote
0answers
258 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 FNh, ...
3
votes
0answers
304 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 ...
1
vote
3answers
354 views

vim/emacs plugin to view recursive grep search search results?

Suppose I have a file formatted like this: file1:123 file2:4444 some/other/file:2233 This represents the search results from a command grep (i.e. the format file:line-number). I'd like to have a ...
4
votes
2answers
1k views

How to enter Erlang Mode in Emacs?

How do I enter erlang mode in emacs to get syntax highlighting? Whenever I open an erlang file nothing special happens. Do I need to change something in my .emacs file, or do I need to add a module to ...
3
votes
0answers
316 views

eldoc mode 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
0answers
22 views

How to remap “dead_hook” in Emacs and Vim?

I would like to remap some common symbols like ( and ) to the base line of my keyboard combining Alt Gr with other keys like j or k. I can remap Alt Gr+k to ) because that combination prints ĸ. The ...
0
votes
0answers
126 views

Input is disappearing in emacs

I am currently running the latest version of emacs on RHEL 6.6. The issues I am having is that sometimes when I type input, some of the input randomly disappears and will then reappear when I ...
1
vote
0answers
33 views

Search failed: “Available audio output drivers:” when using starting bongo

I started using Bongo in Emacs 24.4.1, and it worked fine up until some weeks ago when a regular Linux update (I am not really versed in these things, version numbers etc.) probably messed up ...
1
vote
1answer
33 views

Open remote Unix server files in local Emacs

I am using Emacs 24 in Ubuntu. Could you please help me on how to open remote server files? The remote server runs CentOS. I am logging into the remote server over SSH using a private key. I tried ...
1
vote
0answers
11 views

How to change save directory of w3m cookie files to another directory

I want to manage emacs config files in public github, so I need to separate config files and my personal data. It seems w3m save cookies in ~/.emacs.d directory. I couldn't find the config to change ...
3
votes
1answer
70 views

Emacs won't mouse wheel scroll on Ubuntu 15.10 with Cinnamon

I'm running Ubuntu 15.10 using the Cinnamon interface instead of the default. When I run emacs 14.5.1 in an X interface, almost everything works well with the mouse, except the mouse wheel scrolling ...
3
votes
1answer
58 views

Emacs X11 Forwarding does not work but xclock does

I'm launching a X server with Xquartz (OSX 10.10.5) using Terminal.app, and I'm trying to connect to a EC2 instance with: ##local $ echo $DISPLAY ...
3
votes
1answer
45 views

Emacs entry missing from window manager menus

Since some time ago I have no menu entry for Emacs anymore on my Debian system. The same happens on two different machines -- one running testing and one running unstable. I have tried switching ...
2
votes
2answers
715 views

Installing slime and emacs

I'm trying to install SLIME on Fedora 17 so that I can do some lisp. Here is what I downloaded: http://www.common-lisp.net/project/slime/#downloading The CVS Snapshot link. I have a .emacs file: ...
0
votes
1answer
30 views

Disable annoying comment highlighting in emacs [closed]

I have started programming scheme, and I noticed the scheme minor mode highlights comments in the most obnoxious way possible when using solarized dark (color-theme-solarized). This also occurs on ...
10
votes
2answers
3k views

How to get current buffer's filename in emacs?

One of the main features I miss about Vim, is that it always saves the filename of the current file in the % buffer (more info). That allows launching commands easily like: ;; compile current file :! ...
0
votes
1answer
23 views

Map a Character key to some modifier key [say Control-key]?

I am so used to emacs keybinding that I use emacs style keybindings on my entire system (with gtk settings). I've mapped Caps-Lock key to an extra Control key. But that doesn't help me from having ...
0
votes
1answer
23 views

Manjaro Linux - Markdown mode does not work in emacs 24.5

I have Manjaro Bellatrix (version 15.10) running on my desktop with latest updates as on 2015-11-11. I have installed emacs from the repositories and tried to open a .md file in emacs when I got the ...
1
vote
1answer
21 views

how to write a elisp function like this

I'm trying to write a elisp function like this: (setq lst '(("abc" . "c") ("cde" . "f"))) (foo "a" lst) ;=>"c" (foo "b" lst) ;=>"c" (foo "c" lst) ;=>"c" (foo "d" lst) ;=>"f" I know if ...
2
votes
1answer
105 views

Emacs on HiDPI screen renders unreadable fonts Arch Linux

I just installed Emacs on Arch Linux for my MBP 13 Retina but the fonts and menus are super small. However I don't care about the menus since I'm disabling them but I do need to know how to scale the ...
0
votes
0answers
26 views

Is there pinyin input mode in Emacs?

I'm learning Chinese and I'm wondering if there is a way to input pinyin easily. "pinyin" is a word with tone, like "qǐngwèn". Is there a emacs minor mode for pinyin? If there is not yet I'll try ...
18
votes
1answer
1k 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 ...
1
vote
0answers
45 views

How to Edit Text Anywhere with Your Favorite Editor in Linux?

Editors like emacs or vim has efficient keybindings. How do I edit every text editing field of all applications which them? There is one for windows already. ...
7
votes
2answers
970 views

Emacs text-scale-adjust causes line numbers column to incrementally shrink and disappear

I've set up emacs to display line numbers (global-linum-mode 1), and it works until I start enlarging the text via text-scale-adjust The line numbers column starts to shrink, and disappears ...
1
vote
1answer
47 views

Relation between emacs and bash terminal shortcuts [closed]

I would like to know what is the relation between emacs and bash terminal shortcuts.
1
vote
2answers
100 views

Changing colors used by `ls` does not work in Emacs “Shell” mode

I followed http://unix.stackexchange.com/a/94508/674 to change the colors used by ls. This works in bash. When I open a buffer of "Shell" mode in Emacs (M-x shell), the change doesn't work. I wonder ...
4
votes
1answer
972 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 ...
3
votes
1answer
59 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 ...
1
vote
0answers
19 views

GNU Emacs Prolog mode

I need help installing the SWI Prolog mode for Emacs. After downloading the plugin (prolog.el version 1.25), how should I install it? I found this installation guide: ...
2
votes
3answers
35 views

How can I run the emacs daemon only when needed?

From what I have read, one way to speed up the emacs startup is to run emacs --daemon on login and then open files using emacslient instead of emacs, which will access the running emacs server instead ...
10
votes
3answers
2k views

Font size issues with Emacs in linum-mode [duplicate]

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 ...
1
vote
1answer
44 views

The server Emacs can't recognize the ALT key when accessed by a Mac

I use Mac's ssh to get access to a server. I find the emacs on the server can not recognize the ALT key. My server is RHEL with emacs23.
-1
votes
1answer
65 views

Matlab crashes after screen session disconnect and reconnect

Please forgive the cross-post from matlab answers. This received no response over there. I'll try to go into a bit more detail with this post. ...
2
votes
1answer
87 views

MariaDB client has no prompt in Emacs sql-mode

I just upgraded from an old MySQL client to mariadb-clients-10.0.21-3 on Arch Linux. After the upgrade, I no longer see a prompt when using Emacs's sql-mysql function. It seems mysql is buffering ...
6
votes
3answers
1k views

org mode to dokuwiki converter

Is there an emacs org-mode to dokuwiki converter? Is there an dokuwiki to emacs org-mode converter?
13
votes
3answers
2k views

Italics in Emacs on a text terminal (rxvt-unicode)

I am using Emacs running in an urxvt, and I cannot get italics to work in Emacs although the terminal supports it. Here’s my current setup: I haven’t set $TERM, so it is the default ...
5
votes
3answers
9k views

How to install emacs using YUM without X11 libraries?

I have installed a minimal installation of CentOS 6.3 inside a VirtualBox VM. Now, I would like to install Emacs for use from the command line only. When I do a search for emacs using yum search ...