All Questions

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

Set parent task to DONE based on child conditions

I'm new to Emacs (spacemacs) and trying to get Org-Mode's TODO feature working how I'd like it to work. I am trying to have parent tasks set to DONE when all child checkboxes (or TODO's are complete)....
0
votes
0answers
7 views

Change the color of ivy-current-match depending on the caller

When using ivy, say I want the current match to be red when calling counsel-M-x, but blue when calling counsel-find-file. Is there a simple way of changing ivy-current-match depending on the function ...
1
vote
1answer
21 views

define-key doesn't seem to work on certain keymap

I'm trying to add some bindings to undo-tree-visualizer-mode-map. To do so I use: (define-key undo-tree-visualizer-mode-map (kbd "S-l") 'undo-tree-visualizer-quit) But it doesn't work, and if I do ...
1
vote
0answers
7 views

Org-mode verbatim tilde (=~=) is still processed by Latex back-end

I have some verbatim text containing a tilde, =some ~ text=. Now, org-mode is supposed to leave the tilde alone. However, upon exporting with the latex backend, I get the following in my .tex: \texttt{...
0
votes
1answer
14 views

org-priority and org-insert-structure-template key binding clash

I'm using or-mode 9.2 and when I hit C-c C-, and I got the following message: Before first headline at position 480 in buffer index.org The message indicates that the key actually get translated as ...
2
votes
0answers
49 views

Sort ripgrep results based on proximity to current buffer

I use counsel-projectile-rg to search within the project I work on. But there is my sub-project inside this big repo that most of my development is in. Is there a way to sort ripgrep results based on ...
0
votes
1answer
19 views

Spaces don't work as expected in isearch

I recently installed a new major mode for something I'm working on, and suddenly spaces in expressions I'm searching for don't work as expected. Help!
0
votes
0answers
26 views

hs-minor-mode and sage-shell-mode (derived from python-mode)

I would like to use emacs' hide-show mode (to collapse class and function definitions) with Sho Takemori's sage-shell-mode (for the SageMath computer algebra system) which derives from python-mode. ...
0
votes
1answer
9 views

Newsticker failure: (wrong-type-argument listp \.\.\.)

Suddenly newsticker is failing to load. I get the following stack trace on error. I have made no recent upgrades. Debugger entered–Lisp error: (wrong-type-argument listp \.\.\.) ...
1
vote
1answer
14 views

How to run a command with 'modify-syntax-entry' reset?

I have used modify-syntax-entry to remove underscores from being delimiting characters. e.g: (modify-syntax-entry ?_ "w") However I would like to temporary allow underscores to be used as a ...
1
vote
0answers
16 views

Busy Python console

I am using Spacemacs on MacOS. Whenever I run a python file (Spc m s b), I get this in the console: import codecs, os;__pyfile = codecs.open('''/var/folders/vg/vztzj2jn1yn_y46_zcx6w_nh0000gn/T/...
1
vote
1answer
18 views

Capture at an arbitrary date

In this example I changed the date for Entered to 12/07/2019 at the capture editing stage. Yet it gets filed under today's date. How can file it under the right date, that is 12/07/2019? Ideally in ...
0
votes
1answer
32 views

Preload problem: Emacs as daemon in X

Background: In my .profile, I try to start emacs in daemon mode in the background, and it didn't start, and there is this message: http://bugzilla.gnome.org/show_bug.cgi?id=85715 Emacs might crash ...
0
votes
2answers
23 views

How to navigate to the next/previous python class?

I would like to navigate quickly between classes in Python code. I'm looking for a command to go to the next / previous class so I can bind that to a key sequence. This question is not about ...
0
votes
2answers
28 views

How to navigate in a Dired buffer?

window 10, Emacs 26.1, Dired+ Suppose I open in Dired+ mode some folder: d:/TEMP/test_folder/folder2/ I need next: When press button "End" then go to the last file in the folder. Like this: When ...
1
vote
0answers
30 views

Regular template

On a near weekly basis, I need to create an org entry that looks something like * <TODAYS DATE> - <Person 1> - What this person did - <Person 2> - What this person did ...
0
votes
1answer
27 views

Unescape elisp string

I have a function which returns a file path, but the returned value has backslash excaped 'special' characters e.g. "/home/fred/Documents/This\ file\ \(20200120\).txt" but the function where I want ...
2
votes
1answer
45 views

How to make fonts show anti-aliased on Linux/X11?

With Linux/X11, certain font's show without anti-aliasing. JetBrains Mono Cascadia Code These two fonts show with anti-aliasing in other programs (st terminal for example). All other fonts show with ...
0
votes
1answer
11 views

why defcustom variable is not seeable from describe symbol?

take org-brain-path for example: (defcustom org-brain-path (expand-file-name "brain" org-directory) "The root directory of your org-brain. `org-mode' files placed in this directory, or its ...
0
votes
0answers
31 views

Unable to install emacs 26.3

I am trying to install emacs 26.3. In installed sudo apt install autoconf make gcc texinfo libgtk-3-dev libxpm-dev libjpeg-dev libgif-dev libtiff5-dev libgnutls-dev libncurses5-dev It cant find ...
1
vote
2answers
34 views

Emacs leaving behind files preceded with # despite lock files being disabled

I've noticed that emacs is leaving behind files in the directories of files I've edited with it. The files are named the same as the original, except the filename is preceeded and succeeded with a # ...
0
votes
0answers
22 views

Send command to run in eshell, after compiled

So I've been mapping my M-x compile like this, according to c-mode-hook or c++-mode-hook: (add-hook 'c++-mode-hook (lambda () (set (make-local-variable 'compile-command) ...
1
vote
0answers
18 views

How to read the python documentation offline in emacs?

Sometimes I use ctrl h i or M-x woman, though I almost always head to the web for basic queries like python find line in string. Do I need to download this[0], that[1] or something else before leaving ...
0
votes
0answers
11 views

org-mode call occur not function

Since I need to search some pattern frequently, I wish to write some code there then execute it in org-mode. for example: #+begin_src elisp :results output (defun myoccur (arg) (occur (s-replace " "...
0
votes
0answers
6 views

how to use bbdb-snarf to capture addresses from point

i want catch address information from point inside a buffer or from kill-ring. as far as i know, bbdb-snarf from bbdb3 would be a candidate to use. but it doesn't find email addresses or names from ...
0
votes
1answer
14 views

Automatically highlight elements in an XML buffer

I spend a lot of time in XML buffers using nxml-mode (Emacs 26). Out of hundreds of XML elements, I am only interested in one or two. How can I have Emacs always show the XML elements I'm interested ...
1
vote
2answers
25 views

Help; how use Persistent Sets of Completion Candidates for search?

I want to use a set of files inside my directory ~/Dokumente to search for changes in title, content. So I saved such a set of file names persistently, using C-} during file-name completion with ...
0
votes
0answers
11 views

TCL is adding different tab widths in the program

I am trying to rearrange the columns of below file input.txt, Contents of this file: Name Location Purpose --------------------------------------------- Andy US Business1 ...
0
votes
0answers
33 views

whitespace-line-column highlight basing on the column number instead of char count

config (require 'whitespace) (setq whitespace-line-column 80) ;; limit line length (setq whitespace-style '(face tabs empty trailing lines-tail)) For first line, whitespace-mode correctly highlights ...
0
votes
1answer
17 views

Restore after `maximize-window`

If I have multiple windows open, I can maximize one using M-x maximize-window. How should I restore the windows to their original size?
0
votes
0answers
36 views

Regular expression for finding 'href' attribute value of <a> HTML element

I need a regex pattern for finding web page links in HTML. For example <a href="https://www.google.com/search?q=elisp+regex+lookaround" ....></a> I can use (?<=href=\").+?(?=\") | (?&...
2
votes
1answer
38 views

How to “call” a keymap

I would like to have a function call-keymap which takes one argument km (a keymap) and such that the result of (call-keymap km) is the same as binding km to a key and then pressing that key. It ...
0
votes
0answers
10 views

How to get first nested parameter indented based on outermost function

I would like to get the following cc-mode indentation behavior (c-basic-offset is 4): outerFunction(innerFunction( parameter1, parameter2)); However I would like to maintain arglist aligned ...
1
vote
0answers
18 views

org-mode : how to get more space between 'List of all TODO entries'

C-a-t is bound to `org-todo-list (i.e., "List of all TODO entries"). Is there a way to add space between each row in the *Org Agenda* output buffer when the list is displayed?
0
votes
0answers
17 views

C-g doesn't work within Counsel's action menu (M-o)

Let's say I'm completing a file with counsel-find-file. I then press M-o to show the menu with available actions. If within that menu, I press C-g, I get the message "C-g is not bound". The ...
1
vote
0answers
28 views

keymap (overlay / text property): how to create and modify?

I'd like to have certain keymap active when the cursor is in a particular highlighted area. For instance, I would like to bind hl-todo-next to some easy key combination, but only when the cursor is on ...
0
votes
1answer
37 views

bookmark-jump to org-mode file with collapsed headings not working as expected

I have a bookmark in one of my org files (set using the usual emacs bookmarks), but I'm finding that when I try to jump to the bookmark (with the usual C-x r b, which invokes bookmark-jump), it doesn'...
0
votes
0answers
36 views

Emacs font style and colorisation

I am used to Emacs under Windows 10 and trying to switch to Ubuntu. My Windows 10 Emacs font is M-x describe-font: name (opened by): -outline-Courier New-normal-normal-normal-mono-13-*-*-*-c-*-...
0
votes
0answers
11 views

Markdown equivalent of `org-indent-mode`?

What's the simplest way of ensuring that the text below a headline in a Markdown file is aligned with the headline? In org-mode you can accomplish this by calling org-indent-mode. Is there a similar ...
0
votes
1answer
15 views

“Run all code blocks above this point” in org-babel?

I know you can use org-babel-execute-src-block (C-c C-c) to execute individual code blocks, but is there something akin to "Run all chunks above" that RStudio has for Rmarkdown files?
0
votes
1answer
137 views

Ligatures with the JetBrains Mono font

After installing the JetBrains Mono Font and setting it as my default face. I am wandering how to enable Ligatures in Emacs. I tried a solution based on this answer that show how to do this with Fira ...
0
votes
0answers
24 views

(octave-mode) highlighted region remains highlighted after command

I am in octave-mode running an inferior octave shell. Now I mark a region and issue 'octave-send-region'. All commands are executed as expected and echoed in the shell buffer, and the highlighting is ...
0
votes
2answers
45 views

Goto line by number in folded org buffer

I looking for a way to go to the specific line by number in an org file, when the structure is folded. An ideal solution would be to unfold only necessary headings to put the cursor in the line. I was ...
1
vote
0answers
31 views

How to improve eldoc + lsp-mode output with C/C++ comments?

When using eldoc with lsp-mode, there are some irritations with the default output. Various characters are backslash escaped, so: /* This: isn't so -> "good", you see. */ Displays as: This\: ...
0
votes
1answer
34 views

How do I run an external command on an org mode source block?

I'm writing a screenplay using Fountain mode. My org file is set up so there are multiple screenplays in a given file, for example * Number one! #+begin_src fountain INT A PARK IN SAN FRANCISCO ...
0
votes
0answers
13 views

gnutls-negotiate: GnuTLS error: #<process smtpmail<1>>, -15

Following Sending Mail Since no credentials are given in this configuration, Emacs will look them up in $(HOME)/.authinfo or $(HOME)/.authinfo.gpg (encrypted). The content of this file should ...
0
votes
0answers
14 views

How to make helm matching faces inherit from ivy?

I like Ivy face when matching better than helm for the particular theme I am using. When listing all faces: list-faces-display I see that I want helm matching to be exactly like: ivy-minibuffer-...
0
votes
0answers
41 views

How to search certain subdirectories of directories that are ignored by Git

I'm working in a Scala project that has target/ directories entered as ignored in the .gitignore. However, there is also Scala code being generated during the build which is being nested under a ...
3
votes
2answers
56 views

What are the main differences between latexmk and C-c C-a from Auctex?

I was wondering if anyone knows if C-c C-a in AucTeX is using behind the scenes latexmk or not? I've tried looking into the source files for both C-c C-c and C-c C-a but I couldn't find in any those ...
0
votes
0answers
12 views

insert email address into bbdb3 from icicle completion candidate

Is there any Icicles function or a possibility, to add the selected candidate from the *Completions* buffer as a new record into the bbdb3 database? I tried M-RET and selected bbdb-create as the ...

15 30 50 per page