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

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 ...
3
votes
0answers
171 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
121 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
166 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
182 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
562 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
363 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
29 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
36 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
116 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 ...
2
votes
0answers
108 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
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 ...
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?
2
votes
0answers
48 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
181 views

Mobileorg not finding emacs org file with ssh server (but it is there)

I'm just getting starting using org-mode with Emacs - I thought I'd use it as an alternative to Evernote. Having it on my mobile is pretty important (I'm using the Android version). I'm getting the ...
2
votes
0answers
578 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
170 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
216 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
61 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
197 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
318 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
364 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
549 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
236 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
293 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
509 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
192 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
353 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
200 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
170 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
270 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
27 views

how to manage images in emacs org mode

I am considering switching from zim wiki to org mode for managing collection of web page pieces. Typically it includes images and texts I copied from a web browser. The question: 1 how to insert ...
1
vote
0answers
93 views

How can I copy-paste between emacs and other applications on mac?

All of a sudden, I cannot anymore copy-paste text from Safari to Emacs. I don't think I changed anything relevant to my .emacs recently and I am pretty sure this was possible a few days ago. I am ...
1
vote
0answers
29 views

emacs - Widget Custom Theme

I'm starting using emacs. I know that everything of emacs is customizable. But, one thing I can't even found on internet is modifying the default emacs' widget's Look and Feel. Is there some way to ...
1
vote
0answers
22 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
29 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
41 views

How can I customize the background color for the active window in emacs?

Related: How can I change the background colour of a single emacs buffer? I would like to change the background color of the active buffer to, say, white. This sort of thing is possible as ...
1
vote
0answers
46 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
57 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
57 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
70 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
41 views

How can I make emacs ignore bell when recording macros?

Currently, emacs will halt the recording of a macro when the bell rings. This is extremely useful for things like halting when C-s fails to get a new match. However, when I'm recording a macro, and ...
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 ...
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 ...
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
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 ...
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 ...
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://'+ ...