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
3answers
40 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
34 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
23 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
33 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
48 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
49 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
70 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
46 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
49 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
23 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
41 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
37 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
42 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
20 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
29 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
35 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
53 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
27 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> ...
0
votes
0answers
31 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
5 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
56 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
21 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
56 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
67 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
27 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
13 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
33 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 ...
0
votes
1answer
32 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 ...
3
votes
1answer
75 views

Specify the shell variant in Emacs local variables for the file

How can I specify the shell variant for a file in that file's Emacs local variables, when the file is not a standalone program? Emacs allows me to specify that a shell include file should be opened ...
0
votes
1answer
33 views

Reload minor mode in .dir-locals.el

In .dir-locals.el, I can only set variables to values, I can't call functions. However, after the following code is executed, I need to disable and then re-enable whitespace-mode: ((nil . ...
1
vote
1answer
37 views

Can I fix the width of a column in an org-mode table?

As a graduate student, I use org-mode to keep track of articles for a lit review. I love tables for their organization, but by default org-mode spreads out tables to fit the content of its fields. How ...
0
votes
1answer
102 views

Loading speedbar on emacs startup

I use emacs 23.3.1 on ubuntu 12.04. I installed speedbar on it. The emacs init file looks like this : ;;; Emacs Load Path (setq load-path (cons "~/emacs-config" load-path)) ;; speedbar in the ...
0
votes
1answer
31 views

Don't show tabs in Emacs whitespace mode

Normally, I use spaces for indentation, but for a specific project I'm working on the convention is tabs for indentation. So I've made a .dir-locals.el file that looks like this: ((nil . ...
0
votes
1answer
46 views

Where should I install Emacs on Windows 7 as a standard account without admin priviliges for LaTeX pdf output?

I've been able to get Emacs running by putting it in the /Temp directory, but I'd like to be able to export my Org files to Latex pdfs, and I haven't been able to work that out yet, (I don't have ...
0
votes
0answers
45 views

Emacs evil-mode yank and paste entire lines

In Vim I can do this: Example text (cursor is on the semicolon): void test(){ corner[0]=23; } In Vim, the command ddP... results in the following change (cursor ends up on the first c): void ...
0
votes
0answers
23 views

org-mode 8 async export process fails

The new org-mode exporter has an asynchronous mode which seems pretty cool. However, I can't seem to make it work: Initializing asynchronous export process Process 'org-export-process' exited ...
0
votes
1answer
31 views

Compiling pdfs from LaTeX in emacs

I'm using auctex in Emacs, and call C-c C-c. This compiles me a DVI, which looks great, and is exactly right, and also a PDF which... doesn't - it essentially has none of my text or formatting, and is ...
0
votes
1answer
114 views

yas-snippet-dirs is not a directory

I've just installed yasnippet, and added the following to my .emacs: (add-to-list 'load-path "~/.emacs.d/plugins/yasnippet") (require 'yasnippet) (yas-global-mode 1) However, on startup, ...
0
votes
1answer
34 views

Cannot run auctex on emacs

I installed auctex via M-x package-install. I then added this line to my .emacs file: (require 'auctex). However, upon startup, Emacs complains that error: Required feature `auctex' was not provided. ...
0
votes
1answer
34 views

how to cd to pwd of emacsclient when exiting

Can someone provide a hook to change directory into the current directory of emacsclient when exiting emacsclient? I often navigate to some files via terminal, pop open emacsclient to edit some ...
2
votes
0answers
17 views

wrap for unspaced languages in emacs

Emacs has a nice wrapping mode called visual-line-mode that is pretty good at sensibly wrapping text. However, it depends almost completely on spaces, which causes the below failure in unspaced ...
1
vote
1answer
29 views

How to define variable in .emacs file?

It is my .emacs file: (setq load-path (cons "/usr/local/Cellar/erlang/R16B02/lib/erlang/lib/tools-2.6.12/emacs" load-path)) (setq erlang-root-dir "/usr/local/Cellar/erlang/R16B") ...
3
votes
0answers
39 views

Hang on jabber-connect in emacs

I use jabber.el to connect to my work chat server from within emacs. This was working until recently, but now when I run jabber-connect it hangs after prompting for my JID. Emacs locks up until I ...
1
vote
1answer
46 views

How to stop ido-find-file from looking at my file's contents?

I use ido-find-file in emacs (through the "emacs starter kit"). There is one drawback I've found, namely that it uses the location in the file I'm currently editing as an extra hint. In some cases, ...
1
vote
1answer
29 views

Going back to previous location after following link (org-open-at-point)?

Is there an Emacs function to go back to previous location after I follow an Org link? I usually use bc-set from the breadcrumb.el package, but I'd prefer something builtin from org-mode.
0
votes
1answer
46 views

Gnus auth with username being prepended to domain

I'm trying to solve the problem of Gnus asking you to type a username which it then prepends to the IMAP domain, i.e. preventing Gnus from making username typed at prompt foo@bar.com into ...
1
vote
1answer
26 views

ispell in emacs exits with error code 2 after upgrading emacs

I recently upgraded my emacs to version 24.3.1 on ubuntu (I had a lower 24 version before). I first purged the old version and the installed the current version to get a clean update. Since, then ...
0
votes
1answer
79 views

How do I send Ctrl-; in iterm2?

How can I send Ctrl+; in iterm2 (emacs)? There seems to be a solution here, here and here These are close to what I want, but I am still unable to make it work.