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

Why does emacs start out with such a goofy tab spacing here?

This appears on a Linux version of emacs 24.3.1. Fire up a buffer, enter octave-mode (you may need to install from package), and enter something like this: function foo = bar(x,y) Now, if you go ...
1
vote
0answers
54 views

Predictive mode Emacs

I installed predictive mode in emacs. After doing M-x predictive-mode I get the following error Symbol's function definition is void: run-hook-wrapped and I can no longer type in the buffer. Any ...
1
vote
1answer
24 views

Modify an existing link in org-mode with mini-buffer prompts

Is there a way to modify an existing link in org-mode with mini-buffer prompts? Modifying the link syntax as it was written seems to be really fiddly and unpredictable because of emac’s URL hiding ...
1
vote
0answers
15 views

Keep the emacs BROWSE file up to date while editing

I'm trying to use a source browser for a c++ project without using a big IDE. My current favorite text editor is emacs. I found a solution that fit well to my needs which is the ebrowse (not ...
0
votes
0answers
50 views

emacs C-/ behaves like delete instead of undo

I have installed emacs24-nox on a temporary instance of Ubuntu (on a VmWare Player virtual machine that I am not going to keep for long). I have run emacs to edit an Apache2 configuration file ...
0
votes
0answers
59 views

Have fill-region break Python code into multiple lines to stay under 80 columns in Emacs

How can I get Emacs' indent-region command to re-indent def foo(): my_favorite_object_ever = ObjectConstructor(cool_parameter=4, not_cool_parameter=5) as def foo(): my_favorite_object_ever ...
0
votes
1answer
48 views

Emacs: How do I use flymake-cursor in Evil's normal mode?

I'm a Vim fan trying out Emacs with the Evil mode. After configuring FlyMake to use the flake8 command, I have nearly the same editor configuration in Emacs that I'm used to in Vim. The only problem ...
0
votes
0answers
38 views

emacs can't handle Hyper_L modifier inside a terminal

I remapped my capslock key to Hyper_L using xmodmap. when i use the hyper modifier to define new bindings in emacs like (global-set-key (kbd "H-n") 'backward-char) it works when emacs is launched ...
1
vote
1answer
42 views

How to read global-set-key in .emacs file

from http://www.emacswiki.org/emacs/WhiteSpace, it has this setting to (global-set-key "\C-c_w" 'whitespace-mode) (global-set-key "\C-c_t" 'whitespace-toggle-options) (global-set-key "\C-c=w" ...
0
votes
0answers
39 views

Different font size when running emacs and emacsclient

In my .emacs file, I setup font size like: (set-default-font "Source Code Pro 10") If I run emacs as standalone program, i.e. emacs aFile.c, the font size looks correct. But if I run emacs using ...
0
votes
2answers
141 views

Lisp error: (error “Lisp nesting exceeds `max-lisp-eval-depth'”) when using cl- functions

I recently moved computers and upgraded to Emacs 24.3 (from 24.2) yesterday. Since then, I have been receiving what is essentially a stack-overflow error: Debugger entered--Lisp error: (error "Lisp ...
1
vote
1answer
57 views

How can I setup emacs to change space to TAB character for indent? [duplicate]

I am writing code for Linux kernel driver. The coding standard said The first rule that everyone needs to follow is to use the Tab character rather than spaces, to indent code. Also, the Tab ...
0
votes
2answers
46 views

Emacs (gui) font resets on startup

I have tried the following at the very end of my Emacs init file: (set-frame-font "DejaVu Sans Mono-6") (set-default-font "DejaVu Sans Mono-6") (set-face-attribute 'default nil :font "DejaVu Sans ...
0
votes
1answer
34 views

emacs -nw and emacs has different background color

In my .emacs, I am using this theme: (add-to-list 'custom-theme-load-path "~/bin/emacs-theme") (load-theme 'monokai t) It works when I open emacs in a standalone window: emacs afile.c. But when I ...
0
votes
2answers
42 views

How to use emacs to format my code?

I use the following in my .emacs for my c code formatting: (setq c-default-style "linux" c-basic-offset 4) And I try to format my region by doing: M-x indent-region But my code does not get ...
1
vote
1answer
59 views

How to send .gz file as attachment from emacs using wanderlust?

I already found out to send attachments with wanderlust through M-x mime-insert-encoded-file and answering some questions. This works. But how can I send a .gz compressed file as an attachment? M-x ...
1
vote
0answers
88 views

In Emacs, how can I enable a minor mode unless another is active?

I am trying to use both minimap and fill-column-indicator modes in emacs, with fci-mode enabled for all buffers but the minimap. I've adapted code from this similar answer, and made this for my ...
0
votes
0answers
65 views

Refresh issue when scroll up/down emacs client

I am running emacsclient instead of emacs on ubuntu 12.04. Sometime I see refresh problem when I scroll up /down such that part of the editor does not get repaint and I see same content on different ...
1
vote
0answers
454 views

Difference between Emacs Starter Kit, Prelude and Graphene

Emacs Starter Kit, Prelude, Graphene are various customization packages for Emacs. How are they different? What are their emphasis and strengths in comparison? Can they all be installed together?
0
votes
1answer
76 views

Trouble running `emacs --eval` from Puppet

I want to automate installing Emacs packages with Cask, Puppet, and Vagrant. Source https://github.com/mcandre/mcandre-ubuntu Steps to reproduce I can do this manually in Emacs on my Mac: $ emacs ...
1
vote
1answer
28 views

How do you turn back on the menu-bar permanently having installed the emacs-starter-kit?

I'm just trying to pick up emacs after 20 or so years away as it appears to be the best way to use Clojure and Overtone. Having installed the emacs-starter-kit I have lost the menubar which was ...
1
vote
1answer
71 views

How can I get around the length limit for org-mode files? (disabling linum-mode for orgs only)

Org-mode starts to choke around 4000 lines with a really simple outline (I've seen crashes as well as generally slow behavior). This is depressingly short. What can I do to alleviate this? Is there a ...
1
vote
1answer
43 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
43 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
52 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
314 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
118 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
69 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
87 views

Emacs xkcd installation needs JSON 1.4, not found in ELPA

I tried to install the xkcd emacs package (where you can view an xkcd comic in emacs) and got the following error: Need JSON 1.4, but only 1.2 is available I tried to get JSON 1.4 but I cannot ...
0
votes
1answer
25 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
141 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
76 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
48 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
493 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
248 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 ...
3
votes
2answers
336 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
1answer
59 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
135 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
73 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
304 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
110 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
35 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
71 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
73 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
22 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
43 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
27 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
103 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
30 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
37 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 ...