All Questions

Filter by
Sorted by
Tagged with
1
vote
1answer
252 views

Change permanently font size in Aquamacs

I have been looking on the web to the existing answers to this question, but non of them works for me. I would like to change the default font size for all frames in Aquamacs 3.3 GNU Emacs 25.1.1 (...
0
votes
2answers
354 views

prevent auto indent temporarily for multi line conditional, loops, etc

When I am writing in c-mode, I prefer to write multi-line control statements in the following way. if( cond1 && cond2 || cond3 ) { /* stuff */ } for( i = 0; i < N; ++i ) { ...
0
votes
0answers
13 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. ...
7
votes
1answer
2k views

How to get org-babel source block working with ES6-7?

I'm having difficulty getting org-babel to evaluate this block of code with emacs v24.5 node v5.0.0 babel-node v.6.6.5 #+BEGIN_SRC js :cmd "babel-node" let arr = [1, 2]; let [x, y] = ...
1
vote
1answer
151 views

How to add bbdb contact from gnu message?

I am trying to figure out gnus and bbdb. I am able to read messages using gnus, but now I want to add contacts from the mail message into bbdb. I have read that ':' should display a prompt and allow ...
4
votes
1answer
635 views

Checkboxes: change bullet points to letters

I'd like to have an org file with 3 checkboxes listed with letters, instead of bullets, but they should remain fully functional. Instead of: [ ] Foo [ ] Bar [ ] Baz This: A [ ] Foo B [ ] Bar C [ ]...
1
vote
1answer
1k views

Autocompletion with tide or tern

Autocompletion doesn't work with tide or Tern, I have to M-x company-complete-common. I would like for it to keep suggesting with a dropdown menu as I type, but I can't manage to. It works just fine ...
2
votes
2answers
201 views

Org-mode markup between square brackets

My question concerns org-mode. I'm trying to add the characters [ and ] to the org-emphasis-regexp-components in order to mark up words between square brackets. So I get for example the following ...
2
votes
1answer
431 views

How to use web-mode to edit multiline HTML inside backticks?

I often work with Angular and Typescript, and I'm fond of putting my Angular templates directly into my Typescript files. The resulting code is essentially Javascript with HTML snippets in it, like ...
0
votes
1answer
56 views

Sometimes Emacs gets stuck with non-working capslock key

I'm using Emacs 26.1 on Windows 10. Sometimes, the capslock key stops working: The key is activated but typing letters does not result in capital letters being inserted into a buffer. It works with ...
0
votes
1answer
8 views

How to navigate through bookmarked directories in helm-find-files?

I have some bookmarked directories (regular Emacs bookmarks). I'd like helm-find-files to quickly navigate to the files in these directories. I've tried helm-bookmarks but it will only open the ...
0
votes
0answers
26 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 (org-not-done-keywords) becoming ...
12
votes
2answers
829 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 (...
0
votes
0answers
19 views

C-x C-f causes python shell to start in python-mode

I normally use C-x C-f to counsel-find-file by every time I try using it in python-mode, it starts up the Python Shell in a buffer. I've tried investigating whether there is a hotkey conflict using "C-...
0
votes
1answer
67 views

“Ignoreheading” Beamer Environment doesn't work with :BEAMER_act: Overlay

What I would like to do is the following: I have a beamer frame where I added :BEAMER_act: [<+->]. This works well with all blocks that follow, but not when I set :BEAMER_env: ignoreheading. ...
1
vote
1answer
187 views

How can you set clocktable scope dynamically? Or call it programmatically?

I want to get a clocktable for a list of files defined by a function, and I can't see a way to do that. In theory (according to this answer: Is there a simple way to use all org-files referenced in a ...
0
votes
0answers
26 views

emacs ivy always selecting default function

I just started trying out ivy. I took the following example from the ivy tutorial: (defun my-action-1 (x) (message "action-1: %s" x)) (defun my-action-2 (x) (message "action-2: %s" x)) (defun ...
0
votes
1answer
757 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
0
votes
0answers
5 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 `( ("...
0
votes
2answers
42 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 ...
10
votes
3answers
379 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 ...
10
votes
2answers
395 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 ...
4
votes
1answer
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 ...
5
votes
3answers
253 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 ...
0
votes
2answers
68 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 ...
6
votes
2answers
81 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 ...
4
votes
1answer
881 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 ...
0
votes
1answer
93 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 ...
0
votes
2answers
80 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 ...
1
vote
1answer
22 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> (...
6
votes
1answer
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 ...
2
votes
2answers
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 ...
0
votes
1answer
796 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: (...
2
votes
1answer
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 #+...
0
votes
1answer
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.)
3
votes
1answer
274 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 ...
0
votes
1answer
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 ...
1
vote
1answer
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 ...
1
vote
1answer
62 views

org-edit-special to respect the :lines parameter of `+INCLUDE`s

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 ...
0
votes
0answers
8 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 ...
0
votes
0answers
6 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 ...
0
votes
1answer
14 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. ...
0
votes
1answer
10 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, ...
0
votes
0answers
8 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: ...
4
votes
2answers
994 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 "<...
1
vote
1answer
24 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 ...
6
votes
1answer
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 ...
1
vote
1answer
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, ...
9
votes
5answers
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'...
1
vote
1answer
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?

15 30 50 per page