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

0
votes
1answer
77 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 . ...
2
votes
1answer
69 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 ...
1
vote
1answer
199 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
75 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
69 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 ...
1
vote
0answers
94 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
54 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
57 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
257 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
67 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
44 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
18 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
35 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") ...
4
votes
0answers
58 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
64 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
46 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
67 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
43 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
169 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
104 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
39 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
28 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
57 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
59 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
67 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
2answers
190 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
1answer
47 views

How to get “long press for international chars” in Emacs on Mac OS X

I recently started using Emacs, and so far it's quite good. Since I have to type a lot of international characters, I got used to Mac's way[*] of entering them (for example, press "a" and wait until ...
0
votes
0answers
57 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
142 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
124 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
64 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
25 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
60 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
64 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
52 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
46 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
44 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
49 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
187 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
61 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
53 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
36 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
45 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
63 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
90 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
67 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 ...
2
votes
0answers
572 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
88 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
29 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 ...