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
6 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 ...
1
vote
3answers
103 views

How to select and kill column in Emacs

I want to select a column in emacs and remove it. For example, here I want to remove the word test. This is a test text... This is a test text... This is a test text... In Visual Studio, or ...
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 ...
2
votes
2answers
554 views

Is it possible to get ESC to behave as an actual escape key?

So I have finally switched to Emacs, not so much because I'm yet convinced it is in itself the better editor but because it certainly does have more powerful extensions. I am still using vim-mode ...
1
vote
1answer
21 views

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

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 ...
1
vote
2answers
40 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 ...
1
vote
1answer
16 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 ...
0
votes
0answers
40 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
36 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 ...
2
votes
1answer
23 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
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
39 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 > ...
3
votes
2answers
151 views

How can I get emacs 24.* under windows to autocomplete paths in shell buffers using “\” instead of “/”?

See How can I get emacs under windows to autocomplete paths in shell buffers using "\" instead of "/"? I use emacs on windows 7, when calling M-x shell, emacs opens a DOS-Shell. ...
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
26 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
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") ...
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 ...
3
votes
4answers
2k views

How to copy and paste between cygwin's vi/emacs and windows clipboard?

I tried to paste what I copied in windows clipboard into cygwin's vi or emacs, and it doesn't seem to work with yy (vi) or M-w (emacs). Is there a way to do it? I learned that /etc/clipboard has the ...
0
votes
2answers
129 views

Emacs showing grey background where there are no characters

Since a couple of days, my Emacs is showing a light grey background on the parts of the window that are not covered by characters (see screenshot). Text appears normally black on white (as per ...
0
votes
1answer
44 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
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 ...
1
vote
2answers
144 views

How can I have Emacs window(s) and cygwin shell running simultaneously on Windows?

I have Cygwin working with Emacs 24.3.1 on windows 8.1 with Emacs downloaded from the Cygwin installation, however I can't use Emacs and the Cygwin shell at the same time or open up multiple Emacs ...
1
vote
5answers
281 views

Emacs not loading init file when run as sudo

Emacs loads my .emacs.d/init.el startup file just fine when run as a regular user, but refuses to load it when run as sudo emacs file.type. I have tried changing the owner of .emacs.d to root with no ...
4
votes
3answers
518 views

Emacs - Disable Some Minibuffer Messages

In Emacs, there are some cases where I would like to prevent messages from appearing in the minibuffer, mainly pertaining to "Beginning/End of buffer" and "Text is read-only". Is there any way I can ...
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 ...
7
votes
2answers
1k views

How can I show vertical indentations markers with Emacs?

I'm looking for an Emacs package or configuration that makes it possible to mark indentations with vertical lines, like those shown in the following screenshot of Sublime Text:
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
2answers
160 views

Is there a quick way to indent tags in org-mode?

Org-mode seems to put tags assigned by C-c C-q a fixed number of tab stops after the headline. However, with editing, tag addition, and increased headline length, the tag display can get really ragged ...
8
votes
4answers
3k views

Don't change the cursor position when scrolling in Emacs

Is there a way to stop Emacs from automatically moving my text-cursor position (aka, point) while I'm scrolling? I keep losing my location and marks with this annoying behavior. I tested the ...
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 ...
2
votes
2answers
226 views

How can I add a shortcut of App to Spotlight database?

I want to use nightly builds of Emacs in OSX so I've done like this. $ brew install emacs --cocoa --use-git-head --HEAD $ mv /Applications/Emacs.app /Applications/Emacs.app.stable $ ln -s ...
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" ...
1
vote
1answer
98 views

switching from emacs to Preview of the compiled latex document, resets its display to page 1

I just upgraded to Yosemite but had to reinstall various pieces and this is what happens. I edit my latex document using emacs, and preview its pdf using Preview (auctex is installed, and I compile ...
36
votes
8answers
32k views

Can I create a link to a specific email message in Outlook?

I use Outlook as my email client at work, but I don't want to use it to manage my tasks and todos. (Instead I use plain text files and Emacs org-mode.) Since many todo items start out as mails in my ...
2
votes
1answer
86 views

Emacs Melpa and Marmalade

Does it make sense to include both Melpa and Marmalade package repositories with emacs HEAD. And if so, what is the best way to ensure that one is using the latest and/or correct package, when many ...
4
votes
1answer
73 views

Emacs - move cursor back after mark-whole-buffer & indent-region

I'm Emacs newbie and for automatic re-formating of my source codes in Emacs I've created simple macro using mark-whole-buffer and indent-region commands, mapped to C-j shortcut: (fset ...
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
0answers
33 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, ...
11
votes
4answers
6k views

How to awake emacs gui after pressing ctrl+z

I'm using emacs gui in Gnome. After pressing ctrl+z, emacs window is minimized. However, if I bring the window to front, it doesn't respond any key press and mouse event. I searched the web only found ...
5
votes
1answer
697 views

Enabling Italics, Underline on Emacs, Xterm and Putty

I'm using a Ubuntu (11.04 Server Edition) virtual machine as my development environment. It doesn't have a desktop environment since I don't think its necessary and I want to keep it lightweight. I'm ...
0
votes
1answer
34 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 ...
21
votes
3answers
5k views

emacs does not open a file from argument and syntax highlight does not work

In my latest ubuntu box, When I type for example emacs ~/.bashrc, Emacs will start but not open .bashrc. This is true for any file I pass in. I've used Emacs for several years, and have never ...
6
votes
3answers
2k views

How to make emacs accept UTF-8 from the keyboard

My friends have persuaded me to "try again" (about the 5th time in about 12 years) with emacs. I'm currently suffering a little, and need help with emacs + utf-8. I'm running the 23.3.1 emacs gui on ...
11
votes
4answers
2k views

emacs: How to return to last position after scroll/page up/down?

After issuing scroll-up or scroll-down in emacs, is there a quick way to return the point to its previous position (assuming I didn't remember to add it to the mark ring)? Alternatively is there any ...
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 ...
2
votes
3answers
106 views

Notepad++/other editors: How to view same file in multiple columns with auto scrolling?

Is there any editor that allows me to have two columns, where the second column picks up after the last line of the first column? I don't mean cloning like in Notepad++ where I have two open copies of ...