All Questions

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

Prevent ESS from opening an R console

Say I want to create and edit a new R file using emacs/ESS. I type emacs myfile.R at my shell prompt and an empty file opens. Hurray! I start typing my code: library(da at which point I am interrupted ...
0
votes
0answers
3 views

Calendar: symbols-function-definition is void: “appt-make-list”

When in the "calendar", typing "d", which runs (diary-view-entries), gives me an error Symbols-function-definition is void: "appt-make-list". It shows the (one) entry for ...
1
vote
1answer
15 views

How to specify a directory to tangle all code blocks into

I am writing a report in latex, many of which contain code blocks which will be rendered with asymptote. Since all the scripts will be tangled into the same subdirectory asyscripts, I don't want to ...
0
votes
1answer
83 views

helm-mu on macOS throws Invalid read syntax: (")

Hej guys, I get an error when searching through my mails with helm-mu. Messages gives Invalid face reference: helm-grep-finish [96 times] error in process filter: helm-mu-candidate-parser: End of ...
0
votes
0answers
11 views

Rename another buffer

There are buffers that prevent you from being able to execute interactive commands (by overriding the default M-x binding). For example, *ansi-term* buffer would do this. (I know you can do C-cM-x to ...
0
votes
1answer
37 views

Magit remove local branches that were merged into another branch

Explaining the problem more in-depth than the titular definition: Often I merge branches into master and want to prune based on that. M-p works fantastic for removing the remote branches (eg origin/...
0
votes
0answers
7 views

How to set the frame for opening pdf in org mode?

I have two links in my org buffer: [file://tmp/foo.pdf] [file://tmp/bar.pdf] Hitting enter on [file://tmp/foo.pdf] opens the pdf in the same frame (using pdf-tools / ..Running /usr/bin/xdg-open..). I ...
1
vote
2answers
33 views

how to open a network folder in dired?

Unfortunately, I'm stuck on Windows. I have a network folder under this PC. Is there a way to navigate into it with dired without mounting it as another drive?
0
votes
1answer
224 views

No further undo information

I'm getting the "no more undo" message all too often, even I made changes that should be there in the history. This is seriously breaking my workflow. This is my .emacs https://github.com/skrat/dots/...
5
votes
1answer
350 views

How to sync the read history of Gnus between computers through Dropbox?

I try to read email and mail list with Gnus on different computer. I am able to sync the configure files through Dropbox and it works fine. But I don't know how to sync the read history. I am always ...
0
votes
1answer
97 views

How to Prevent org-global-cycle Glitch

I'm having an issue when using (org-global-cycle) from a subheading followed by (org-cycle). For example in the following org file: * Level 1 Heading 1 ** Level 2 Heading 1 ** Level 2 Heading 2 *** ...
3
votes
2answers
1k views

org-anniversary entries not appearing in Agenda

What would prevent org-anniversary entries from appearing in the Agenda? Entries such as: %%(org-anniversary 2015 01 01) New Year's Day fail to show in the Agenda. I have toggled org-agenda-include-...
1
vote
1answer
34 views

How to open org files with some, but not all headings expanded?

I have an org file which looks like this: * Chores #:PROPERTIES: #:VISIBILTY: showall #:END: # STARTUP: showeverything # no + so this does nothing right now ** NEXT Brush Teeth in Day SCHEDULED: &...
0
votes
0answers
6 views

Modification so 'org-match-sparse-tree' with 'org-show-context-detail' set to minimal always shows entry

I modified org-show-context-detail to minimal. Which for org-match-sparse-tree means 'show current headline, and entry below if needed' (if needed means the entry will only be shown if point is within ...
3
votes
1answer
498 views

org-export latex pdf output does not render svg

I tried out this section of code from this repo #+LATEX_HEADER_EXTRA: \usepackage{svg} ... #+PROPERTY: header-args :eval never-export :file-ext svg ... #+NAME: sequence12422 #+BEGIN_SRC plantuml :...
0
votes
0answers
10 views

Show org todos with certain tag in designated file

I want to implement a certain time-management system in emacs/org-mode. For each project, I intend to have one .org file which includes all associated to-dos. I already created those. Now, I would ...
0
votes
0answers
6 views

company-mode on emacs27 stoped working and returns error message with LSP

I am using emacs27 with macOS, installed with brew cask install emacs command. After updated my emacs version from 26 to 27, company-mode stop working when I edit my rust code with rust-analyzer back ...
0
votes
1answer
71 views

Highlight parentesis in latex

the image is self explanatory, I recently switched to doom emacs and I'm still learning. How can I fix this problem? I tried to switch off anything related to checkers in the init.el file but it doesn'...
1
vote
2answers
244 views

How to store an eshell alias in `init.el`?

I like to keep my configuration as self-contained as possible, and I'm wondering whether there's a way to manage eshell aliases in my .emacs file. Is it possible to set up aliases with a function call ...
0
votes
1answer
129 views

Spacemacs: shortcut to jump from opened orgmode file to Neotree pane

I am using Spacemacs. So I have a Neotree pan that I open with Spc-f-t and that works fine. Then I can navigate down the tree to open a file with l and that will move the cursor from the Neotree pane ...
0
votes
2answers
36 views

How do I have emacs automatically insert the last modified date into an html file?

I have tried using Time-stamp: <>, but it only worked once, in one file??? My .emacs file is: (custom-set-variables ;; custom-set-variables was added by Custom. ;; If you edit it by hand, you ...
1
vote
1answer
168 views

Saving Python matplotlib figures with source-code blocks

So I am trying to create a Data Science workflow using org-mode source-blocks. Basically, I need to emulate the jupyter notebook functionality where you create a plot and it shows the figure. Now, ...
3
votes
1answer
1k views

Wrong letter spacing when using certain fonts

I'm using Classic Console font in buffers. Unfortunately for some reason letter spacing is terrible in Emacs while being correct in Konsole and other programs. Text in Emacs: Text in Konsole (using ...
0
votes
1answer
18 views

Error replacing %n escapes with nth %^{…} string in emacs org capture

I am trying to write a custom org-capture template, but I get an error if I try to use the %\N functionality to insert the N-th prompt. The relevant excerpt of my org-capture-templates variable is (&...
0
votes
0answers
15 views

xref-js2 showing too many results

I'm getting mixed results with xref-js2 and want to confirm if what I'm seeing is expected or not. I'm using Emacs 27, and I have the following config: (require 'ripgrep) (require 'js2-mode) (add-to-...
1
vote
1answer
16 views

How to time org-mode code block execution?

Is there an easy way to time how long it takes to execute source code blocks in org-mode (maybe with header arguments or similar), if so, how? Or do I have to implement it in the code itself? I'm ...
0
votes
1answer
15 views

Show line at opening brace when cursor is after the closing brace (Perl)

Something I like in Emacs is positioning the cursor after the closing brace/paren highlights the opening brace/paren. Even better, like in Emacs-Lisp mode, the opening ( line is displayed in the ...
0
votes
1answer
42 views

how can I run conda in emacs shell?

I've been using Python command 'conda' in the terminal on my Mac. But when I run a command like 'conda activate ...' in Emacs's shell (M-x shell), it gives me this objection: CommandNotFoundError: ...
3
votes
2answers
542 views

Org headlines are never exported to \paragraph in LaTeX

I want to export an Org file into PDF, with any depth titles showed in TOC; however, cannot works. Even though adding \setcounter{tocdepth}{5}, TOC still only contains the title of 3rd depth (\...
1
vote
1answer
17 views

In EXWM `split-window-right` followed by immediate `windmove-right` swaps order of buffers

I have a function (defun bad-fn () (interactive) (split-window-right) (windmove-right) ) If I go to a frame with just one window visiting EXWM buffer A (and buffer B is next), and call split-...
0
votes
1answer
48 views
+50

How to see files of a particular tag in org-roam?

Before I installed org-roam I saw a screenshot or a video somewhere in which the tags of an org-roam note looked like links. I was under the impression that org-roam allows you to see all notes of a ...
0
votes
1answer
14 views

Javascript mode mixes tabs and spaces for indent

My javascript mode indents with a mix of tabs and spaces. I'm ok with the mix if spaces are used for cosmetic alignment, but this is just wrong: First level of indentation is spaces, second is tab, ...
0
votes
1answer
11 views

Elpy can not find flake8 on Windows 10

My elpy package tells me that it can not find the command "flake8" on a Windows 10 machine. Ok, it make a bit sense to me. By default there is no flake8 on Windows 10 installed. I was not ...
0
votes
1answer
30 views

User input - How to use predefined list

While there are org-templates creating entire bullet points with content, what I am looking for is a simple user query (similar to read-string) where the user can use a pre-defined list of words/...
2
votes
1answer
1k views

256 colors in FbTerm

Is there a way to get emacs with 256 colors in FbTerm? I've seen some old posts on the topic but I haven't seen any confirmation that it will work. EDIT: If I start FbTerm with this command: ...
0
votes
1answer
35 views

What is the equivalent of Ruby's “rake test” for project elfeed?

In a ruby/rails project, the "standard" way to run "the test suite" is rake # alias for rake test Some projects will mention (when there's a deviation)how to run tests in their README. How do you ...
0
votes
1answer
45 views

Make :tangle don't add a newline at the end of the file

The context I'm storing all my custom defined yasnippet snippets in an Org file (see below) $ cat ~/.emacs.d/snippets/snippets.org #+PROPERTY: header-args:yasnippet :mkdirp yes #+begin_src yasnippet :...
0
votes
1answer
12 views

Selecting a directory like counsel-find-file

I would like to write a function that would prompt the user to select a directory, using an UI like that presented by counsel-find-file. The starting directory should be an arbitrary directory passed ...
0
votes
1answer
87 views

configuring spacemacs for python development

It's been really frustrating trying to get spacemacs to work so far. I've grown to really love it - coming from vim - for its capabilities in manipulating and navigating text, but it's just been so ...
9
votes
3answers
703 views

How to syntax highlight Python f-strings so {…} uses regular code colors?

Update, Emacs 28 supports f-stings Python 3.6 supports F strings, eg: So: print(f'Test {} me!'.format(2 + 2)) Can be written as: print(f'Test {2 + 2} me!') Which print's Test 4 me, Is there a way ...
0
votes
1answer
22 views

Why has my .custom file changed between `(quote` syntax and the `'` syntax and how to convert between the two?

I use the same .custom file on different machines syncronised via a git repo. I just noticed that suddenly the .custom file from one machine uses the (quote syntax while in the past the ' syntax was ...
1
vote
0answers
21 views

Archiving repeated tasks

When I archive a repeated task (let's say, a learning project of 15 minutes every Wednesday day for 2 month), the task gets archived in a date tree all under the day it was closed (cancelled) as a ...
0
votes
1answer
19 views

dired by name - change directory and create new file

I want to open a new file in a different directory than the current one. Pressing C-x C-f -> I could enter a file name. But I don't. Pressing RET The directory listing (mode (dired by name)) comes ...
1
vote
1answer
23 views

How to get the mode-specific help information or help files

No matter in which mode I am currently in, is there a general way / key combination to open the help file related to the currently active mode?
1
vote
1answer
15 views

How to set smerge-command-prefix to “\C-cv”

I find the default prefix for smerge-mode C-c^ and I have following setup: (setq smerge-command-prefix "\C-cv") (setq smerge-command-prefix "\C-c\C-v") Also C-c ^ runs the command ...
3
votes
1answer
43 views

Tangle Org file containing #+INCLUDE directives and multiple tangle targets

Context I'm using org-babel-tangle to generate my configuration from an Org file config.org. Recently, I did some clean-up by dispatching config.org to multiple Org files config/*.org; replace the ...
0
votes
1answer
71 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'...
1
vote
1answer
20 views

Strange Color Issues

I've been playing around with Emacs for the first time this week, and I've been having some issues with the color scheme. This post was prompted by getting some weird when using helm. I've also ...
1
vote
1answer
41 views

Adding Spacemacs documented layers fails

Adding layers existing in the layer section of the .spacemacs documentation results in failed test in the dot-test-results buffer generated after reloading the .spacemacs file (with SPC-f-e-R). ...
0
votes
1answer
45 views

resizing frame by window manage under AnyDesk disassociates emacs buffers' dimensions

I'm trying a new (to me) remote desktop tool AnyDesk (v.5.5.4). I'm attaching to Ubuntu18 system at work from a Ubuntu19 system at home. When I resize an emacs frame with the mouse, the menu bar, ...

15 30 50 per page
1
2 3 4 5
403