Emacs is a powerful text editor with an embedded Lisp environment, which allows for great extensibility. Emacs is a lisp environment with many features that also make it a powerful text editor.

learn more… | top users | synonyms

2
votes
1answer
268 views

Trouble understanding endianess

Let's say I open a tiff file in emacs and see the following in hexl-mode: 0x08000400 and I know the file is little endian. Does that mean the number is actually 262152 in decimal, or 0x00040008 ...
0
votes
0answers
9 views

How can I trick nxml-mode into accepting <<…>> as comment syntax?

I'm using org-babel to create an XSL template and would like to use the tangling capabilities. Since as far as I'm aware <<…>> isn't valid XML anyway, I would like to add it as comment ...
0
votes
1answer
27 views

How can I fold arbitrary tags with nxml-mode?

I would like to fold <type> <xsl:attribute name="multiplicity"> <xsl:choose> <xsl:when test="collection = true">*</xsl:when> ...
0
votes
0answers
12 views

How can I customize the background color for the active window in emacs?

Related: How can I change the background colour of a single emacs buffer? I would like to change the background color of the active buffer to, say, white. This sort of thing is possible as ...
2
votes
0answers
29 views

LC_LOCALE settings interactions between Mac OSX and LINUX via SSH

I have been struggling with the following problem for years now. I have never been able to solve it, and I adopted several workarounds to keep being able to work. However now I can't stand it anymore, ...
5
votes
2answers
275 views

Edit any text input shown by a browser (mostly Chrome) with Emacs

Goal: to edit any text input (mostly text areas, but also single line inputs) shown by web browsers with an external editor, in my case, Emacs. Achieve a high level of comfort. Whenever I'm browsing ...
3
votes
2answers
352 views

How to open a file from bash command line in the already open Emacs instead of a new instance?

How to open a file from bash command line in the already open Emacs instead of a new instance? When I type $ emacs file.txt it opens a new Emacs instance, instead of opening the file in the ...
3
votes
3answers
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 ...
1
vote
1answer
16 views

Emacs (setq ns-pop-up-frames nil) not working

I'm using Emacs 24.3.1 under Ubuntu 13.10 I need Emacs to open all new files in the the same window. According to EmacsWiki: One Window, I added (setq pop-up-windows nil) To my configuration ...
1
vote
1answer
20 views

Unexpected result from face-font-rescale-alist in emacs

I am trying to modify the default size of a font using (add-to-list 'face-font-rescale-alist (cons "^.*STIXGeneral.*$" 0.95) t) This is supposed to rescale all fonts with name STIXGeneral by 0.95, ...
0
votes
1answer
18 views

Getting Emacs to open webpages in Iceweasel

I'm trying to get Emacs to open webpages in Iceweasel. Following the instructions given here, I've had Custom add the following lines to my .emacs: '(browse-url-browser-function (quote ...
0
votes
0answers
16 views

Emacs evil-mode paste encoding

I'm using evil-mode with Emacs. When pasting text with the "+p command (paste from + register) i see sequences of \342\200\231 in text instead of the apostrophe (') character. The clipboard-yank ...
3
votes
1answer
1k views

Easy way to swap characters in command line with emacs key bindings?

If I'm in vi, and I see that I've transposed two characters, it is easily fixed by putting the cursor over the first and typing x followed by p in command mode. Is there a similar trick that works at ...
0
votes
1answer
21 views

Emacs: dolist doesn't work with dot

I'm new to Emacs. I intend to use sh-mode for a few for file name patterns, so I added the following lines to ~/.emacs.d/init.el: (dolist (pattern '("\\.zsh$" "\\.?zshrc$" ...
1
vote
1answer
19 views

Emacs: make debug-on-error catch errors

When I open an empty haskell file, which activates haskell-mode, I get the message user-error: No items suitable for an index found in this buffer If I do the same thing, but call ...
0
votes
0answers
10 views

Emacs Org mode don't replace Org extension with HTML

I'm using Org 8.2.2. I'm trying to export Org document to HTML such that it preserves ".org" extension in links. I've found two ways that work, but none is satisfactory: I can customize ...
7
votes
1answer
401 views

How to enable automatic LaTeX math preview in org-mode/Emacs?

I am using org-mode 8.0, Emacs 24.3, Auctex 11.87, in Windows. I was able to use LaTeX preview functions in org-mode files by pressing Ctrl + X, Ctrl + C, Ctrl + L. However, I think it would be more ...
2
votes
1answer
55 views

Getting Flycheck to include the gtk stuff

I'm using Flycheck on my Emacs, and I'm starting to learn GTK. However, Flycheck obviously isn't aware of this stuff, and gives me errors on those #includes. I've tried manually including each of the ...
0
votes
1answer
25 views

Is it possible to change font size differently according to language in Emacs?

I'm looking forward to a way to change font size in Emacs. I can change easily "all" font size like this: (set-face-attribute 'default nil :family "Consolas" :height 110) But I want to change font ...
3
votes
2answers
204 views

How to open an Emacs bookmark in a new frame?

In Emacs I can do C-x 5 C-f or C-x 5 f to find a file in a new frame. I want to do something similar but for bookmarks. How can I jump to a bookmark in a new frame?
0
votes
1answer
35 views

How do I find out where emacs 24 (OSX) puts my aspell corrections?

I would like to see if it's possible to back them up into github with the rest of my dotfiles. I searched the config options, but am only seeing the default dictionaries used. I'd like to know where ...
3
votes
3answers
1k views

How to insert tab character in `Text` mode?

I have tried to parse my language_data.txt, which is edited by emacs. The different column is seperated by "\tab". But when I read the file, it is found that the tab characters has been replaced by ...
0
votes
0answers
15 views

Highlighting all compilation errors in emacs

Is there a good way to highlight all compilation errors in emacs, specifically in haskell-mode? The function next-error (C-x `) highlights only a single error, but it doesn't set match-data to the ...
0
votes
1answer
26 views

Unexpected display of return value of point in emacs

If I go to the end of my .emacs file, and execute (point) with M-:, I get the following message: 37018 (#o110232, #x909a, ?邚) Why does emacs feel the need to tell me what unicode character ...
7
votes
1answer
198 views

How to group bookmarks in Emacs?

I would like to group my bookmarks like buffers with ibuffer or newsgroups with gnus by certain criterias like projects for example. I also tried Bookmark+ but couldn't get anything like this working. ...
4
votes
1answer
77 views

Emacs --no-window-system menu

I've noticed that once $ emacs -nw is called, the usual emacs menu appears on the upper part of the terminal. QUESTION How does one use that menu?
0
votes
0answers
33 views

Inconsistent emacs font height for unicode mathematical symbols

When inserting uncommon mathematical unicode symbols (normally through font-lock-add-keywords), I experience this issue that when my default font does not have a particular character, another font ...
0
votes
0answers
14 views

Use control-nonletter with Emacs in xterm

I mostly use Emacs in a window (I mean a normal GUI window, I guess this is what Emacs would calls a "frame" for which display-graphic-p returns t) but ocasionally use it in inside a terminal ...
5
votes
4answers
719 views

emacs 24.3 on Windows 7 does not close properly

I'm running Emacs 24.3 on a Windows 7 machine. No matter how I close the editor, whether Ctrl+X, Ctrl+C, or the menu, Emacs always crashes and I get the error “GNU Emacs: The extensible ...
0
votes
0answers
20 views

Flycheck not doing on-the-fly checking in Emacs anymore

I use Flycheck in Emacs24, and so far, I haven't had any problems with it. However, recently, it decided to stop doing 'on-the-fly' checking of my files, and no longer shows warnings as I type and/or ...
1
vote
0answers
12 views

Emacs Gnus email decrypt smime without openssl

I use gnus for my email. Every once in a while, I receive an encrypted email; when I answer "yes" to Gnus offer to decrypt it, it responds smime-verify-region: No CA configured. Now, my workplace ...
8
votes
4answers
3k views

How do I re-open a file in emacs?

In older emacs versions I used to type: C-x C-f RET And it would re-open the file currently visited in the buffer. Now (emacs 23.1.1) it opens Dired of the directory.
1
vote
3answers
910 views

On Mac, how to open a file from command line and have it shown in an existing Emacs window?

How to open a file from command line and have it shown in one of the existing windows in the existing frame, otherwise in a new window in a new frame? The default behavior is it is opened in a new ...
1
vote
1answer
25 views

Configuring Proof general for Coq in emacs

I installed Coq in my system from the default installer. Then I added proof general to my existing emacs. But the problem is when I try to run a command in emacs I find the following from emacs, ...
0
votes
1answer
148 views

How to open .tsv file automatically by emacsclient when it's downloaded from Chrome?

On Mac OS X, with Google Chrome, how to open .tsv file automatically by emacsclient, i.e. opening it in the existing Emacs session if there is one, when the .tsv file is downloaded by Google Chrome? ...
1
vote
1answer
45 views

emacs: kill-line doesn't append to kill ring

I've noticed that the behavior of kill-region and yank in my emacs setup seems to have changed. If I highlight a region and kill-region (or even just kill-line) and then yank it, I get some older ...
0
votes
0answers
19 views

PuTTY - No valid incoming packet found

I was getting a "Incoming packet was garbled on decryption" error while trying to save a remote file through emacs (tramp) + pageant + putty I followed advice to 'Share SSH Connections if Possible', ...
0
votes
1answer
29 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 ...
1
vote
2answers
40 views

Emacs startup, how to spawn windows and buffers

I switched from sublime to emacs and I love it. Org mode is a must-have for me and I would like to customize my emacs startup with it. I usually work like this : ______________ | | B | | ...
1
vote
1answer
40 views

How to change the delays between key presses in Emacs cua-mode

I'm editing a Python file buffer in python-mode, and I want to quickly evaluate a region, so I select the region and press C-c C-r. Since I enabled cua-mode, that turns out to be a command that 1) ...
0
votes
2answers
98 views

How can I eliminate prompts and dialog boxes in Emacs and enable auto-saving?

I never want to answer a prompt that asks me to save changes. Whenever I close Emacs, I'm bombarded with dialog boxes and prompts. How can I avoid them and make Emacs automatically save all unsaved ...
25
votes
6answers
23k 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
3answers
36 views

Version control (hg): can one directory be “synced” with different repositories?

I have a directory for my work files which is under version control (Mercurial): ~/myfiles In a subpath, I have a directory with Emacs packages for my org-mode setup: ~/myfiles/org-mode As I said, ...
0
votes
1answer
43 views

How many keyboard shortcuts are in Emacs? [closed]

How many keyboard shortcuts are in Emacs? I was looking at XKCD Comic 378: So I'm wondering, how many keyboard shortcuts actually are there? How much of an exaggeration is this comic?
7
votes
3answers
1k views

Cross platform, gmail compatible email client for Emacs

I spend alot of my time in Emacs, and move between Windows, Linux, and Mac OS at least once a day since these are the machines my company has available to use. I spend alot of time in gmail using ...
1
vote
1answer
47 views

Emacs / Wanderlust / OSX — Any ideas what could cause Emacs to acquire focus when using Wanderlust?

I'm using Wanderlust with Emacs on OSX 10.6.8 (Snow Leopard) and frequently switch to a different application while Wanderlust is prefetching e-mails and organizing the summary buffers. At several ...
0
votes
1answer
29 views

In org-mode, is there a way to show the number of undone todo items in a subtree when collapsed?

For example, suppose I have this document: * category 1 ** TODO item 1.1 ** not a todo item ** DONE a done todo item ** TODO item 1.4 * category 2 ** not a todo item ** not a todo item * category 3 ...
0
votes
1answer
27 views

emacs and pasting from clipboard gives this “don\u2019t know”

How can I stop this happening please, when I import text from the debian clipboard into emacs like this source text Remember, most breast lumps are not cancerous, but you don’t know if you don’t ask. ...
1
vote
1answer
26 views

Is there a way to specify minimum minibuffer/echo area size in emacs?

I am running Emacs 24, and due to a separate issue, my input method (uim-el) displays input candidates in the minibuffer regardless of how I set its options. That would not be such a problem if the ...
7
votes
3answers
2k views

How to insert a new line and jump to it, in emacs?

It's exactly the same as eclipse Shift+Enter. E.g. I have a some text: Hello, *everyone. I'm Freewind. The * in the first line is the cursor. Then I press some key shortcut, it becomes: Hello, ...