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
12 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
1answer
14 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
23 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
41 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
37 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
18 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
24 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
36 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 ...
1
vote
0answers
27 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 ...
1
vote
1answer
17 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
13 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
47 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 ...
0
votes
1answer
45 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
33 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
24 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 ...
2
votes
1answer
41 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 > ...
0
votes
0answers
15 views

making emacs prelude and cua-mode work together?

I was wonder if it is possible to make emacs prelude and cua mode work together. I like the power of emacs-prelude but am really not comfortable with the fact that arrow keys are disabled. On the ...
0
votes
0answers
21 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
33 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
48 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
0answers
17 views

emacs can't create new files (linux)

In bash, I can usually create a new file and open it using $ emacsclient -n -c test123 (assuming an emacs process is already running) However, after the most recent Arch-Linux upgrade it doesn't ...
0
votes
1answer
73 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 ...
0
votes
0answers
55 views

emacs gnus setup for email sending

I setup emacs for receiving my email. my settings like this: (setq gnus-secondary-select-methods '((nnml ""))) (setq mail-sources '((pop :server "pop.163.com" :user "username" ...
0
votes
0answers
34 views

yasnippet and evil mode : how to switch to normal mode without exiting the snippet environment

The problem is when I am in a snippet expansion, I hit escape to switch to normal mode, and the snippet is escaped. How can I make it to behave like this: one escape only switch to evil normal mode, ...
0
votes
1answer
35 views

Launching “emacs -nw” with 256color on a new xfce4-terminal

I have a litle question about launching emacs using this command xfce4-terminal -e "emacs -nw" I'm using TERM=xterm-256color in my .bashrc but it has effect only when i first launch a new ...
0
votes
1answer
29 views

Connect to shared drive from Emacs on Windows 7

I am using emacs-w32.exe, invoked from Cygwin, on a Windows 7 machine. I'm trying to connect to a shared drive that I can otherwise access and write to (e.g., by using the Windows explorer), but I am ...
1
vote
1answer
25 views

Emacs major mode key map definition fails

So, I've tried to write a simple major mode (report-mode) using as an example. I seem to have everything working except that the keymap doesn't actually seem to map. If I do C-h f report-mode I ...
0
votes
0answers
25 views

Emacs AucTeX - Folding natbib Citations

In the Emacs AucTex environment, there exists a fold mode, which allows to hide much of the LaTeX markup to focus on the content. I am using natbib citations, i.e. instead of \cite{key} citations I ...
0
votes
0answers
22 views

conkeror is not opening webpages when I open a link in emacs (it opens the browser to the hompage)

Problem: When I C-c C-o on a link in emacs it opens conkeror ok but only to the homepage, not the link itself. Also, when I open a link in terminal then it does the same thing. Settings: Ubuntu: ...
0
votes
1answer
29 views

How to call a command in Emacs

I want to start the eww browser in Emacs 24.4. I found in documentation that to do this: "To start the web browser, call eww."[1] However, I cannot figure out how to call this command. How do I call ...
0
votes
0answers
18 views

Mapping ALT to Super in emacs

I am running Emacs under linux on a virtual machine in OSX. I am trying to map alt key on the mac keyboard to super, I want this to only apply inside the virtual machine running linux. Is it ...
0
votes
0answers
26 views

how to keep bash buffer in sync between ansi-term line mode and char mode

when switch into term-line-mode, if bash buffer is not clear first, the original text will be left in the front of edited line, I tried to first kill the line in term-char-mode then paste it in ...
0
votes
1answer
30 views

How to use emacs CLI on a Linux server remotely from Windows

I have emacs-nox installed on a CentOS 6.5 server. I had been using PuTTY from Windows to remote into this server. However, I discovered that in emacs, I cannot hit Ctrl+A (somewhat like other ...
0
votes
0answers
79 views

Configuring Emacs tabs to behave like Sublime Text?

I love Emacs, but the only thing that annoys me about it is I can't get the damn tabs right. This is my configuration file: (global-hl-line-mode 1) (setq indent-tabs-mode t) (setq-default ...
1
vote
2answers
53 views

How do I remove the extra bash-3.2$ from shell-mode?

Summary The first line of shell-mode has an extra bash-3.2$ prompt before my custom dotfiles (master)$ prompt. I tried writing PROMPT_COMMAND='' in my ~/.bashrc according to an earlier Stack ...
1
vote
2answers
43 views

Launch interactive shell command as an emacs buffer

I'd like to run a shell command that asks a few interactive questions before proceeding, from within Emacs. The functionality I'm looking for is like xterm -e <command>, only with an Emacs ...
1
vote
1answer
30 views

Emacs: fastest way to achieve this three-window configuration

Starting from a fresh configuration of emacs with a single window, what is the fastest way (i.e. the minimum number of keystrokes) to achieve a window layout with three windows (A, B, and C) as ...
2
votes
1answer
29 views

How to access history of all Emacs commands?

I see that there is a way to access the history of the minibuffer. I was curious if there is a way to see a history of every action in Emacs, besides just the complex ones. My purpose is to save these ...
1
vote
1answer
23 views

What function in Bookmarks+ deals with multiple bookmarks with the same name?

The Title is pretty defining. Repeating here, it reads "What function in Bookmarks+ deals with multiple bookmarks with the same name?" Bookmarks+ is an improvement to bookmark functionality native ...
0
votes
0answers
19 views

yasnippet not expanding my new snippet

I created a snippet with yas-new-snippet, content of the file is : # -*- mode: snippet -*- # name: trace # key: trace # binding: C-c t # expand-env: ((some-var some-value)) # type: command # -- Hello ...
1
vote
1answer
38 views

how to set a kill string length criterion for storing in kill ring

Is there a way to tell emacs ignore kill that are less than 4 characters long? It is quite annoying to have a lot of single character kills in evil mode. Thank you!
0
votes
2answers
52 views

Can I get Emacs to save a local copy when editing a remote file?

I know I can edit a remote file over SSH by opening a file path of the form /ssh:user@host:/path/to/file. However, right now I'm working on a kernel module in a Linux VM. Since my kernel module might ...
0
votes
0answers
41 views

Creating new headlines through capture and file+olp

I am trying to set up my journal file to use capture and a reformatted datetree (I do not like the style of the typical file+datetree). However, I can't get org-mode to make the headlines if they are ...
0
votes
1answer
71 views

Resize terminal Emacs window to fit when resuming a Screen session from larger display in Ubuntu

Whenever I start a GNU screen session running GNU emacs (nw, so in terminal) on my desktop with a large monitor, then resume it on my laptop, emacs still thinks it's on a large monitor. This means as ...
0
votes
1answer
46 views

AUCTeX installation failure “Error occurred processing /usr/share/emacs24/site-lisp/debian-startup.el”

I started to work with Debian Testing on a new Lenovo Thinkpad X1 Carbon (3rd gen.). I installed Emacs and AUCTeX the 'usual way': sudo apt-get install emacs24 auctex. My .emacs contains (for many ...
0
votes
1answer
90 views

How do I Configure 'org-latex-classes in .emacs?

I use emacs org-mode for keeping track of notes and todos. Sometimes I wish to export notes as a latex file, using the official company style. To get the correct heading styles I run the following ...
0
votes
1answer
5 views

Why do I get a timeout from XEmacs gnuclient on LAN?

I have a running XEmacs (and gnuserv) on host A. I start gnuclient from bash on host B but get a timeout (end of strace output see below). Both hosts are in the file pointed to by $GNU_SECURE_FILE. ...
0
votes
1answer
80 views

How to enable tab complete only in term-line-mode

I have company-mode installed. When I press tab in term-mode, it always calls company-complete. I tried to disable company-mode with (global-company-mode '(not (equal major-mode 'term-mode))) Also ...
0
votes
0answers
19 views

Open file with emacs as administrator on windows

Is it possible to open files as administrator from inside emacs on windows, like one can do on linux with tramp syntax (/sudo::/path/to/file)? What is the syntax for this?
1
vote
2answers
111 views

How can I close all buffers in Emacs?

I often leave Emacs (actually Aquamacs) open and wind up with a lot of buffers cluttering up my auto-complete. I would like to be able to close them all and start fresh. Right now I quit and reopen ...