All Questions

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

How to modify an emacs window frame title from the command line to manage multiple servers and clients?

I am trying to setup a few different emacs servers on my system for different activities like emails, org, programming. I found the --set-frame-parameters should take care of it, but I have not been ...
lyndhurst's user avatar
0 votes
1 answer
9 views

How to debug emacs with the -q flag if using emacsclient (exwm)?

I start my desktop using .xinitrc: emacs --daemon -f exwm-enable exec emacsclient -c Now I'm required to run emacs -q in order to debug image display issues How should I achieve that since ...
jjk's user avatar
  • 746
0 votes
1 answer
10 views

Chaining flycheck tide and eslint checkers

I use tide-mode and flycheck for editing TypeScript files. flycheck currently executes the javascript-tide checker fine and I can correctly see my TypeScript errors. But I would really like to see ...
ironchicken's user avatar
0 votes
1 answer
16 views

Clang Format on Save with format file in high up directory

Hello I have a series of projects that shares a clang format file. With a basic folder structure similar to the below, each child folder contains its own subfolders and so. - mommy/ |- .clang-format ...
Lars Kakavandi-Nielsen's user avatar
1 vote
2 answers
27 views

Org babel add extra "," after indent for no reason

Insert the following text in an org buffer with electric-indent-mode on. #+begin_src python s=''' #+1 #+1''' #+end_src add a newline to s, and the buffer will become: #+begin_src python s=''' ,#+...
godblessfq's user avatar
  • 1,237
0 votes
0 answers
12 views

org-ref seems to not find references in the bibtex.bib file

I have a large bibliography library.bib file and I was trying to insert some older references into an org file. My file is about 9mb right now. For some reason, org-ref or helm-bibtex cannot find the ...
krishnab's user avatar
  • 519
0 votes
1 answer
17 views

calc-expand function return nil in script mode

I would like to write a function that evaluates a polynomial (given by the list of its coefficients) for a given value of the variable. When the variable is in literal form, I would like the result to ...
gigiair's user avatar
  • 2,253
0 votes
1 answer
30 views

How to insert a named subskeleton from another skeleton?

I have a main skeleton and a subskeleton, both defined with define-skeleton. I would like to insert the subskeleton from the main one, using its name. (define-skeleton my-subskeleton "My ...
Tristan Riehs's user avatar
0 votes
2 answers
37 views

Can someone ELI5 elpaca?

I'm struggling to understand the place elpaca holds in the emacs ecosystem, and looking for an overview. Is something elpaca-like a more-or-less necessary compromise in a vanilla-as-possible-yet-still-...
zellyn's user avatar
  • 101
0 votes
0 answers
37 views

Removing emacs broke my system

I uninstalled emacs using sudo apt remove emacs*. As it was busy my screen suddenly turned black with just the top left flashing cursor. After a restart, no desktop environment loads, I can only use ...
Joram's user avatar
  • 1
0 votes
1 answer
19 views

Magit: getting error "transient-setup: Symbol’s function definition is void: transient-prefix-object" after pressing "b" in magit buffer

I am new to Lisp and beginner in Emacs. I am running Magit from git repository. Since my organization doesn't allow downloading packages from Melpa/Elpa, I had to clone all dependencies manually under ...
Amit Tendulkar's user avatar
2 votes
2 answers
330 views

Any way to cancel C-q quoted-insert?

Is there a way to cancel the quoted-insert that begins when I press C-q? Sometimes when I mean to press C-w, I miss and hit the Q key instead of the W key. Trying to cancel C-q with C-g inserts a ...
amacleod's user avatar
  • 123
2 votes
1 answer
100 views

describe-char renders the character, but not the buffer

I put some unicode text in a buffer and it looks like this: But if I move to that box and run M-x describe-char I see it rendered correctly at the bottom, next to "decomposition". So, Emacs ...
Rob N's user avatar
  • 671
0 votes
1 answer
42 views

How are markers implemented?

Here is a quote from the Elisp documentation about markers: A “marker” is a Lisp object used to specify a position in a buffer relative to the surrounding text. A marker changes its offset from the ...
Rob N's user avatar
  • 671
0 votes
0 answers
17 views

Prevent italics in code or verbatim strings in org mode

In an Org mode file, I have: ="a man".gsub(/a/, 'z')= ~"a man".gsub(/a/, 'z')~ the /a/ in code and verbatim string is italicized when it shouldn't be. How can I prevent this ? ...
Anurag's user avatar
  • 1
0 votes
1 answer
23 views

mu4e: getting error message "Sending...failed" even though the email was sent

Actually, sending mails works fine. But the error is annoying because it causes mu4e to keep the compose buffer open. Normally, it would close the buffer and save the mail to the sent folder. So I ...
durgaBahadur's user avatar
1 vote
1 answer
30 views

evil-delete doesn't work as expected. Deletion of whitespaces doesn't work

I am using doom emacs on Mac OS. I am trying to create a clean up whitespace function: (evil-define-operator my/clean-whitespace (beg end type register count yank-handler) "Change a word." ...
Rareform's user avatar
  • 231
0 votes
1 answer
50 views

C-k in emacs locks up entire ChromeOS

Anybody here use ChromeOS i.e., Chromebook? Well I find that all I need to do in emacs is hold down C-k munching up line after line, for oh, 10 seconds, and voila, the entire mighty ChromeOS operating ...
Dan Jacobson's user avatar
0 votes
1 answer
19 views

Can org-sbe populate a whole table column?

Is it possible to populate table columns from org-sbe? The idea is that a code block would return multiple values, which would each end up in one cell of the designated column. This is what I have ...
Stefano's user avatar
  • 175
2 votes
1 answer
43 views

Org Capture Template - Reuse the value entered

Consider the following capture template. It is asking for heading text and four properties; viz: TYPE, NAME, REFERENCE and LOCATION. ("a" "Template 1" entry (file+headline &...
Deshmukh's user avatar
0 votes
0 answers
14 views

Calling a function from one emacsclient can't start Edebug from another emacsclient. Terminal is locked error

I use GNU Emacs 27.1 on Ubuntu 22.04.4, where I use i3 with several emacsclients opened in different terminals, while emacsdaemon is running in background. After setting Edebug instrumentations into ...
Mitu Gabriel's user avatar
0 votes
0 answers
9 views

How to create evil-snipe like transient state? Use all keys as usual, except the custom ones repeating the last command

I am using doom emacs on Mac OS. I want to know how I could create a function with transient state functionality like in evil-snipe mode. For example, let's say I want to have a repeated zap-up-to-...
Rareform's user avatar
  • 231
0 votes
1 answer
59 views

Suddenly many files have wrong special characters

I have not changed a thing, at least not to my knowledge, but suddenly many of my files, including my config file have such encoding error characters in them. Here is a screenshot from an org-mode ...
Schievel's user avatar
0 votes
0 answers
20 views

unexplained abbreviation expansion [duplicate]

I have an abbreviation that expands into an org mode link -- for example, it changes gmdn into [[abbrev:Global Medical Device Nomenclature][GMDN]], and I have org configured to color the resulting ...
Dan Drake's user avatar
  • 655
0 votes
1 answer
51 views
+150

Disabling autocompletions in gud-gdb

I'm debugging a large C/C++ project (several millions lines of code, adding debug symbols to exec make it grow by 2.5Go) using GUD (gdb 12.1) on Emacs 29.1. My issue is that in the gud-<...
m.raynal's user avatar
  • 107
1 vote
1 answer
32 views

Org-mode function to create a link to file and heading without using ids

I am using ids with org-mode by setting: (setq org-id-link-to-org-use-id 'create-if-interactive) However, there are instances where I want to link to another heading without using ids. I want to use ...
hll02's user avatar
  • 11
0 votes
0 answers
27 views

Org mode capture template that lets one select repeater interval

The following in a capture template lets one select the scheduled date and appends a repeater interval SCHEDULED: %(org-insert-time-stamp (org-read-date nil t) nil nil nil nil \" ++1m\") Is ...
Deshmukh's user avatar
0 votes
0 answers
33 views

Org Agenda Custom View to show only non-repeated tasks

Just what the question says. Is it possible to build a custom agenda command that shows only tasks without a repeater? And as a side question, a custom agenda command that shows only tasks with a ...
Deshmukh's user avatar
0 votes
0 answers
18 views

Preview horizontal rule within org mode

As per the documentation: A line consisting of only dashes, and at least 5 of them, is exported as a horizontal line. But is there a way to preview the horizontal rule right within emacs, similar to ...
Gangula's user avatar
  • 291
0 votes
1 answer
17 views

Append string after \centering during org-mode table export to latex

I would like to append a string like \smallafter the \centeringcommand when exporting a table from org-mode to latex. Is it possible to do that without modifying the export command? Ideally I would ...
 user25482's user avatar
1 vote
1 answer
41 views

Python Org Babel producing garbled result

I have the following settings on for org-babel #+PROPERTY: header-args:python :python ~/env/pt/bin/python :session a :results drawer output replace When I evaluate a code block, the results are some ...
Eric Auld's user avatar
  • 103
0 votes
1 answer
47 views

Problem with Tikz Picture and Latex Export from Org File

When trying to generate a tikzpicture as a figure for export the compilation fails with an error message about a missing aux file. However, I can see that the pdf is generated as a temporary file in ...
brittAnderson's user avatar
0 votes
0 answers
21 views

M-Q, command Q not mappable on a mac [duplicate]

I am using doom-emacs on a Mac (Mac silicon). I am trying to map some function to M-Q key on a mac, but somehow it executes some weird commands. I can't even search the command to which it is bound ...
Rareform's user avatar
  • 231
0 votes
0 answers
24 views

Custom glyphs for visualizing threads in Gnus summary buffer not working in all backends

in the Gnus summary buffer I customized the threading appearance: (setq-default gnus-sum-thread-tree-leaf-with-other "├── " gnus-sum-thread-tree-single-leaf "└── " gnus-...
schwinghmmr's user avatar
0 votes
0 answers
11 views

Disable web link highlighting on comment

I noticed that every time I write a golang comment containing a web link, it highlights the link even though it shouldn't be highlighted. The comment font face should have a higher priority, is this a ...
ranu's user avatar
  • 163
0 votes
2 answers
39 views

Executing two commands sequentially in a lambda function

I'm trying to create a key binding that will execute magit-status, wait for me to decide whether I want to save any files (magit-status does this), and then execute an npm command in the directory of ...
UTF-8's user avatar
  • 917
1 vote
1 answer
41 views

How to disable file-local variables but leave directory-local variables enabled?

Summary (TL;DR): I want to disable Emacs from processing and/or applying any file-local variables, no matter what. However, I still want Emacs to process and apply directory-local variables specified ...
David's user avatar
  • 138
1 vote
0 answers
61 views

Date ranges in org-super-agenda

I often have cause to plan aspects of events/work in my life as much as a year out. Consequently, I would like to generate a yearly org-agenda view which has the following properties: Shows not the ...
lmkerbey's user avatar
0 votes
1 answer
43 views

How can I get which packages define certain variables?

I'm getting back in to emacs after a few years away, and my old init.el is throwing up warnings like this: ⛔ Warning (comp): init.el:114:7: Warning: assignment to free variable ‘c-basic-offset’ ⛔ ...
Dan's user avatar
  • 279
0 votes
1 answer
26 views

Removing multiple files from org-agenda-files

While customizing org-agenda, (setq org-agenda-custom-commands '(("u" "Updated Tasks" todo "" ((org-agenda-files (remove "~/org/old.org&...
Deshmukh's user avatar
1 vote
0 answers
25 views

Multi-hop access keeps asking for password on second machine

In my company, for many reasons, we need to use the company's machines to compile and run our application. I've been using Emacs+Tramp for a while to access my machine and it works very well most of ...
Romário's user avatar
  • 163
1 vote
1 answer
22 views

Save diff from Magit

Sometimes I want to create a diff file from within Magit and send it to someone else, just like I do with git diff > /tmp/a.diff. Can I do that in Magit?
Yasushi Shoji's user avatar
0 votes
0 answers
36 views

How can I interrupt/kill a shell command quickly?

Sometimes in a shell session (i.e. with M-x shell) a command will output a whole ton of output very quickly and I'll want to stop it with C-c C-c. In a normal terminal, this works just fine, but with ...
John Graham's user avatar
1 vote
2 answers
27 views

Prevent org-mode latex exporter from emitting \usepackage

I'm trying to generate a SIGPLAN document class from within org-mode. So far, I have found that I need to add something like this to org-latex-classes: (add-to-list 'org-latex-classes '(&...
Maciek Godek's user avatar
1 vote
1 answer
29 views

Emacs: elpy-shell-send-region-or-buffer is not using Python virtualenv

I am using GNU Emacs 29.3 on Windows 11 and have configured Elpy manually. I am a beginner in Elpy. It seems to be working as expected. I can see the auto-completion and documentation hints. However, ...
Amit Tendulkar's user avatar
1 vote
0 answers
63 views

Setting up Eglot in Emacs 30

I am trying to use emacs for programming python and c/c++. I recently upgraded my MacOS setup to emacs-plus@30 --with-ctags--with-dbus --with-debug --with-mailutils --with-no-frame-refocus --with-...
user44429's user avatar
0 votes
0 answers
28 views

How to jump to definitions in different modules using `eglot`

I am using eglot (have tried both pyright and pylsp). Jumping to definition at point works, but when I select a variable imported from a different package, or the package itself, nothing happens. For ...
guibor's user avatar
  • 123
0 votes
0 answers
19 views

How to jump to a failed test while testing python?

I know this is a pretty broad question and maybe even non-emacs related. However I don't know where to start but develop python using dap-mode Usually I have two buffers: sometest.py and a terminal ...
jjk's user avatar
  • 746
1 vote
0 answers
26 views

When executing R source, how to split frame and start R in the new frame?

I have the same problem mentioned in this 2012 R mailing list post: "My work habit would be to open *.R, then [Ctrl-C Ctrl-C to run a block of code], hoping that the window would automatically ...
098arakdpk's user avatar
2 votes
1 answer
53 views

Embed CSS file when org-exporting

I have a custom css file I include when exporting org files to HTML, by linking to it in the head section, like so: (setq org-html-head "<!-- Site css --> <link rel=\"stylesheet\&...
ch-pub's user avatar
  • 242

15 30 50 per page
1
2 3 4 5
548