All Questions

Filter by
Sorted by
Tagged with
0 votes
0 answers
18 views

Why does commented out parentheses match non commented parentheses?

If I have (foo ;) ) , then the last parentheses shows up as No matching parentheses found What gives?;)
Jason Hunter's user avatar
0 votes
0 answers
11 views

Frame freezes, but can still type & open new frame

I am running Emacs 29.3, installed via brew, on MacOS 14.4. Often (and this may have happened with earlier versions of both Emacs and MacOS; not sure), the current frame freezes. If this happens, ...
AnoE's user avatar
  • 440
0 votes
1 answer
18 views

Maintaining prefix argument sensitivity: wrapping functions in emacs minor mode menus

I have a set of functions, some of which accept a prefix argument: (defun prefix-arg-test (&optional prefix) (interactive "P") (if prefix (message "prefix") (...
Gabriele's user avatar
  • 1,618
0 votes
1 answer
27 views

Can't save file that contain German character ß in Emacs?

I'm trying to save a file in Emacs that contain ß. This is name Wißkirchen. When I try to save, got this error: Debugger entered--Lisp error: (file-missing "Loading charset map" "Nie ma ...
jcubic's user avatar
  • 743
1 vote
1 answer
41 views

How can I add a link to jump to the table of contents?

I would like each chapter title to also be a link to the table of contents, so that I can quickly go back and forth from the TOC to the chapters. This is my example test.org document: #+TITLE: My doc ...
Pietro's user avatar
  • 121
0 votes
1 answer
61 views

AUCTeX cannot find a working TeX distribution (again)

This is DIFFERENT from many other questions about "AUCTeX cannot find a working TeX distribution" because the TeXlive binaries ARE in my Emacs' "PATH" environment variable. I have ...
gboffi's user avatar
  • 614
1 vote
1 answer
41 views

Opening multiple files: how to change default buffer order

When I run $ emacs file1 file2 file3 file4 in a Unix shell, this is the result (using C-x Left and C-x Right to switch buffers): file4 file3 file1 file2 *BufferList* *scratch* The starting buffer is ...
Ness's user avatar
  • 177
0 votes
0 answers
24 views

Opening a thumb in image-dired opens a new thumb display buffer each time

Hitting image-dired-display-this (bound to key RET) and image-dired-display-next (bound to key ') in the image-dired-thumbnail buffer opens/duplicates another image-dired-thumbnail buffer each time. ...
jjk's user avatar
  • 744
0 votes
1 answer
65 views

How do I load 3rd party library (`citeproc`, in my case) in to Emacs started with a `emacs -Q` and a custom script?

I am trying to publish a HTML webpage using an Org file. I am using a very standard Lisp script that I execute in the terminal as: emacs -Q --script script.el (require 'ox-publish) (setq org-publish-...
topcat's user avatar
  • 113
0 votes
0 answers
70 views

Auctex changes when inserting items

I am using AucTex 13.2-1, and I have noticed some changes in the insert-item functionality. Previously, when used C-c C-e, I was prompted for the environment type and, when choosing itemize, the ...
Moritz's user avatar
  • 1
1 vote
1 answer
57 views

How do I load a previously named keyboard macro?

If I've previously defined a keyboard macro via C-x ( and C-x (i.e. kmacro-{start,end}-macro), named it via C-x C-k n (kmacro-name-last-macro), and then recorded a bunch of other macros in the same ...
Adam Spiers's user avatar
0 votes
0 answers
32 views

Unpredictable Emacs echo area flashing on new message

Unpredictible Emacs echo area flashing on new message I am using my own fork of emacs-mini-modeline. It's a package that displays text message and modeline content in the echo area, to save space ...
godblessfq's user avatar
  • 1,217
0 votes
1 answer
37 views

ESS Eval Region/Load file/Eval Function button not showing on starting an R file

I am on Debian 12 / Ubuntu 22. I installed emacs+ess by doing sudo apt install emacs sudo apt install ess When I start an R file, it does not show me the icons for instance for Load file. Can someone ...
user2338823's user avatar
0 votes
1 answer
46 views

Using hunspell in emacs on Windows 10

OK I am at my wit's end on this. I have found various incantations on the internet for this, but nothing works so far. I am running emacs 29.2, the native windows build, on Windows 10. I want to ...
D Strozzi's user avatar
  • 101
0 votes
0 answers
12 views

How to bind common Info-mode navigation to single keys in spacemacs?

I wish that more keys were bound in Info mode in spacemacs. For example: Info-next doesn't seem to be bound (n instead is evil-ex-search-next, which I never use) Following a reference requires two ...
Croad Langshan's user avatar
1 vote
2 answers
22 views

Emacs eshell ls -d doesn't work

I would like to list just my folders (not files) with Emacs eshell. I tried ls -d . but it doesn't work. I can achieve this using with bash under term using ls -d */ but this doesn't work neither ...
rvcristiand's user avatar
1 vote
1 answer
36 views

Looping a vector of 5*n entries by steps of 5 while assigning chunks of 5 to local variables

A server sends a vector of integers like [6 4 8 7 16 ...] and the protocol says it will be always 5n values. Is there a nice way to loop over the vector assigning chunks of 5 values to 5 local ...
Harald's user avatar
  • 328
0 votes
1 answer
24 views

How can I create reminders based on (list-holidays)?

I'd like to create reminders in advance of holidays, (list-holidays), 30 and 90 days in advance. Is there any utility that could help?
cashpw's user avatar
  • 23
0 votes
0 answers
32 views

How to have timestamp (hour:minute) as prefix to a recurring task started before but recurring in the current day in an agenda view for the current?

The current day is 2024-03-30 . I have the following sample agenda items: * Future ** A meeting non-recurring :meeting: SCHEDULED: <2024-03-30 Sat 11:00> ** Meeting recurring starting today :...
Yu Shen's user avatar
  • 471
3 votes
1 answer
102 views

Using make-symbol, boundp and symbol-value to reference a variable whose name is made from a string

When I run the following three lines with eval-region (defcustom custom-var "some-custom-value" "for testing only") (setq indirectRef (make-symbol "custom-var")) (message ...
Harald's user avatar
  • 328
0 votes
1 answer
23 views

ESS-View not working

I have just installed ess-view, following the steps outlined in the installation section here. Let's say I have the following dataframe: x <- sample(1:10, size = 100, replace = TRUE) y <- sample(...
Tiberius's user avatar
  • 113
2 votes
3 answers
126 views

How to convert an org-table to JSON?

Here is a minimal example of an org-table: #+NAME: radar |----------+------| | Variable | Val | |----------+------| | Red | 43.3 | | Blue | 83.1 | | Yellow | 86.4 | |----------+------| I ...
crocefisso's user avatar
  • 1,353
0 votes
1 answer
48 views

Org-mode: clickable heading

I would like each org-mode section to be expandable with a left mouse click anywhere in the heading (excluding tags). This answer correctly points to org-mouse. However, I must click on the section ...
unvarnished's user avatar
1 vote
1 answer
24 views

How can I tangle all org-babel blocks under the current org-heading?

How can I tangle all source code blocks under the current org-heading?
Jason Hunter's user avatar
1 vote
1 answer
29 views

Make C-x C-b go back to last buffer even if open in another frame

If I have only one emacs frame, and I open files A, B, C, and then press C-x b and switch to A, then press again and switch to B, from then on every time I press C-x b ENTER, I will alternate between ...
Joseph Garvin's user avatar
1 vote
3 answers
79 views

reusing text (to give feedback to students)

When I grade students' essays, I frequently have to write the same comments. I would like to write an emacs function to help me reuse the most used comments in a file potential comments. The function ...
SaMeji's user avatar
  • 128
1 vote
1 answer
109 views

How to provide updated 'seq' package to magit?

Recently I installed Debian (so I rewrote my emacs configuration file). I usually like to use use-package, because it makes the installation of packages simple. This is how I fetched magit from melpa: ...
Eldinur's user avatar
  • 13
0 votes
1 answer
22 views

use output of python code block from other python code block

My emacs is 29.2 in linux. I try below code to use output from first python block, but the output in second block is None after press C- C-c. #+name: testblock #+begin_src python print("hello&...
beetlej's user avatar
  • 1,100
0 votes
1 answer
55 views

In `*shell*` buffer, how do to configure `TAB` key to behave vertically like `Vertico` does for `find-file` etc?

I have Vertico configured in my Emacs 28.2 running on Linux, along with Orderless as follows: ;; Enable vertico: (use-package vertico :ensure t :init (vertico-mode)) ;; Enable orderless: (use-...
bgoodr's user avatar
  • 341
1 vote
1 answer
37 views

Auto-answer "really edit the buffer"

I frequently have auto-revert-mode enabled for log files, where the mode hook runs ansi-color-apply-on-region. That deletes ANSI color sequences and adds overlays to produce the desired color. That ...
Troy Daniels's user avatar
0 votes
0 answers
19 views

Org clock table for repeating events

How can I make a clock table with start time the date in LAST_REPEAT?
user43824's user avatar
0 votes
0 answers
25 views

Python-mode code navigation

How can I navigate from an abstract class/method to the implementations of that class/method? Using the M-. I can jump to function definition but I can't find a way to easily find the implementation.
Isky's user avatar
  • 101
1 vote
1 answer
48 views

Different fonts for buffer, minibuffer and modeline

I tried set-frame-font but it changes the font for not just the buffer, but also minibuffer and modeline. Is it possible to just change the font for the buffer, but not minibuffer and modeline? i.e. I ...
Microsoft Linux TM's user avatar
0 votes
0 answers
21 views

How to balance multiple pairs with electric-pair-mode

One such case is the double bracket in org mode: [[]] If I type "[" twice I will get: [[] The pair doesn't match! There is a similar question with a different purpose. How to make `electric-...
godblessfq's user avatar
  • 1,217
1 vote
0 answers
17 views

Org-mode+Babel: Refactor across files or code blocks

I'm refactoring my Emacs config files so that they are generated with org-babel-tangle. I am able to do everything I need but I really miss better refactoring support. As an example, after I define a ...
pgpb.padilla's user avatar
0 votes
2 answers
57 views

Is it possible to have autocompletion for properties in org-agenda?

When filtering entries in agenda buffer (including C-c m) I only get auto-completion for tags. But the first thing I want to filter by is always the value of the "Project" property. I set up ...
Reverent Lapwing's user avatar
0 votes
0 answers
11 views

Adding PS1's "user@machine" to the exported version of an org-babel shell block

I am using org-babel for running shell commands. I'd like to export the code block as if it was running from the terminal, so adding "user@machine" before each command. When I export the org ...
Peter Petigru's user avatar
0 votes
1 answer
54 views

Is it possible to do #+SETUPFILE conditionally in orgmode (with regard to included files)?

I'm working on a big text in orgmode, which is expected to be finally exported to Latex & PDF, so I made this kind of a master document in orgmode: #+SETUPFILE: exportoptions.org #+INCLUDE: "...
yury10578's user avatar
  • 141
0 votes
1 answer
100 views

Installing a package with `straight` fails with the error `"use-package: Unrecognized keyword: :straight"`

I have this (defvar bootstrap-version) (setq straight-repository-branch "develop") ; Need this for new org-contrib location (let ((bootstrap-file (expand-file-name "straight/...
Jason Hunter's user avatar
0 votes
0 answers
17 views

How can I disable ellipsis in backtraces?

I have these lines: ;default 12 (setq eval-expression-print-length 0) ;default 4 (setq eval-expression-print-level 0) (setq backtrace-verbose t) (setq debugger-args '("--no-debugger-ellipsis&...
Jason Hunter's user avatar
0 votes
0 answers
54 views

Debugging preview-latex

Running preview-latex in Emacs 25 on Ubuntu 18.04 once worked for me, but now inserts warning icons instead of rendered images of the formular snippets. A minimal example, which doesn't work is: \...
NicolasBourbaki's user avatar
0 votes
1 answer
35 views

Better accuracy syntax highlighting

So I spent a bit of time making my own theme for emacs since none of them were quite right for me, and I'm really loving it as a text editor, but I'm wondering if there was a package that would give ...
Alex's user avatar
  • 1
0 votes
0 answers
11 views

Php Mode keep show this error. #16330

Hello i am on spacemacs and facing a error keep pop up and i have no idea why, may someone help me look into it ? ac-php: Unable to resolve project root Company: An error occurred in auto-begin ...
chris's user avatar
  • 1
0 votes
0 answers
18 views

Includepdf makes extra empty page

I have a simple Emacs code to merge a PDF file called "order" at the end of document, but the result has extra empty page with author info at the top. the code is: #+LATEX_HEADER: \...
yamos's user avatar
  • 1
0 votes
1 answer
30 views

`kill-words` and related commands erase text in read-only buffers

Killing commands, such as kill-word, have started to erase text in read-only buffers. For example, invoking kill-word in dired-mode or mu4e-headers-mode will delete words from a filename or from an ...
Pablo's user avatar
  • 320
0 votes
0 answers
10 views

Bind ctrl-p in doom emacs

I am trying to map a key to C-p and unfortunately the evil-mc-key-map gets in the way. I am using doom emacs on Mac OS. The command to which it is bound is (evil-mc-make-and-goto-first-cursor) with ...
Rareform's user avatar
  • 219
0 votes
0 answers
46 views

Inserting a Page Break Wherever in ODT Document when Exporting from Org Mode

Is there a simple one-liner to insert a page break wherever when generating ODT from Org mode? I'd rather not dig into styles if I can avoid it. I'd like to be able to do something like #+...
user avatar
0 votes
1 answer
32 views

Emacs PS printing problem

I'm running Emacs 29.2 on Mac OS 14.4 on an M1 Mini. I have a Brother HL-L8260CDW series printer. Normal print commands (print-buffer, print-region) work fine. What doesn't work are the ps-print... ...
PhilC's user avatar
  • 1
0 votes
1 answer
48 views

Is there a keybind prefix that is reserved for personal use?

I always was apprehensive about defining custom keybindings because it's so easy to run into conflicts. And lo, when I finally bound org-agenda because it's just too useful not to have it bound, I run ...
Reverent Lapwing's user avatar
0 votes
1 answer
27 views

How can I jump to a file in dired after M-x locate?

If I M-x locate a file, then want to open it in dired, there's no function to jump directly to the file. I can only hit V, which opens the directory, but it does not highlight the file.
Jason Hunter's user avatar

15 30 50 per page
1
3 4
5
6 7
545