All Questions

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

Why is my custom theme properties for evil-search-highlight-persist-highlight-face not being reflected on that face?

I am using spacemacs with evil mode. If I type /example, then ENTER, I will see all words matching example highlighted on the page. If I move my cursor within one of those example words and type ...
0
votes
0answers
5 views

How to make helm list all options when hitting M-x

I unfortunately lost my init_helm.el file, and had to reconstruct it from scratch, so far only with these commands: (require 'helm) (helm-mode 1) The functionality I miss the most is the ability to ...
1
vote
1answer
357 views

Unable to Set Javascript Indent on Spacemacs

I have a vanilla Spacemacs setup, and in my .spacemacs file, the dotspacemacs/user-config definition I have added (setq js2-basic-offset 2) which should be sufficient to set the indent length as 2. I ...
1
vote
2answers
12 views

How to make a newfile-function opening the new file in a new frame?

I use Emacs org-mode for note taking during philosophical dialogs. I make one new file for each idea encountered, using this code: (defun myfun-create-note-file() "Doc-string." (interactive) ...
2
votes
1answer
103 views

Hide slashes in italic text in org-mode

By default, text between slashes is italicized: Is there a way to have org mode hide the slashes while keeping the text italicized? UPDATE NickD's answer below works great! Here's what it looks ...
0
votes
1answer
15 views

set fill-column in org-capture notes

I'm trying to customize the fill-column value for org-add-note when adding notes to an Org TODO (e.g., C-c C-z). I have tried to add the following to the org-add-note function (this seems reasonable ...
2
votes
2answers
1k views

how to set ipython on a virtualenv?

I'm using elpy for my python coding. I wanted to try ipython because of the nice built in profilers. So what I've done is to install ipython within my virtualenv. It works correctly. I then added the ...
0
votes
0answers
14 views

How can I open WoMan's pages from bash?

I first tried emacsclient -t -e '(woman "sox")', but it opens the WoMan's buffer as a popup: Then I tried emacsclient -t -e '(woman "sox") (spacemacs/toggle-maximize-buffer) (sleep-for 3) (delete-...
0
votes
1answer
135 views

How to enable 256 colors in terminal

I'm having a problem with setting up colors in my xfce terminal. (list-colors-display) shows only 8 colors, while both my $TERM variable and (tty-type) is xterm-256color. I've dug through the ...
1
vote
1answer
18 views

Org mode regex search view

Upon reading Search View It state that You can incrementally adjust a boolean search with the following keys [ Add a positive search word ] Add a negative search word { Add a positive regular ...
0
votes
0answers
19 views

Emacs tramp on chroot directory

I have chroot directory. When I try to open /ssh:web@xxx.xxx.xxx.xxx:/, Emacs returns “Found remote shell prompt on”. From console I login to directory.
1
vote
0answers
23 views

Add paragraph numbers

I have a longish document and I want to number the paragraphs. So, Here is the first paragraph. It could span multiple visual lines. Two paragraphs are separated by an empty line. converts to : 1 ...
0
votes
0answers
12 views

jedi with ein does not work

While Jedi works in python mode, it does not in ein (jupyter-notebook). If I run jedi:setup manually, both of jedi and auto-complete get listed among minor modes. I use emacs 25.1.1 on Debian. I use ...
0
votes
0answers
7 views

Exclude the habits from the global todo list

I set habits ** TODO Wake Up Early In the Morning SCHEDULED: <2019-07-17 Wed 05:00 ++1d -0d> :PROPERTIES: :STYLE: habit :LAST_REPEAT: <2019-07-15 Mon 04:30> they display on agenda ...
2
votes
3answers
63 views

How can I search between the lines with multiline search?

I use C-u 4 M-x helm-swoop for interactive search also show several surrounding lines (this is analogous to grep -C 4). When I find the word I narrow my search interactively, for example, C-u 4 M-x ...
0
votes
0answers
5 views

MS Outlook groups not showing in Gnus

As the title suggests: did anyone encounter this problem? Whatever MS Outlook calls "folders" shows up in Gnus' groups, but the "groups" (using MS terminology) don't show up anywhere. I'm trying to ...
0
votes
0answers
15 views

How can I search for bolded text?

My reasons for doing so are exactly like https://unix.stackexchange.com/questions/271550/how-can-i-search-for-bolded-or-underlined-text , but the accepted solution there is to use vim. I don't fancy ...
0
votes
2answers
40 views

Org-mode tell paragraph position in subtree

Is there a quick way to show where a paragraph is sitting in the document structure hierarchy? * Chapter 1 ... * Chapter 5 ** Section 4 ... paragraph X I would like to tell that paragraph X is ...
0
votes
0answers
11 views

Unicode characters in org-mode tables

Here's an org-mode table with some unicode math characters in it: Note that the columns don't align. I can manually fix the issue by inserting literal tab characters after each character via ctrl-q ...
0
votes
0answers
14 views

Revert buffer with coding system

Chances are that every time utf-coding should be activated by invoking 'M-x revert-coding-system` , even though a long list of utf-prefer configuration: (prefer-coding-system 'utf-8) (set-...
0
votes
0answers
8 views

iy-go-to-char breaking macros

I was trying to create a macro when I realized that the iy-go-to-char function has a strange problem. ;; Keyboard Macro Editor. Press C-c C-c to finish; press C-x k RET to cancel. ;; Original keys: ...
0
votes
0answers
16 views

org-capture-templates which not level one heading

I wrote such a capture template (add-to-list 'org-capture-templates '("d" "Diary" entry (file "~/ORG/src/sdiary.org") "**** Log \n\n**** Tasks\n\n**** ...
0
votes
0answers
11 views

My init.el gets stuck on trying to install “spinner”, a sub-dependency of cider

I've installed emacs on a new machine (macos) brew cask install emacs. My init.el file gets stuck installing cider (clojure ide) because it requires "spinner". When I do: M-x package-refresh-contents, ...
0
votes
1answer
28 views

Launch doom-emacs with options of main and #1

Upon launching doom-emacs, it displays What does the options main and #1 mean? It toggle [2] as default, how could I toggle 1
2
votes
1answer
30 views

Enable follow-mode in dired

Upon working on org agenda, it's super convenient to employ (org-agenda-follow-mode) The Org Manual: Agenda Commands It display the original contents on other window instantly while scrolling ...
1
vote
1answer
684 views

How to move spacemacs neotree window position to the right?

I'm transitioning from emacs to spacemacs. In emacs I use neotree to have a nice sidebar where I can explore my files. I like it on the right side, so inside my custom-set-variables within my init ...
0
votes
2answers
19 views

Exclude different subtrees from export when using different back-ends

For example, main.org: * Heading * Common subheading * HTML subheading * ODT subheading I want to set tags or properties in such a way, that allows to export into main.html HTML subheading but ...
0
votes
1answer
29 views

I see “Unnecessary call to ‘package-initialize’ in init file” but can't find the call to `package-initialize`

I'm running Emacs from HEAD on Mac OS. I installed emacs-plus using the --HEAD argument with homebrew. I did a whole grep for (package-initialize) in ~/.emacs.d/. The only reference I found to it is ...
1
vote
1answer
54 views

org-agenda-write doesn't respect org-agenda-dim-blocked-tasks

Running a fresh Emacs session with emacs -Q, I evaluated the following: (setq org-agenda-files '("~/index.org")) (setq org-enforce-todo-dependencies t) (setq org-agenda-dim-blocked-tasks 'invisible) ...
0
votes
1answer
16 views

Show only different symbols. Not entire line [duplicate]

windows 10, dired+ when I compare two files I get this: The different in this file are two words: first second But diff tool show me that is different ENTIRE line. It's not very good. Is it ...
0
votes
1answer
16 views

Compare files in dired mode: Cannot operate on ‘.’ or ‘..’

windows 10 (64 bit) Emacs 26.1, Dired+ I need tool that can compare files by content with highlight different symbols. Example: As you can see I mark two files. Is it possible to compare this ...
0
votes
0answers
25 views

How to fetch new emails in Gnus

I've not used Gnus in a long time, but, if my memory serves, simply opening a group would check for new emails and fetch them. For some reason this doesn't happen anymore... I can, however, tell it ...
-1
votes
2answers
27 views

What tool can I use to compare files by content in dired mode? [on hold]

windows 10 (64 bit) Emacs 26.1, Dired+ I need tool that can compare files by content with highlight different symbols. Example: As you can see I mark two files. Is it possible to compare this ...
0
votes
1answer
14 views

Remove the auto-generated marks from dired buffer

Upon invoking dired with C-x d, it display Five of the files have already been marked automatically , Consult with the manual of operation on files Strik U and * u to remove the mark but failed. ...
1
vote
1answer
63 views

org-export ignoring done entries

Is it possible to have org-mode export ignore entries that are in a completed state (e.g., DONE, WONTFIX). Note that I do not want to create a sparse tree and then export what's visible, that will ...
0
votes
0answers
37 views

Is frame background considered a face?

I would like to know if Emacs treats empty portions of the frame as faces. I want to know because I wonder if the background of an Emacs frame is drawn separately of other elements on the screen. ...
0
votes
0answers
6 views

Org agenda suddenly broken after installing org-mac-link

Org agenda is suddenly broken Symbol’s value as variable is void: org-tag-group-re. How to fix it? Diagnosis: The problematic code seems to be this: ;; org-mac-link (push (expand-file-name "~/....
1
vote
1answer
91 views

How to access mouse event coordinates? (conveniently)

When getting events from (read-event) it's possible to access only mouse events using (mouse-movement-p event). Inspecting the events I've found I can get the Y pixel location using (cdr (nth 2 (nth ...
1
vote
0answers
25 views

Is there a package manager for emacs that can use git repositories directly?

Is there a way to manage packages in emacs where I can point to a git repository directly? (like vim-plug for eg).
1
vote
1answer
13 views

Hide the external links

I am insert a external link to projects.org from os.org * file:projects.org::[[Workflow]] How could hide the external file name and left only workflow
4
votes
3answers
1k views

How do I demote/promote selected subtrees?

(current as of org 8.2.10) I have a thing (shameless plug) that outputs a simple snippet of org-headings in a single file that look like this: * little boys - snakes - snails - puppy dog tails ...
1
vote
2answers
105 views

Babel + Python function definition with for loop causes IndentationError

I am using orgmode and Babel to run Python source code blocks. I noticed that if I define a function that returns a value, and if this function has a for loop inside it, then evaluating it with Babel ...
0
votes
0answers
8 views

Emacs shell restore session

Is this new? I have not had this problem until recently. I don't want emacs to restore my shell session. It doesn't work. In particular, it fails to do the nvm stuff that I need done when I open a ...
2
votes
2answers
39 views

How to scroll immediately by a pixel offset?

I was looking for a replacement to scroll-up / scroll-down that operates in pixel units. pixel-scroll-mode animates the scroll, I didn't see any functions that apply an offset directly. set-window-...
0
votes
0answers
8 views

Find files interactively with a yassnippet with helm-find-files?

I've seen the answers to this question on inserting filenames interactively within a yasnippet. They are excellent and work great. I was wondering, however, if it's possible to expand them to use the ...
0
votes
1answer
37 views

How I can make persp-mode save my workspace on every change?

I'm using persp-mode to save my workspace/desktop/opened buffers on Emacs close and restore it on Emacs start (configured via doom-emacs. However, sometimes I can't properly shutdown Emacs (e.g. ...
2
votes
1answer
19 views

Save the records in text register persistently

I utilize the text register to collect new words I encountered C-x r s w (w for word) append others to it with M-x append-to-register Record all the word collected to a works.org file at the end ...
0
votes
1answer
93 views

How open text file by default with UTF-8 endcoding system?

Emacs 26.1, Windows 10 In my init.el: (set-language-environment "UTF-8") But when I open text file the Emacs not show correct Cyrillic text. Why? describe-variable -> buffer-file-coding-system ...
0
votes
1answer
14 views

Indexing subtrees

Let's say I have the following structure ** fruit *** handkerchief **** hat **** smoke *** ticket **** cinema ***** toad It is now possible to think of the subtrees under fruit as indexed, ...
0
votes
0answers
30 views

How to properly install and use package dependencies in Travis CI

Backstory Hi, I am developing a library that easily transforms JSON alists into EIEIO objects, jeison. It sounds pretty obvious and a duplicate of json.el functionality, but it is a bit trickier than ...

15 30 50 per page