All Questions

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

tramp/dired: copy a symlink'd file

dired-do-copy copies a symlink as a symlink. Sometimes I want to copy the actual file of a symlink, not make a copy of the symlink. Is there already a way to do that? I can write some elisp code but ...
1
vote
0answers
17 views

Making Emacs see ♥ as punctuation

I'm trying to get emacs to understand ♥ as punctuation. (modify-syntax-entry ?♥ ". " text-mode-syntax-table) I'm not sure what the issue is. (That is a unicode heart.) (modify-syntax-entry ...
0
votes
0answers
12 views

Remove multiple blank lines in a buffer, leave one

I'd like to take a buffer which looks like this: one two three four five And turn it into this one two three four five I've tried using delete-blank-line, however, it will only effect the area ...
0
votes
0answers
21 views

Ubuntu 27.1 install needs X libraries

Getting this on running ./configure on Ubuntu 20.04 for the new 27.1 install ... checking for X... no checking for X... true configure: error: You seem to be running X, but no X development libraries ...
2
votes
1answer
68 views

How does one access the actual arguments to an Emacs Lisp function from the `*Backtrace*`?

I am trying to debug a problem in some elisp and don't understand how to access the information I want from the Emacs Debugger. Specifically, my backtrace looks like: ⋮ #f(compiled-function (hover) #...
0
votes
1answer
21 views

Why does `term-emulate-terminal` get executed every time `read-from-minibuffer` gets executed?

Why does term-emulate-terminal get executed every time I execute counsel-switch-buffer if and only if the *terminal* buffer is open in a window. If the *terminal* buffer is not in a window term-...
0
votes
3answers
123 views

Is there command to cause emacs to rescan the buffer to determine mode?

Apologies if this has been asked before (I couldn't find an answer to this.) Frequently, when I open an existing file or create a new file with emacs, the mode is determined correctly based on the ...
0
votes
1answer
24 views

lsp project root

I just switched to using lsp for my C++ and Python IDE needs. However, I am running into a constant issue where Python and C++ files have the wrong root, as reported by (lsp-workspace-root). The root ...
1
vote
2answers
28 views

org-mode and babel export - setting tangled (exported) files as readonly

I want to maintain a single org file which contained a plethora of different init files (.bashrc, .profile, .tmux etc that type of thing). Here's a portion:- #+PROPERTY: header-args :tangle yes :...
0
votes
1answer
26 views

.+$ fails to match remainder of line

This matches nothing: Query replace regexp (default \.org.+ → ): \.org.+$ → The same without '$' matches incompletely: I'd like to be able to match \.org and all that follows.
1
vote
0answers
16 views

Persistent TODO filtering and editing at the same time?

I would like to focus on only TODO-type headlines and also be able to edit or add headings at the same time. My Ideas how to achieve this would be a sparse tree, that refreshes itself. The default ...
0
votes
0answers
18 views

Truncate/Wrap current line

Is there a way to wrap the current line only? I know toggle-truncate-lines will work on entire buffer, but I would only want to work on a single line specifically.
0
votes
1answer
35 views

Possible to access the second-last clipboard contents (clipboard history)

Is there a way to access the second last value of the clipboard in Emacs? I assume it's possible to make this work within Emacs. Intercept the copy function. Read the clipboard and add it to a list. ...
0
votes
1answer
34 views

How to completely remove truncation symbol (default '$') from truncated lines when no fringes?

In a GUI Emacs without fringes, I would like to get rid of the '$' at the end of truncated lines such that lines can use the fill width of the window. I've tried: (set-display-table-slot standard-...
0
votes
0answers
9 views

Handle notes and documentation in long source blocks (split variable definition in org-babel)

I discovered the feature of literate config files with org-babel. Some variable definitions can get pretty long, for example org-agenda-custom-commands if there are many custom agendas. At the moment ...
1
vote
1answer
33 views

tooltip-functions not working?

Years ago, when Emacs was at 21.*, I had a function that displayed a tooltip when I hovered the mouse on certain words in the buffer. Now, in 26.3, I want to use that function again, but it does not ...
0
votes
0answers
11 views

Search through text of org-mode headings and body (but recursively)

I am using helm-org-rifle to search through my notes. This is such an awesome package. But one issue I am running into is shown in the following example: * Week of Aug 3rd (this week) ** Projects ...
0
votes
0answers
9 views

error request-default-error-callback generated by Activity watch mode

I have this error since installing the activity watch mode package. Any idea on how correct it ? The only setup I did was (global-activity-watch-mode) I've tried (setq global-activity-watch-mode nil)...
1
vote
0answers
14 views

How to change the default transient level temporarily? (“Show hidden magit commands”)

Many commands that are rarely used in magit are hidden by default. Magit uses the transient.el library for popups and the visibility of infix and suffix commands are controlled by transient-default-...
1
vote
0answers
37 views

Get current time zone in IANA time zone format (a.k.a. Olson format)?

I know that current-time-zone can be called to obtain the current time zone. On my system, this returns (-25200 "PDT"). However, I would like to get the current time zone in IANA format, ...
0
votes
0answers
24 views

Export/compile multiple org-mode files from separate directories

I am writing my dissertation in Emacs org-mode and have a few questions that hopefully someone has faced before. Background info: I have each chapter in a separate directory organized in a .org file ...
0
votes
1answer
31 views

Switch to *scratch* buffer (global-set-key)

I am reading the Intro to Lisp Programing and got to the chapter where switch-to-buffer is introduced. I tried to bind (switch-to-buffer "*scratch*") via global-set-key But this does not ...
1
vote
1answer
27 views

How to disable “/” 's default behavior on the F interactive mode?

I use interactive mode with Ivy and Dired for interactively creating new files, like so: (evil-local-set-key 'normal (kbd "t") (lambda (file) (...
0
votes
2answers
26 views

Yasnippet conditional template depending on field value

I'm having an issue where I would like to be able to create a template which will conditionally insert a string into the template based on the value of one of the fields. This means I want some sort ...
1
vote
1answer
36 views

ORG. A way to mark a subtree to be exported only on one format?

I'm writing a document to be PDF exported in org, and I'm also collaborating with a proof reader. I send her exports on ODT so she can open the documents and make edits in an easy way for her. I have ...
0
votes
2answers
25 views

How rebind one keybinding to another?

Emacs 26.1 I has keybinding ‘C-a C-SPC C-e M-w’ copies the current line without the newline. But it's to long shorcut. I want to change it to C-c So as result when I press C-c to copies the current ...
0
votes
1answer
14 views

How to call a custom agenda command?

In org-mode, I have a custom agenda set with: (setq org-agenda-custom-commands '(("d" "todo" agenda "" ((org-agenda-span 1) (...
0
votes
2answers
48 views

How copy current line to the clipboard?

This Emacs Wiki page says: ‘C-a C-SPC C-e M-w’ copies the current line without the newline. But it doesn't work to me. I'm using Emacs 26. Is there some other shortcut? P.S. I use CUA keys in my ...
0
votes
0answers
16 views

How can I kill a runaway/hung remote shell process from Org-Babel

I am using org-babel for literate programming and enjoying it so far. The major issue I have run into so far though is killing a runaway/hung remote shell command (short of exiting Emacs altogether). ...
0
votes
1answer
30 views

Getting `dvisvgm` to work with `org-latex-preview`

I am relatively new to Emacs and org-mode, and I would like the images displayed by org-latex-preview to be svg. I am trying to follow the instructions from this Stack Exchange question. I have (setq ...
0
votes
0answers
14 views

Insert org mode links via helm-mini or refile (or equivalently using e.g. company mode)

I often want to insert a link to another file (that would be easily accessible via helm-mini or refile). I have to do this long dance of going into the target file (and potentially headline), storing ...
1
vote
1answer
30 views

Restrict agenda to current buffer (with few keystrokes)

I would like to call an agenda which is restricted to the current buffer, even if it is not in the agenda files. I tried to go one way with a custom agenda here, but it feels like maybe peeling the ...
1
vote
1answer
25 views

More than one value for properties (multiple values)

I would like to assign, for example, more then one responsible person to a task. I thought to use properties like :PROPERTIES: :RESPONSIBLE: Kate :RESPONSIBLE+: Aaron :END: But my agenda search for ...
0
votes
0answers
29 views

org-latex-preview on entering insert mode in spacemacs

I use Spacemacs and org mode for writing latexified notes. There is no custom setup, just the default latex layer. I usually toggle org-latex-preview by C-c C-x C-l. It is annoying, because I must ...
0
votes
0answers
14 views

Flymake stopped working with elpy…no idea what I did or didn't do [Windows]

I installed elpy, along with jedi, rope and got it to work briefly yesterday after uninstalling python and reinstalling it with anaconda and setting the environment variable to path. I tinkered around ...
0
votes
1answer
45 views

Emacs install folder vs .emacs.d vs .emacs/.emacs~ confusion [Windows 10]

I've recently run into complications regarding elpy and setting up virtual environments (see other questions) which have brought me back to a more fundamental issue that I must resolve before I ...
0
votes
0answers
24 views

Buffer switching only on file buffers [duplicate]

How to make the commands next-buffer and previous-buffer ignoring buffer that does not display files? The problem is when I am on the last buffer of the list I have for example the *completion* and *...
0
votes
0answers
41 views

Fontify parts of the mode-line

How do I most conveniently fontify/colorize parts of my mode-line. Specifically I want the vc branch named to have one color for master and another for other branches.
0
votes
0answers
21 views

org agenda stop strike-through repeated tasks in weekly agenda

I noticed that when I mark a repeatable task as DONE on the weekly agenda it disappears from the current day, but it shows us strike-through in the following days. How to set faces to have repeatable ...
0
votes
0answers
37 views

Why is mu4e setting the context wrong

I am unable to set the contexts right in mu4e. I have a default account set with: (setq mu4e-sent-folder "/Account1/Sent Items" mu4e-drafts-folder "/Account1/Drafts" ...
1
vote
1answer
15 views

How to revert Dired drag and drop for dirs to old behavior?

When I drag and drop a directory to Dired in Emacs 26.3, it copies the directory (and its contents) to the directory that Emacs is showing. This is like the behavior in MS Windows explorer. I don't ...
0
votes
0answers
12 views

Trigger auto pairs only when selection is active

What is the easiest/simplest way to achieve the following: auto-pair parentheses (or other characters) around some text only when this text is an active region? For example, say I do not want the ...
1
vote
1answer
45 views

Elpy Configuration…Setting Up a Virtual Environment and Pip Conflic with Conda? Need hand holding

Full disclosure: I installed anaconda and set it to the path variable. After I did this I was able to access elpy-config which I was not able to (see my prior question). I still pretty much have no ...
0
votes
0answers
51 views

Make tabs behavior like in other IDEs

How can I force Emacs to use tab button and TAB character in "normal stupid way"[1], like in nano or VScode or JetBrain's IDEs. All I can find is smart-tabs package and indent-tabs-mode, but ...
1
vote
0answers
31 views

Why is completion not working?

I have emacs installed on two machines, with both installs using a similar spacemacs config. On both, C-M-i is bound to the command complete-symbol. I am editing different org files on the machines, ...
0
votes
0answers
28 views

org-agenda-sorting-strategy priority sorting doesn't work

org-agenda-sorting-strategy priority sorting doesn't work in my setup. I have a single file for all the tasks for agenda. Its structure looks similar to this: #+STARTUP: overview #+CATEGORY: Tasks #+...
0
votes
1answer
21 views

dvorak and korean language input in emacs

i recently switched from qwerty to dvorak. i also need to type in korean, and i use nabi to input korean everywhere outside of emacs. thankfully, nabi has support for dvorak. unfortunately it doesn't ...
0
votes
0answers
14 views

Adding a Spacemacs layer for “classic” emacs mode

I' trying to wrap https://github.com/hading/chordpro-mode in a layer for Spacemacs. I ran M-x configuration-layer/create-layer and from there followed the documentation: https://www.spacemacs.org/doc/...
0
votes
0answers
21 views

Neotree to show functions and classes within each script

Is there an existing feature which is capable of showing the functions and classes within each script in the neotree buffer, in a similar style as to how you can expand the directories' drop down list ...
0
votes
1answer
53 views

Is it possible to prevent screen flashing on combination of `isearch` and `recenter`?

I have followed answer for Emacs: Combine iseach-forward and recenter-top-bottom, replacing (recenter-top-bottom) to (recenter). My goal is to re-center after each isearch-forward or isearch-backward. ...

15 30 50 per page
1
2 3 4 5
392