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

learn more… | top users | synonyms

4
votes
0answers
240 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 prompt,...
4
votes
0answers
296 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
135 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) ...
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
115 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
349 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 ...
3
votes
0answers
362 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
170 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
269 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
493 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) (dannf@debian.org)...
3
votes
0answers
378 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
123 views

How to display unicode character in emacs

I use terminal based emacs latest on ubuntu. in the terminal unicode characters display fine. But in emacs when I insert a unicode for example C-x 8 RET and some hex 455 it displays as \u0455. I had ...
2
votes
0answers
90 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
84 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
93 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
165 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
45 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
71 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
236 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
187 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 ...
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
193 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 ...
2
votes
0answers
24 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
51 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://'+ encodeURIComponent(location.href)+'/'+...
2
votes
0answers
173 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
553 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
877 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
217 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
295 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
79 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 http://emacs-fu.blogspot.ca/2010/04/creating-...
2
votes
0answers
627 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 org-agenda-diary-entry)...
2
votes
0answers
531 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
495 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
616 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
707 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
347 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
629 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
207 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
392 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 entered--...
2
votes
0answers
222 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
174 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 "~/.emacs.d/nxhtml/...
1
vote
0answers
32 views

How to remove incorrect password for file symmetrically encrypted with GPG

I used Emacs to encrypt a text file with a symmetric key. When decrypting the file, the program pinentry opens a window for password entry. I accidentally clicked the checkbox for "save in password ...
1
vote
0answers
12 views

emacs weird font and big UI

I just installed spacemacs in my Ubuntu 12.04 LTS but when I started the app I get this: Big fonts and weird numbers in emacs links, I tried to load it without spacemacs config file I get the same ...
1
vote
0answers
111 views

Emacs eww cannot access https sites

here's my proxy setup: (setq url-proxy-services '(("no_proxy" . "my-corp-proxy") ("http" . "my-corp-proxy:8080") ("https" . "my-port-proxy:8080")...
1
vote
0answers
31 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
857 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 c-...
1
vote
0answers
51 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
118 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 (GuixSD,...