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
3answers
59 views

How to install emacs 24.5 on linux mint

I'm trying to get the latest stable release of emacs on linux mint (emacs-24.5). But, for some reason apt-get only installs 24.3.1. I would usually be OK with that, but I'm trying to use spacemacs, ...
0
votes
0answers
20 views

How do I free up the terminal when I am using emacs? [duplicate]

I know I can open another terminal, but that is bothersome.
1
vote
2answers
24 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
39 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 right-...
0
votes
1answer
33 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
27 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 ...
7
votes
1answer
90 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 ...
1
vote
2answers
66 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
158 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
151 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)
1
vote
1answer
48 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 ...
1
vote
2answers
24 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?
1
vote
1answer
57 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 ...
0
votes
1answer
31 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
162 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
68 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 ...
0
votes
0answers
25 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 ** ...
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 ...
7
votes
1answer
201 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
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?
1
vote
1answer
141 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.
1
vote
0answers
38 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
41 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 ...
3
votes
0answers
25 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 ...
1
vote
0answers
29 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
88 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 /private/tmp/com.apple.launchd.MO57wSPup1/org....
3
votes
1answer
65 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 ...
0
votes
1answer
44 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 ...
0
votes
1answer
34 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
68 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 ...
0
votes
1answer
24 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
391 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 ...
3
votes
1answer
121 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 ...
1
vote
0answers
75 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. http://www.listary.com/text-editor-...
0
votes
0answers
36 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 ...
1
vote
1answer
71 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
234 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 ...
1
vote
0answers
30 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: https://bruda.ca/emacs/...
1
vote
3answers
98 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 ...
2
votes
1answer
160 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 ...
-1
votes
1answer
91 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. http://www.mathworks.com/matlabcentral/answers/242954-m-...
3
votes
2answers
57 views

Why can't I apply this script to files not in my current directory?

I got this script ~/bin/align-tables from emacs stackexchange #!/bin/sh # -*- mode: shell-script -*- # # tangle files with org-mode # DIR=`pwd` FILES="" # wrap each argument in the code required to ...
1
vote
2answers
126 views

Find OS X terminal key combination/escape sequence for Ctrl-'

One of my Emacs keybindings is C-', which works well in GUI. In terminal however, it is not being recognised. I understand that I need to figure out the actual characters sent to the terminal by C-' ...
1
vote
0answers
66 views

Emacs and gvim display no content on FreeBSD 10.2

I just installed FreeBSD 10.2 with the Mate desktop environment and most things seem to work. I have a problem with emacs and gvim though. Since the problem has the same symptoms with both editors, I ...
3
votes
1answer
194 views

emacsclient connection refused

I am running emacs in daemon mode and I got dissconnected from the server on which it was running. After re-connect, when I run emacsclient -nc I get the error connect localhost port 6012: ...
0
votes
0answers
41 views

readline emacs equivalent to vi's 'fc'

In vi readline, I can use the command fc where c is a character I want to find and jump to in the current line. E.g. echo 'hello world' fw --------> Is there an equivalent command in emacs mode? ...
1
vote
1answer
57 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
vote
1answer
67 views

I cannot use the keyboard shortcut <ctrl>+<alt>+<enter> in matlab running in emacs running in screen

In my usual setup, I use use matlab-emacs to run Matlab through the emacs gui. I run matlab and emacs on a linux server, and use ssh and X forwarding so this all shows up on my local ubuntu laptop. ...
0
votes
0answers
38 views

Emacs, window mode is not seeing .bashrc shell variables

I launch emacs from my ubuntu menu bar icon and when i try to access .bashrc variable as, (getenv "ENV_VAR") it returns nil. I collected Gilles' inputs on this issue, added the line . ~/.bashrc (...
2
votes
1answer
43 views

Vi mode or emacs mode in the whole system

I use vi mode in zsh, tmux and my favorite text editor (vim obviously). I'm interested to have this behavior in the whole system. I know I can use plugins in firefox, thunderbird, etc. but if there is ...