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

6
votes
0answers
91 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
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 ...
3
votes
0answers
201 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
129 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
185 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
206 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
637 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
399 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
51 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
56 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
34 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
42 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
247 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
128 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
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 ...
2
votes
0answers
776 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
39 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
312 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
215 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
648 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
197 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
263 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
63 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
247 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
365 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
396 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
579 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
310 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
540 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
195 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
370 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
207 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
286 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 set outline-minor-mode heading levels in outline-regexp

I am trying to add a custom heading to program mode, and I want it to be on the highest level and move all other levels down, so I can add more structure to my long script. For example, for python ...
1
vote
0answers
20 views

How to show git branch in Emacs shell

How can I show the current git branch as part of the Emacs shell prompt? For example, I have this in my ~/.bash_profile (I'm on Mac OSX 10.9 Terminal): parse_git_branch() { git branch 2> ...
1
vote
0answers
34 views

Emacs Dired: Sorting by time / date as default

In emacs dired-mode, when I press s I can toggle between alphabetical and chronological sorting of files. Usually, I always prefer chronological sorting, but alphabetical sort is the default. How can ...
1
vote
0answers
23 views

Emacs, gdb: How do direct program output to gdb buffer in gdb 2 window mode

Is there a way to tell Emacs 24.3.1 with gdb 7.5 to display the program output in the gdb buffer instead of a separate "** input/output **" buffer? (Displaying it in a separate buffer in 2 window ...
1
vote
0answers
27 views

Repeat command in Aquamacs

I am running ESS on Aquamacs. When I execute a command in the command line I can press esc-p to repeat the line. However, when I execute a command from another buffer and then go to the command line, ...
1
vote
0answers
61 views

Make command line unmodifiable in Aquamacs

I am running Aquamacs on OSX. Let's say I open a shell: M-x-shell I find it annoying that I can press backspace and it will delete the command line prompt > and also that I can delete ...
1
vote
0answers
53 views

How to copy the whole line with easy way in emacs?

to copy the whole line, I use : ctrl+k and ctrl+y (restore the kill line) and use ctrl+y to yank it is there any easy way?
1
vote
0answers
31 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 ...
1
vote
0answers
52 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
149 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
36 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
39 views

How to protect the prompt (make it read-only) in Emacs term-mode?

With shell-mode, I can do (setq comint-prompt-read-only t) to protect the prompt. The cursor is blocked when I try to move the cursor to the left. The prompt also cannot get erased. Is there a ...
1
vote
0answers
28 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
34 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 ...