All Questions

0
votes
0answers
5 views

Can org-publish-project-alist follow symlinks?

I use org-publish-project-alist to maintain my personal webpage. On my local machine, I have dozens of git-repos where I develop files I want to share on my webpage. Currently, I'm using hardlinks to ...
0
votes
0answers
8 views

How to color flycheck's mode line text

I have this, but it doesn't color anything: https://github.com/skrat/dots/blob/master/emacs/.emacs#L177 https://github.com/skrat/dots/blob/master/emacs/.emacs#L357-L362
0
votes
1answer
16 views

How connect to remote machine by private key on Tramp mode?

From my machine Windows 10, I connect to remote Linux machine by private like this (in console) ssh -i d:\Remote\QS\exchange\key\path_to_primary_key@ip_address success connect: Welcome to Ubuntu ...
0
votes
0answers
11 views

Magit blame only last commit (or range of commits)

Can I have magit-blame somehow only show the changes introduced with the last commit? EDIT: what have I attempted? I've looked at the docs of magit-blame and explored all flags in the magit-blame ...
1
vote
1answer
20 views

Is possible to have alternate table rows in another color in org-mode tables?

I would want something like this, for some specific tables with many rows (so columns are easier to read): I know about stripes mode (and sometimes I resort to using it), but that changes format for ...
0
votes
1answer
12 views

What does it mean in ebib when a field of an entry is preceeded with an asterisk '*'?

When viewing entries in a database in ebib, some fields of some entries are marked with an asterisk (*). In my case, these are usually year or month field. I don't see a rhyme or reason to the types ...
0
votes
0answers
9 views

Opening output file: Permission denied, c:/Windows/System32/drivers/etc/hosts [on hold]

Emacs 26.1, Windows 10 Open file c:/Windows/System32/drivers/etc/hosts But when I try to save I get error: Opening output file: Permission denied, c:/Windows/System32/drivers/etc/hosts
0
votes
1answer
15 views

How to select a rotating Hydra option?

From SPC f f (counsel-find-file) minibuffer, open Hydra with C-o (hydra-ivy/body). This is what hydra looks on my system: The Hydra right column has "[m] matcher: order". Pressing 'm' rotates matcher ...
0
votes
0answers
14 views

Configure compilation mode to use custom shell

On windows I have set (setq explicit-shell-file-name "c:/Program Files/Git/bin/bash.exe") to use git-bash for e.g. M-x shell. In compilation mode however, the standard windows console still seems to ...
0
votes
0answers
8 views

Characters replaced with angled bracket sequence, possibly due to encoding

I have files in Markdown, saved in a Dropbox folder. One of them replaces characters with angled bracket sequences. For example a git diff no-index between the saved file and a copy-paste of the text ...
1
vote
1answer
31 views

How to unlist an org-mode plain list?

Q: how do I unlist an org-mode plain list? I have a plain list that looks like: * header - List item 1. - List item 2. - List item 3. I want to remove the plain list formatting and convert ...
0
votes
1answer
35 views

How to define a custom function that runs a command twice?

In dired mode, 'm trying to make a function that runs dired-next-line twice and then bind to SPC so that I navigate files faster in dired mode. I tried to add this in my dired.el file but it didn't ...
1
vote
1answer
10 views

Passing variable into a org babel code on export

I can't seem to get the variable to expand into src block #+BEGIN_SRC conf :tangle ~/.config/mine.conf :var argument=abcde setting1 1234 setting2 argument #+END_SRC When I export the file for ...
1
vote
1answer
16 views

What do the spaces in the NEWENTRY parameter to modify-syntax-entry mean?

I am looking to set up a syntax table for a major mode, and many of the examples, such as lisp-mode-syntax-table have entries like the following: (modify-syntax-entry ?\[ "_ " table) My question ...
0
votes
1answer
22 views

Org-mode export to PDF not highlighting code blocks

I am trying to use org-mode export through LaTex to get a nice PDF of my documents, but I can't get it to show highlighted code blocks through Pygments. The following is a snapshot of my configuration....
0
votes
0answers
7 views

Can't load spacemacs - it's trying to delete pspp-mode

I am a vim user who only uses emacs for my org-mode todo file, so I really don't know what I'm doing. After updating Ubuntu to 19.04 (and thereby updating emacs to 26.x), I'm getting an error when I ...
1
vote
0answers
18 views

`ivy-read`: How to run action on every selection change?

I have been trying to implement a function with ivy that needs to run a particular function not only on selection but also on every selection change in the list. To be specific, when the user scrolls ...
0
votes
0answers
15 views

Creating aliases for key sequences

I found that I can, in evil normal-state, use <leader> c as an abbreviation for (or rather alternative to) C-c: (evil-leader/set-key "c" (lambda () (interactive) (setq unread-command-...
1
vote
1answer
15 views

Issue archiving when maintaining org-mode subtree structure

I'm trying to archive DONE org-mode tasks while maintaining the subtree structure. There's a partial solution for what I'm trying to attempt at https://gist.github.com/edgimar/...
0
votes
0answers
38 views

Proper use of use-package

I am using the following init file to download and load packages from melpa-stable in fresh Emacs installations: (require 'package) (add-to-list 'package-archives '("melpa-stable" . "https://stable....
1
vote
1answer
34 views

M-P: M-p is undefined

I noticed something odd. If I press M-P I get the message M-p is undefined rather than M-P etc.. Is there a reason for this? Version 26.2. Using Arch Linux and the X window system.
0
votes
1answer
20 views

After change from Ubuntu to Lubuntu the mouse wheel (scroll) doesn't work without pressing CTRL together

When I try to scroll with mouse I receive a message saying Wrong type argument: commandp, mouse-5 or Wrong type argument: commandp, mouse-4. This happens after I tried a lot of random fixes. Before ...
0
votes
0answers
30 views

How to automatically run a command when cursor is at bottom of visible frame?

The recenter command in emacs is recenter-top-bottom which I can invoke using Ctrl-l. How can I call this command automatically every time the cursor is on the fifth-last line in the visible frame? [...
0
votes
0answers
7 views

Need help with `expand-region`: Symbol’s function definition is void: org-outline-overlay-data

If I try to use er/expand-region but it fails with Symbol’s function definition is void: org-outline-overlay-data. org-version : Org mode version 9.2.2 In the release notes for the current org (9.2),...
0
votes
0answers
13 views

Highlight headings in orgstruct-mode

When I do M-x orgstruct-mode (in, e.g. shell script mode, after setting orgstruct-heading-prefix-regexp to "#") and make some comments serve as headings, these comments look like all other comments. ...
0
votes
1answer
13 views

Why is text yanked automatically when visually selected in evil? [on hold]

I recently did some changes to my .spacemacs file. I'm not sure if it's related, it's hard to pinpoint when exactly it started to occur. And for some reason, anytime I visually select text now with v ...
0
votes
0answers
19 views

'Meta-Shift' stopped working after update [on hold]

in general, shift and meta no longer work together, so if I press M-S-. or M->, Emacs recognizes it as M-. This behaviour seems due to an upgrade of Gnome 3 Desktop, or upgrade to Emacs 27.0.50.
0
votes
1answer
32 views

How to set up personal information alist with defcustom

I would like to have a variable, say my-info that would have an alist attached to it. In normal programming it would look like this: (setq my-info '((my-name . "Giuseppe Sextus-Packus") (my-email . "...
1
vote
1answer
53 views

Org-mode 9.2:Can' t find the error on my dot emacs [on hold]

I recently update my org to the version 9.2 (to be precise: Org mode version 9.2.3 (9.2.3-4-g6ec402-elpaplus @ /home/nanounanue/.emacs.d/elpa/org-plus-contrib-20190408/) I did it because I replaced ...
0
votes
1answer
30 views

How to make `ESC` key act like a real Meta modifier key?

I would like to make the ESC key act like a Meta (modifier) key. For example, when I move backward by words by (M-b), I want to keep my pinky finger on ESC, not press it once for each backward move. ...
1
vote
1answer
21 views

Is it possible to group series of changes under single undo step?

I am writing template insert function for a file format that needs to keep header counter updated. I'd like that undo operation removes not only in place template changes but also corresponding ...
1
vote
2answers
38 views

How can I get the list of recentf files from bash / cli?

How can I retrieve the list of recent files in bash? I'd like to get this set of files so I can use it with rofi. I could manually parse the data file that looks something like: ;;; Automatically ...
1
vote
1answer
27 views

How show hidden and system folder/files?

Emacs 26.1. , Dired+ Here content folder TraderMonitor in Total Commander: and here how look same folder (TraderMonitor) in Emacs, dired mode: How show hidden/system folders: .git .idea and file: ...
0
votes
1answer
20 views

Check if a character is in a string

It is easy to present list of allowed characters as string, like " \n\t". (char-before) return integer. How can I check that a character is in a string? There is What is the easiest way to check if ...
0
votes
1answer
9 views

How can I get superscripts at the beginning of a line in org-mode?

I'm writing a document (in org-mode) that quotes another document, including its footnotes. As such, I'd like to have a line like: #+BEGIN_QUOTE ^123 The contents of footnote 123 go here. #+...
0
votes
1answer
22 views

Is there regex match at point?

I want to match a certain string (not even a regex!) at point. re-search-forward skips characters after the point. With char-after it is possible to build a framework for matching a string at point. ...
0
votes
0answers
10 views

remove duplicate word one by one [duplicate]

I'm looking for ways to detect duplicate, not case-sensitive words in a text/latex document. Google turns up this elisp-macro https://www.gnu.org/software/emacs/manual/html_node/eintr/the_002dthe....
0
votes
1answer
30 views

Line numbering: stick with linum or nlinum? [on hold]

I see that both linum and nlinum are actively maintained: one is built-in, another recently had a release. With older Emacs version, linum used to be slow with a lot of folding in a buffer (e.g. in ...
0
votes
0answers
19 views

Inline Code Annotations?

I'd like to be able to add inline annotations to my code files that appear to me but do not actually change the file. I looked around for solutions but couldn't find anything besides annotate.el but ...
0
votes
0answers
16 views

Is it possible to export R code within Latex code in an org-mode document?

I am trying to evaluate R code within LaTeX code in an org-mode document. The objective is to export the org-mode document to a .tex document and, ultimately, to a nice pdf document. My problem is ...
0
votes
1answer
47 views

How do I set up all the fonts in my GUI Emacs

I have the following in my init.el: (add-to-list 'default-frame-alist '(font . "Monaco-10")) The above does the job, but Emacs uses some other fonts when displaying headlines in org ...
0
votes
0answers
11 views

How to pass noweb variables to latex blocks

I need to tangle a LaTeχ file from code blocks in an org file. How do I pass variables to the SRC block? In theory I should use :var var1=value, but is there any way to reference var1 in the LaTeχ ...
0
votes
0answers
10 views

Connecting to VMS VAX using FTP [on hold]

I have to connect to a VMS machine (legacy systems from 1960's) TELNET PORT23 at work. They are used in process control plants and are being upgraded to modern systems. We have to access these systems ...
0
votes
0answers
23 views

Ipython code only executes from org-edit-special, not from org source code block

I am trying to setup emacs on a windows 7 machine, and having trouble executing python/ipython code blocks. I am able to send these code blocks to org-edit-special (C-c '), start a python process (C-c ...
1
vote
0answers
18 views

How find org entries that are missing a certain property?

I have this long sub-tree, I want to find the entries that I haven't set a certain property on yet. * Big list ** foo :PROPERTIES: :QUUX: 1 :END: ** bar :PROPERTIES: :END: ** baz ...
0
votes
1answer
28 views

create new file helm-find-file with ffap

I have helm-find-files bound to C-x C-f. When I use it with a filename at point, and the file exists, it uses ffap to offer me that file, which is nice. But when the file does not exist, it just ...
0
votes
0answers
18 views

Magit Tramp not showing dif window

When using magit on a local file, I stage my changes and I then press c and c again to commit. I get a new window showing the diff and a window for the commit message. I write my commit message press ...
0
votes
0answers
11 views

org-src-fontify-natively breaks #'org-in-src-block-p

#+BEGIN_SRC latex we are now inside a source-code block; but, with org-src-fontify-natively set to nil, calling #'org-in-src-block-p here | doesn't evaluate to t! #+END_SRC Is this a bug? I wasn't ...
1
vote
2answers
31 views

Shortcut to put the selected region in an ordinary LaTeX environment (not with begin-end style) using auctex

In auctex if one has a selected region and then apply the command c-c c-e (LaTeX-environment) then by selecting an environment, the selected region will be folded between that environment. Is there a ...
0
votes
0answers
25 views

Evil-mode mixed tabs & spaces indentation

I'm having extreme issues at the moment with evil mode where I am working on Jade/Pug and Stylus files for Node.JS where it is white space sensitive. I installed pug-mode but when you indent via >> ...

15 30 50 per page