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

2
votes
1answer
113 views

Installing Emacs color theme

I've been trying to install color themes for emacs and I'm not quite sure how I can do it. I have downloaded an .el file and put it under my .emacs.d folder, then edited my .emacs file and added this: ...
0
votes
2answers
67 views

How to configure AUCTeX in Windows 7?

Help me, please! This is my 3rd attempt at a clean install of EMACS/AUCTeX in Windows 7. I'm following Joachim Schlosser's installation guide to AUCTeX but I'm getting confused at least on 2 points. ...
0
votes
0answers
82 views

Why doesn't CentOS 6.5 emacs RPM get libotf correctly?

I'm aware that there was a problem with the Red Hat 6 RPM for emacs such that one of its dependencies (libotf) appeared to be satisfied by Open MPI, but it couldn't use the library (see Red Hat bug ...
2
votes
2answers
34 views

Updating the emacs style Time Stamp comments in vim

How can I implement this emacs auto time stamp in vim? I have the following string at the top of a file: // Time-stamp: <> Here // are comment characters. What do I need to do so that ...
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
2answers
41 views

Emacs separate init file for no-window mode

I have my color theme settings and a function to automatically maximize emacs on startup in my .emacs file, however, using this .emacs file with no window mode -nw results in an error since an X ...
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 ...
0
votes
0answers
46 views

How to correctly indent multiline ruby method chaining code in emacs?

I wish to have such indentation: some_object.method_1(args) .method_2(args) .method_3(args) While by default ruby-mode will indent the code like: some_object.method_1(args) ...
0
votes
0answers
45 views

Moving from Zim to Org-Mode?

I would like to move all my file from Zim to Org Mode. I tried exporting as markdown stuff but Zim does not seem to be able to export all my stuff properly. I have a lot of files so I would like an ...
3
votes
1answer
145 views

Why was iswitchb removed from GNU Emacs 24?

I have used IswitchB for a number of years, but in version 24 of Emacs, it has been removed. My muscle memory is finding the transition to Icomplete or Ido difficult. I know that it's possible, at ...
1
vote
3answers
64 views

How to programmatically create a new Emacs frame with a given name?

I need to be able to create frames and to refer to them programmatically. How can one create a new Emacs frame with a given name, so that he can refer to it later on? I know how to create new ...
1
vote
1answer
47 views

In Emacs, can I have it show which open-paren it matches, without erasing/retyping the close-paren?

For example, suppose I have something like (defn my-function [] .. ..really long function body.. ..) When I scroll to the bottom and type the final ), the Emacs status bar says: Matches ...
1
vote
3answers
53 views

How to remove file modification tracking on an Emacs buffer?

I have a *shell* buffer in Emacs where I get a Linux command line shell interface. On occasion, I wish to save the buffer's contents to disk for future reference were my session to exit and once ...
0
votes
0answers
31 views

How do I navigate the org-mode clock history menu?

No matter what I try, I can't make (org-clock-in-last) work properly with its menu. The documentation says: C-c C-x C-x (org-clock-in-last) Reclock the last clocked task. With one C-u ...
2
votes
0answers
113 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 ...
0
votes
1answer
32 views

How to get org-mode agenda clocking to look at _archive files?

According to the documentation, you can tell the agenda viewer to look at archived tasks also when generating the clock table: :scope The scope to consider. This can be any of the following: ...
1
vote
1answer
48 views

Multiple unrelated directories in one Dired buffer

How can I insert multiple unrelated (non-subdirectory) directories into one dired buffer? In my case, I'd like to prepare a dired buffer containing unrelated directories with multiple file changes ...
1
vote
1answer
22 views

How can I run `M-x compile` under a particular shell in emacs?

I've a piece of software that can only be compiled under my-weird-sh. I like to use some-better-sh in my day-to-day work, so that is my login shell (via chsh). This changes the shell in Emacs to ...
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 ...
0
votes
1answer
32 views

org-mode: limit export to selected headlines, i.e. opt-in for export

There's a command/option that I can put in my orgmode file that causes only headlines that are explicitly tagged with :export: get exported. What is it?
0
votes
0answers
18 views

Can I use Doxymacs to highlight its comments differently?

Is there a way to change the face of comment text when it's inside of Doxygen-active comment syntax? /** * long comment */ /// short comment For the second one (since it's a little easier), I've ...
0
votes
1answer
58 views

Modifying %HOME% on Emacs 24.3 on Windows causes .emacs to not be found

In order for magit to read my git settings on Emacs 24.3.1 for Windows, I added the following configuration from a stack overflow post: (when (string-equal system-type "windows-nt") (setenv "HOME" ...
0
votes
1answer
32 views

Suppress prompt for save file in emacs with recompile

I usually setup a nontrivial compile command, then frequently call 'recompile. Is there a way to suppress the prompt for saving files similar to the approach in auctex invoked with (setq ...
0
votes
1answer
33 views

In Emacs, Listing Buffers in the minibuffer

I am a college student and am just back from my internship. There, I extensively used emacs and I had never used Emacs before. So I am not sure which version of emacs it was. There was this cheat I ...
0
votes
0answers
39 views

Elpy and pylint: where should a pylintrc file be placed in order to customize pylint for Emacs?

I would like to remove the 80 characters per line limit when pylint is checking files in Emacs (I am using the Elpy package for Emacs). I am on Debian Wheezy, and I'm using the backported Emacs24. I ...
0
votes
1answer
84 views

In Emacs' org-mode, any way to hide the subtree with timestamp not set to today?

I just started to learn org-mode (and Emacs) and I plan to use it as a calendar/timetable/todo-list hybrid. Is it possible to hide entries with timestamp not set to today? If so, how? For example, ...
0
votes
3answers
68 views

How to make emacs quit the minibuffer with one press of ESC?

I often press the wrong combination of keys and open some obscure minibuffer mode. I have to press ESC three times (I think), which is pretty annoying. How do I make emacs quit the minibuffer with ...
2
votes
1answer
95 views

Quitting emacs takes 10 seconds

Closing emacs 23 in Ubuntu 12.04 and 14.04 takes very long. I have recursively bisected my .emacs file (as per advice from Drew here) and located the following piece as the offending bit: ...
1
vote
1answer
44 views

Shift+s registering as super key in emacs. How to turn off?

Whenever I am in emacs normal mode (as opposed to evil), shift+s registers as "S-" (the super key). This means I cannot enter capital S which is pretty annoying. The problem is obviously due to my ...
0
votes
1answer
20 views

How to read shell and insert in text (using Emacs)?

I want to read and insert output from shell (bash) in a text using Emacs. My idea is to do something like :r!ls in vi, but using emacs.
1
vote
1answer
39 views

Emacs — how to patch a file — Eshell does not support input redirection

When trying to run a patch from an Eshell buffer (e.g., patch nsfns.m < nsfns.diff ), I get an error message (below). Is there a way to apply a patch using an Eshell buffer? If not, is there a ...
3
votes
1answer
47 views

Emacs - move cursor back after mark-whole-buffer & indent-region

I'm Emacs newbie and for automatic re-formating of my source codes in Emacs I've created simple macro using mark-whole-buffer and indent-region commands, mapped to C-j shortcut: (fset ...
0
votes
0answers
29 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 ...
0
votes
0answers
26 views

export Evolution “On this computer” mail to view it with Emacs ViewMail

I'm trying to use ViewMail[1], I'm an actual Evolution (version 3.12.4) user too. The thing is, I want to move the email in my computer from Evolution to manage it with ViewMail. Under the Evolution's ...
0
votes
0answers
26 views

Host key results in stuck key in virtual machine. How to resolve?

Premises: Host OS: Windows 8.1 Virtual Machine: Debian 7.6 with Gnome 3 Oracle VirtualBox 4.3 Hi, Recently I have encountered below issue with oracle virtual box: Inside Virtual Machine, I often ...
0
votes
1answer
30 views

How can I exclude binaries from rgrep results in Emacs?

I'd like to add the I option to the grep that rgrep generates, but I cannot seem to find the appropriate variable. I've tried: grep-command grep-find-command
0
votes
1answer
25 views

Start an application from the dock within a specific directory

I have an application (Emacs) in the dock that is apparently starting in / (the root folder). Can I configure it to start in $HOME instead? e.g., looking for the equivalent of shortcut properties in ...
0
votes
1answer
24 views

Is it possible to extract multiple groups at once when fontifying with font-lock?

I'm trying to wrap my head around font-lock-keywords format, particularly MATCH-ANCHORED variant, but I don't see how would I re-use matches generated from one regexp. Below is my setup for ...
0
votes
1answer
74 views

How can I send a command to Emacs 24 from VBA in MS Office?

I want to invoke commands from within MS Office application which have a direct effect on my (open) Emacs application, for example do a search for the currently selected text in Emacs I wonder how ...
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 ...
0
votes
0answers
43 views

Synergy + Emacs C-<SPC> to set mark not working

Problem When I use C- (Ctrl+space) in Emacs, it fails to set the mark. The alternative keybinding, C-@ works, but requires an extra finger and mindfulness. Emacs doesn't have trouble recognizing the ...
1
vote
1answer
41 views

How can I have an 'truly' interactive command in emacs?

How would I implement a bare bones function that 're-evaluates' with every key-press? I mean key-press loosely; I'm looking to emulate the behavior of isearch and friends. I would be using this to ...
0
votes
0answers
23 views

emacs ispell can't handle m-dash

When I try to spellcheck in emacs (using M-x ispell) on a file with an m-dash separating words without a space, I receive the following error: ispell-process-line: Ispell ...
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
2answers
77 views

Org mode capture

I'm trying to make a 'class' template for org-capture. What I want is to easily make this kind of entry: * TODO <course>: Week <week> Lecture <number> SCHEDULED: %^T ** TODO ...
2
votes
1answer
59 views

Emacs theme uses different colours in terminal

I made a theme for Emacs 24, using deftheme, based off something I generated with 4bit, with a theme structure loosely based on the built-in tango theme. In the screenshot below, you can see emacs ...
0
votes
0answers
10 views

How can I trick nxml-mode into accepting <<…>> as comment syntax?

I'm using org-babel to create an XSL template and would like to use the tangling capabilities. Since as far as I'm aware <<…>> isn't valid XML anyway, I would like to add it as comment ...
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 ...
2
votes
1answer
179 views

How can I fold arbitrary tags with nxml-mode?

I would like to fold <type> <xsl:attribute name="multiplicity"> <xsl:choose> <xsl:when test="collection = true">*</xsl:when> ...
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, ...