The Emacs text editor, one of the main text editors used on Unix and derivative operating systems.

learn more… | top users | synonyms

3
votes
0answers
125 views

Howto Emacs nyan-mode image in console

I have emacs’ nyan-mode working in my OS X desktop emacs (24.5). But I’d very much like to get that working in my console emacs. I’m using: Ubuntu Server 12.04 LTS (precise), in a Vagrant VM. (OSX) ...
0
votes
0answers
32 views

Opening multiple files in Aquamacs on startup via elisp

Running Aquamacs emacs on a Mac, OS X 10.11; in my .el file I have (find-file "~/file1") (find-file "~/file2") On startup, Aquamacs will open both files, but in separate windows. My question ...
2
votes
1answer
535 views

How to install magit on emacs <24.4

I am using emacs version <24.4, and since I don't have root permissions on the system, I can't upgrade to a newer version. While trying to install magit, I get the following error: Package `emacs-...
0
votes
1answer
51 views

How do I make emacs-key-bindings work everywhere in linux

I am just tired of reaching for the home and arrow keys. There is a windows hack: http://www.davesquared.net/2008/02/emacs-key-bindings-everywhere.html How can we achieve that in linux? The ...
0
votes
0answers
104 views

Swapping CTRL-CAPS on Windows 10

I've been able to remap CTRL-CAPS on previous versions of Windows (XP and 7) by using this tutorial. Perhaps the scancodes are different for Windows 10. I'm not sure. Whatever the reason, this method ...
0
votes
0answers
52 views

Is it possible to skip kerberos kinit & aklog? I want to use tramp/sshfs

I've been given access to a remote system. I've been instructed that I have to execute kinit and then aklog every time I log in. I am not sure what is the reason for it (I have read the kinit is ...
0
votes
0answers
65 views

Moving an archived task back out of archive file into working file

In Org-mode, how do I search in my archive file and move an archived task (C-c C-x C-s, org-archive-subtree) back into the main org-mode file? I have some tasks which occur on an intermittent, ...
0
votes
1answer
490 views

libgnutls.so.26 no such file or directory

I upgrade my Debian jessie and, when I try to open Emacs, It send me this error: emacs: error while loading shared libraries: libgnutls.so.26: cannot open shared object file: No such file or ...
0
votes
0answers
39 views

view xml file in emacs

I'm using Cygwin xEmacs 24.5. My goal is to view xml file nicely formatted. First I opened it using nxml-mode or xml-mode and it was OK to view it. Then I somehow 'played' with schema and I assume I ...
0
votes
0answers
71 views

Emacs package “flycheck” missing after relaunch

Every time I exit and relaunch emacs, the flycheck package is missing and needs to be reinstalled manually with package-install. All other packages that I have installed are working fine. This issue ...
0
votes
1answer
31 views

change .emacs in linux

I'm trying to change my .emacs file, which I think is placed in my Home directory as .emacs.d, however, I don't know how to add my directory to this file. I tried with vim, but it didn't work and my ...
4
votes
0answers
237 views

emacs term-mode redraws prompt when backspacing inside executables

I am reliant on emacs (version 24.4.1 on Debian) term and ansi-term modes. They normally work just like xTerm for me, but when running an interactive program that has a prompt (like the node.js prompt,...
1
vote
1answer
587 views

Editor for 'git bash' on Windows (editor for mingw/msys+mintty)?

I am using 'git bash' for Windows (from 'git for Windows') which in turn consists of mingw+msys and a mintty. This mingw installation contains a 'vi' editor which works in the mintty. Good. Question:...
0
votes
1answer
87 views

How do I get autocomplete for multiple entries in an org-mode capture template?

I'm using Emacs org-mode with capture templates extensively, but one thing is still irking me: I can't get autocomplete for multiple entries in prompts, except for tags. Considering the following ...
1
vote
1answer
16 views

emacs flyspell save word to file being checked

In the past, I saved special words in the file being checked (as comments). I no longer can work out how to do this. I remember there was an option when checking a word: add to global dictionary, add ...
1
vote
1answer
34 views

Transposing phrases in Emacs

If I have phrases of the form: blood oranges, green grapes, and Arkansas Black apples tigers and bears and lions paper or plastic curly, moe, and larry Is there a library or tweak to transpose ...
1
vote
0answers
790 views

How to get global tab-width in spacemacs?

Brand new to emacs and spacemacs. Hoping to learn the ropes. I have added the following lines to my .spacemacs file: (setq-default indent-tabs-mode nil) (setq-default tab-width 2) (setq-default c-...
1
vote
2answers
31 views

Guarding init modifications for both emacs23 and emacs24?

I have some emacs commands cribbed away and copy/paste them into ~/.emacs when needed. I want to add a code-folding macro, but the macro appears to be different for emacs23 and emacs24. The next two ...
0
votes
1answer
29 views

What does this emacs error mean?

An error has occurred while loading `/Users/JaydenXu/.emacs': Symbol's value as variable is void: ... To ensure normal operation, you should investigate and remove the cause of the error in your ...
0
votes
1answer
59 views

matlab-emacs doesn't open a file for edit (2014b)

I downloaded and installed the matlab-emacs project from http://matlab-emacs.sourceforge.net/ using the dl_emacs_support.m script and edited my .emacs file according to the instructions. When I run ...
1
vote
0answers
50 views

How to quit reverse-i-search without moving the cursor?

In Bash, I often encounter below situation when doing reverse-i-search (using emacs keybinding in Bash): (reverse-i-search:ccc) aaa bbb |ccc ddd I am in the middle of reverse-i-search for 'ccc', and ...
0
votes
1answer
75 views

Emacs in a Debian 8 chroot environment?

I'm working with a Debian maintainer on a failed self test for a software package under ARMEL. The maintainer was kind enough to help me duplicate his environment. When I attempt to add http://ftp....
0
votes
0answers
47 views

How to input S-M-RET for emacs in OS X?

Trying to use org-mode, having iTerm2 with left option as +Esc. Also, in iTerm2's setting I put alt+shift+return as Send^[[1;2E; In ~/.emacs, I have (define-key input-decode-map "[1;2A" [S-up]) (...
1
vote
0answers
106 views

How to make urxvt and emacs display fonts the same way?

Here's an image of emacs (left) and urxvt (right) displaying contents of the same file. Note how urxvt characters are shorter, wider, and (to me) not as pleasing to the eye. On some systems (GuixSD,...
1
vote
1answer
283 views

Troubles reading gmail with gnus

I am trying to configure emacs to fetch my mail from gmail and have got into some troubles. I am getting "NO" as answer from gmail server all the time. I have followed instructions offered at gnus ...
0
votes
0answers
37 views

How do I prevent a child process from inheriting compatibility setting? (Display scaling)

When I enable the “Disable display scaling on high DPI settings” setting on the compatibility tab for a program. It looks like any programs spawned from that program also inherits this setting. Is ...
1
vote
1answer
100 views

“Procmail” component of getmail - spamassassin - procmail - mu4e

I'm a newbie trying to work out the following mail solution on a laptop where I'm the only user: getmail - spamassassin - procmail - mu4e (an emacs mail program) Right now I'm succeeding at ...
0
votes
0answers
58 views

“ + Suspended (tty output) emacs dummy.cc”

I get this error when I try to open a file using emacs using: emacs dummy.cc & How do I open the file using emacs in a new tab and not on the terminal?
0
votes
0answers
63 views

Exceed X server not allowing copy/paste from windows apps to X apps

Most of the time I can copy/paste just fine from Chrome on Windoze to EMACS running on linux, displayed on Windoze using Exceed onDemand Client 8. But then it will get into some kind of state where ...
1
vote
0answers
103 views

How to disable auto-save in emacs only for files opened as root

I want to use emacs auto-save feature with tramp, but only for file that I don't open using sudo. My current configuration, based on the tramp documentation, looks like this: ;;;;;;;; BAKUCP ;;;;;;;; ...
0
votes
1answer
49 views

Disable xemacs modes and highlighting

How can i disable all the modes in XEmacs that change the appearance or behaviour of my text files? All i want from XEmacs is to just show the text and make changes according to my keyboard input and ...
0
votes
2answers
33 views

emacs remove spaces to the edge of the page

I often find myself needing to delete a lot of whitespace to the edge of the page when working in emacs. How can remove it in a quick keystroke? I looked around in the "deleting whitespace" emacs ...
1
vote
1answer
101 views

open a pgp file and edit the decrypted content, re-encrypt on save [closed]

I use dropbox to backup my data, but I don't trust it. It's mostly for .txt files Is there a way of opening them (with emacs or sublime text or something else), and edit the underlying content like ...
0
votes
0answers
61 views

Can I force OSX to keep an app in RAM?

I use Emacs and want it to be super-snappy whenever I switch to it to perform an operation. Unfortunately, often I will switch to it and a noticeable delay occurs after the first keystroke. I'm ...
0
votes
1answer
55 views

Edit file in-place without modifying line endings

I need to modify sources under Git version control. The sources are Visual Studio project files, which makes them native Microsoft. I want to avoid whitespace issues, including line ending games. I ...
0
votes
1answer
46 views

Editor with dictionary word completion [closed]

Is there an linux editor which can autocomplete words from a dictionary? I don't ask for autocompletion of already written words in a document (like gedit does). Also I am not looking for (personally ...
2
votes
1answer
117 views

Disable default option key binding

In any text editor, when I type ⌥ p it inserts π at cursor ⌥ w it inserts ∑ at cursor Thus every key when pressed with option ⌥ inserts some special character. Question How can I disable this ? ...
0
votes
1answer
209 views

Cygwin Mintty unicode doesn't display fail despite having dejavu sans mono and everything

Edit the problem is ubuntu machine can't display \u03bb as greek lambda symbol ubuntu is remote: [ubuntu@ubuntu:~]$echo -e "\xce\xbb\x0a" λ [ubuntu@ubuntu:~]$echo -e "\u03bb" \u03BB this is ...
2
votes
0answers
114 views

How to display unicode character in emacs

I use terminal based emacs latest on ubuntu. in the terminal unicode characters display fine. But in emacs when I insert a unicode for example C-x 8 RET and some hex 455 it displays as \u0455. I had ...
2
votes
1answer
65 views

Cygwin, emacs and associate it with a file type on Windows

I want to use Emacs as and editor and shell. On Windows 7 I installed cygwin , X11 and emacs. In terminal I added to /etc/profile file these lines: XWin -multiwindow 2> /dev/null& export ...
2
votes
0answers
85 views

Emacs Rmail Gmail - No Mail

I am trying to setup Rmail to read my Gmail account. I have tried following the instructions on emacswiki: (setenv "MAILHOST" "pop3server") (setq rmail-primary-inbox-list '("po:username") ...
1
vote
2answers
359 views

Emacs cursor is invisible in tmux in iterm2

When I try to use emacs -nw inside a tmux pane under iterm2, the cursor is invisible. This behavior is present regardless of which theme I use in iterm2. I'm using emacs version 24.5 on Mac OS X 10....
0
votes
1answer
82 views

Making Org-Mode to remember folding?

I am a recent convert to Org-Mode. I like it a lot but I am having an issue with reopening files. When I open a org file, Org-Mode does not remember the folding which sux, because I have to resetup ...
0
votes
0answers
37 views

Info: how to get a list of all articles programmatically?

I'm contemplating an improved indexing of Info pages with Sphinx. But in order to do this, I'd need some way of programmatically extracting all nodes (in order to then insert the contents of each node ...
0
votes
2answers
53 views

Ubuntu: how to remove emacs 23 data files

I had emacs 23 installed via apt-get, but I want to remove it completely before upgrading to emacs 24. I did sudo apt-get remove emacs* to remove emacs 23. But some emacs 23 files remain. locate ...
4
votes
1answer
318 views

What is Caret-At (^@) under emacs?

I'm use to seeing Caret-M (^M) under Emacs. But below, I'm seeing Caret-At (^@): The file was created by running the Crypto++ test program on OpenBSD with the command ./cryptest.exe > cryptopp....
0
votes
0answers
30 views

I have to press twice C-b in emacs in osx terminal

I installed emacs through brew in osx, everytime I press C-b it doesn't do anything. I have to press it twice every time to make it work once. Any idea?
0
votes
1answer
142 views

Install emacs customized way

I am using fedora 22/centos 7 (x86_64) on my Acer laptop. I was trying to install Emacs GNU editor. dnf -y install emacs When I am installing Emacs GNU editor it installs Emacs and Emacs client ...
1
vote
1answer
188 views

ubuntu server on virtual box, slow performance troubleshoot

I run Ubuntu 14.02 headless server on a Virtual Box. I ssh into the box using Cygwin. I use screen, it has ~6 tabs open. In the first tab I run ember serve. It watches files for changes, and serves ...
0
votes
1answer
345 views

how to change the right control key in a super/hyper modifier in emacs

I'd like to change the right control key along into a "super" modifier and right alt key into the "alt" modifier (not the Meta) in Solaris and Linux (as I know how to do that in Windows using ...