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
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 ...
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
39 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
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
82 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
61 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
757 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
41 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 ...
11
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
31 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
63 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
23 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
329 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
34 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
72 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
1k 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
68 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
201 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
1k 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
60 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
28 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: ...
1
vote
3answers
73 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
52 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
85 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
135 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 ...
3
votes
2answers
53 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 ...
2
votes
3answers
668 views

Emacs defaulting to emacs.d as a file

No matter where I am or how I open emacs, I get this message: File exists: /home/{user}/.emacs.d/ I then have to C-x C-f to get to the file I was trying to edit. What is going on here, and how do I ...
1
vote
2answers
114 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
177 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: ...
8
votes
2answers
929 views

emacs does not see my fonts in gentoo

I copied my ~/.emacs file from ubuntu linux; I've installed Consolas font (and it works in gnome terminal, and as a default Monospace font); but Emacs does not see it (custom-set-faces '(default ((t ...
0
votes
0answers
40 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
60 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. ...
4
votes
1answer
1k views

How to bind “Ctrl-Alt-b” as the prefix of tmux?

Tmux uses Ctrlb as its prefix, but Ctrlb conflict with Emacs. I want to bind CtrlAltb to tmux's prefix. I guess it may be C-M-b but didn't work...
17
votes
3answers
383 views

What is the name of this terminal window graphical trick, which shows accented edges around highlighted text?

I've noticed a few screenshots of terminal windows online which show thin highlighted edges around status bars or highlighted lines. In the following example, note the light grey edging around lines ...
3
votes
3answers
547 views

Creating Emacs TAGS file

I am working through the "Emacs Lisp Intro" book within Emacs 23.4.1 on Debian Wheezy (CrunchBang Waldorf). Section 4.1 discusses the find-tags command and the TAGS file. Instructions are included to ...
0
votes
0answers
37 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 ...
4
votes
1answer
3k views

Corrupted gnu-screen session not displaying UTF-8 correctly

(Edited to clarify the role of Emacs in the problem with the display.) My current gnu-screen session has gotten corrupted somehow, and Emacs fails to display UTF-8 characters properly. I've ...
2
votes
0answers
53 views

how to make aspell ignore upper case words (acronyms)?

aspell seems to have some support for filters: http://aspell.net/0.50-doc/man-html/4_Customizing.html#filter but I can't find any way to tell it to ignore words that are all capital letters (typically ...
1
vote
0answers
229 views

Can I cheat the docker run -it session by remapping ctrl+p key?

This is regarding this issue with docker: https://github.com/docker/docker/issues/3519 and http://stackoverflow.com/questions/20828657/docker-change-ctrlp-to-something-else As I understand this, the ...
2
votes
1answer
245 views

Loading X resources from .Xresources and .Xdefaults for Emacs

Emacs, as far as I remember, must load the .Xresources file on startup and read the font rendering settings from there. But mine does this only if I run xrdb merge first and then start emacs. I think ...
0
votes
1answer
60 views

font weight in emacs doesn’t work

There’s a font named Meslo. It’s a patched version of a Menlo typeface by Apple, which, in its turn, is a derivative work from Bitstream Vera Mono. I was picking it to try several times, but either ...
0
votes
1answer
47 views

emacs dired regexp mark files beginning with

In Emacs Dired mode, I'd like to mark directories and files whose names begin with Addr but not files that contain Addr inside the name. I'm using RE-Builder to test my regular expressions and am ...
3
votes
2answers
312 views

Toolbar icons unable to load when running Emacs through xhost from FreeBSD to Ubuntu

I'm connected to a FreeBSD Computer using ssh [ip] -X, and emacs launches just fine, but this happens and all the icons are little pieces of paper with red X's: > emacs (emacs:22812): ...
7
votes
4answers
2k views

Block editing *live* in Emacs or Vim

jEdit supports block editing, but Emacs and Vim seem to have some serious usability issues on the same subject. If someone could fill in the unknowns here it would be much more bearable to use either ...