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
97 views

Make Emacs open with three frames by default for OCaml editing

I wish that if I open a .ml (OCaml file), or enter Tuareg mode (a mode for OCaml programming), then the frame should be split like shown in the picture. Left is the main. Top right is secondary. ...
1
vote
2answers
458 views

emacs hangs under windows 7

after using Emacs for a while, I frequently encounter hangup issues, e.g, when I try to move the cursor, the software just freezes for ~5 second before it can response. I then used the Process ...
2
votes
0answers
33 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 ...
11
votes
4answers
9k views

How to get code completion in emacs?

Hey, I know that emacs supports code completion. But to be honest I have never been a good FAQ reader, at least for something that I'm completely new to. So I wonder what I need to download and how to ...
1
vote
1answer
431 views

Load a theme for Aquamacs from the .emacs file

I managed to choose various themes from within Aquamacs but the problem is that if at some later point I have an error in my .emacs then the theme's setting is broken. Therefore I decided to load it ...
9
votes
4answers
2k views

emacs: How to return to last position after scroll/page up/down?

After issuing scroll-up or scroll-down in emacs, is there a quick way to return the point to its previous position (assuming I didn't remember to add it to the mark ring)? Alternatively is there any ...
0
votes
1answer
104 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
198 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
38 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 ...
4
votes
2answers
578 views

How to perform search and replace in lots of files with Emacs at once?

I'm looking for a solution to how to perform a search and replace in all files in a directory using Emacs.
0
votes
3answers
1k views

emacs tells me directory is write-protected

I have come up with an issue when I tried to save a file. I managed to write the intended file but then when I try to save it with the command Ctrl + x, Ctrl + s the message comes up Directory / ...
1
vote
0answers
136 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
1answer
94 views

How can I get around the length limit for org-mode files? (disabling linum-mode for orgs only)

Org-mode starts to choke around 4000 lines with a really simple outline (I've seen crashes as well as generally slow behavior). This is depressingly short. What can I do to alleviate this? Is there a ...
3
votes
1answer
418 views

Emacs code for resizing frame

I've been writing some fortran code using emacs, and found that I needed emacs to recognise that the code I'm working on is fortran code (if for example your filename doesn't end in .f or .f90) so ...
1
vote
1answer
255 views

Emacs right click context menu on Mac OS

Is there any good reason that Mac Emacs does not bind the right mouse click to the context menu. Instead, ctrl-mouse-left-button must be clicked. Any customization to fix that?
1
vote
2answers
55 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 ...
3
votes
3answers
2k views

markdown2pdf latex error

I created a markdown document in emacs. The document is in Ukrainian, so it has some cyrillic letters. I'm trying to convert it to pdf using pandoc mode. But it fails with: markdown2pdf: ! LaTeX ...
1
vote
0answers
442 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
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 ...
0
votes
0answers
63 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 ...
1
vote
3answers
87 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 ...
3
votes
1answer
308 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
1answer
59 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 ...
0
votes
1answer
63 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" ...
2
votes
0answers
210 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
56 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: ...
16
votes
5answers
5k views

Word count for LaTeX within emacs

I want to count how many words my LaTeX document has in it. I can do this by going to the website for the texcount package and using the web interface there. but that's not ideal. I'd rather have ...
2
votes
3answers
664 views

How to make [home] go to beginning of line instead of beginning of buffer?

I know there is an existing shortcut to do this but I'd like to have the home key mapped to beginning-of-line instead of beginning-of-buffer. I tried putting this in my ~/.emacs file but it seems ...
1
vote
1answer
24 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 ...
2
votes
1answer
80 views

How do I enable a minor mode for all files under a directory?

In Emacs (23.4.1), how do I enable a minor mode (e.g. auto-fill-mode) for all files in a major mode (e.g. text-mode) under a directory (recursively)? It doesn't look like directory-local variables ...
1
vote
1answer
51 views

Highlighting all compilation errors in emacs

Is there a good way to highlight all compilation errors in emacs, specifically in haskell-mode? The function next-error (C-x `) highlights only a single error, but it doesn't set match-data to the ...
2
votes
1answer
172 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 ...
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 ...
3
votes
2answers
276 views

Gnus: get rid of ~/Mail and ~/News folders

Gnus (Emacs's mail client) creates directories ~/Mail/ and ~/News. I don't want to clutter my home folder, how can i change this directories to, say, ~/.emacs.d/mail/ and ~/.emacs.d/news/?
2
votes
1answer
124 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 ...
1
vote
1answer
55 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?
7
votes
8answers
3k views

How to make emacs truly full screen on start up?

I want emacs to be truly maximized on start up. There are solutions to the problem that just make the emacs window width of the screen. That's not enough for me. I want the emacs window to be docked ...
0
votes
1answer
103 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
0answers
30 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
111 views

Emacs xkcd installation needs JSON 1.4, not found in ELPA

I tried to install the xkcd emacs package (where you can view an xkcd comic in emacs) and got the following error: Need JSON 1.4, but only 1.2 is available I tried to get JSON 1.4 but I cannot ...
0
votes
1answer
49 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 ...
3
votes
3answers
3k views

Tramp: Waiting for prompts from remote shell

I have an issue with tramp against a specific host when I use ssh-keys for authentication. It works fine when I don't use ssh-key authentication, but I would like to prevent entering the password all ...
0
votes
1answer
34 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 ...
7
votes
3answers
11k views

How can I write braces, { and }, in Emacs on Mac OS X with a scandinavian keyboard layout?

I can not write { and } in Emacs on my Macbook Air with a Swedish keyboard layout. In all other programs I do this by pressing alt + shift + ( for { and the corresponding keys with ) for }. How can I ...
0
votes
2answers
225 views

Emacs: dired plus still opens new buffer even with togle-dired-find-file-reuse-dir

In emacs 23.3.1 on ubuntu 11.10, I have dired-plus installed. In my .emacs, I have: (require 'dired+) (toggle-diredp-find-file-reuse-dir 1) When I press RET on a directory then C-x C-b, the Buffer ...
0
votes
0answers
53 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 ...
2
votes
1answer
113 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: ...
0
votes
3answers
104 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 ...
1
vote
1answer
47 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
21 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.