Newest Questions

1 vote
1 answer
52 views

Append .*? in isearch-forward-regexp search string by pressing TAB key

I would like to append .*? in isearch-forward-regexp search string when I press TAB key. I have tried ;; Insert .*? on space inside isearch regexp (define-key isearch-mode-map (kbd "<tab>&...
Rittwik Chatterjee's user avatar
0 votes
1 answer
22 views

Expand a snippet with yasnippet from elisp with a named snippet?

I use evil (vim) mode and yassnippet. I want to define some snippets which "wrap" a region selected in visual mode. This means I cannot type the snippet name into the buffer before running ...
Att Righ's user avatar
  • 817
0 votes
1 answer
53 views

Consult's `find-file' behavior when typing "~"

I'm switching from counsel to consult. counsel uses counsel-find-file. The behavior is that when I type ~, it will automatically change the prompt to the home directory: ;; Initially it shows this ...
eflanigan00's user avatar
3 votes
2 answers
107 views

How to disable backspace acting as reverse search?

To reproduce, press C-s, fill in a search string which occurs more than once in the rest of the file, then press C-s again. At this point I would expect backspace to delete the last character of the ...
l0b0's user avatar
  • 131
2 votes
1 answer
24 views

add-advice to existent function

I want to insert a paperclip icon after the TODO of an org task when I attach a file to it. Here is what I want to obtain: * TODO PAPERCLIP blablabla :ATTACH: // PAPERCLIP would be the icon. In order ...
Guillaume's user avatar
  • 209
0 votes
1 answer
47 views

how to set event spanning the whole day

I need to set on my org-mode file a free day at work. Then show it on the agenda. How can I obtain an all-day event that I can see on the agenda (C-c a a)?
RenatoP's user avatar
  • 123
0 votes
0 answers
42 views

Any sort of sensible emacs buffer ordering

When I use emacs, I primarily move around in buffers with C-x left/right, but the problem is, when new messages pop up or something, it eventually all causes the buffers to somehow deorder in the ...
Stigl's user avatar
  • 27
0 votes
1 answer
47 views

How do I unbind all chorded shortcuts?

I'm looking at using emacs instead of VS Code, but I'm not that interested in a learning curve for a text editor. I use very few shortcuts in my daily activities, and use a tiling window manager so ...
Adam Barnes's user avatar
1 vote
1 answer
34 views

Problem with compiling latex block of code in org-babel

I would like to compile the following piece of code using pdflatex, however I keep obtaining error that pdf wasn't produced. #+name: circle #+header: :results file drawer #+header: :file circle.png #+...
martinoidar's user avatar
0 votes
1 answer
27 views

vertico-quick problem with mapping

My configuration is the following: (use-package vertico-quick :ensure `(:repo ,(concat elf-emacs-package-directory "vertico")) :after vertico :init ;; https://kristofferbalintona.me/...
eflanigan00's user avatar
2 votes
1 answer
65 views

How do I make macros accessible in .tex-subfiles?

I've split my .tex-file into a main.tex and several subfileX.tex (\input{subfileX}). In the main-file I've loaded some 40 packages with macros and defined 50 own macros, which aren't available with C-...
Alexander Wittmann's user avatar
2 votes
1 answer
31 views

How do I determine which packages depend on a particular package?

I am using package-list-packages, and I have magit-popup installed. And I see that it is a dependency. magit-popup 20200719.1015 dependency Define prefix-infix-suffix command ...
Cheeso's user avatar
  • 295
0 votes
0 answers
19 views

Accessing Sage interpreters from Org Babel

I often use Sagemath within Org mode for my math notes, using the ob-sagemath package. Sage can provide an interface to many underlying interpreters, like GAP or Maxima, and I just figured out how to ...
Luke's user avatar
  • 37
0 votes
1 answer
28 views

use-package question: where should defvar, defconst go if setq-s move to :custom?

Trying to clean up init files using use-package. Currently, I have defvar, defconst, define, and setq under :config. If I move setq to :custom section, where should defvar, defconst, and defun go? ...
David R's user avatar
  • 51
0 votes
1 answer
22 views

Is thai-pattachote input method missing characters?

I was listening to some intro videos on the Thai alphabet, and trying to type characters in Emacs. If I use M-x set-input-method and set it to thai-pattachote, I can type in Thai. Each key maps to a ...
Rob N's user avatar
  • 761

15 30 50 per page