Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
1 vote
1 answer
38 views

When I run the following, it works: the environment variable "TEST" is defined inside the shell. (let ((process-environment (cons "TEST=X" process-environment))) (term "/bin/...
rje's user avatar
  • 6,528
0 votes
1 answer
53 views

When I run the following code: (defun x () (interactive) (message "TEST") (define-key eglot-mode-map "C-," 'x ) in any buffer managed by eglot I would expect to be able to press C-...
rje's user avatar
  • 6,528
0 votes
0 answers
24 views

I'm trying to write elisp functions to work with exwm to switch to the next or previous workspaces and I came up with the following. They work as required with M-x, but when binding to a key, they don'...
0 votes
2 answers
43 views

running emacs29 on windows/cygwin, have noticed that: (insert-button "foobar" 'help-echo "Hovering") works just fine with "Hovering" tooltip, while (insert-button "...
Vlado's user avatar
  • 1
0 votes
0 answers
34 views

In VS Code, when a diagnostic is received by the client, only tree dots appear under the first caracters of the concerned text. Is there a way to customize Emacs to do the same when it receives long ...
0 votes
0 answers
31 views

I accidentally ran an infinite loop Elisp code, and the buffer size became too large, resulting in a warning. Warning (undo): Buffer ‘foo.ass’ undo info was 24054654 bytes long. The undo info was ...
0 votes
2 answers
57 views

If I want to make a special-form conditional (making its value depend on a condition) in an expression like (FUNC ARGS) by making FUNC a conditional expression (if). I ended up trying with something ...
vmonteco's user avatar
  • 15.9k
2 votes
0 answers
28 views

Python automatically adds the directory of a launched program to sys.path, making other modules in the said directory's arborescence discoverable by the interpreter. Is there a similar mechanism in ...
1 vote
1 answer
63 views

TL;DR: In Emacs Lisp, is the sign of a fixnum part of its binary representation or stored in some metadata? What's the distinction between positive and negative fixnums? Can the sign be switched in ...
0 votes
1 answer
76 views

I am configuring emacs, and would like to fix an issue with the Control Forwards, Control Backwards, Control backspace keybinds - since I am using CUA mode, these should take me backwards and forwards ...
0 votes
1 answer
66 views

I'm configuring emacs, and have run into a roadblock trying to configure C-c to be copy: ;; Copy, cut (global-unset-key (kbd "C-c")) (global-unset-key (kbd "C-x")) (global-set-key (...
1 vote
1 answer
72 views

Suppose I'm setting a var like this: (setq var '((:item1 "stringA") (:item2 "stringB"))) (this works) Now I would like "stringA" be a conditional, like this: (setq var '(...
2 votes
1 answer
164 views

I read in the style guide of Elisp and of Common Lisp to use specific numbers of semicolons in various cases, in short this: single semicolons for comments at the ends of code lines double semicolons ...
0 votes
1 answer
153 views

I read a table from a txt file as follows and how do I transpose it by script? It seems that org-table-transpose-table-at-point function could not be used in the script. Are there any built-in ...
cwind's user avatar
  • 442
0 votes
0 answers
46 views

Open question, didn't find any answer already online or by LLM. The result should be something like (if (expression) (if-true) (if-false))
Olle Härstedt's user avatar

15 30 50 per page
1
2 3 4 5
...
253

AltStyle によって変換されたページ (->オリジナル) /