All Questions
27,350
questions
0
votes
0
answers
2
views
variable for file name
How can I tell emacs/e-lisp to check if a user defined variable is a full path to a file or just a folder name? Currently, for one particular mode, user can just define variable for a sqlite database ...
0
votes
0
answers
7
views
Keeping dired minor modes on/off across buffers
I frequently toggle the two minor modes dired-omit-mode and dired-hide-details-mode in dired buffers. If I move into a new directory, dired creates a new buffer, and so these minor modes will (since I ...
0
votes
0
answers
9
views
How can I change the prefix key in Workgroups?
For Workgroups, this prefix key works and it's also the default:
(setq wg-prefix-key (kbd "C-c w"))
, but I want to use a different prefix, so I've tried these:
(setq wg-prefix-key "C-...
0
votes
0
answers
10
views
Delete custom surround pairs
I have added:
(add-hook 'org-mode-hook (lambda ()
(push '(?' . ("‘" . "’")) evil-surround-pairs-alist)))
to my init files to add smart quotes (...
2
votes
1
answer
53
views
Disabling some symbols from being prettified in a given mode
In AucTeX, I want to use prettify-symbols-mode but not prettify "--" and "---".
Why is the following not working?
(add-hook 'LaTeX-mode-hook #'(lambda ()
...
0
votes
1
answer
20
views
Use contents of a heading in Yasnippet
Is it possible to define a yasnippet that will pick up contents of a heading?
Say, I have something like this:
* Heading 1
:PROPERTIES:
:CUSTOM_ID: MyHead
:END:
Text under Heading 1
I will like to ...
0
votes
0
answers
22
views
How can I connect Emacs to a remote Emacs?
I have my primary Emacs running on a GNU/Linux host, where I have all the bells and whistles for all kinds of stuff;)
I do however need to compile some code that requires .NET-4.5, therefore I want to ...
0
votes
0
answers
16
views
Yasnippet returns Wrong type argument: listp
After inserting the snippet I'm able to type the function name.
But after tabbing to args, I get the error Wrong type argument: listp on typing
Is it python-args-to-docstring failing at it's job?
I've ...
0
votes
1
answer
12
views
How to run gnus nnmail-split on sequentially chunked mbox files?
I have successfully run the script to split my unmanageably huge mbox file (21gb, causing my emacs to freeze when trying to deal with it) into 508 digestible chunks, named something like chunk_0508....
0
votes
0
answers
16
views
Can I see Pull Request comments Emacs using Magit and Forge?
I am still pretty new to using Magit and Forge in emacs, but I have not found an answer to this question in the docs or videos.
Here is the situation. So I have a draft pull request submitted on ...
0
votes
0
answers
13
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 ...
0
votes
1
answer
16
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 ...
0
votes
1
answer
17
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 ...
0
votes
1
answer
25
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
...
1
vote
2
answers
38
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='''
,#+...