Most Popular
1500 questions
10
votes
3 answers
What to do to make orgmode faster?
I have org-mode file with more than 10k lines of notes and traversing through the tree (just basic up/down movements) is very slow (to the point that it's unusable). What can i do to make it work faster?
I know i can split the big files into many…

Kossak
- 1,159
- 1
- 9
- 18
10
votes
2 answers
Wildcard in org-agenda-files
I have a project base folder, ~/prj, inside of which I have many individual projects, 2014_prj1, 2014_prj2, ..., inside of which I have, among others, a doc folder. The layout looks like…

andreas-h
- 1,559
- 13
- 22
10
votes
5 answers
How to right align some items in the modeline?
Given the following modeline configuration:
(setq-default mode-line-format
(list
;; Current buffer name
"%b "
;; Major mode
"[%m] "
;; Modified status
"[%*] "
;; Cursor position
"Line: %l/%i Column: %c"))
I would…

mkaito
- 741
- 6
- 16
10
votes
1 answer
How to highlight in different colors for variables inside `fstring` on python-mode
I am using python-mode which colors the parameters.
When I concatinate strings the variable color is represented as different:
On the other hand, if I use fstring, the variable is not represented as different color:
Please note that, if I enter…

alper
- 1,238
- 11
- 30
10
votes
3 answers
How to debug / troubleshoot LSP "not in project or it is blacklisted." in lsp-mode?
Recently LSP has stopped working for me.
I'm getting this message for all files in my project.
LSP :: example_filename.c not in project or it is blacklisted.
How can I investigate this, if it's blacklisted, how can I reset the blacklist?

ideasman42
- 8,375
- 1
- 28
- 105
10
votes
1 answer
How to open a folder as project in emacs?
VSCode (and other graphical editors) allow you to open any folder, and all source files in that folder are already tagged such that you can jump to definitions of functions/objects as long as the definitions exist in that same folder (as well as…

archmuon
- 143
- 2
- 8
10
votes
1 answer
Org-Mode: Link files with IDs and not Filenames
I want to use Org-Mode as a wiki so I need to have an index of all my org files. In it I want to have a list of links to all those files, but my problem is that I have found no way to link pages with IDs and not their names.
Obviously I want the…

Adam
- 2,407
- 2
- 21
- 38
10
votes
3 answers
What's the idiomatic (or best) way to trim surrounding whitespace from a string?
I'm working with strings which may have any number of prefix and suffix spaces, tabs, newlines, etc. Currently I have this:
(replace-regexp-in-string
"^[^[:alnum:]]*\\(.*\\)[^[:alnum:]]*$"
"\\1" my-string)

user23847
- 101
- 1
- 3
10
votes
1 answer
how to ignore current selection from ivy when my typed text matches one
I run into this issue from time to time when I want to create a new file but the new name matches a pattern already so my Ivy auto-complete setup will pick the matched option when I press Enter instead of just directly using the text I have entered…

Vince W.
- 395
- 2
- 11
10
votes
8 answers
magit-push hangs on Windows
I'm using GNU Emacs on Windows, and I am unable to use magit-push to push my local changes to a remote repository. This happens with remote repositories regardless of if they are accessed with SSH or HTTPS. What do I need to do to make magit-push…

Ryan
- 3,989
- 1
- 26
- 49
10
votes
1 answer
Recognizing sentences that don't end in two spaces
I'm not going to weigh in on whether ending sentences with two spaces is the One True Way or an abomination. All I know is that I show no signs of establishing a consistent habit of hitting the spacebar twice at the end of a sentence. So, given…

Avdi
- 737
- 1
- 7
- 8
10
votes
4 answers
Switching between horizontal and vertical splitting?
From time to time, by mistake, I split my screen vertically C-x 3 (binded to split-window-right), whereas I originally wanted a horizontal splitting C-x 2 (binded to split-window-below).
Question: is there a function to switch between vertical <->…

Picaud Vincent
- 1,158
- 8
- 20
10
votes
1 answer
Outlook Calendar in org agenda
I would like to integrate the calendar from my outlook into my orgmode agenda.
I am looking for a solution with the following features
Should be implemented in elisp only, so that I can run this on any system that has emacs
Should use Microsoft…

bombadil
- 547
- 4
- 13
10
votes
1 answer
How does emacs respond to Unix signals?
I'd like to know how GNU Emacs responds, by defaults, to such signals as HUP and USR1. Is this behavior documented in any manual? If so, where? If not, is there a place I could look in the source code?

Norman Ramsey
- 1,113
- 6
- 13
10
votes
3 answers
Org-mode export: force page break after TOC
I'm using org-mode to export to PDF. I'm going over the same document multiple times and exporting different branches during my evaluation.
I always want the first section in the PDF to start on a clean page, regardless of which subtree I export.…

Ivan Perez
- 400
- 2
- 15