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
0answers
19 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
39 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") ...
6
votes
0answers
88 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
70 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
59 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
75 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
46 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 ...
1
vote
1answer
242 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.
0
votes
2answers
128 views

In Emacs on my Mac, how can `Compile Command` see PATH set in ~/.bashrc?

In Emacs v23.4.1 on my Mac OSX Mavericks, how can Meta-x compile see $PATH for bash as set in my ~/.bashrc? Right now, PATH=/usr/bin:/bin:/usr/sbin:/sbin whereas in a normal shell it is ...
0
votes
1answer
55 views

GNU emacs on ssh and auto-save

I encountered problems of dropped ssh session, which is quite frustrating. I first open up a terminal, and using ssh to login to a remote machine running Ubuntu Linux 13.04. Then in that ssh session, ...
0
votes
1answer
29 views

Emacs: what is the most efficient way to remove the quote?

This is the text I am working on: is_check_point(9) -> {yes, ['{0,20}', '{3,23}', '{6,26}', '{27,47}', '{30,50}', '{33,53}', '{54,74}', '{57,77}']} I have text like the above repeated for ...
0
votes
1answer
85 views

Move existing articles to another group in Gnus

I set up nnmail-split-methods to separate mail coming from my mailing list from anything else: (setq nnmail-split-methods '(("vladimir.lenin" "From:.*vladimir\.lenin") ...
1
vote
0answers
77 views

Idiomatic way to reply to Google Groups mailing list with Gnus

I'm subscribed to a mailing list on Google Groups. Before, i used to reply to people outside mailing list by pressing r (gnus-summary-reply). For list this is no good — the reply is sent directly to ...
0
votes
0answers
88 views

Emacs adding strange characters at the beginning of files

I have an issue with my emacs. Sometimes, when I save and quit a file, emacs adds some characters at the beginning of my files like : B1;2802;0c EDIT : (answer to Drew) 1 and 2 : I don't know, I ...
1
vote
1answer
200 views

Auctex View works or does not depending on how I launched Emacs

I try to open a PDF in Skim from Emacs (via Auctex's View command) on MacOSX Mavericks 10.9.2. When I open Emacs.app by double-clicking or through Spotlight, it fails. Nothing happens. There's no ...
0
votes
0answers
67 views

How can I see (on my local display) emacs (and other graphical apps) running on a VPS?

Original Question posted on StackOverflow by mistake. The VPS is running CentOS 6.x It looks like this post is highly relevant, but neither -Y nor -X worked. (As an I do trust the remote server, but ...
1
vote
1answer
189 views

Emacs can not be closed, because it cannot save customizations

Debugger entered--Lisp error: (error "Cannot save customizations; init file was not fully loaded") signal(error ("Cannot save customizations; init file was not fully loaded")) error("Cannot ...
1
vote
1answer
197 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
77 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
26 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
70 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 ...
1
vote
0answers
75 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
61 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 ...
1
vote
1answer
49 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
1answer
93 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 ...
1
vote
2answers
254 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
66 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
67 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
41 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
55 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
0answers
78 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
104 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 ...
2
votes
0answers
765 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
110 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
30 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
95 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
48 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 ...
3
votes
0answers
62 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 ...
4
votes
1answer
424 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
227 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
77 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
112 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
27 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
230 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
1answer
157 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
59 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 ...
3
votes
1answer
933 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
398 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
500 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, ...