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

learn more… | top users | synonyms

0
votes
1answer
37 views

Emacs: suppress indent after && in shell-script-mode

In shell-script-mode, when a line ends in &&, Emacs will indent the following line. Is there a way to switch that off? (I am concatenating most of my statements with &&. This gives ...
0
votes
0answers
20 views

How to run conemu inside spacemacs (emacs)?

I am trying to replace windows shell terminal which is run from inside spacemacs with SPC a s i I have this in my .spacemacs file (setq explicit-shell-file-name "D:/Program Files ...
0
votes
0answers
15 views

“Mutt hook” to configure the mail text editor (Emacs)

Can I configure Mutt/Emacs such that, depending on the person I am writing to, it configures the text editor with custom commands? More specifically, I would like to set the ispell dictionary to a ...
0
votes
0answers
3 views

Enable EMACS key bindings in Apache pig grunt shell?

Is there a way to enable EMACS key bindings in Apache pig's grunt shell?
1
vote
0answers
18 views

Emacs: How to split, open shell in bottom window at launch?

I tried adding this snippet to my ~/.emacs, but the resulting buffer/window mapping is weird. ;; Open split shell on launch (add-hook 'after-init-hook (lambda () (let ((w (split-window-below ...
0
votes
0answers
37 views

OSX Preview.App instead of xpdf as standard PDF-Viewer for Lilypond in emacs

I think about using emacs for Lilypond-Editing. I run OS X 10.11.3. Questions: Is there a chance to use Apple's Preview.app as a PDF-Viewer instead of xpdf, which is quite slow? Any idea? Is there ...
0
votes
1answer
24 views

Ubuntu virtual terminal cursor style resetting

I am running Ubuntu 14.04 and using one of the virtual terminals (TTY[1-6], accessible via Ctrl-Alt-F[1-6]); I want to permanently change the appearance of my cursor from the apparent default, a ...
1
vote
1answer
17 views

Attachment in Emacs org mode

How could I attach Word document in my .org file? I could do it for plain text file but not .doc type. Are the other options to point to Word file in my system other the attaché? Thanks
1
vote
1answer
25 views

Emacs org-mode display time range visually in agenda

I'm looking for a way to get the agenda view in org-mode to 'block out' periods of time for entries with a specified time range. By default it lists items with a specified time range at their start ...
0
votes
1answer
24 views

stty example to change key binding for “Ctrl-z”

I am using cua-mode in emacs, but that overwrites the "Ctrl-Z", which links with suspend job in linux. So, I am thinking of changing the "Ctrl-Z" key binding in linux, and I learned that "Stty" can ...
0
votes
0answers
12 views

Disable 2nd automatic Emacs nag message?

I built and installed Emacs 24.5 on a Banana Pro. I basically followed Minimal emacs24 installation. It was my first time configuring and building Emacs from sources, and all the X, sound, mouse and ...
0
votes
0answers
13 views

Seeing “” (byte-order mark) at the beginning of the first line in a grep buffer

I'm using GNU Emacs 24.3.1 on Windows. When I execute "rgrep", I sometimes see the sequence "" (byte-order mark) at the beginning of the first line in the match. Sometimes I don't. So far, I ...
0
votes
0answers
5 views

Dead tab key in Emacs via Putty in Windows 10

I'm logging into a remote CentOS server using Putty. When I start Emacs, the tab key doesn't do anything. I can't indent lines, and I can't tab separate words/characters. I don't have any special ...
0
votes
0answers
10 views

Display octal escapes as hexadecimal in buffer in emacs

I'm working with a file at the moment that's mostly text (and thus somewhat seemingly-random binary) in emacs, and I find the \270 syntax for certain characters very annoying, as I'm far more familiar ...
0
votes
0answers
11 views

Installing mailutils - interface

I'm trying to install mailutils and ran sudo apt-get install mailutils. It began installing, but now I have the following strange interface that appeared on my terminal: I can scroll up and down ...
0
votes
1answer
55 views

Windows 10 extremely smoothed inner window area

With few applications - either old or open source, I have this problem with OS smoothing inner area of window. Everyting is smoothed. This makes using Emacs-w64 very painful and I am forced to use ...
0
votes
0answers
23 views

emacs --daemon doesn't successfully start the server

I am attempting to set up a systemd daemon for emacs in NixOS. When I added a systemd unit, I noticed that it was continually restarting over and over again. I discovered that this was because when I ...
0
votes
0answers
21 views

Emacs eww cannot access https sites

here's my proxy setup: (setq url-proxy-services '(("no_proxy" . "my-corp-proxy") ("http" . "my-corp-proxy:8080") ("https" . ...
1
vote
0answers
24 views

My Git was disabled after I installed El Capitan 10.11.1

After I installed El Capitan 10.11.1 my Git was disabled. I ran my MacBook Pro and my MacBook Air in Recovery mode (Command+R) and restarted and without "csrutil disable" or without disabling my SIP ...
0
votes
1answer
18 views

Emacs : Jump to the next line with same indentation

Very often, I am stuck searching for the end of loops and methods and classes and end up sifting through all the code which is both time-consuming and frustrating. I would rather skip to go to the ...
0
votes
0answers
23 views

What is a sparse tree in Emacs

I tried to find out what a sparse tree means in Google in vain. Can someone just point me in the right direction to find out the meaning of sparse tree. I'm learning org-mode in emacs, where I came ...
1
vote
3answers
32 views

Unix - remove file with pound signs around it

I am using SSH to another terminal with very limited disk space. upon typing ls I see a file called #korpus.txt#. I suspect this file is an emacs buffer, but upon running emacs and trying to kill it ...
0
votes
0answers
35 views

emacs pinky map space to ctrl on mac

So I am starting to use emacs and I do touch typing. I am on mac but I use external keyboard. I am not getting problem using L-CTRL key but for R-CTRL key I use pinky and it hurts after a hour or so. ...
4
votes
1answer
135 views

Can Emacs be set up to display Python code in Python mode and display docstrings in ReST mode?

I often edit Python code in my Emacs and have it set up to display Python files in Python mode. I often find myself formatting dosctrings as ReStructured Text and I was thinking that it would be great ...
0
votes
0answers
23 views

How can I enable cursor scrolling via mousewheel in emacs with urxvt?

mouse-wheel-mode is enabled in emacs, however the cursor does not scroll as it had in other terminal emulators, on other distros. I've done a lot of digging and cant seem to find the answer. Again I'm ...
0
votes
1answer
29 views

What is alt+s doing to emacs in remmina/vnc?

I am connecting to a centos system at work using vnc. The work server runs vncserver and I run remmina on my two local Ubuntu laptops (12.04 and 14.04). On either laptop, I can connect to the vnc ...
3
votes
0answers
76 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
30 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 ...
0
votes
1answer
261 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 ...
0
votes
1answer
37 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
72 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
34 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
47 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
195 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
30 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
62 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
29 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 ...
3
votes
0answers
206 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 ...
1
vote
1answer
260 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. ...
0
votes
1answer
49 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
0answers
9 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
29 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
385 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 ...
1
vote
2answers
29 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
28 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
49 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
41 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
55 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 ...
0
votes
0answers
33 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
67 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 ...