Tagged Questions

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

1
vote
1answer
72 views

Emacs — sort - usefulness of side effect modifying initial list [on hold]

Is there any usefulness of the side-effect of the function sort, which modifies the initial list? The modified list is different than the result of sort: (let* ( (initial-list '(3 2 4 1)) ...
0
votes
1answer
12 views

Package dependencies in emacs

I'm trying to install js2-refactor mode using package-install inside of emacs but I'm getting a dependency error: package-compute-transaction: Need package `yasnippet-20130218', but only 0.9.0.1 is ...
-1
votes
1answer
37 views

Emacs — tree-view libraries that show date modified, size, permissions, etc

I have modified ztree-mode to provide a tree-view with a few of the dired-mode features -- e.g., mark, unmark, ztree-get-marked-files, up-directory, copy, rename/move, delete, sort by name and sort by ...
0
votes
1answer
35 views

remove spurious ending spaces when copy pasting from emacs console mode?

I'm not really sure where this comes from but it's really annoying: Using emacs in console mode, and when I want to copy from emacs and paste to another application (possibily another term) I often ...
0
votes
1answer
28 views

Defining faces for syntax highlighting in Emacs

This is a follow-up question to Adding syntax highlighting for a comment section in Emacs. I have the following face definition adapted from the definition of font-lock-warning-face in font-lock.el: ...
2
votes
0answers
22 views

Why does emacs org mode ask for master file?

When opening .org files, emacs asks for a master file. Why is that and how can I disable this feature ? I guess it is because of using latex related packages like ox-latex and ox-beamer. Is ...
0
votes
1answer
43 views

How to create a Mac App launcher for Emacs via HomeBrew?

I created a Mac App launcher for Emacs installed via Homebrew. The technique uses Automator. The problem with Automator is that a spinning gear goes into the taskbar each time. I'd rather not have to ...
0
votes
1answer
16 views

How to override a keybinding in Emacs org-mode

I just updated emacs org-mode and when visiting org files, this binding takes effect: C-TAB (org-force-cycle-archived) Cycle a tree even if it is tagged with ARCHIVE. What's the best way ...
0
votes
0answers
21 views

Emacs Melpa and Marmalade

Does it make sense to include both Melpa and Marmalade package repositories with emacs HEAD. And if so, what is the best way to ensure that one is using the latest and/or correct package, when many ...
0
votes
2answers
19 views

why do I get duplicated menu items in emacs dired mode

I have two menu items for dir, mark, regexp, multiple and single on the menu bar in dired mode. While it doesn't affect the usage, but it seems something is wrong and makes me feel uncomfortable. ...
0
votes
0answers
12 views

How to ignore white spaces in emacs evil surround

I learned from here http://kana.github.io/config/vim/surround.html that yss should operates on the current line, ignoring leading whitespace. But it always includes the leading whitespace on my ...
0
votes
1answer
46 views

Adding syntax highlighting for a comment section in Emacs

I have the following (defun add-c-syntax-highlighting () (font-lock-add-keywords nil '( ("\\<\\(\\-+\\)" 1 font-lock-warning-face prepend) ("\\<\\(FIXME\\):" 1 ...
1
vote
0answers
16 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 ...
0
votes
1answer
20 views

Emacs - dired-mode - copy files/directories recursively — remote to local

Using tramp / dired-mode to access a remote shared Centos linux server -- e.g., (find-file "/ssh:lawlist@12.34.56.789:/home/lawlist/") -- I have not been able to subsequently copy files / directories ...
1
vote
1answer
13 views

what is the keys to minimise help frame of emacs

I have a small screen, I typed ? in ediff mode and the control frame enlarges to show me the keybinding. How do I minimise it to its original size after that? Thank you very much!
1
vote
2answers
21 views

Emacs opens “Messages” pane on startup

On startup Emacs now opens a pane labelled "Messages" in addition to the "scratch" pane. How can I modify my configuration to suppress this? Google seaches just seem to give me ways to suppress the ...
2
votes
1answer
33 views

Trouble with emacs .el file (Searching for program; permission denied) error

I have emacs version 24.3.1 (i386-mingw-nt6.2.9200) installed on a Windows 8.1 machine. I am trying to use the ledger.el distributed with John Weigley's ledger (version 2.6.1). While the lisp file ...
1
vote
1answer
26 views

How can I properly interpret M4's $# variable without starting comment syntax in emacs?

I have the following M4 macro definition: define(`printlist',`$1`'ifelse(`$#',1,,`printlist(shift($@))')') # does begin a comment in M4 syntax, but only when it isn't preceded by a $: $# is the ...
0
votes
1answer
22 views

How to remove the visual line from Python mode in Emacs

I started to use Emacs for Python and I am using this package: https://github.com/gabrielelanaro/emacs-for-python After I install it, I see this: There is a white line (like underscore) ...
2
votes
2answers
33 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. ...
2
votes
0answers
27 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
1answer
71 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
54 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
34 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 ...
1
vote
2answers
28 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
52 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
34 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
31 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
30 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
36 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
1answer
56 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
57 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
37 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
2answers
38 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
26 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
52 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
24 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
36 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
18 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
21 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
26 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
10 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
53 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
27 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
31 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
29 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
62 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
49 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
80 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
37 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 ...