All Questions

Filter by
Sorted by
Tagged with
2
votes
1answer
641 views

Debugging server related warning message

I've been seeing this issue for some time now, but I don't know how to debug it. I start up a emacs instance, using say emacs foo.tex & Then I run C-c C-c to compile. A new window pops open, ...
8
votes
1answer
192 views

Automatically identify obsolete variables in init-file

When a new version of Emacs is released it is usually the case that some variables/commands/functions become obsolete. They are usually marked as such in the corresponding documentation: turn-on-...
1
vote
0answers
64 views

How can I make nrepl-ritz-jack-in work remotely over TRAMP / Emacs

What I want: I have a clojure program on a remote site, let's call it mccarthy. What I want to do is connect to a nrepl-ritz from my laptop, preferably using nrepl-ritz-jack-in. The jack in works ...
13
votes
6answers
787 views

how to get buffers (not just files) to honor auto-mode-alist?

Q: how can I get new buffers to honor the mapping in auto-mode-alist? When finding a file, Emacs compares the file extension to the auto-mode-alist to determine which major mode to use for the file's ...
5
votes
1answer
199 views

Confusion with line numbers

When I enable line numbers in Emacs the cursor starts in a line with no number in it. If you press enter then the numbers increment but always there is a line with no number. Why is that happening?
0
votes
1answer
312 views

make org-agenda-mode always have (org-agenda-follow-mode) toggled on

I want to make it so that org-agenda-mode defaults to always having (org-agenda-follow-mode) toggled on.
0
votes
1answer
335 views

Error in post-command-hook during org-agenda-todo

Ever since upgrading to emacs 24.4.1, when I set something as 'done' from the agenda, I frequently get the error: Error in post-command-hook (org-add-log-note): (error "Variable binding depth exceeds ...
11
votes
2answers
4k views

Helm: search within buffer feature?

A pretty basic Helm question. What is the Helm window/command/feature that lets us search for text (preferably using regexp) within any type of buffer (i.e., including read-only such as w3m)? In ...
5
votes
3answers
123 views

elisp: retaining data structure after inserting string representation to buffer?

I'm currently writing a major mode (for interacting with a remote Grid Engine) which involves fetching data, parsing it into an alist, formating the alist into a string and then inserting the ...
1
vote
3answers
643 views

Global key binding overriden by undo-tree [duplicate]

I am trying to remap globally C-/ but the undo-tree package hinders me from doing so. When calling this command (in my init file): (global-set-key (kbd "C-/") 'left-char) after having loaded undo-...
1
vote
1answer
184 views

Emacs dot files & packages List for user switching from sublime and not founding a starter kit tailored for them [closed]

I'm trying to be able to answer to "sublime users" using a curated list of package, if not a working emacs config (like prelude or starter-kit does), but couldn't find any list or dotfiles for that on ...
12
votes
2answers
2k views

Moving the mode line and minibuffer to the top

Is there any way I can move the mode line and the minibuffer from the bottom to the top of the screen? The minibuffer is covered by the previous question How to display the content of minibuffer in ...
1
vote
1answer
464 views

How to prevent Emacs from opening error buffer

I got someone ask this question: How can I prevent errors that should really just be a bell or flashing screen not open a window with an error?
1
vote
1answer
42 views

Do I evaluate “(require 'eclimd)” successfully?

In a buffer in fundamental mode, I type Ctrl-x Ctrl-e at the end of the line (require 'eclimd) the minibuffer at the bottom says eclimd. Does it mean I run the command successfully? If yes, why ...
3
votes
1answer
81 views

What is catdvi used for in AucTeX?

In Ubuntu, AucTeX has an addon called catdvi. What is its use by AucTeX? Some other questions I have include: How can I invoke catdvi in my gnome-terminal? C-c C-c will invoke a GUI viewer. For TeX-...
3
votes
2answers
146 views

how often is the official Emacs manual updated?

Q: How often/quickly is the official Emacs manual updated? The release announcement of Emacs 24.4 has a blurb at the bottom stating that the FSF's official Emacs manual has been updated to correspond ...
6
votes
1answer
2k views

How to get org-agenda to prefer split-window-right

After upgrading to Emacs 24.4.1, when I call org-agenda with no splits it will show on the bottom half of the frame. Previously, it would show on the right half. How do I configure this behaviour?
3
votes
1answer
227 views

how to reveal function names that are bound to mouse buttons (eg <down-mouse-1>)?

Emacs buttonizes specific expression in the buffers. For example, email ids, urls attachments in gnus buffer, and [back], [forward] in help buffers and so on. When we click on those with mouse, they ...
2
votes
2answers
567 views

how to switch to a new buffer with ido without needing to confirm?

Q: how do I switch to a new buffer with ido without needing to confirm? I open up a lot of temporary buffers to do scratchpad work. When ido-switch-buffer can't find a match for the buffer name I'm ...
8
votes
3answers
886 views

Persistent environment for M-x compile

When I run M-x compile it spawns a new subshell to execute my compile command. As soon as the compile command returns, the shell process is killed. I can see why this would be desirable in most cases, ...
7
votes
2answers
1k views

Using virtualenvwrapper in Eshell

I noticed that I can't use virtualenvwrapper commands (like workon) in an eshell but they do work within a shell environment. Is there a virtualenvwrapper-like mode for Emacs?
2
votes
2answers
192 views

Org Mode: org-lookup-* functions missing

The functions org-lookup-first, org-lookup-last, and org-lookup-all do not seem to be available to me. These functions are documented at the following link: Lookup Functions. I can't look them up in ...
11
votes
1answer
613 views

Org Mode: Using table formula outside of a table?

I'm wondering whether it's possible to display the result of calculations performed on table data, outside of a table. For example, suppose I have a table of with a list of names. Is it possible to ...
0
votes
1answer
355 views

Dropdown Menus fail on mouse click with 'Wrong type argument'

Emacs 24.4 installed on OS X via homebrew: brew install --with-gnutls --cocoa Dropdown menus work fine with <F10>: But fail when clicked on with the mouse: I have recompiled as many files as ...
19
votes
2answers
2k views

How to choose between nil and 0, or t and 1 when setting variables or enabling modes

I understand that nil, 0 and/or -1 are used for disabling some features and t, 1 and/or +1 are used for enabling some features. When assigning variables or enabling/disabling minor modes, which ...
8
votes
4answers
499 views

Fastest way to move code block to specific line

Say you have code on lines 4, 5, 6. Then you want to move this block of code to starting point line 9 while also deleting lines 4, 5, 6. What's the fastest way, i.e. least amount of key strokes, to ...
7
votes
1answer
694 views

Elfeed: mark all messages as read

Is it possible to mark all unread messages as read with a single key? r marks only the selected message as read.
2
votes
1answer
84 views

Behavior of '-e' option during emacs invocation

There command-line option -e behaves similar to the --eval option, but yet it is not the same. For example, of these two invocations, only the first one works: emacs --eval '(global-linum-mode)' ...
3
votes
1answer
113 views

Swap columns in a mediawiki table

I have a mediawiki table with three columns and some rows, eg.: {| class="sortable" ! Column header (one) !! Middle column !! Last column |- | value 1 || loong value ... and some more || another ...
8
votes
1answer
198 views

How can I know which built-in emacs package needs to be 'require'd?

I was reading through the Changelog for emacs 24.4 (C-hn) and was trying to see what the File Notification feature is. I tried doing C-hv of a related variable auto-revert-use-notify but nothing ...
6
votes
1answer
612 views

How can I have Org use `sidewaysfigure` in LaTeX export?

I am writing an Org document with some large figures (images) which I would like to place on a separate page in landscape orientation when exporting to LaTeX. In LaTeX I can achieve what I want by ...
5
votes
1answer
274 views

In table-mode, how do I change the face used for cells?

If I make a table (with M-x table-insert), the background color is a dark blue, and the text color is a light grey. I'd like to make the face different, but I'm not sure what face I need to change. ...
4
votes
1answer
587 views

How do I configure moving by and deleting words in ansi-term?

In ansi-term's "char run" mode, I can use C-<left> and C-<right> to move around in steps of one word, but as soon as I start typing again, the point moves back to where it was. They work ...
5
votes
1answer
661 views

What is the difference between setq-mode-local and setq-local

I don't understand how setq-mode-local works (mode-local is a package from cedet). The macro's documentation says: setq-mode-local is a Lisp macro in `mode-local.el'. (setq-mode-local MODE &...
6
votes
3answers
650 views

flycheck/bash - i'd like to declare that the next line was intentional

When using the shellcheck checker, Flycheck will warn me that the "$@" in the following will be expanded on the client rather than the ssh server. Which is a helpful warning, but yeah I know and I'm ...
7
votes
2answers
498 views

query-replace in keyboard macro

Let me define a keyboard-macro: I enter C-x (, then go to beginning with M-<, then type M-% to query-replace some occurrences of foo by bar. Out of 3 occurrences found, I replace only the last 2, ...
26
votes
5answers
2k views

Re-open *scratch* buffer

If I accidentally closed the scratch buffer in Emacs, how do I create a new scratch buffer?
5
votes
2answers
136 views

Info: Display the current node name in the buffer-list or uniquify *info* buffers

Is there a way to get info to display the current node in any of buffer-list/ibuffer/helm-buffers, especially when there are multiple info buffers ? Ideally uniquify should be sufficient to ...
6
votes
1answer
535 views

How can I set face for echo-area message

When I print messages using (message (propertize "text" 'face 'some-face)) properties get printed as text: #("text" 0 4 (face some-face)) How can I have faces displayed properly?
2
votes
1answer
814 views

How do I set `gnutls-verify-error` to not check if certain hostname matches the certificate?

I have the host chat.deshackra.com pointing to tigase.im (with a CNAME entry), and I want to use the starttls connection type for my jabber.el account, however the connection fails: gnutls.c: [1] ...
8
votes
2answers
3k views

Equivalent to --no-wait for emacs

The emacsclient program allows a flag --no-wait (abbreviated as -n) which will cause the emacs server to visit the specified file, and return immediately. emacsclient -n ~/.bashrc If I provide an ...
13
votes
1answer
718 views

How to run multiple versions of emacs for package development?

Is there a set of tools to enable testing a package on multiple Emacs versions. For example 24.4 is almost released. Can I install it and still safely test my package in 24.1? How would I deal with a ...
4
votes
2answers
199 views

Show siblings of visible headers after hide-other

I'm using Outline mode (usually the minor mode, but it shouldn't matter) or Org mode. I have a file that looks like this: -*-outline-*- * Chapter 1 ** Section 1.1 *** Subsection 1.1.1 foo *** ...
9
votes
2answers
1k views

Alternative Org Mode Implementations [closed]

Has the org-mode text syntax been adopted anywhere besides emacs? The only place I can think of is that Github allows you to write readmes in org mode and can display it like it can markdown. Are ...
7
votes
2answers
548 views

Sleep in an kbd macro

I was completing the python koans in emacs, and I was using a kdb macro to test my changes in a shell buffer and jump back into the python code. I wanted to take the line number of the next error from ...
5
votes
2answers
459 views

How can I convert hexidecimal values to base 10 in hexl-mode?

A nice feature of viewing binary files with hexl-mode is it displays the equivalent ASCII values to the right of your hexidecimal lines. Is there a way to make hexl-mode treat hex values as floats, ...
14
votes
1answer
260 views

Are there Emacs tools for the visually-impaired?

I have a client, a Ph.D. candidate in Computational Chemistry, that is visually impaired. He's pretty self sufficient and he's had some success learning the content by directly reading source, when ...
2
votes
2answers
214 views

Command to automatically define a resource variable in an Android project

When coding Android projects, resource variables are somewhat cumbersome to define, as they involve visiting a file far away in the directory structure and writing xml(!). Say I want to define a ...
6
votes
1answer
449 views

backword-sentence and forward-sentence are moving over paragraphs

I use markdown-mode to edit markdown, but it's missing one very useful feature. Whenever I press M-a (backward-sentence) or M-e (forward-sentence) it takes me to the start or end of the paragraph, ...
8
votes
2answers
2k views

How do I ediff a buffer against a revision?

I want to run ediff to compare my current version of a file (in git) with a version of the file on a different branch. I run M-x ediff-revision from within an open buffer for the file in question. I ...

15 30 50 per page