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

1
vote
1answer
22 views

How can I have an 'truly' interactive command in emacs?

How would I implement a bare bones function that 're-evaluates' with every key-press? I mean key-press loosely; I'm looking to emulate the behavior of isearch and friends. I would be using this to ...
0
votes
0answers
8 views

emacs ispell can't handle m-dash

When I try to spellcheck in emacs (using M-x ispell) on a file with an m-dash separating words without a space, I receive the following error: ispell-process-line: Ispell ...
1
vote
0answers
13 views

Change encoding of a text file in Emacs?

Emacs shows in a text file: Given a finite alphabet \246\262, (empty set) \2016\3221 denoting the set \2016\3221. But it should show Given a finite alphabet Σ, (empty set) ∅ denoting the set ...
1
vote
1answer
24 views

Org mode capture

I'm trying to make a 'class' template for org-capture. What I want is to easily make this kind of entry: * TODO <course>: Week <week> Lecture <number> SCHEDULED: %^T ** TODO ...
2
votes
1answer
15 views

Emacs theme uses different colours in terminal

I made a theme for Emacs 24, using deftheme, based off something I generated with 4bit, with a theme structure loosely based on the built-in tango theme. In the screenshot below, you can see emacs ...
0
votes
0answers
10 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
0answers
19 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 ...
1
vote
1answer
44 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> ...
2
votes
0answers
35 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, ...
1
vote
1answer
19 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 ...
0
votes
0answers
18 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 ...
0
votes
1answer
20 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
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
21 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 ...
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
0answers
11 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 ...
0
votes
1answer
28 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 ...
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 ...
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 ...
0
votes
0answers
16 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
0answers
34 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 ...
2
votes
1answer
57 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
0answers
21 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
14 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 ...
0
votes
0answers
22 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
31 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
1answer
28 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
46 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?
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
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 ...
1
vote
1answer
22 views

how to find out what command correspond to each menu item in emacs?

For example, in this screenshot, I would like to find out what command is called by clicking on Python->Execute statement.
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 ...
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 ...
1
vote
2answers
46 views

Emacs compilation-mode to always use visual-line-mode

I'm attempting to have emacs compilation-mode always use visual-line-mode. The code I'm using is: (add-hook 'compilation-mode-hook (visual-line-mode)) I've tried various other permutations. Such as ...
0
votes
1answer
66 views

Color numbers differently in emacs

I want to color numbers differently from the text characters in emacs for any mode that emacs is in. How do I modify the .emacs file for this purpose? I would like my numbers to always show up in ...
0
votes
0answers
36 views

RSS feeds in org-mode (no subheadings for new entries)

I'm having trouble setting up an RSS feed in org-mode. I'm using org-feed.el (http://orgmode.org/worg/org-contrib/org-feed.html) and have set up my feed (from Pinboard) in org-feed-alist. I have no ...
3
votes
2answers
48 views

Is Emacs' Easy Customize something I should avoid? [closed]

I've come across people saying they avoid or dislike customize. I haven't formed an opinion yet. I'd be very interested in reading about the pros and cons of using or not using Emacs' Easy ...
1
vote
0answers
14 views

Setting up Emacs and SLIME to work with Kawa

According to this site here, it is possible to have SLIME work with Kawa Scheme. However, I cannot find any instructions anywhere on precisely how to do this. Even on this site, the link goes to an ...
1
vote
0answers
53 views

Edit text file contain unknown format

I have a text file when I open it with gedit warn me: and when I open with emacs: I have another file with this character and I want to remove this character from that file with a bash script.
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 | | ...
0
votes
0answers
7 views

Why does emacs display some escape codes in shell mode?

When I use emacs in shell mode, I see some (but not all) escape codes. Example: ~ >python python Python 2.7.6 (default, Nov 11 2013, 16:16:15) [GCC 4.4.7 20120313 (Red Hat 4.4.7-3)] on linux2 ...
1
vote
0answers
26 views

Gnu Emacs on Windows 7 very slow when VPN connection is used

I'm using Gnu emasc 24.3 on Windows 7 and normally I don't have any problems with speed/responsiveness. I'm launching Emacs with the runemacs.exe However, when I am travelling and try to connect to ...
0
votes
2answers
40 views

Emacs spellcheck tool for comments in c/c++ code

I am using emacs as my text editor for c/c++ code. Is there any tool which spell check comments for me? Thank you.
1
vote
1answer
19 views

emacs: C major mode: how to get Tab key to insert tab (\t) always?

How to set Emacs to use \t for tabs, when C major-mode is active, and cursor is at any position - including line beginnings?
0
votes
1answer
28 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
30 views

Multiply two vectors in Calc element-wise

2: [0.5, 0.25, 0.125, 0.125] 1: [1, 2, 3, 4] Suppose, this is how the stack looks like, what I'd like to be the result of multiplication: [1 * 0.5, 2 * 0.25, 3 * 0.125, 4 * 0.125] Instead, Calc ...
0
votes
0answers
24 views

Emacs incremental search - blinking cursor

I am trying to move from vim to emacs. I am using emacsformacosx build. I have noticed that when I try to do an incremental search in emacs (C-s), the cursor in the search field blinks as I type each ...
1
vote
1answer
43 views

Emacs maximized but leaves few pixels in Awesome WM

I love emacs and Awesome WM. But dont know why, but when I maximize the emacs, it always leaves few pixels in Awesome WM. I've tried font_size_honor=false for emacs class in rc.lua but it just does ...
1
vote
1answer
26 views

How to change string literals in Emacs (from a VIM user)

Assume that the cursor is at the top of the following file: <?xml version="1.0" encoding="utf-8"?> <resources> <string name="app_name">Hello World</string> ...