The Emacs text editor, one of the main text editors used on Unix and derivative operating systems.

learn more… | top users | synonyms

12
votes
0answers
194 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 ...
4
votes
0answers
262 views

Enable hideshow for more modes, e.g. Ruby?

hideshow is cool, but it's limited to only a few programming languages. Can someone help me add support for more, such as Ruby and Haskell?
4
votes
0answers
238 views

With ERC in Emacs, how can I automatically alias server buffer names?

I use ZNC to connect to IRC, and since ZNC seems to have the unfortunate characteristic of making me create a new "login" for each server I want to connect to (i.e Freenode and Quakenet), when erc ...
3
votes
0answers
204 views

emacs term-mode redraws prompt when backspacing inside executables

I am reliant on emacs (version 24.4.1 on Debian) term and ansi-term modes. They normally work just like xTerm for me, but when running an interactive program that has a prompt (like the node.js ...
3
votes
0answers
407 views

Thunderbird with external editors possible?

The known add-on external editor says it is compatible with Thunderbird 5. But the latest Thunderbird is version 31.1.0 already. Is it still usable? Or is there any other add-on that can enable ...
3
votes
0answers
1k 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?
3
votes
0answers
85 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 ...
3
votes
0answers
323 views

which auto-complete mode to use for writing English in Emacs

What's the best Emacs auto-complete mode to use for writing prose in English? My main requirement would be to automatically complete its best guess as to the MOST LIKELY match with a single keystroke, ...
3
votes
0answers
322 views

Kill compilation buffer after success

I'm using aquamacs on Mac OS X. In my .emacs file I have the following: (setq compilation-window-height 8) (setq compilation-finish-function (lambda (buf str) (if (string-match "exited ...
3
votes
0answers
148 views

Alt, Meta and other modifier keys

I want to get more combos in Emacs, so I tried to bind Alt, Super, Hyper via modmap to keys. I failed at it. So I tried to use xdotool. I started emacs -Q for clean experiment. Pressed C-hc and ...
3
votes
0answers
236 views

putty(vt100+ mode) + screen + emacs = no num keypad?

Putty (VT100+) mode GNU screen emacs The keys on the numkeypad no longer work. Is there any easy way to fix this? (I'm not familiar with customizing emacs settings, and prefer not to mess with .emacs ...
3
votes
0answers
453 views

Emacs hangs for seconds when writing file, to do with kjournald and VirtualBox

I run GNU Emacs 23.2.1 (x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2010-12-12 on brahms, modified by Debian on Linux version 2.6.32-5-amd64 (Debian 2.6.32-34squeeze1) ...
3
votes
0answers
354 views

Escaping spaces in tab-completion in a Cygwin shell subprocess on GNU Emacs on Windows

I use GNU Emacs on Windows and Cygwin as my shell. If I create a Cygwin shell subprocess with M-x shell, I get a proper bash prompt. If I type this: cd ~/My<tab> it tab-completes to cd ...
2
votes
0answers
71 views

Howto Emacs nyan-mode image in console

I have emacs’ nyan-mode working in my OS X desktop emacs (24.5). But I’d very much like to get that working in my console emacs. I’m using: Ubuntu Server 12.04 LTS (precise), in a Vagrant VM. (OSX) ...
2
votes
0answers
60 views

Emacs Rmail Gmail - No Mail

I am trying to setup Rmail to read my Gmail account. I have tried following the instructions on emacswiki: (setenv "MAILHOST" "pop3server") (setq rmail-primary-inbox-list '("po:username") ...
2
votes
0answers
76 views

Yank plain text in Emacs?

Using Windows 7 / 8, GNU Emacs 24.3.1 I often yank text copied from browser or incoming email. Is there a way to yank/paste as plain text, leaving out special characters? I tried Ditto and Puretext ...
2
votes
0answers
71 views

Prevent emacs desktop save from holding onto theme elements

I've been having an odd interaction between desktop save and the theme system. I noticed while trying to set up a custom theme that certain elements weren't matching the theme values. Things like ...
2
votes
0answers
138 views

Gnu Emacs : how to minimize it to system tray?

i've been searching around for a way to minimize to tray or hide Emacs app, i don't really want to close it every time i finish using it nor i want to have it's icon showing on taskbar and "alt-tab" ...
2
votes
0answers
44 views

How to install magit manual?

I have magit installed on my system with elpa. However, it comes without documentation, and that makes using it a hassle (since help on its mode is somewhat lacking). Is there a way consistent with ...
2
votes
0answers
58 views

Windows 7, repetition of audio tick.wav, like those Unix guys can do, from other application.

At org-pomodoro_resources at master · lolownia_org-pomodoro · GitHub / resources, there is a tick.wav file, to be played repetitively, from Emacs. I have tried start, wmplayer, vlc, play (sox), and ...
2
votes
0answers
183 views

LC_LOCALE settings interactions between Mac OSX and LINUX via SSH

I have been struggling with the following problem for years now. I have never been able to solve it, and I adopted several workarounds to keep being able to work. However now I can't stand it anymore, ...
2
votes
0answers
24 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 ...
2
votes
0answers
22 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 ...
2
votes
0answers
45 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://'+ ...
2
votes
0answers
284 views

How to set theme for each frame in Emacs 24

I would like to set a different theme for each emacs window that I have open. I want to use the new Emacs 24 theming, so I don't want to use the color-theme library as suggested in this post. I am ...
2
votes
0answers
131 views

How to get bold-italic faces in org-mode docs?

In emacs it's easy to get *bold*, _underline_, or /italic/ lettering, but is there a way to get combinations thereof? I tried a few combinations of symbols, but it looks like once one is enabled, the ...
2
votes
0answers
479 views

Using the msysgit shell in Emacs for windows

I am relativley new to Emacs and am trying to setup emacs, to allow the following command to open the msysgit shell. M-x bash-shell I have added following snippet to my init.el. (defun bash-shell ...
2
votes
0answers
797 views

How do I remove the Emacs toolbar in a maximized window on OS X?

I hid the Emacs toolbar with (tool-bar-mode -1), but the toolbar appears again when the window is maximized. I'm using Emacs 24.3 (9.0) on Mac OS X 10.7.5. How can I remove the Emacs toolbar in any ...
2
votes
0answers
199 views

In a Gnus IMAP group, can I mark an item read and expirable at the same time?

The various "read" marks all seem to be mutually exclusive, such that I cannot do this. When talking to the Gmail IMAP server, Gnus' "expirable" mark will archive an item out of my inbox, but also ...
2
votes
0answers
260 views

Setting up X11 forwarding via plink in Tramp

I've been trying to use TRAMP to remotely access some servers at work. I'm trying to connect to a remote server via Emacs to edit R files and run an R session remotely. My set-up is as follows: My ...
2
votes
0answers
69 views

Emacs: delete-selection-mode not replacing region when yanking

I'm using delete-selection-mode, and everything works fine when having an active region and typing or deleting. However, if I have an active region and then yank the region is not replaced. Instead ...
2
votes
0answers
65 views

How can I create an emacs color theme so that it changes background of the line when it has some keywords

I want to create an custom theme so that emacs changes the background/foreground color of the line of text when that line has some keyword? I see this tip ...
2
votes
0answers
575 views

Add appointment to emacs diary from org-mode agenda

I would like to add appointments with a timestamp including the time of the day to my emacs diary.org file from agenda view using "i d" on a date (as far as I know this invokes ...
2
votes
0answers
468 views

emacs ansi-term is very slow

I'm running emacs GNU Emacs 24.2.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.10) on Ubuntu 12.04. When I open an ansi-term (or term or multi-term) buffer, and use it for a few minutes, it ...
2
votes
0answers
468 views

Variable `org-mobile-directory` must point to an existing directory. Multiplatform setup, howto

I configured emacs org-mode on a Mac, working properly, having my org files and MobileOrg file within my DropBox folder ( ~/DropBox/ ), and detailed as follows: ;; Set to the location of your Org ...
2
votes
0answers
571 views

Org-mode - table columns alignment - little tweak

In org-mode when I am using tables I need either to set up somehow or change algorithm of alignment in columns. By default there is text aligned to right with one whitespace character prepended. If ...
2
votes
0answers
20 views

How do I (can I at all?) write a reference to a file in a directory outside of the current wiki directory for wiki mode for emacs?

I'm using wiki-mode for emacs, and I'm trying to figure out how to short-hand reference files that are in directories external to the current directory. I figured the syntax would look something like ...
2
votes
0answers
656 views

How can I pass function keys in Gnome terminal to Emacs

I like to use Emacs in the terminal with out X(emacs -nw). But the problem is I can't use function keys(f1 ... f12) in gnome terminal. How can I pass them to Emacs in gnome-terminal? If it's not ...
2
votes
0answers
342 views

How do you set Flymake to use a Makefile in a different directory?

I have a code folder with a root directory and all of the build system (including the Makefile) located in ./build/ Whenever I try to do M-x flymake-mode for files in the root directory or other ...
2
votes
0answers
590 views

Swapping special keys

I am on archlinux and trying to swap the left Alt key with the left Ctrl key for my convenience in emacs as well as bash command line editing. I use the following ~/.xmodmap: remove mod1 = Alt_L ...
2
votes
0answers
203 views

emacs reftex reftex-create-bibtex-file ignores cites with optional arguments

Emacs reftex has a command reftex-create-bibtex-file that searches the current .tex file and creates a bibliography (.bib) of all cited works. The problem is, that while it picks up \cite{foo} it ...
2
votes
0answers
387 views

How to install ac-R mode in emacs?

I have recently added the file ac-R.el to /usr/local/share/emacs/site-lisp, along with (require 'ac-R) to ~/.emacs Now, when I open emacs with --debug-init, I get the error Debugger ...
2
votes
0answers
218 views

cygwin åäö in emacs

Hey I been bugging with this problem for some hours now. And I couldn't find the answer on google so I try it here. The problem is that when I run emacs in cygwin in -nw mode characters like åäö ...
2
votes
0answers
171 views

Enabling nXhtml only with HTML like file

I'm using emacs for most of my programming work. I've installed nXhtml just for using it with PHP and Django templates. The way in which I eneble nXhtml mode in my .emacs is: (load ...
1
vote
0answers
15 views

Emacs: How to split, open shell in bottom window at launch?

I tried adding this snippet to my ~/.emacs, but the resulting buffer/window mapping is weird. ;; Open split shell on launch (add-hook 'after-init-hook (lambda () (let ((w (split-window-below ...
1
vote
0answers
22 views

My Git was disabled after I installed El Capitan 10.11.1

After I installed El Capitan 10.11.1 my Git was disabled. I ran my MacBook Pro and my MacBook Air in Recovery mode (Command+R) and restarted and without "csrutil disable" or without disabling my SIP ...
1
vote
0answers
9 views

emacs flyspell save word to file being checked

In the past, I saved special words in the file being checked (as comments). I no longer can work out how to do this. I remember there was an option when checking a word: add to global dictionary, add ...
1
vote
0answers
373 views

How to get global tab-width in spacemacs?

Brand new to emacs and spacemacs. Hoping to learn the ropes. I have added the following lines to my .spacemacs file: (setq-default indent-tabs-mode nil) (setq-default tab-width 2) (setq-default ...
1
vote
0answers
41 views

How to quit reverse-i-search without moving the cursor?

In Bash, I often encounter below situation when doing reverse-i-search (using emacs keybinding in Bash): (reverse-i-search:ccc) aaa bbb |ccc ddd I am in the middle of reverse-i-search for 'ccc', and ...
1
vote
0answers
65 views

How to make urxvt and emacs display fonts the same way?

Here's an image of emacs (left) and urxvt (right) displaying contents of the same file. Note how urxvt characters are shorter, wider, and (to me) not as pleasing to the eye. On some systems ...