All Questions

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

How to use doom emacs as a golang ide quickly?

I installed the newest doom emacs on macOS. Also configed language packages as $ emacs ~/.doom.d/config.el :lang (go +lsp) :tools lsp $ ~/.emacs.d/bin/doom sync When I open a .go file, the code ...
0
votes
0answers
8 views

Adding a custom keybinding in Doom Emacs

I am using evil-mode and am very new to emacs and doom. How would I be able to map Ctrl-s to :w or save. Also, how would I be able to bind Ctrl-n to neotree-toggle? I have been searching and trying ...
1
vote
2answers
17 views

orgmode - do not export example block

I try to use a example block as input to babel block, I want to export babel results only, in below example, I try to add exports none to example block but it doesn't work, the example content ...
0
votes
1answer
6 views

Add CC and BCC when composing an email with mu4e

If I compose an email with mu4e I can only enter a recipient in the TO: field. But there are no fields for CC (carbon copy) and BCC (blind carbon copy). How can I use those fields?
0
votes
0answers
9 views

AppleScript wrapper for pdf viewer fails to complete

My setup is 2020 MacBook Pro M1 (Apple silicon), Big Sur 11.2.2, MacPorts, emacs-mac-app, AucTeX, and PDF Expert. I am trying to get C-c C-c (View) to open PDF Expert at the right page. I'm almost ...
0
votes
1answer
14 views

How to insert a template of text in an org file

I have a couple org files I use for meeting notes. The meeting note structure follows the same general pattern (slightly different for the different types of meetings). I can always manually copy a ...
0
votes
0answers
7 views

World time converter under emacs and/or orgmode

Is there a World time converter under emacs and/or orgmode? As everything moves online, it occurs more often than before that I want to schedule in orgmode an online event which occurs in some other ...
0
votes
0answers
11 views

Toggling off all settings in python and julia to get bare setup

since recently I am using LSP for python, tex and julia on macos with spacemacs develop. To some extend this is great, but it is something awefully slow using a gui... and it seems that it is not only ...
1
vote
3answers
38 views

Equivalent of `continue' in `cl-loop'?

Does the cl-loop macro implement an equivalent to the continue keyword of other languages? The behavior of break can be achieved by using until or while clauses by placing them in the middle of cl-...
0
votes
0answers
9 views

Different colors for different characters in tty-menu-bar

All I want to do is have a different color for different characters for the tty-menu-bar when in a terminal mode. Lets say I have for the menu bar "File", I want the character "F" ...
0
votes
0answers
6 views

How to recommend helm-ag to select the current (where the call came from) position

I use helm-do-ag-this-file for interactive file search and navigation. To do this, I have a setting (setq helm-ag-insert-at-point ' sexp) and the expression under the cursor gets into the search bar ...
0
votes
1answer
25 views

How to run shrink-window-horizontally multiple times, or how to repeat a function multiple times in general?

I wanted to define a function to execute a command multiple times and ended up using fset: (fset 'my-shrink (kbd "C-u 43 C-x {")) Now, I want to include this in a function, like this: (...
0
votes
0answers
5 views

Strange sorting behavior for missing deadline and scheduled dates in org-agenda-sorting-strategy?

Running fresh (emacs -q), with the following org-mode items: * TODO item 1 DEADLINE: <2021-03-01 Mon> SCHEDULED: <2021-02-27 Sat> * TODO item 2 SCHEDULED: <2021-02-28 Sun> * TODO ...
0
votes
0answers
20 views

How to prevent Org mode LaTeX preview from displaying diagnostic information?

The LaTeX preview within Org mode has "diagnostic information", including "Scale=... Ligature=...". How can one hide that ? The org mode is Org mode version 9.4.4 (9.4.4-25-...
0
votes
1answer
9 views

Toggle org-html-head-include- only when publishing

I use org-mode to publish a blog which is based on org files in a particular directory. I've customized values in html-head, html-preamble, and html-postamble with some Bootstrap code to get the ...
0
votes
0answers
8 views

spaceline (modeline) truncate filename directory

I believe I've seen a type of abbreviation with some(?) modeline packages that I'd like to implement in spaceline (I'd be willing to switch modelines for a good reason). I want to abbreviate the ...
0
votes
1answer
32 views

magit equivalent to `git push -u origin newLocalBranch`

I often create new branches locally (e.g., newLocalBranch), and then push them to the upstream remote origin, thus creating a new remote branch, using git push -u origin newLocalBranch. Is there a ...
0
votes
0answers
12 views

centered cursor with evil-window-bottom and evil-window-top

I'm trying to achieve both: persistent centered cursor (cursor stays in center of a window except when near the line 0 and count-lines-page augment the way evil-window-bottom and evil-window-top work ...
0
votes
1answer
13 views

How do I get org-mode to treat the output of a non-latex code block as latex?

(Emacs: v27.1, Org: v9.5, pdfTeX: v3.14159265-2.6-1.40.21) I am using the following Python code block to print LaTeX code: #+BEGIN_SRC python :session :exports both :results output :wrap math ... #+...
0
votes
1answer
15 views

How to jump to a ledger-report by key

This keybind only works after I've opened a ledger file. (spacemacs/set-leader-keys "jL" 'ledger-report ) Thus I presume ledger-mode is required. Yet adding (require 'ledger-mode) (...
1
vote
0answers
10 views

Java 15 Text Blocks in CC Mode?

Java SE 15 adds (finally) support for multiline string literals that start with """\n and end with """. Has anyone updated java-mode (CC Mode) to recognize this construct?...
1
vote
2answers
39 views

When reloading an org mode file, why do I get a whole bunch of `^M` chars in my file?

I'm just learning emacs and I'm using spacemacs configuration. I created a .org file and everything looks normal when I save it, but when I reload it I get a whole bunch of ^M chars at the end of each ...
0
votes
0answers
25 views

How to link checkboxes in Org Mode

* Core - [X] CS 501 - [X] CS 502 - [X] CS 503 - [ ] ORG 601 [Fall 2021] - [ ] ORG 602 [Fall 2021] - [ ] ORG 603 [Fall 2021] * Schedule ** Spring 2021 - [X] CS 501 - [X] CS 502 - [X] CS 503 ** Fall ...
1
vote
1answer
14 views

How to widen all live buffers?

I'd like to apply e.g. widen to all active buffers, rather than the current one. How can I do this?
0
votes
1answer
30 views

doom-modeline module with line(w) status

As the title implies, what package or feature does line(w) denote? When active, it deletes lines in evil-insert-state upon pressing Enter and then i immediately afterward.
0
votes
0answers
30 views

Autoload “amsmath” style hook

How do I autoload the "amsmath" style hook with all my .tex files? Currently, it is triggered only when I add \usepackage{amsmath} to my .tex file; there are other packages and classes that ...
2
votes
1answer
32 views

Is there a command (and ideally a key binding) to navigate to the top (or bottom) of an org table?

I have read Built-in Table Editor, and searched apropos-function org table for top, bottom, beginning, and end. I found org-table-beginning-of-field, but not anything like org-table-beginning-of-table....
0
votes
1answer
7 views

Set auto-fill in markdown mode, but exclude code block headers

I want to use auto-fill-mode in Markdown files. By default, it works fine, with one exception. I'm using the RMarkdown variant of markdown. This requires that code block headers remain on one line. ...
0
votes
1answer
17 views

Filtering list of files to those recently edited

Suppose I have a list of files: (setq files '("/path/to/file1" ...)) Is there a way to reduce this list to only those files which were edited within the past, say, 10 days?
0
votes
1answer
22 views

File-local variables not parsed in lilypond file

I have a definitions.ly file that ends with the following: %%% Local Variables: %%% LilyPond-master-file: "score.ly" %%% End: However, the value of LilyPond-master-file is still nil when I ...
2
votes
0answers
18 views

Magit status section with recent checkouts / visited branches?

In the same fashion magit can offer the list of recent commits in a section of status buffer. I'd like to have a list of recent checkout/visited branches to be able to quickly switch to it (M-xbb). ...
1
vote
1answer
16 views

Unable to let emms understand metadata

I don't understand why all my music artist/genre/album etc. are classified under misc/unknown given the fact that I'm confident that 90% of 200G music do have metadata. I managed to get the source of ...
1
vote
1answer
52 views

In dired how can I omit executables?

On Linux/macOS, using omit-mode in Dired is there a way to omit executables? Executables are files which have the Unix executable flag set and are then listed via ls -lF with an * after the filename. ...
1
vote
0answers
31 views

Emacs displays raw text instead of unicode

I'm working on a LaTeX document in emacs (27.1) that contains english as well as sanskrit (devanagari) text. After running aspell on the document, I ran M-x revert-buffer and attempted to save the ...
2
votes
1answer
91 views

Woes with installing and loading s.el

I'm running Emacs 27.1(9.0) on OSX 11.2.2 and have failed at installing and configuring the package s.el from https://github.com/magnars/s.el/ Here's a list of things that I tried: Copied s.el into ~/...
0
votes
0answers
19 views

Calendar holidays errors

After updating all the packages and switched to Emacs HEAD the holidays config I used to use now generate errors on Emacs start. Config: (setq general-holidays '((holiday-fixed 1 1 "New ...
0
votes
0answers
8 views

How can I jump back after `rope-goto-definition`?

I am using rope-goto-definition to jump into a module's definition, link. But I cannot jump back to where I was. xref-pop-marker-stack says Marker stack is empty. Is it possible to jump back after ...
2
votes
1answer
21 views

How can I make a theme use particular face attributes for a given face in a single buffer?

I'm loading a deftheme theme using (load-theme). I'm very happy with it most cases, but in yaml-mode I'd like to change attributes for font-lock-variable-name-face. How can I make the theme use ...
0
votes
0answers
14 views

Making a context selection drop down menu in emacs

What I want to do with emacs is add a context key shortcut like F or i to select a menu in emacs. Example picture is Midnight Commander and how it does it for what I want to do with emacs.
0
votes
1answer
14 views

Left-align equation previews (Auctex)

I would like to left-align equations in Auctex's preview's generated by preview-latex. I imagine that this would involve putting fleqn in the documentclass options in whatever latex file things are ...
0
votes
0answers
15 views

Noweb references in sh blocks breaks the syntax highlighting

I use noweb references inside sh code blocks, for example: #+begin_src sh echo "test" <<some-ref>> echo "test" #+end_src But this causes syntax highlighting to ...
0
votes
0answers
38 views

Fixing “Warning: Unknown slot ” emitted when a slot referenced by its :initarg name

The code below works but compiles with: foobar.el:9:9:Warning: Unknown slot ‘:baz’ (require 'eieio) (defclass foo-bar () ((baz :initarg :baz :initform t :type boolean))) (defmethod ...
0
votes
0answers
17 views

Portacle Emacs C-c C-c stopped working

I am a beginner Lisp programmer and new to Emacs. I work on Portacle. I must have done something because when I press C-c C-c to compile a function in a buffer I get: C-c C-c is undefined. This worked ...
1
vote
0answers
5 views

Is there a way to limit Helm matches from all sources?

I don't mean helm-candidate-number-limit, because it apparently limits candidates from the individual sources, so if you set it to 100 and have two sources and the first source returns 70 candidates ...
0
votes
2answers
19 views

Using org-mode babel, how do I quickly export some html soure block to a separate file?

I am taking notes on a course in org-mode. I am using HTML source-blocks to write down examples of html code. This serves me because I have text and code in one file and it will be easier to export it ...
1
vote
0answers
5 views

Org-publish: Ignore errors when publishing and report them later

I feel that org-publish is not user-friendly in the sense that once it fails, it straightly stops. Unfortunately, there are dozens of reasons org-publish might fail. To name a few: org-export--...
0
votes
0answers
10 views

How to use imenu with tsx (typescript and jsx) files?

I would like to use imenu with .tsx files, but it doesn't seem to work. imenu does work with other file types (I have tested with .el, .py, .js), but not with .tsx. How can I get imenu to work with ....
0
votes
0answers
18 views

org-publish: publish exactly files in a given list

I have hundreds Org files under a directory hierarchy and would want to export only those recently modified in HTML to speed up the process. I have the following project alist that I feed up to org-...
0
votes
0answers
11 views

How can one configure orgalist-mode to be able to cycle through numeration schemes?

In org-mode and in the defunct orgstruct++-mode, one can cycle through enumeration schemes via Shift-Right-Arrow. For instance, from 1. toto 2. titi to A) toto B) titi This does not seem ...
0
votes
1answer
24 views

How to open multiple files from desktop in the same emacs session?

I use Pop OS 20.04 on my desktop. When I start Emacs on login, I run the command (server-start). So when I open a file using the command emacsclient <filename> it opens it in the currently ...

15 30 50 per page
1
2 3 4 5
423