All Questions

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

use-package deferred loading for extensions not in :mode

When moving to use-package, I'd to replace (require 'markdown-mode) (add-to-list 'auto-mode-alist '("\\.md\\'" . markdown-mode)) with (use-package markdown-mode :mode "\\.md\\'" :config ... ) ...
0
votes
0answers
4 views

bad signature “dash-2.12.0.tar.sig”

I am getting the following error while startup Failed to verify signature dash-2.12.0.tar.sig: No public key for 066DAFCB81E42C40 created at 2019-09-21T23:24:49+0530 using RSA Command output: gpg: ...
0
votes
0answers
12 views

circle between all open buffers?

Emacs 26.2 M-C-L is bound to switch-to-next-buffer. I have many files open but it's simply flopping between two. On my old Xemacs the same key circled through all of them (and S-M-C-L did backwards)....
0
votes
0answers
4 views

Flymake log questions

I have the following in my .emacs: (use-package flymake :init (remove-hook 'flymake-diagnostic-functions 'flymake-proc-legacy-flymake) (add-hook 'emacs-lisp-mode-hook #'flymake-mode) (add-hook '...
0
votes
0answers
9 views

show white spaces only when region is selected

whitespace-mode will show the whitespace all the time in entire buffer, Is there the way to show whitespaces only when the region is selected. which is pretty cool to have, does there mode exist for ...
0
votes
0answers
8 views

How to use ispell-word to correct a word immediately without prompting for multiple options?

Since the first option is the right one when fixing a common misspelling. Is there a way to make ispell-word correct the spelling of a word to the first suggestion instead of prompting from a list of ...
0
votes
0answers
11 views

org-archive-location ignore heading cookie

I have an org file that looks something like this: * Tasks ** TODO A test task * 2019 ** 2019-12 December *** 2019-12-10 Tuesday **** Day planning ***** Tasks for today [0/1] ****** TODO Another ...
2
votes
0answers
17 views

Frame number in frame title - how?

I want to use two frames. One on virtual desktop #1 and the other one on #2. I (have to) work on Windows so I would like to see a frame number in the frame title, since Windows lacks a permanently ...
0
votes
0answers
5 views

CentOS 7 emacs 24.3.1 gnome 3.28.3 frozen while loading file other than home directory

If I open file at home directory there will be a warning: (emacs:49027): GLib-WARNING **: 10:34:31.190: In call to g_spawn_sync(), exit status of a child process was requested but ECHILD was ...
1
vote
1answer
20 views

Insert Org or Markdown code blocks with Babel in org-mode?

In org-mode, if I do something like this: #+begin_src org ## What does this PR do? - Updates the Dockerfile to make the `dev` service connect to a shared network at startup - Registers the `...
0
votes
0answers
6 views

How to resolve TRAMP spamming empty messages

Connecting to a remote machine with tramp that may have VC (subversion) related files, I tend to see a large number of repeated messages in the *Messages* buffer. For example: Type "q" in help ...
1
vote
0answers
21 views

Copy results of `org-export` directly to clipboard

I often find myself doing this: Selecting a region of text in an org file. Calling org-md-export-as-markdown. Selecting the converted text in the temporary buffer (can't just do mark-whole-buffer ...
0
votes
0answers
18 views

Show a prompt dialog with a timeout

As expected, the following dialog box expires after five seconds under Linux: (progn (setq last-nonmenu-event nil) (y-or-n-p-with-timeout "Proceed? " 5 nil)) However, it lasts forever under ...
1
vote
2answers
28 views

Display only not-DONE-yet items in agenda

I have several agenda commands set up, one of which gives me a block agenda, others give me specific searches. Since many of my TODOs are hanging around inside of projects, where I only archive the ...
1
vote
1answer
10 views

viewing Parents only, no Children, in agenda

I would like to use agenda to generate a list of currently active projects. An active project (for me) is an entry tagged with wip and is not a TODO entry. I would like the list to have only the top-...
1
vote
1answer
14 views

Enable org-agenda-clockreport-mode in TODO agenda view

Is there any way to enable clockreport-mode in a TODO-agenda view? I mainly use this view because I don't really set dates for my tasks so the agenda-view is not really helpful for me (I'm using ...
0
votes
0answers
12 views

How to capture at an arbitrary date

If I do M-x org-capture, then delete the timestamp next to 'entered on', say 2019-12-09, then replace it with an abitrary one using C-c C !, say 2019-11-29, then C-c C-c to save, here's what happens: ...
0
votes
0answers
14 views

Using auto-insert and yasnippet to insert variables into template

I've been reading this and this, trying to figure out how to have an org-mode in-buffer settings template such as this: # # -*- mode: org -*- # # -*- coding: utf-8 -*- #+TITLE: $1 #+AUTHOR: `(user-...
1
vote
0answers
20 views

File tags prevent autocomplete of global tags

I amended .emacs as shown below. Then M-x load-file ~/.emacs. What I want to do in test.org is add MEntal tags to each of the two entries, for example Read and Reminder, respectively. Using the column ...
0
votes
1answer
9 views

What are the key bindings relevant to week-genda view?

Reminder: one enters the week-agenda view by typing C-c a a. Only serendipitously did I find out that ! toggles "deadline inclusion". How would I find the description of similar key bindings from ...
0
votes
0answers
12 views

emacs-jupyter debugging and realgud

emacs-jupyter supports pdb by displaying the pdb prompt in a minibuffer. I have a feeling that I should be able to connect to it with realgud:pdb, similarly to how I can realgud:track-mode-enable in ...
0
votes
0answers
13 views

Unable to use yasnippet with Emacs on Mac or Windows

I've been trying to make yasnippet work with my Emacs on Mac OS 10.15 and Windows 10 but have failed till now. Along with a few other routes that I took, below is one of them: Install the package ...
0
votes
1answer
23 views

Eshell - enable type text in any place

Emacs 26.1, Windows 10 (64 bit) M-x eshell Here result: But it's read only. But I need to type text in any place in any place in eshell. Also I want to move cursor in any place in eshell buffer. ...
1
vote
0answers
22 views

How to supress transforming link names by org-export to html?

The HTML export of an org file transforms the links to "to equivalent HTML links in the output" How can I suppress this? I want to keep the same link names. Example: If we have this org file. ** ...
1
vote
2answers
42 views

Evaluate algebraic formula in the buffer in place

Is there some package or builtin emacs feature which evaluates an algebraic formula in place? E.g. I type in the scratch buffer: (3 + 4) * 5 and when I invoke some command on this line then I ...
0
votes
1answer
22 views

How to update lsp-java manually?

I'm trying to run a simple HelloWorld from Emacs using dap-mode commands dap-debug and dap-java-debug but prompted the error saying lsp-request: No delegateCommandHandler for vscode.java....
2
votes
0answers
11 views

How to set font failover for Vietnamese characters

To display a text "tiếng Việt" (which means Vietnamese), I tried this: (set-fontset-font t '(#x1e00 . #x1eff) "Consolas") but it did not work. describe-char shows: "ế" ⇒ 1ebf "ệ" ⇒ 1ec7, so they ...
1
vote
1answer
15 views

customize js2-mode switch indentation

This is pretty simple but it's thwarting me: this is how a switch statement indents in js2-mode switch(letterGrade){ case "A+": value = 100 ; break; case "A": value = 97 ; break; ...
2
votes
2answers
79 views

How to detect the key binding for a function in elisp?

How would I go about getting the key binding for a function in elisp? I'd like to know which key is used to quit. e.g. keyboard-quit. I tried using the function used by help functionality but it's ...
2
votes
1answer
41 views

Trouble while using string-match with rx expression

I'm trying to write a function that takes a string and returns non-nil if it's the word do not followed by the character :. Something like this: (string-match (rx "do[^:]") input) but I get the ...
0
votes
0answers
10 views

Org Mode Clock-In Task Showing Void Function Definition

When trying to clock in a task in org mode I am getting this error: Troubleshooting so far: tried erasing .elc files from elpa org directory and re-loading. Tried updating org mode. Update failed (...
1
vote
1answer
17 views

Modifying ruby-mode indentation

Currently, ruby-mode in Emacs 27 indents the following snippets like this: expect(foo).to match( bar ) expect(foo).to \ match(bar) Is there a way to ...
3
votes
0answers
42 views

How to increse the number of undo steps stored by emacs?

Looking into undo, there are variables: undo-limit, undo-strong-limit, undo-outer-limit. While I can blindly set these to a big number and hope for the best.Whats a good rule of thumb for setting ...
0
votes
0answers
15 views

Emacs source results default format

In the org manual, one of the classes of options for the :results header argument is "format". The default seems to be a #+RESULTS block followed by the results prepended by a colon, for example, #+...
0
votes
1answer
18 views

Why does Emacs not enter the debugger when popping a cons twice?

I wrote some LISP code that was wrong because I was trying to pop a cons twice: (let ((pair '("a" . "b"))) (let* ((a (pop pair)) (b (pop pair))) b)) Evaluating this in the *scratch* ...
0
votes
0answers
8 views

Why do Bongo icons show up in GNOME but don't show up from window manager?

When I start bongo from GNOME using the leuven theme (load-theme 'leuven), I can see the icons quite clearly: From the Window manager I instead see: What is GNOME doing to let me see these icons? ...
1
vote
1answer
16 views

How do I set Icicles’s default sort order for filenames?

In general, Icicles sorts things in alphabetical order. However, something I can’t find has made it so filenames are sorted in descending alphabetical order (z, y, x … b, a). I can use C-M-, to ...
0
votes
0answers
35 views

Mac OS Catalina random crash

I've been experiencing a weird problem. Ever since updating to catalina my emacs crashes at random intervals. It seems that there is no rule (or I cannot see it) to when it happens. The frequency is ...
0
votes
0answers
14 views

Editing and viewing timestamps in Global TODO in Org Agenda

When viewing alltodo's (M-x org-agenda RET t), is it possible to see and edit Scheduled/Due dates? I understand that the list of TODOs can be very long and therefore seeing timestamps could clutter ...
1
vote
3answers
29 views

How to create loops for inserting text?

Imagine I want to create a list with 10 items, i. e. 1. 2. 3. ... 10. In Vim I can use the command :for i in range(1,10) | put =i.'. ' | endfor for this. How can I do the same thing in Emacs? ...
0
votes
1answer
34 views

Accessing HTTPS sites with mac emacs 26.3

I'm working on a mac (Catalina 10.15.1) and I've recently switched from Aquamacs to GNU Emacs (updated to 26.3 build 1). In Aquamacs, I had no issues accessing https sites, though I'm unable to do ...
1
vote
2answers
45 views

Show me where cursor is

At home, I use Emacs on a large monitor, and I often switch between it and the browser. Sometimes, when I come back to Emacs, I lose between 1 and 5 seconds finding where current point (the cursor) is....
0
votes
1answer
28 views

Retrieve past command from Emacs history using first letter of command

In Vim I could retrieve past commands by typing :<first-letter-of-command>↑ . If my Vim command history is:- colorscheme + source % shell set spell colorscheme? bp term Typing :s↑ directly ...
0
votes
1answer
21 views

How to search by tags in org-mode

Here is a simple file: #+TAGS: math(m) music(u) * Gödel :math: * Bach :music: * Gauss :math: * Beethoven :music: * Mozart :music: Then I tried M-x org-tags-view Match: +math I expected that Gödel ...
0
votes
1answer
21 views

Additional Keybinding for RefTeX to add new bibliography entry

Nowadays I often insert @Online entries into my bibliography files. Unfortunately, the RefTeX doesn't have the Online-Entry bound to any key by default. I tried to add something like ;; I often use ...
1
vote
0answers
8 views

Company-mode slow in ESS

When using (i)ESS, I would like to function/variable/argument/filename completion on demand using the minibuffer, without triggering the company pseudotooltip front end. I have tried the following: (...
0
votes
0answers
10 views

Electric pair delete with text between?

Suppose I have the piece of text (hello world). How can electric pair be made to work such that deleting the opening parenthesis automatically deletes the closing parenthesis? Some examples (the ...
0
votes
0answers
26 views

Code Folding in ELPY Not Working

Gents, I used several IDEs for Python. I like Spyder, but I have have been a pretty obsessive Emacs user for a LONG time. I install ELPY. It works very well for my needs. However, I cannot get ...
0
votes
1answer
28 views

Whitespace mode settings on per major mode basis

When I open the Linux Kernel code, my default indentation conflicts with the desired formatting of the Kernel. I use Emacs Prelude, so I added the settings from this link to my c-mode-common-hook. I ...
0
votes
1answer
18 views

Helm: copy file to bookmarked directory

I am using spacemacs. I want to achieve similar thing to the one in question browse through bookmarks in dired. I would like to be able to quickly choose an alternative destination from within the ...

15 30 50 per page