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
35 views

Safely reload files which are changed on disc

I often perform the following workflow: Save file I am working on Do 'svn update', which pulls update from server and merges in my changes Go back into emacs At this point emacs tells me the file ...
2
votes
0answers
34 views

Is it possible to clock in and out of multiple tasks in org-mode?

I get errors if I try to clock into multiple tasks in org-mode. There don't seem to be any references to this use case in the documentation. Can I multi-task? What breaks if I do? Bonus: is it ...
0
votes
0answers
40 views

Emacs Control Lock and Meta Lock improvement

I sometimes enable the OS X sticky key feature so that I can type key sequences rather then key cords. However this also makes Shift sticky which I find annoying. I did however stumble upon one ...
4
votes
1answer
195 views

Emacs key for Home & End

I'm running Emacs in urxvt with zsh as shell: ~ % echo $TERM && echo $SHELL rxvt-256color /bin/zsh ~ % My current problem is that I can't get Home key & End key working properly in ...
1
vote
1answer
61 views

How can I use a particular emacs style?

How can I use this emacs style in my emacs? And how can I format all my existing code using this style?
1
vote
2answers
59 views

Faster navigation or switch between browser tabs

Is that such a plugin for chrome or other webbroswer that supports tab navigation by typing tab names? My browser constantly has a lot of open tabs. It makes tab switching really difficult. I have to ...
0
votes
1answer
54 views

Emacs xkcd and json installation failure

Recently, someone made an xkcd package available in emacs so that you can view xkcd from emacs. I tried to install it and got the following error: Need JSON 1.4, but only 1.2 is available I tried ...
0
votes
1answer
22 views

How to hide Info Mode Header Line in Emacs ?

I am trying to read some info manuals in Emacs , and there is Prev Next Up showing up all the time . Does anyone know how to remove it ? I tried a few things mentioned in this link , but it doesn't ...
0
votes
1answer
106 views

How can I get the frame title from Emacs into the window bar of ConEmu?

I'm using ConEmu to run emacs (text-based) in a tab. I'd like to have the frame title appear in the Window Title Bar much in the same way my PowerShell prompt does. Has anyone gotten this to work? ...
0
votes
0answers
55 views

emacs tramp working with gnome-keyring-daemon

Right now I have gnome-keyring-daemon set to start at login. If I run emacs -q and then open a file on a server using M-x find-file and then enter a file on a remote server such as ...
1
vote
1answer
41 views

Emacs — converting output of the one-line (M-x calculator) to money

Does the Emacs one-line calculator (M-x calculator) have a built-in way to convert the result to money -- e.g., convert 3335856.7 to 3,335,856.70 ? Before writing my own modifications using the code ...
2
votes
1answer
252 views

bash vi mode: What does # -*- mode: ruby -*- # vi: set ft=ruby : mean?

I'm looking through some random code, and at the top of it, it says this: # -*- mode: ruby -*- # vi: set ft=ruby : What does this mean? I know it's a simple question, but I couldn't find it out ...
1
vote
3answers
167 views

“SMTP protocol error” when sending mail in emacs

I'm trying to configure emacs to send mail through an SMTP server, but so far, I've not been successful. Here's the output I'm getting: 220 __SMTP.SERVER__ ESMTP Sendmail ...
0
votes
0answers
96 views

Emacs :: org-goto support with Evil?

The great org-mode has a fast way to jump between headings in an org file; M-x org-goto or C-c C-j. This doesn't work with evil mode that well. If I am on evil normal mode in an org file, C-c C-j ...
3
votes
2answers
272 views

Emacs does not redraw properly inside VirtualBox

I am running Emacs inside a virtual machine, and are experiencing redrawing problems when scrolling or adding/removing lines of text. It seems only a small portion of the window is being redrawn, ...
2
votes
0answers
26 views

How do I add a `\label` to a figure in an Org-Mode file that I'm going to export via LaTeX?

How do I add a \label to a figure in an Org-Mode file that I'm going to export via LaTeX? example.org: #+CAPTION: This is the caption #+NAME: fig:org_label [[./figure.png]] This is a link to the ...
2
votes
2answers
93 views

Emacs dired buffer reuse when moving to previous directory

I am following this wiki suggestion to set up Emacs so that, i can move forward and backwards in dired mode without creating new buffers. Using the a key together with the (put ...
0
votes
1answer
40 views

Remove all traces of emacs and start over

I've been trying to install PolyML in Emacs on my Mac in OSX but I can't get that or SML-mode to work. I've tried the builtin emacs, the gui version and the one from homebrew. Neither poly or sml ...
1
vote
2answers
222 views

How to load emacs org-mode settings during startup?

I'm trying to use a custom setup for org-mode 8.2 on Windows 7, but it does not work as expected. My ´Emacs`version: GNU Emacs 24.2.1 (i386-mingw-nt6.1.7601) of 2012-08-29 on MARVIN What I tried: ...
0
votes
1answer
63 views

Export org agenda views periodically in Emacs

To export org agenda views in a text file for further processing, I run (org-batch-store-agenda-views) periodically as an Emacs batch job run by cron. Because there is some overhead in starting an ...
1
vote
0answers
30 views

How to capture from sites like github?

I'm using the below bookmarklet with org-protocol/emacsclient to journal webpages (whitespace added): javascript:location.href='org-protocol://capture://'+ ...
0
votes
1answer
54 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 ...
5
votes
4answers
65 views

How to identify the emacs keybinding for something in the GUI?

I started using mu4e for email in emacs recently, and while I was successfully able to configure my email and get comfortable with the general navigations for keys, I can't seem to find the good old ...
0
votes
1answer
17 views

Emacs tramp, version control and toggle-read-only

When using emacs 24 w/tramp on remotely RCS-controlled files, the toggle-read-only function (^X^Q) does not issue the usual "This file is under version control, blah, blah". Instead it flips the ...
1
vote
1answer
37 views

Icicles's icicle-buffer doesn't take into account the current buffer

Icicles's icicle-buffer doesn't take into account the current buffer from which it was invoked. How can I disable this feature?
1
vote
1answer
25 views

How to use persistently use Icicle's multi-buffer search results?

After successfully being about to do intricate searches using Icicles. I now have a problem with being about to use those results. I found it pretty convenient in multi-occur-in-matching-buffers that ...
1
vote
1answer
74 views

How can I drag and drop text from one Emacs window into another?

Is it possible to select text in one Emacs window and then drag-drop it into another window of the same Emacs session? If so, how can it be done?
2
votes
1answer
24 views

Emacs bind single shift key

I know that the shift key is somewhat special, but sometime it turns out this key is very handy when we have some key binding conflicts. Currently I want to bind the single left shift key to replace ...
0
votes
1answer
32 views

When I've marked a message as read in Gnus, how push that change to the server?

I've hooked up Gnus to my Gmail account and I'm able to send mail just fine (using gnutls). However, when I mark messages as read, I cannot see my changes reflected in Gmail's web interface. How can I ...
2
votes
0answers
85 views

how to notify a program of another program? dll? directory? path?

I am trying to experiment with GNUS email in Emacs, in Windows (EDIT: x64 bit). I've got it to work in Ubuntu, but struggling with it in Windows. From ...
1
vote
0answers
114 views

Sublimetext 3 Emacs indentation

I'd like to have an indentation like EMACS on Sublimetext when editing ONLY C source code. More specifically I'd like sublime text add 2 spaces of indentation after "{" like in the following example ...
0
votes
1answer
36 views

Emacs / OSX / Calendar-Mode: Ideas for more spacing between dates

I'm looking for some ideas please to get some more spacing between dates in calendar-mode using Emacs on OSX 10.6.8 (Snow Leopard). Also, any suggestions regarding how to make this buffer-local (if ...
0
votes
3answers
27 views

Shortcut in emacs to go to lisp definition directly

You can view the help of a lisp function with C-h f, then hit enter on the underlined file name. Any way to do this with a customized keystroke?
1
vote
1answer
96 views

Emacs right click context menu on Mac OS

Is there any good reason that Mac Emacs does not bind the right mouse click to the context menu. Instead, ctrl-mouse-left-button must be clicked. Any customization to fix that?
0
votes
1answer
33 views

How to keep org-mode links from stretching over text in unspaced languages?

In Japanese and other languages, there are no spaces in a paragraph. Org-mode interprets this as a continuation of a link description, which messes up the semantics and formatting. Example: ...
0
votes
3answers
158 views

File management in Emacs

I'm switching over from Vim to Emacs and have one requirement that I haven't been able to find a solution for. In Vim I used Nerdtree to display a view of the file system in a different window to the ...
1
vote
1answer
124 views

How to enable flyspell in org-mode by default

In emacs, I want flyspell-mode to be enabled by default whenever I am in org-mode. Based on different examples I've seen in emacs documentation I've tried adding various lines to my .emacs file one ...
1
vote
1answer
46 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
33 views

How can I find out what calls the push-mark function in emacs?

Sometimes while editing a file in haskell-mode I get an unexpected message Mark set when saving a file. By tracing the function push-mark, I notice that it seems to be called with arguments nil nil t, ...
3
votes
1answer
76 views

Org-mode repeating tasks with subtasks

Is there a way to make a repeating task or project with subtasks in org-mode that resets properly? I want to do something like the following: * TODO Weekly report SCHEDULED: <2013-12-29 +1w> ...
0
votes
0answers
61 views

pdf files downloaded from firefox are sometimes opened by evince and sometimes by emacs

My OS is Ubuntu 12.04. My firefox is 26.0. When I try to directly open (instead of save) pdf files downloaded from firefox, I am sometimes asked to open the file in Evince and sometimes in Emacs. ...
1
vote
1answer
140 views

Emacs - Line numbers are not displaying

I have (setq global-linum-mode t) in my .emacs and I enable line number mode with M-x line-number-mode but still there are no line numbers on the margin. What am I doing wrong? I am on OS X and Emacs ...
0
votes
0answers
40 views

How to open .clj files with emacs from the command line with syntax coloring?

When I open .clj files from the command line with $ emacs handler.clj I see a screen that says something about errors opening the file, but a moment later the file opens but without syntax ...
0
votes
1answer
20 views

How can I do a backwards query-replace in emacs

From the documentation of query-replace: [...] In Transient Mark mode, if the mark is active, operate on the contents of the region. Otherwise, operate from point to the end of the buffer. ...
0
votes
0answers
65 views

In Emacs, a combination of visual-line-mode and toggle-truncate-lines makes C-e not go to the end of the line. How do I fix that

With visual-line-mode enabled in Emacs, long lines wrap at natural breaks in the text, allowing me to see all of the text on any given line. Wrap appears in my status bar. Sometimes I want to the ...
0
votes
2answers
78 views

Emacs Prelude: Changing the background Color

I installed the Emacs Prelude as suggested in https://github.com/bbatsov/prelude . I find the background-color grey of the Zenburn theme to be disturbing. I wish to change the background-color to ...
0
votes
2answers
38 views

C-g isn't aborting isearch and returning to intial position

After using C-sC-w or C-s to search I can't abort the search with C-g. Although I see the Quit message in the mini-buffer yet the point/cursor doesn't go back to it's initial position nor is the ...
1
vote
1answer
156 views

Debian 7.3 emacs packages cannot be authenticated?

I'm using Debian 7.3 (x64): $ uname -a Linux XXX 3.2.0-4-amd64 #1 SMP Debian 3.2.51-1 x86_64 GNU/Linux I found this to be kind of weird, and I've never run into it before. Any ideas how to proceed? ...
0
votes
1answer
29 views

Managing identities in Gnus

What's the simplest way to manage sending identities in Emacs Gnus for email? I'm used to Thunderbird, but I'm trying to migrate to something a little less heavy and unportable.
0
votes
0answers
29 views

emacs fullscreen interaction with gnus

I have just configured gnus to work inside emacs 24.3. When I run emacs, I like to have four windows open like so: The bottom left window is gnus, when I open my inbox (or any other option) it will ...