# All Questions

16,414 questions
Filter by
Sorted by
Tagged with
4 views

### Enable spell check with american dictionary for all buffers

I have an init file that loads two files: one from customization done from within emacs and other from my custom settings file - better-defaults.el. I have tried various options like ispell-local-...
4 views

### How to disable TIDE when using Indium scratch buffer

I'm learning Javascript and my setup is Indium + Tide, The setup works well and I can follow all the exercises in the book. But when I try to use the Indium scratch buffer M-x indium-scratch It opens ...
20 views

### How to calculate a point N lines from another point in elisp?

Given a point, how can I get the point N lines before/after it? Will post own answer, but I'm not sure it's optimal.
14 views

### How to detect the modifier key state with track-mouse?

When using track-mouse pressing modifier keys doesn't generate events. Is there a way to detect if any modifier keys are held while tracking the mouse?
16 views

### How to tell Ivy to use completing-read-default for specific command? (org-tags-view, in particular)

Ivy (+swiper +counsel) is very cool and I use it constantly for an ever growing number of tasks. But there are some cases in which the requirements of a certain completion task defeats Ivy's logic. ...
10 views

### how to test which org mode publish backend is in course in a export filter?

Why is my org mode publish derived backend not reconized in the code snipped below? (if (org-export-derived-backend-p backend 'jekyllHtmlPost) This is my complete init.el ;;; package --- Summary ...
19 views

### Emacs slow when launching GUI

I have a weird problem. When I launch emacs GUI by double clicking the icon, or using open -a emacs in the terminal, or calling the application from alfred/spotlight it takes 4-8 seconds to launch. ...
7 views

### spacemacs: show yasnippets at top of completion popup list

yasnippet can be integrated into auto-compltion in spacemacs. I want to show snippets at the top of the auto-completions list. Default is at bottom. foo_______________ |foo -> foo snippet| |foo ...
14 views

### irony-mode producing too many errors

I am trying to use irony-mode with my project. I have installed the irony server using irony-install-server. I also have a CMakeLists.txt to produce the makefile for my project along the compile ...
18 views

### Copy all dirs exclude all subdirs with name “build”

emacs 26.1 dired+ I have dir my_dir. This dir contains 10 dirs. In every of those dirs there are 2 subdirs: src build I need to copy in DIRED MODE all dirs and files from my_dir to my_dir2 and ...
37 views

### Replace text with latex

I wondered if it is possible to make emacs replace occurences of a/b with ${a \over b}$ , where a and b are integers or letters in the text.
26 views

### How to prevent scroll up doing nothing when the value is too big?

When calling (scroll-up N) with a large value that would exceed the buffer length - nothing happens. For example: (global-set-key (kbd "<f4>") (lambda () (interactive) (scroll-up 10000))) ...
24 views

I tried to install emacs and in an attempt to install MELPA, tried: (this is my init.el file) (package-initialize) (add-to-list 'package-archives '("gnu" . "http://elpa.gnu.org/packages/")) (add-to-...
5 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. ...
77 views

### execute result block as shell commands

I would like to build a shell command using elisp and then printing the result so it is stored in a #+RESULTS block and from there execute that result block as a shell command still inside the org-...
12 views

### Org-capture template with deadline of one month from today

As it seems, org-mode capture templates mechanism maybe have changed? I'm using: Org mode version 9.2.4 (9.2.4-10-g3b006f-elpaplus) What I'm trying to do is to have a capture template that will ...
6 views

### Changing the tangling destination

If you call #'org-babel-tangle in a source block beginning with #+begin_src tex :tangle irs.tex The tangled file will normally end up in the current directory, which will be the directory containing ...
25 views

### Is there a way to start org-mode agenda with a custom search?

I would like to start an org-mode agenda with a custom tag search (rather than starting the agenda and then doing the search). The overall goal is to make a work and a personal agenda. I can make ...
29 views

### Regex: Don't Match Text Between Curly Braces (LaTeX Commands)

I've been using pandoc and emacs to convert beamer presentations to markdown format. In the beamer presentations we highlighted certain code in example code blocks red. Pandoc has left me to get rid ...
10 views

### starting emacs from the commandline and setting line wrap to 60 - howto?

I'm new with emacs and come from joe. There I started editing mail with the option "rmargin" which set the right margin for my mail at column 60. I can't find a similar option in emacs? Is there ...
15 views

29 views

### If frame is maximized?

Is it possible (using only emacs-lisp) to find out if the current frame is maximized? Not fullscreen, but maximized.
31 views

### Why is hl-line+.el not a package?

Apparently hl-line+.el solves certain performance problems of hl-line-mode. It is created in 2006, and last updated in 2018. Despite that, it was never packaged to be available at e.g. melpa, which ...
15 views

### Open code snippet from org-mode with C-' in a vertical split instead of an horizontal one

In org-mode, I open a code snippet with C-' (org-edit-special) to edit it in a separate split. By default, it opens it in a horizontal split. Is there a way to open a code snippet from org-mode with ...
24 views
+50

### Selecting a file via helm using multiple sources

I have a customized find-file that uses helm sources to help load a file into my buffer. Now, however, I would like to be able to select a file using the same algorithm and store that filename into a ...
13 views

### Elisp to increase font-size in indirect buffer

I use org-mode for writing and frequently use a two pane setup, similar to the one described here: Org-mode 2-pane writing setup using indirect buffers (or display-buffer-alist. I have an outline on ...
15 views

### Text overflow in agenda views

I am not quite sure what the best way to describe what I'm looking for is, so let me start with a picture. This is the result of doing a search for all TODO items in my agenda-files with a certain tag....
26 views

### scheme not working in org soure code

After enable scheme in babel and restart the emacs, Run the codes #+BEGIN_SRC scheme (define (A x y) (cond ((= y 0) 0) ((= x 0) (* 2 y)) ((= y 1) 2) (else (A (- x 1) ...
35 views

### Why is face-attribute interfering with isearch?

Question: Why does face-attribute interfer with isearch filter predicates? The following code is part of my answer to the question about searching for bold text. If I set the variable isearch-face-...
23 views

### How to detect the number of lines scrolled from scroll up/down?

When running scroll-up or scroll-down, it's possible emacs isn't scrolling the number of lines requested (if you hit the start/end of the buffer for eg). Is there a convenient way to know how many ...