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
72 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
62 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
36 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
31 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
73 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
54 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
18 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
82 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
54 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
27 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 ...
1
vote
1answer
45 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
97 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
30 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
197 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
33 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
46 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
94 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
74 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
180 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
76 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
49 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
45 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
26 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
65 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
58 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
75 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
82 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
69 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
58 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
57 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
57 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
42 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
0answers
70 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
47 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
28 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
32 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
48 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
25 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
128 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
34 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> ...
1
vote
0answers
41 views

How can I make emacs ignore bell when recording macros?

Currently, emacs will halt the recording of a macro when the bell rings. This is extremely useful for things like halting when C-s fails to get a new match. However, when I'm recording a macro, and ...
0
votes
0answers
7 views

I downloaded a different version of Octave and new it will not work inside emacs

I downloaded a different version of GNU Octave and now it will not work inside emacs. To run it in a typical terminal window, I can just execute octave3.8. I believe the solution would be as simple as ...
1
vote
3answers
143 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 ...
2
votes
0answers
24 views

Emacs DocumentView: how to see PDF contents page?

Basically what the title says - if I open a PDF using Emacs' DocumentView, how can I bring up the PDF's contents page? Also, how would I 'jump' to a particular page in the PDF (from the contents page ...
0
votes
1answer
89 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 ...
0
votes
1answer
137 views

Emacs rmail and gmail (IMAP) and google contacts

It's been a few years since somebody asked http://stackoverflow.com/questions/66132 So, I'll ask it again. Despite several google searches and having a look at the rmail website and the Emacs ...
0
votes
0answers
32 views

Apply and display subtask schedulings/deadlines in org-mode checklists

Org-mode has a nice way to track task completion with nested checklist items: - [-] job 1 - [X] task 1 - [ ] task 2 I often need to do something like this, though: * big job - [-] job 1 - ...
0
votes
0answers
19 views

replace shift > generated tab with spaces in emacs win32

I am using emacs win32 on cygwin. and I encountered this commonly seen 'replace tab with space ' issue on emacs. but slightly different. I have configured like this: (setq tab-width 4) (setq ...
0
votes
0answers
54 views

S5 controls and formatting seem to be messed up in org-mode 8 exported presentations

The new org-mode exporter uses ox-s5.el, which still has no documentation up at the Emacs Wiki. On the other hand, there is HELP link that appears in exported org files: Unfortunately, none of ...
1
vote
1answer
64 views

Emacs — how to press C-d in Eshell to exit cat file creation

How do I use the Control key while using Eshell to send that command to the remote server -- e.g., when creating a cat file and I need to press Control+d to save and exit, or when using Nano edit and ...