All Questions

Filter by
Sorted by
Tagged with
0 votes
1 answer
27 views

Why would this custom org-num-format-function causes a warning when org-latex-preview called?

What I'm experiencing: A custom org-num-format-function causes org-latex-preview warn when it called. Exact warning I'm getting. ⛔ Warning (org-element-cache): org-element--cache: Org parser error in ...
Garid's user avatar
  • 666
0 votes
2 answers
30 views

Printer set up. Wrong type argument: listp

I use Emacs 29.3 on an M1 Mac Mini with OS 14.4.1. I'm trying to set up PS printing. I picked up the name of my printer from lpstat. I copied the following code, verbatim, to my init.el from the ...
PhilC's user avatar
  • 1
0 votes
1 answer
41 views

Wanderlust: User ID containing "@" in the "folders" file?

I'm using the latest Wanderlust under Emacs 26.3, and I've also tried later Emacs versions up through 28.x. In Wanderlust's "folders" file, for each IMAP folder there are entries which look ...
HippoMan's user avatar
  • 616
0 votes
1 answer
27 views

Doom Emacs - `custom-theme-set-faces` not working for `org-level-n` faces

I am trying to modify a few faces for a specific doom-theme in Doom Emacs. I am only interested in an emacs-lisp solution, I do not want to customize via the dedicated Emacs interface. I got the basis ...
lyndhurst's user avatar
0 votes
0 answers
8 views

With lsp-mode for C#, how can I replace var with explicit type?

In Visual Studio, there is a Quick Action to use explicit type instead of 'var'. Is this Quick Action supposed to be available using lsp-mode? I've tried lsp-execute-code-action, but it doesn't ...
Jason Hunter's user avatar
0 votes
1 answer
17 views

Can I redefine org-babel-execute for specific org-babel blocks?

When I C-c C-c on an org-babel plantuml block, I get the message: Debugger entered--Lisp error: (error "No org-babel-execute function for plantuml!") I have to M-x plantuml-preview-current-...
Jason Hunter's user avatar
5 votes
1 answer
496 views

Can I mark a local variable as safe for a single file only?

I have a LaTeX-file (thesis.tex) which I edit daily. Some LaTeX-package I use requires me to compile the file with --shell-escape, so I added the file-local variable %%% TeX-command-extra-options: &...
red_trumpet's user avatar
0 votes
0 answers
21 views

How can I include org-links in org-babel?

I can insert links in plantuml, like this #+begin_src plantuml @startuml actor Bob [[http://plantuml.com/sequence]] actor "This is [[http://plantuml.com/sequence Alice]] actor" as Alice Bob -...
Jason Hunter's user avatar
1 vote
1 answer
70 views

Is it okay to rebind C-i and C-m?

I came across this snippet which stops emacs from converting C-i and C-m into <tab> and <ret> respectively: (dolist (k '("C-i" "C-m")) (define-key input-decode-map (...
temp10april0412's user avatar
1 vote
1 answer
37 views

Tramp scp access without interactive ssh shell

I use a commercial backup server to which I can copy and access files with scp, rsync and some other ways. I can also do ssh USER@SERVER COMMAND for some commands, like ls, quota, rm etc., but I am ...
pst's user avatar
  • 276
0 votes
0 answers
46 views

replace-regexp-in-string inserting rather than replacing at some matches

This is my first question. My searches through answers to (some of the) similar questions hints that I likely have to educate myself on Match Data, but I'm asking here now anyway. Anyway, I have a ...
ramsay's user avatar
  • 1
0 votes
1 answer
24 views

In shell-mode, Ruby interactive shell irb repeatedly echoes input line built up from every successive input character

As the title says, when I run the Ruby interactive shell irb in a shell-mode buffer on MacOS, my input line is echoed back many times, character by successive character. Example: irb(main):001> 1+...
Sean's user avatar
  • 941
0 votes
0 answers
16 views

Rmail don't display text immediately when opening message

I'd like to have an overview of the parts of the email messages I receive when displaying a message; but rmail immediately opens the text part of the email pushing the other parts out of my small ...
user43824's user avatar
0 votes
0 answers
20 views

Cant' delete files/directories on Synology

I'm on macOS 14.4.1 and have Emacs 29.2 plus installed from Homebrew. I have an access problem with Dired on my Synology when I try to delete files: "file-error: Removing old name: Operation not ...
Emax2020's user avatar
1 vote
1 answer
76 views

Prevent `lsp` + `company` from losing completion after dot + symbol

In many languages . is specially treated, so e.g. after typing a foo. a user expects a completion for methods available from foo. That works with company as well, however after foo. triggered a ...
Hi-Angel's user avatar
  • 798
1 vote
1 answer
74 views

Cryptic entry in the info manual

I'm trying to understand something in the info manual. The description of the variable Info-enable-active-nodes opens more questions than it answers. This is from the Info tool manual (at the bottom ...
Marek GorgWilde's user avatar
0 votes
1 answer
34 views

function redefined in .emacs gets overwritten at startup

I redefine the function rmail-make-in-reply-to-field in my .emacs but I noticed that when I restart emacs and invoke rmail then my redefined function is overwritten by the standard until I call M-x ...
user43824's user avatar
0 votes
1 answer
16 views

How to investigate the overriding of a keymap?

In the magit commit message buffer, I once was able to get the previous commit message using M-p in evil edit mode. Exactly how it's expected. Now I'm required to enter into evil insert mode hitting i ...
jjk's user avatar
  • 744
1 vote
1 answer
38 views

How to apply different whitespace settings for different buffer portions?

Does the minor mode whitespace library provide any way to apply different settings to different portions of the same buffer? For example, I might like to highlight `TAB characters in a comment block, ...
RoUS's user avatar
  • 121
0 votes
0 answers
31 views

Hide repeating tasks in org-agenda's "overdue section"

How would you remove from the "overdue section" (not sure the right name) headings that are scheduled to repeat, e.g. * TODO My task SCHEDULED: <2024-04-02 Fri 16:30 .+1w> this now ...
Daniel Krajnik's user avatar
0 votes
0 answers
11 views

emacsclient vs. Chromebook: must manually switch to window

On Linux normally I can do $ emacsclient --no-wait file.txt and voila, there I am sitting in emacs editing file.txt before you know it. But not on ChromeOS Linux. There I need to manually switch to ...
Dan Jacobson's user avatar
0 votes
0 answers
10 views

Org-babel remote inline images with TRAMP not exporting in org export

I am trying to find a way to get the images generated in my remote server exported to a HTML locally. Orgmode of a local analysis works as expected, but if I have tramp enabled with: #+PROPERTY: ...
lf_araujo's user avatar
  • 123
1 vote
1 answer
179 views

Delete trailing whitespace on save, but only for yaml files

I would like to run delete-trailing-whitespace for files with extension .yaml only. Can someone please supply the elisp to do this?
Brian G. Marete's user avatar
0 votes
2 answers
33 views

re-search-backwards find first Uppercase letter

I want to find the first occurrence of an uppercase letter. I am trying to use re-search-backwards; yet it is not working as intended. Here's an example: (defun test () (interactive) (re-...
Peter Petigru's user avatar
0 votes
1 answer
76 views

How to evaluate python code in org-mode when only python3 is provided by the package manager?

Recently I started to use guix as my operating system. I installed python3 for my user via guix install python3. python itself is not available in the package repository, which I verified by running ...
Eldinur's user avatar
  • 13
1 vote
1 answer
50 views

How to strip/normalise indent on paste?

It's often the case that I want to move a code block from one place to another that has a different level of indent. Here's an example Haskell snippet: someFunc = withSystemTempDirectory "test&...
Atemu's user avatar
  • 322
0 votes
0 answers
18 views

Unable to modify quote and verse blocks in org-mode

Although I have set org-fontify-quote-and-verse-blocks to t, when I call describe-text-properties with point on a #+begin_quote or #+begin_verse block the value of face remains org-block: There are ...
Pablo's user avatar
  • 320
0 votes
0 answers
16 views

Prevent emacs from automatically overwriting non-current auto-save file

I wanted to recover a file after a little unexpected shutdown. So I opened the file in Emacs and ran recover-this-file. Emacs responded with Auto-save file not current - fine, I thought, let me look ...
xeruf's user avatar
  • 354
0 votes
1 answer
49 views

How to enlarge the properties header buffer in image-dired

Some of my images contain a large comment (> 1000 chars). Yet the image-dired properties header shows only one line (count,size,tags,comment). How can I see the complete comment (alongside all tags)...
jjk's user avatar
  • 744
0 votes
0 answers
17 views

How to share custom-set-variables settings with colleagues?

In my .emacs file, I have some settings that I need to share with my colleagues to ensure that other tools I've shared in a Git repository work correctly. I was thinking of moving these settings to a ...
Gabriele's user avatar
  • 1,642
0 votes
1 answer
76 views

What truncates lines at the 400th character in the *compilation* buffer?

What truncates lines at the 400th character? I notice that when a line is longer that 400 characters, it gets truncated with "[...]" added at the end. Yes, it is due to something I put in my ...
Dan Jacobson's user avatar
0 votes
1 answer
31 views

What is the equivalent of doing `git reset <file>` / `git reset` with the shipped vc?

I sometimes want to unstage changes. From the console I can use git reset or git reset <file>. I couldn't find anything related in the docs or via C-x v C-h for vc, but it seems that this should ...
grszkthfr's user avatar
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
1 vote
0 answers
30 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
  • 450
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,642
0 votes
1 answer
29 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
  • 763
1 vote
1 answer
46 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
66 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
42 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
71 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
71 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
62 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
33 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,227
0 votes
1 answer
38 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
56 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
13 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
23 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
37 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
25 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

15 30 50 per page
1
4 5
6
7 8
546