All Questions

0
votes
0answers
3 views

Why doesn't url-copy-file download these files?

I discovered this issue while trying to install all-the-icons. One step of installation involves using url-copy-file to install fonts. After running the install script, the font files are found in ...
0
votes
0answers
3 views

Removing buffers from buffer list

This is my first day on emacs, and I am really liking it so far, but I cannot seem to be able to work correctly with buffers. I am trying to kill specific buffers with C-x k, however upon checking the ...
0
votes
0answers
2 views

Tramp: Is there a way to use something like ssh-directory-tracking-mode but via ssh instead of ftp?

The boxes I'm working with are locked down and only have the SSH port (22) open, so I can't use directory tracking via FTP. But directory tracking is really handy. There has to be a way. Does anyone ...
0
votes
0answers
6 views

Org-capture menu from within helm

I have started using org-capture extensively, and now have capture lists for just about everything: books to read, movies to rent, articles to write, research topics, business ideas – you name it. ...
0
votes
1answer
13 views

Run function after specific snippet

I have a workflow that goes like, 1) use a snippet then 2) call a function. What a glorious opportunity to automate! But how? The snippet ipdb inserts import ipdb; ipdb.set_trace(). It has ...
0
votes
2answers
22 views

Make text clickable: add urls with a loop

In my LaTeX code I have functions that generate hyperlinks in the PDF file. I have, e.g.: \newcommand{\arXivid}[1]{\href{https://arxiv.org/abs/#1}{\tt arXiv:#1}} So, in my LaTeX code I have strings ...
2
votes
0answers
18 views

Can I get emacs to display a grid?

The question is if there's anything like a "background display mode" or maybe a package that once installed would allow a background grid to be displayed in the editor window. The Eclipse IDE for e.g. ...
2
votes
2answers
46 views

How keep only duplicate lines?

Emacs 26.1. Windows 10 In buffer I has text like this: 3333333 1111111 $PAC_LTC 1337_BTC 1337_LTC 404_BTC 42_BTC 222222 42_LTC 808_ETH 8BIT_BTC ...
0
votes
0answers
12 views

Jump to org-mode heading from external application

I want to create a URL that uses org-id to jump to its associated heading in Emacs org-mode. I tried using: org-protocol://org-id-goto?id=DC6BC674-8CE1-451D-A45F-05E09F1F743D But this only opens ...
1
vote
1answer
32 views

What's the point of `save-excursion` twice in `copy-to-buffer`?

Here is the official definition of copy-to-buffer in Emacs 26.1 (the doc string part is omitted for brevity) (defun copy-to-buffer (buffer start end) (interactive "BCopy to buffer: \nr") (let ((...
0
votes
0answers
9 views

Org mode column view does not convert the entire tree

I have a fairly longish org tree --- about a thousand entries with seven properties for each node. When I try to convert to column view using C-c C-x C-c with default settings, all goes well. But ...
0
votes
0answers
13 views

How to ask magit to use external diff and merge tools?

I have set the git variables [merge] and [diff] to the appropriate values like this: [merge] keepBackup = false; tool = p4merge [mergetool] prompt = false [mergetool "p4merge"] cmd = ...
0
votes
1answer
27 views

How do you do a clean install of emacs+auctex?

It was established here there is a problem with my installation of emacs. So I did $ sudo apt-get --purge autoremove emacs and remove all in $ locate emacs | grep conf I reinstalled emacs from ...
0
votes
1answer
16 views

Unable to run applescript from emacs-lisp

I have the following code block, which I am trying to execute from org-babel: #+BEGIN_SRC emacs-lisp (let ((h (nth 5 (org-heading-components)))) (do-applescript (format "tell application \"...
0
votes
1answer
11 views

Grant Applescript via Emacs Lisp permission for UI scripting [on hold]

I have a simple applescript, embeded in emacs-lisp, which uses the current org-mode heading to create a calendar event in Apple Calender. However... because scripting Calendar directly is painfully ...
0
votes
1answer
11 views

CC mode: make Tab just insert one tab or complete, no auto-indenting

I am dissatisfied with current behaviour of Emacs in CC Mode. I'm not sure if this applies to other major modes, but that's one I'm currently struggling with. Here are my problems: When I press tab, ...
0
votes
0answers
27 views

Interactive lambda only calls 1 of several functions called in body

In term-mode I've configured the keybindings for term-line-mode and term-char-mode as follows: (setq term-bind-key-alist (list (cons "C-c C-j" '(lambda () (interactive) ...
0
votes
0answers
17 views

Trouble connecting GNU emacs to work machine through SSH & TRAMP

I am a new emacs user. Previously, for work, I would ssh into my work machine by activating my VPN and then running ssh work (work is an ssh nickname defined in .ssh/config) in my terminal. This would ...
1
vote
0answers
15 views

What's the recommended way for clocking and archiving with org-mode

I recently started clocking my tasks with org-mode and it's great. I now know how much time I spend on each project I am working on. Each project has multiple subtasks, but by setting "maxlevel:1" I ...
2
votes
0answers
15 views

Display multiple tooltips at once

Is there any way to display multiple tooltips, or something similar to them? Overlays wont work because i need to display them using xy coordinates.
0
votes
3answers
37 views

Invoke minor mode upon visiting an org file (on a per-file basis)

I have certain org files (scientific manuscripts) that I want to automatically show in Olivetti mode with a specified width upon opening. Is it possible to enable Olivetti (or generally, any minor ...
0
votes
1answer
42 views

How to align specific columns, for several lines simultaneously?

Consider i want to make something like this row one goes like this row two goes like this woops like this woops like what happend now and i want the like to be aligned in all sentences, something ...
0
votes
1answer
16 views

Makefile layer in spacemacs

I've searched all over internet, but couldn't find how can I invoke make from spacemacs with a keybinding (not in shell window). All I found was this: @agriffis on gitter said the following Aron ...
0
votes
0answers
13 views

How to quickly add data or navgate to a heading in org-mode?

I have a calendar.org file with roughly this structure: * 2019 ** January *** 1 *** 2 *** 3 **** Event 1 Description of event 1 **** Event 2 Description of event 2 *** 4 *** 5 *** 6 ... What I do ...
1
vote
1answer
14 views

Switch from Dired to Wdired rename file and directory errors when using “-F” or “--classify” ls switch regex help

If you set -F or --classify in the dired-actual-switches then it places a / at the end of directory names and * at the end of executables. When you finish renaming the files, these characters are ...
1
vote
1answer
21 views

Writing “recall_score()” breaks org-mode export

After writing the expression recall_score() in one of my org-mode files I was no longer able to export into html (or other formats), and I got the following error Reference ‘score’ not found in this ...
0
votes
1answer
23 views

Marking a TODO item DONE does not create a CLOSING timestamp in org-mode

I'm following this tutorial: https://orgmode.org/worg/org-tutorials/orgtutorial_dto.html * Tasks ** DONE start a new org file for tutorial C-c C-t modifies the second to line ** DONE start a new ...
0
votes
0answers
12 views

How to get java.exe (Windows programs) accessible inside spacemacs (emacs) started from a (Git) bash shell in Windows 10?

I'm starting spacemacs from a git-bash in Windows 10. Compared with starting spacemacs from Windows command shell, I find it fewer problem of configuration. However, with the spacemacs started from ...
0
votes
2answers
17 views

Does ctags know about the type of a data member in a class?

I'm trying to learn about ctags in emacs. I have built a TAGS file as per the instructions here: https://www.emacswiki.org/emacs/EmacsTags. I think I'm using exuberent-ctags, but I'm not sure. I ...
0
votes
0answers
7 views

Make helm-org-in-buffer-headings more like Deft

I would like to implement a notational velocity-like search, using helm. Basically, I want to have similar functionality to helm-org-in-buffer-headings but I want the body text of each heading to be ...
0
votes
1answer
27 views

Hide leading stars in helm-org-in-buffer-headings

Currently, when I run helm-org-in-buffer-headings in see something like this: * main topic 1 ** Subtopic 1.1 ** Subtopic 1.2 *** Sub-subtopic 1.2.1 * main topic 2 I would like to hide the leading ...
1
vote
0answers
9 views

Hide extra stars when narrowed to subtree

I have an outline with many levels of indentation. When I narrow to a particular subtree, I would like to hide the extra stars (and indentation) so that It looks like I am working on a top-level ...
1
vote
0answers
61 views

Confused about .emacs vs .emacs.d/init.el

I read somewhere the two files were interchangeable, so I cut/paste the content of the former, shown below, to the latter. But then Xreader was missing when I tried to view a document generated by ...
0
votes
0answers
8 views

Reconnect to the restarted daemon

I have started emacs (v26.1) server: $ emacs --daemon I connected using $ emacsclient -t From within emacs, well spacemacs, I restarted the daemon SPC q r, which executed dotspacemacs/resume-...
1
vote
0answers
20 views

Missing RMarkdown templates with poly-R

I use the ess, polymode, and poly-R packages together to work with RMarkdown files. I have also installed the R packages rmarkdown and tufte in my R library. While these R packages provide ".Rmd" ...
0
votes
0answers
26 views

`undo-tree-mode` only goes back a small number of steps when using Ensime, then “no further undo information”

When using undo-tree-undo in Spacemacs v 300 in ensime-mode, I will run into "No further undo information" after a small number of steps --- just around five or so. I have the following variables ...
1
vote
0answers
18 views

Loading new agenda keywords (org-todo-keywords) is broken for me - bug in Emacs?

Objective I decided to add custom agenda keywords (I'm still setting up the environment, don't have any agenda files yet) and I used this example code from some tutorial: (setq org-todo-keywords ...
0
votes
1answer
23 views

Autoinsert a python skeleton

I start my python files (.py) with #!/usr/bin/env python3 and sometimes if __name__ == '__main__': somefunc() having done it some hundreds of time manually I decided to automate it in Emacs. (...
0
votes
0answers
15 views

Are there any tutorials/documentation for lsp-java?

I have managed to install lsp-java according to their git Readme (https://github.com/emacs-lsp/lsp-java) and created my workspace. Is there a better way (eg. in form of a documentation or tutorial) ...
1
vote
0answers
40 views

cannot rebind M-p [on hold]

I try to customize the scrolling experience within Emacs and for that rebound M-n and M-p to a new functionality, namely (global-set-key "\M-n" "\C-u20\C-v") (global-set-key "\M-p" "\C-u20\M-v") ...
3
votes
1answer
22 views

Filter tasks on agenda file

I have specified two source Org files for Org-mode to search when creating an agenda. In the agenda view, how do I filter (view) tasks from only one of the files?
1
vote
1answer
31 views

Keybinding fails although it is not set

I'd like to use the key binding M-n p for ess-swv-purl in .Rmd documents and thus tried (define-key global-set-key (kbd "M-n p") 'ess-swv-purl). If I'm in an .Rmd (Rmarkdown) document, M-n p still ...
3
votes
2answers
114 views

How to transpose two arguments of a function call for C family languages?

How to swap two arguments for C function calls? eg: my_function(foo, bar, baz); ~~~~~~~~~~~~~^ (cursor location) Should be transposed to the right to make: my_function(bar, foo, baz); The simple ...
1
vote
1answer
21 views

Is there a way to make dired buffers created by lists behave more like traditional dired?

For example, when doing: (dired '("custom-buffer" "~/.emacs.d" "/Volumes" "~/.bash_profile")) I cannot sort, and when changing a name of a file it will not reappear in the buffer. An additional ...
0
votes
0answers
7 views

Listings' morekeywords attribute doesn't work in Org mode

I have defined a custom listings style in the header of my org mode file: #+LATEX_HEADER: \usepackage{listings} #+LATEX_HEADER: \usepackage{color} #+LATEX_HEADER: \definecolor{codegreen}{rgb}{0,0.6,0}...
1
vote
0answers
35 views

Why is cursor moving after a save?

When working with the same buffer in multiple windows within one frame, it seems like the location of the cursor in, say, window A gets inadvertently set as a marker such that right after the buffer ...
0
votes
0answers
10 views

org-mode HTML export and “user agent stylesheet”

I tried this and when I tried tweaking the h2, I see in the Chrome dev tools Inspect how something called "user agent stylesheet" overrides anything I try with the headings' h2 in the custom ...
0
votes
2answers
32 views

Orgmode tables: Insert row within column

I would like to know, how to add a new line in a column without changing the other columns. Alternatively, how to move up a cell in a column without changing the other columns. Here is an example (...
0
votes
1answer
20 views

GDB-MI - Displaying complex data-types

The GDB local variable window (in the multi-window view) usually works fine to track local variables. However, I've recently been coding a lot in C++, and almost all variables are some kind of struct/...
0
votes
0answers
16 views

M-x cider-jack-in, nrepl won't start

I am completely new to Emacs so apologies if this is a stupid question. I am following the Emacs configuration as outlined in Clojure for the Brave and True. Unfortunately, when trying to start the ...

15 30 50 per page