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

3
votes
0answers
34 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 ...
3
votes
0answers
136 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?
3
votes
0answers
112 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
151 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
500 views

Enabling Italics, Underline on Emacs, Xterm and Putty

I'm using a Ubuntu (11.04 Server Edition) virtual machine as my development environment. It doesn't have a desktop environment since I don't think its necessary and I want to keep it lightweight. I'm ...
3
votes
0answers
318 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) ...
2
votes
0answers
39 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
20 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
16 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
37 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 ...
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
0answers
88 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 ...
2
votes
0answers
80 views

How can I get emacs 24.* under windows to autocomplete paths in shell buffers using “\” instead of “/”?

See How can I get emacs under windows to autocomplete paths in shell buffers using "\" instead of "/"? I use emacs on windows 7, when calling M-x shell, emacs opens a DOS-Shell. ...
2
votes
0answers
72 views

some key bindings in OS X Terminal.app

I'm trying to use Emacs Markdown mode, which requires several key bindings, like C--, C-+, M-<left>, M-<right>, M-<up>, M-<down>, but I can't get them working in OS X Terminal. ...
2
votes
0answers
133 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
169 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, ...
2
votes
0answers
60 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
158 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 ...
2
votes
0answers
275 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
135 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 ...
2
votes
0answers
312 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
19 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
510 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
228 views

Multi-term in Emacs under Cygwin doesn't correctly identify terminal type?

I've installed Cygwin on Windows 7 Ultimate 64-bit. After a rebaseall, Cygwin works nicely. However, I use multi-term in my default Emacs setup, and multi-term doesn't seem to like Cygwin at all. It ...
2
votes
0answers
265 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
486 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
182 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
331 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
195 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
167 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 ...
2
votes
0answers
258 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 ...
1
vote
0answers
6 views

How can I get Emacs to run correctly in a Windows console with codepage 65001 (UTF-8)?

When my codepage is set to 65001 (UTF-8) in a Powershell terminal, emacs -nw displays garbage. When the codepage is set to 437, emacs -nw works. I would like to be able to run emacs -nw (much quicker ...
1
vote
0answers
15 views

Change encoding of a text file in Emacs?

Emacs shows in a text file: Given a finite alphabet \246\262, (empty set) \2016\3221 denoting the set \2016\3221. But it should show Given a finite alphabet Σ, (empty set) ∅ denoting the set ...
1
vote
0answers
14 views

Emacs Gnus email decrypt smime without openssl

I use gnus for my email. Every once in a while, I receive an encrypted email; when I answer "yes" to Gnus offer to decrypt it, it responds smime-verify-region: No CA configured. Now, my workplace ...
1
vote
0answers
14 views

Setting up Emacs and SLIME to work with Kawa

According to this site here, it is possible to have SLIME work with Kawa Scheme. However, I cannot find any instructions anywhere on precisely how to do this. Even on this site, the link goes to an ...
1
vote
0answers
53 views

Edit text file contain unknown format

I have a text file when I open it with gedit warn me: and when I open with emacs: I have another file with this character and I want to remove this character from that file with a bash script.
1
vote
0answers
27 views

Gnu Emacs on Windows 7 very slow when VPN connection is used

I'm using Gnu emasc 24.3 on Windows 7 and normally I don't have any problems with speed/responsiveness. I'm launching Emacs with the runemacs.exe However, when I am travelling and try to connect to ...
1
vote
0answers
32 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 ...
1
vote
0answers
32 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
0answers
58 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 ...
1
vote
0answers
281 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?
1
vote
0answers
31 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://'+ ...
1
vote
0answers
120 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 ...
1
vote
0answers
25 views

R can't find RSQLite package when run in Emacs (iESS)

I have R 3.0.2 (both x64 and x86) running on Windows 7 x64. I've recently started using Emacs as a front-end to R (x64) via the iESS mode. This normally works well, the only catch is that I have to ...
1
vote
0answers
47 views

Cannot kill emacs with M-x kill-emacs

I am trying to quit emacs with M-x kill-emacs but I get this message: Buffer cache/ido.last modified; kill anyway (y or n). When I choose y I get /Users/a/.emacs.d/cache/: no such directory. This is ...
1
vote
0answers
74 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 ...
1
vote
0answers
177 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 ...
1
vote
0answers
63 views

Emacs 24.3 corrupt ELPA

I am using emacs 24.3 on Ubuntu 12. I installed the auto-complete package through the emacs built-in package manager, and it mostly worked. The quick help feature was however missing. I found this ...
1
vote
0answers
405 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 ...
1
vote
0answers
138 views

emacsclient super key or hyper key in iterm2

What the title says: I want to switch to using an emacs-server / emacs-client model instead of using the GUI for Mac OS X. I use iTerm2. I would like to map the function key (fn) to super or hyper. I ...