# All Questions

16,642 questions
Filter by
Sorted by
Tagged with
753 views

### Symbol's value as variable is void: helm-map

Windows 10, Emacs 25.1 In my init.el (define-key helm-map (kbd "<tab>") 'helm-execute-persistent-action) But on start Emacs I get error: Symbol's value as variable is void: helm-map
2 views

### How to get the file_name of the file being generated by org-publish?

How to get the file_name of the file being generated by org-publish? Specifically, org-publish-project-alist would specify "file_name" something like this: (setq org-publish-project-alist ( ("...
111 views
+100

### Edebug REPL / IELM

I toggled edebug-defun on a function I'm studying. Once the debugger kicks in, how can I fire a REPL with access to the symbols being debugged? I know it's possible to evaluate commands with e in ...
29 views

### Org-mode tasks without many asterisks

How can I introduce hierarchical sections in org-mode without requiring the tasks within those sections to have a large number of asterisks? To context is that I'm looking for a standardized ...
377 views

### Editing multiple source blocks in one buffer

I've got multiple source blocks which are all tangled to the same file. When I invoke C-c ' inside one block, only this specific block is shown in a new buffer. Is there a possibility to show all ...
390 views

### Does org have any “inverse-tangle” operations e.g. for collaborating with non-org users?

I would like to write my own notes/tests/code in org and then use org-bable-tangle to produce source files. However, all of these files are subject to version control and hence subject to change from ...
820 views

### Syncing changes on a tangled file back to the original org file

I am using org-mode with fountain mode to write a screenplay. Org for organization and fountain for screenplay formatting. This is the code I use for this purpose : Settings for working with (...
1k views

### Preview Latex Fragment in org mode : blank square shown

I have an org file, where I put a LaTeX fragment to be rendered in line with C-c C-x C-l. It is a simple formula: $e^{i\pi} = -1$ I have MiKTeX installed, latex and dvi commands work from ...
103 views

### Is there a way to make the “o” keypress of other-window <C-x><C-o> repeatable?

Question is as stated in the title. Instead of using various packages for switching windows, it might be simpler to make <C-x><C-o> behave like <C-x><C-+>, such that repeated ...
62 views

### org-mode code block parentheses mismatch

Here's some emacs-lisp code in a babel block: #+begin_src emacs-lisp (defun factor (number) (labels ((*factor (divisor number) (if (> (* divisor divisor) number) (list ...
79 views

### How to prevent mu4e from checking mail when the internet is down?

Q: how do I prevent mu4e from automatically checking mail when the internet's down? Problem I use mu4e and offlineimap to handle my email. When on a laptop, I have to deal with the fact that I ...
8 views

### 'Finish to start' todo dependency

org-edna (Extensible Dependencies ’N’ Actions for org-mode tasks) is great! The default blocker (:BLOCKER: property) sets condition(s) for preventing a todo status (defined in org-not-done-keywords) ...
880 views

### Can I automatically export org deadlines and scheduled tasks as an iCal file and import it with another calendar app?

I would like to update Google Calendar / iCal automatically by exporting my org deadlines and scheduled tasks in .ics format, then automatically importing them into a cross-platform calendar app. I ...
6 views

### shift key does not fully work in Juypter Notebook's terminal?

The shift key sometimes does not seem to work in emacs, when emacs is launched in Jupyter Notebook's terminal (in non-window mode). Other meta keys such as Ctrl and Alt on a PC keyboard work as usual. ...
92 views

### How to auto highlight buffer or region in web-mode?

I'm using web-mode 13.1.25, but was until today on 12.x with the same issue. It seems I need to continually choose Highlight buffer (C-c C-h) as otherwise, certain functions misbehave. These steps ...
79 views

### Problem inserting timestamps when the year is far removed from the current date

I am editing an old text file that has each entry preceded by a date = 11/23/1983. I would like to reformat this date to a org timestamp. Using the various methods specified in the documentation is ...
13 views

### How to bind a key in a generic mode?

Is there a way to bind a key in a mode defined using define-generic-mode such as xmodmap-generic-mode? Generic does not appear to create keymaps. ELISP> (require 'generic-x) generic-x ELISP> (...
1k views

### Chatting on Hangouts with Emacs

This question asks how to connect to Google Hangouts with Jabber specifically, but I want to un-XY it. Google has dropped support for XMPP and switched to a proprietary protocol. Is there an existing ...
8k views

### How to start Emacs from the Terminal window as a GUI application (macOS)

I've installed Emacs via Homebrew. The version that got installed is 25.3.1. It was installed as the file whose full path is /usr/local/bin/emacs. When I execute emacs at a Terminal window, Emacs ...
793 views

### How to add matlab integration-spacemacs?

I already installed matlab-mode from the package list. However, not sure where to add the path in ~/.spacemacs. Its a huge file, and the code structure look different from the path file: (...
274 views

### TBLFM insert new row with current time

I want to insert a new row at line 2 in a table (preferably using TBLFM), and I want it to be prefilled with the current date (col 1) and time (col 2). How do I insert a new row (something like #+...
9 views

### Agenda hiding/removing buffers from tabbar

I typically have my frame split vertically into 2 windows. I use tabbar and each window carries 2+ different buffers whose names are in the tabs above. When I switch to agenda-view (or try to schedule ...
21 views

### changing display function in define-word package

How to replace the displayfn from message to a function which displays the result in a temporary window? (I have limited knowledge of elisp.)
272 views

### org-element-parse-buffer usage

I've been struggling with the basic org-element-parse-buffer (see here) usage. Specifically, how do I make it work? It's not interactive, so it has to be called from within an org-mode buffer, I'm ...
348 views

### compilation-scroll-output doesn't work if *compilation* buffer is created by hand

Emacs version 25 I have a short piece of elisp to create a few buffers and split my frame into multiple windows that are displayed the way I like. This code creates a *compilation* buffer and ...
24 views

### Adding speedbar support for a language major mode?

It appears to me that go-mode and speedbar are not working together - the .go files do not appear in the file list. https://github.com/dominikh/go-mode.el/issues/270 is a bug on go-mode which ...
62 views

### org-edit-special to respect the :lines parameter of +INCLUDEs

When one invoke org-edit-special at the line containing an #+INCLUDE, it opens a new buffer with the referenced file. Although, if an #+INCLUDE contains the :lines clause it will not respect what is ...
5 views

### Control depth level of table of contents with org-mode and beamer

I have the following in my org-mode file that I am exporting to beamer on the basis of this simple template: * Introduction * More ** etc * Still more ** Some a ** Some b ** Some c However, my TOC ...
4 views

### Emphasis in org-mode for beamer not translating the @ correctly

I'm looking at documentation here about a very @important@ point. I understand using @at@ renders strong. However, while my org-mode -> beamer -> PDF otherwise seems to work, @ is rendering as a ...
13 views

### Spacemacs Clojure Cider Debugger Gives Error, “No reader function for tag dbg”

After connecting Cider to Spacemacs, when trying to set a debug breakpoint on a function using ,-d-b (cider-debug-defun-at-point), I see the following message in the *cider-error* buffer. 3. ...
9 views

### How to efficiently include a repository relative path in the mode-line?

Currently in the mode-line the filename %f, is absolute. I would like to have the path relative to the version-control root, without having to find this every redraw. How could this be cached, ...
6 views

### org-tags-view: display “path” of all headings HOWTO

file.org: * emacs ** programming language :lisp: text how to make org-tags-view for lisp tag display line: file.org: emacs/programning language :lisp: instead of: file.org: ...
990 views

### Terminal Emacs not receiving <wheel-up> or <wheel-down>?

From what I understand, I should be able to get mouse scrolling to work in emacs nox mode with the following: (require 'mouse) (xterm-mouse-mode t) (mouse-wheel-mode t) (global-set-key (kbd "<...
17 views

### Removed Homebrew now the jpeg and png images don't display

Recently I removed the Homebrew completely on my OS X 10.7.4 (because the only reason I was using it was the OpenSSL package and I installed it from scratch into /usr/localand it worked perfectly so ...
23 views

### Mark isearch results

I'd like to mark regex isearch results so that they can be copied or cut (killed) via M-w and C-w. Is there a ready-made function for this? The solution below provided by @danielpoe over here copies ...
71 views

### How to group digits in minibuffer when sending input to calc?

Is it possible to send something like 200*100,000 as an input to calc? Documentation says Long numbers can be hard to read if they have too many digits. Press d g (calc-group-digits) to enable ...
80 views

### Problem with org-mode odt exporter for styling exported src code blocks

I try to change the style of src code blocks export with odt exporter but it does not work as expected. I first exported my file to an odt document. Then I changed the style of OrgSrcBlock and saved ...
19 views

### How to include an index in a list generated by mapcar?

This statements generates a list of (list filename buf), How could this be written to include an index as well? eg: (list index filename buf) where the index would be a counter, starting at zero, ...
20 views

### Is there a way (a package?) to “redirect” pop-up menus to the minibuffer, ido, or completion buffer; either generic or flyspell-specific

Sometimes I must use Emacs (in X mode) over a network connection (for example, working on a cloud VM). I am pretty comfortable with the interface responsiveness inside a frame, although X is ...
2k views

### Revert all open buffers (and ignore errors)

When working on a project under version control with git, I often want to do some things in a shell that affect many of my open files, then revert every buffer that I have open to make sure that I don'...
101 views

### Align lines of two separate files in two split-windows?

Is there a way to align line numbers of separate buffers, one in each split window?
63 views

### Automatically open the exported file as soon as org-export-dispatch` succeeds

What is the simplest way to configure org-mode to automatically open the exported file as soon as org-export-dispatch succeeds?
66 views

### Issue binding space as leader with evil-mode and general mode

I am currently trying to set up my config so that I can use evil-mode while also using the space key as a local leader for some command while mapping my keys with general.el package. ;; hide tool bar ...
211 views

### (How) can I emulate {eshell,comint}-output-filter-functions in term?

What I want to do from inside a term shell is have a function called when there is new output or a certain regexp (e.g. a prompt) appears in in a term's output. The callback function should then be ...
346 views

### How to fix incorrect emacs C#-mode indentation for method braces

My problem is that Emacs incorrectly indents the braces for C# methods, like this: static string LOL() { } then I have to manually correct it to static string LOL() { } I have read ...
377 views

### auto-complete Key binding doesn't work in one emacs mode

I have changed the keybindings for yasnippet and autocomplete so that I can use tab for indentation anywhere in a line without accidentally autocompleting or inserting a snippet. I have this in my ...
51 views

### How to use an Easy PG encrypted custom-file?

So, inspired by this article. I decided to try adding the following to my init.el: (setq custom-file (expand-file-name "secret.el" user-emacs-directory)) (load custom-file) Where the file in ...
24 views

### url-retrieve-synchronously on github doesn't return any response

Running the function (url-retrieve-synchronously "https://api.github.com/users/lawlist/gists") returns an empty buffer. This only happens with github. What could possibly be the cause?