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

-1
votes
0answers
30 views

Advices in order to chose an editor [closed]

I'm planning to go to a computer engineer school, but as it is in four months I was wondering which editor between vim et emacs I should use (and learn...). Please, I don't want to debate, but I'd ...
1
vote
0answers
8 views

How to stop auto backup in some directory in Emacs [migrated]

In general I want Emacs to save a backup file for me, except in some special directories. I tried to define a Directory Local Variables, and add: ((nil . ((make-backup-files . nil)))) But it seem ...
9
votes
3answers
4k views

How to colorize text in emacs?

I want to view (and/or edit) colorized text in emacs, such as is output by ls -l --color=always, tree..., or whatever. The text I refer to exists in a file. When I open that file in emacs, I want to ...
4
votes
3answers
1k views

How to make a portable Linux app?

I'd like to make a "portable" version of Emacs 24.3. I am using some Debian 7 systems, where I don't have root access. Since Debian 7 is missing Emacs 24, I'd like to build a portable version of it, ...
4
votes
1answer
871 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
2answers
17 views

Using fasd to open a file or directory in emacsclient

I'm trying to open files found with fasd in emacsclient. I'm using fasd -e emacsclient -c -a '' set to an alias. Nothing happens when I call the alias, I just get a new prompt. I've tried using Emacs ...
1
vote
1answer
27 views

Emacs strange appearance

After update the newest version of KDE (Plasma ver. 5.6.3, Frameworks 5.21.0) and kernel 4.5.2-1 ARCH, the menu bar of Emacs becomes ugly The same error appears in Firefox: the options in ...
5
votes
2answers
583 views

Tracing the workings of a function in Emacs

I am learning emacs lisp. One of the things I was playing with was setting variables. So I go and set fill-column to 50 (setq fill-column 60). After this evaluating fill-column does give me 60, but ...
7
votes
1answer
87 views

What is the historical origin of CTRL + P for up and CTRL + N for down?

I am a moderately experienced vim user, who is now beginning to use GNU emacs. At about the same time as I learned that Ctrl-p and Ctrl-n are the default for up and down in emacs, I also learned they ...
5
votes
2answers
569 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 ...
6
votes
3answers
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 ...
1
vote
1answer
613 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 ...
0
votes
1answer
32 views

Colorful notes in emacs

Similar to org mode, for taking colorful notes in Emacs, I would like to define some special characters (used in the beginning of the lines) to tell Emacs which colors (foreground/background) should ...
0
votes
0answers
25 views

Why doesn't emacs go to web-mode by default?

I have downloaded web-mode and added this to my .emacs file (require 'web-mode) (add-to-list 'auto-mode-alist '("\\.php\\'" . web-mode)) How come when I open a php file it goes to php mode by ...
6
votes
3answers
10k 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 ...
4
votes
5answers
2k views

How to use Emacs to recognize and automatically open GPG encrypted file in ASCII armored format?

gpg -ca passwords.txt create encrypted ASCII file passwords.txt.asc. Emacs open the file as a normal text file: -----BEGIN PGP MESSAGE----- Version: GnuPG v2.0.19 (GNU/Linux) ...
1
vote
2answers
185 views

Where is the Ctrl+/ (^/) bash shortcut for undo defined?

I can not find the mapping in bind -p nor in stty -a. Also, it only works in the terminal emulators I've tried (xterm, konsole, gnome-terminal) and not in the linux system console. I think it's ...
1
vote
2answers
53 views

Is there a program like tmux or screen but only for attaching or detaching a session

I was wondering if there was a program like GNU/screen or tmux that would allow me to attach or detach a session with a running process but would not provide all of the other features such as windows ...
3
votes
1answer
121 views

GNU Emacs Gnus can't connect to gmail IMAP

I'm in the process of configuring Gnus to retrieve emails from my gmail account via IMAP. I have done as recommended at https://www.emacswiki.org/emacs/GnusGmail, however I keep on getting errors from ...
1
vote
1answer
147 views

Emacs got blue background after upgrading to 3.20

OS: Archlinux Emacs: 24.5 Theme: Solarized-light It is ok before upgrading to gnome-unstable(3.20)
3
votes
2answers
296 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 ...
1
vote
1answer
47 views

Is bash command line interpreter implemented on emacs?

I'm investigating the relationship between bash and emacs shorcuts. Someone told me that the reason why they're similar is that bash uses emacs as its command line interpreter. However, I haven't ...
3
votes
1answer
109 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 24.5.1 in an X interface, almost everything works well with the mouse, except the mouse wheel scrolling ...
11
votes
2answers
1k views

Gnome stop grabbing my emacs keys

I am using Gnome in Ubuntu 11.04. I work a lot in Emacs, and I find that the Gnome window manager grabs some of the Emacs keys. To some extent, I can stop this by laboriously going through each of ...
81
votes
2answers
42k views

Ctrl-s hang terminal emulator?

I came across a sentence in vimdoc: Note: CTRL-S does not work on all terminals and might block further input, use CTRL-Q to get going again. and this key indeed hangs my vim. I was ...
3
votes
2answers
668 views

“Unknown terminal type” error when trying to run emacsclient

(I’m using emacs23; on Debian 7; Xfce.) I want to try Gilles’s recommended solution for taking quick notes with Emacs. When trying to run emacsclient -a "" -e "(remember-other-frame)", I get the ...
2
votes
1answer
278 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, ...
1
vote
2answers
21 views

How to copy from an app like a browser into Emacs over existing text?

I am trying to copy some text from the browser by highlighting it. I then go to emacs and want to paste over an existing paragraph without deleting it beforehand. How do you do that?
2
votes
2answers
416 views

How to stop emacs server

I started a Emacs in my terminal, and then started running Emacs server inside it by M-x server-start. Now I would like to cancel running the Emacs server without exiting the Emacs process. There ...
1
vote
1answer
52 views

Running emacsclient with a script

I'm trying to make a script to determine whether emacsclient should be ran with -nc or -t. The script is like this: #!/bin/sh if [ -z "$DISPLAY" ]; then IS_GRAPHICAL=true else ...
7
votes
1answer
185 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 ...
0
votes
1answer
28 views

Emacs upgrade problem on Debian

I am new to programming, Debian and emacs. I tried to install packages of smex on emacs and I downloaded it from smex@marmalade but when I do the install step, emacs told me there is no match for ...
0
votes
1answer
118 views

Edit .docx files with Emacs?

I'm starting with Emacs, and testing around I wondered if I could edit my own .docx file from there, just to explore its features and that stuff. But my surprise is huge when, having the text ...
0
votes
0answers
63 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
1k 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
23 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
1k 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
11 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 ...
15
votes
6answers
4k 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. ...
1
vote
2answers
37 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
330 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
97 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.
20
votes
4answers
10k 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
979 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?
3
votes
0answers
314 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
362 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
328 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
24 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
145 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 ...