All Questions

Filter by
Sorted by
Tagged with
0
votes
1answer
21 views

Can I navigate Bookmark+ bookmarks like I can with e.g. helm-bookmark?

I am experimenting with Bookmark+ and would like to be able to navigate to a bookmark using a similar workflow to that which I currently use to navigate bookmarks. For example, previously in order to ...
0
votes
1answer
25 views

Display Δ in the *Shell Command Output* Buffer

I have a shell command I'm running from Emacs that has a Δ character in its output. How can I configure the *Shell Command Output* buffer to display UTF-8 by default? edit: There could also be ...
1
vote
1answer
20 views

How to print escaped characters with princ

When Emacs shows an integer value in the minibuffer, or as an output to IELM, it shows three representations of it -- octal, hex and as character: ELISP> 10 10 (#o12, #xa, ?\C-j) This is really ...
0
votes
0answers
17 views

What gets shown in *Messages* when I run pushd in shell, and how to modify it?

I use inferior shells (initiated with M-x shell) extensively. If the current buffer is one such inferior shell, and within this shell I invoke the pushd command (with or without an argument), a space-...
0
votes
0answers
13 views

Aligning the colon in multi-line tertiary expressions in C and C++

Suppose I have the following line double dx = r1 < 1 ? sqrt(r1) - 1 : 1 - sqrt(2 - r1); I press enter and tab at the colon causing Emacs to align like this: double dx = r1 < 1 ? sqrt(r1) - 1 ...
0
votes
0answers
37 views

Unable to change emacs python indent

My Emacs's python-indent-offset is fixed at 2, even though I have the below code in my init.el to set it to 4. I used C-h v to describe the variable, it says its value is 2 and default is 4. I removed ...
1
vote
2answers
86 views

Show only one or two lines of a buffer

I need to check numbers in a buffer each on a line against an external paper sheet To make this easier I would like to make the window very narrow to see only one (or max. two) lines. However shrink-...
1
vote
1answer
51 views

How to code a command to `write-region` to a particular file?

I have a system that I am not allowed permissions to install software but need to copy text from the remote server to the host computer's system clipboard. Because I can't install xclip or xsel and I ...
0
votes
1answer
33 views
+100

Archive all marked entries with evil-mode

I recently switched to evil mode and cannot figure out how to archive all marked entries at once. The way I did it earlier, when I was in a list seeing the candidate entries for archiving I pressed * ...
0
votes
0answers
20 views

Searching with DuckDuckGo Lite in emacs-w3m - broken

It used to work in DuckDuckGo with the following code in my dot-emacs: (require 'w3m-search) (setq w3m-search-default-engine "DuckDuck Go") (add-to-list 'w3m-search-engine-alist '("...
0
votes
1answer
28 views

org agenda not loading org-agenda-files funkiness

My config file has the following funkiness: I have the line (setq org-agenda-files '("~/org/tktodos.org" )) followed by the line (org-agenda nil "a"). When my org file loads, I can ...
0
votes
0answers
9 views

Ocaml merlin binary not found / weird string being prepended to merlin-opam-bin-path

Using spacemacs with the ocaml layer and I get the following error when I edit a source file: Error from syntax checker ocaml-merlin: Searching for program: No such file or directory, alias: Expected ...
0
votes
1answer
41 views

Is it possible to force `markdown-mode` during git commit?

I was using following answer: https://emacs.stackexchange.com/a/57535/18414 to set markdown on the .git/COMMIT_EDITMSG file. (add-to-list 'auto-mode-alist '("/\\.git/COMMIT_EDITMSG\\'...
0
votes
0answers
25 views

Rorg-roam not showing backlinks when files are open with Deft

I'm just starting with Emacs and Org-roam and I'm using the standard Gnu-Emacs. When I open my files (.org) through the OPEN button in the graphical interface, all the backlinks apear in the org-roam ...
0
votes
0answers
32 views
+50

smart-quotes how to close it on the end of the variable if there is one

I don't know the proper explaination for this so I could not find the answer. I have tried to integrate electric-pair and smart-quotes. It works pretty nice but in some cases it does not do the things ...
6
votes
3answers
126 views

How can I kill buffers based on mode?

I know about kill-matching-buffers but that searches buffer names, I want instead to search buffer modes. For example, I might want to kill all buffers that have "notmuch-" or "[Notmuch]...
0
votes
0answers
17 views

Shift-R is not all selecting all the occurrences

I'm watching doom emacs multi cursor tutorial on youtube. According to tutor, when the press R (i.e., Shift - r) after selecting the word M-d it should select all the occurrences of the selection. But ...
0
votes
1answer
26 views

Emails from multiple accounts go to the same trash

I use Emacs and mu4e for email. I set up multiple accounts as in the manual. I also included this snippet from here to send deleted messages to a folder instead of deleting them permanently: (add-to-...
0
votes
0answers
17 views

How do I disable Swiper while defining a keyboard macro?

I don't like the swiper behavior when interactively defining a macro, it is slow and seems to cause other problems. How can I revert bound keys to isearch-forward and isearch-backward when defining ...
1
vote
2answers
32 views

Is there a more convenient way to find out what keys do in org-agenda than looking it up or just pressing them?

Sometimes just pressing keys until one does what I want works, but this feels rather unelegant. Is there an easier way of finding out what keys do what?
0
votes
1answer
22 views

Fractional vertical scrolling

I found this link About fractional verticle scrolling for emacs. However there was not any explanation about how to configure this for scrolling of normal files. How do I configure a fractional scroll ...
0
votes
0answers
14 views

specify predicate in safe-local-variable-values

I am trying to configure safe-local-variable-values in my init.el so that all string values for projectile-project-name in any .dir-locals.el file are considered safe. (custom-set-variables '(safe-...
1
vote
1answer
19 views

Spacemacs gg=G replacing tabs with spaces in org-babel makefile block

I'm using Spacemacs, and my org-mode file contains an org-babel block of Makefile code, which I want to "tangle" so it becomes part of the source code while remaining in sync with the ...
1
vote
1answer
15 views

icicles: How set set Ctrl+p for [up] and Ctrl+n for [down]

In the minibuffer for Icicles when I press C-p or C-n the minibuffer says beginning of the buffer, end of the buffer respectively. Instead want to move around the found candidate using C-p and C-n ...
0
votes
1answer
39 views

Changing text size doesn't work on all fonts in org-mode

I have the following in my config: ;; set a non programming font for text (when (member "Lucida Sans Unicode" (font-family-list)) (set-face-attribute 'variable-pitch nil :font "...
0
votes
1answer
30 views

Link to mu4e e-mails in MacOS

My e-mail client is mu4e. I can easily create links to org-mode files via org-mu4e-store-and-capture, as described here https://www.djcbsoftware.nl/code/mu/mu4e/Org_002dmode-links.html, for instance. ...
0
votes
0answers
19 views

iBuffer: Symbol's value as variable is void: ibuffer-never-show-regexps`

emacsWiki/IbufferMode Hide certain buffers Here’s how to hide all buffers starting with an asterisk. (add-to-list 'ibuffer-never-show-regexps "^\\*") But when I added into my init file I ...
0
votes
1answer
8 views

Icicles error: Cannot decrease the defualt face height more than it already

On icy-mode is enabled, I keep getting following error while I am typing, which makes it very difficult to type: Cannot decrease the defualt face height more than it already. Example case: M-x => ...
0
votes
0answers
26 views

Org Mode: Org-Meta-Newline removes excess newlines

When running emacs as emacs -nw -q and opening an org-file, insertion of headings goes as follows (X represents the cursor): * Heading 1 * Heading 2 X When running org-meta-return here, the next ...
0
votes
1answer
24 views

Custom agenda view based on effort estimates

I have currently a very simple custom agenda view, which displays a daily view, important tasks (those tasks with priority A), and pending tasks (those tasks whose todo keyword is WAITING). I would ...
0
votes
1answer
13 views

Sending mail from multiple domains with the same mail server

I use Emacs and mu4e to send mail. I have a mail server with Amazon WorkMail and I set up the information at ~/.authinfo.gpg. Two domains are in the same region and have the same SMTP server with ...
0
votes
1answer
9 views

mu4e with second account with a different stream type fails to send messages

I use Emacs and mu4e for email. I successfully set up Amazon WorkMail IMAP with Emacs and mu4e as a second account. My first account works with TLS: (setq ; ... smtpmail-smtp-server &...
3
votes
0answers
25 views

Centering within comment blocks or ASCII art

I have C comments like this: /****************************************************************************** * Includes * ***********...
2
votes
1answer
33 views

force kill a buffer?

I have a buffer (belonging to ein mode that got into a bad state) that throws an elisp error every time I try to kill it (using ibuffer, M-x kill-this-buffer, etc.) Backtrace suggests that the buffer ...
1
vote
2answers
39 views

How to delete the contents of a buffer by name

For example in gdb mode, there is a buffer named *input/output of <program name>*, that I want to clear each time I press C-c l.
0
votes
1answer
34 views

run-at-time in the future only

I want to capture a journal entry several times a day. Here was my initial solution: (setq org-capture-templates '(("w" "Weekly" item (file+olp+...
0
votes
0answers
15 views

Elfeed - how to change database location?

I found in elfeed-db.el code: (defcustom elfeed-db-directory "~/.elfeed" "Directory where elfeed will store its database." :group 'elfeed :type 'directory) but I don't know ...
0
votes
0answers
15 views

Emacs on OSX changes encoding while loading

When I start Emacs on OSX (installed via "brew cask install emacs"), I see the "U" for UTF-8 encoding in the mode line for a fraction of a second, then it changes automatically to ...
0
votes
2answers
39 views

How to set keybinding to `C-c C-n`?

I want to set keybinding for C-c C-n rather than C-c n. Is it possible? (global-set-key (kbd "C-x C-s") 'func) ;; Works (global-set-key (kbd "C-c n") 'func) ;; Works (global-set-...
0
votes
1answer
24 views

In magit, the log '-s' option shows ESCAPE characters instead of changing the color of the selected text

Here is an example of a copy of the output of the magit log output with -s with the actual names omitted. (The ESC character precedes each of the [31 and [32 sequences in the following example in the ...
0
votes
0answers
22 views

org-publish, how to wrap content before first headline in a div

If I have the following org file: #+TITLE: Foo & Bar This is all about foo and bar. * Foo ... * Bar ... when I org-publish to html, I'll get something like the following in the content ...
0
votes
0answers
14 views

Publishing with org-mode [duplicate]

I'm a bit new to emacs and I'm trying to play with the idea of publishing some notes in org-mode as a blog. I've been reading the manual and writing the publish.el file. I understand I need to set the ...
0
votes
0answers
11 views

swiper do not change input method

Every time I search for something with swiper, it switches input method to the default one. Is there a way to preserve selected input method for swiper-isearch?
1
vote
1answer
31 views

Can I use emacs to execute elisp files witout opening emacs?

#!/usr/bin/clisp (write-line "Hello World") If I put this in a script it prints Hello World as expected. What I'm wondering is there a way to use emacs-nox instead of clisp in the shebang ...
0
votes
1answer
19 views

Deleted package doesn't reappear in the package list

I just deleted magit, but it doesn't reappear in the list as available. I typed g and r, restarted emacs, to no effect. It's not hidden. I use C-s to search for it in the buffer. Supposedly its ...
6
votes
1answer
56 views

minor mode to display long integers?

I have to deal with long integers frequently, typically 9+ digits, and all of the digits matter (so scientific notation doesn't help me. Is there a minor mode that helps make it easier to visually ...
0
votes
1answer
28 views

Is there a way to have ivy display a tooltip for the function at point?

Ie, suppose I press M-x org-agenda and ivy says there's 131 matches, of which I recognize maybe 10. It'd be useful to say, after a .2 second delay, display a tooltip for the function at point. Is ...
1
vote
0answers
20 views

Emacs blocked by interactive query in inaccessible frame

Recently I found my emacs, which I run as a daemon, in a blocked state. It would not react to any command. Not C-g, not cursor movements, nothing that I could think of. Then I realized, that I had ...
1
vote
1answer
50 views

How to count number of times a recurring task is marked done after logging is enabled?

I had a task in my org file for which I wanted to keep track of the number of times a task is marked as DONE when it's recurring. I am logging my change to the drawer and thus it should be possible to ...
0
votes
0answers
15 views

After query-replace using my-find-files, how to automatically delete-other-windows?

I am following answer for Using Emacs to recursively find and replace in text files not already open My setup: (defun my-find-files () (interactive) (find-dired "~/folder" "-name \\*...

15 30 50 per page