All Questions

Filter by
Sorted by
Tagged with
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
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) ...
0
votes
1answer
14 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 ...
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
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.
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 ...
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-...
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
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
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
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
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
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
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 ...
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
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 ...
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. ...
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
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 ...
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 ...
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. ...
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 ...
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
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
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 ...
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).
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
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 ...
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
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 ...
2
votes
1answer
15 views

The insert function seems to be inheriting the read-only property

I'trying to insert a row of characters into a buffer, where the first four characters should be read-only. Here's the relevant part of the code : (insert (propertize "cn) " 'read-only t)) (insert (...
0
votes
0answers
21 views

Possible to smooth scroll using pixel and line offsets?

I'm running into an odd problem scrolling by pixels, it seems calling scroll-up doesn't properly handle pixel scrolling (set-window-vscroll). This is a simple test that attempts to scroll up by ...
0
votes
0answers
9 views

`RIGHT-TO-LEFT MARK` doesn't work anymore

Sometimes I type in Arabic on Emacs, I had an issue with the mark not set where I want when I change the keyboard layout to Arabic. But then I came by someone having this same problem with Hebrew, and ...
0
votes
0answers
12 views

Compilation mode doesn't see PATH variable

My problem is simple, I'm working in embedded systems with a RTOS named zephyr. To compile my projects I need some variables set in PATH and the problem is that when I run projectile-compile-project ...
0
votes
0answers
10 views

The workspace of terminal in a directory

After starting `multi-term' , try to back to it from another buffer. it prompt: It confused me that term is categorized in OrgMode, which is a directory contains diary.org, inbox.org The new ...
0
votes
0answers
9 views

capture abort json readable error

I am running on doom-emacs, C-c c invoke org-capture template, it report error capture abort json readable error Debug with emacs --debug-init, no errors reported. What's the problem might be?
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

Indium can't connect; EPERM: operation not permitted

I'm trying to set up the indium package for javascript, but I get the following error when I execute M-x indium-launch: Indium server error: EPERM: operation not permitted, stat 'c:\Users\1127861' ...
2
votes
3answers
117 views

Are local nested functions possible in elisp?

It it possible to declare functions whose names are only available in the scope of another function, similar to let? e.g.: (defun my-fn (x y) (let ((my-local-fn (lambda (a b) (message "%S" (- a b)...
0
votes
0answers
9 views

How can I include email headers when mu4e writes to HTML?

I use mu4e and want to view a message as HTML or PDF. At the moment the headers are not included (from, to, date, subject) and the source for mu4e~write-body-to-html does not include an option to add ...
0
votes
0answers
34 views

Difference between .emacs and init.el and the point of (not) keeping multiple init files

The Emacs manual often talk about init.el and .emacs interchangeably, generally referring to them as "the Init File" like so: When you start Emacs, it normally attempts to load your init file. ...
0
votes
0answers
21 views

Refresh code indentation over a region

I have this: #!/usr/bin/bash while read f; do { #Try echo "$f" } || { # Catch printf "error" } done < "${1:-/dev/stdin}"; And I would like this in one ...
1
vote
0answers
11 views

find out name of terminal device emacs was started from

When I am running Emacs from a terminal, how do I find out the tty device name from inside Emacs? I first thought that it can be done with M-x shell-command RET tty RET, but this does not work: ...
1
vote
0answers
45 views

Editing a file with emacs over ssh on remote machine

I am editing configuration files with emacs on remote hosts using ssh connection. It works perfectly. But I recently made RSA keys and now I can connect to these hosts with the keys without password, ...
5
votes
1answer
284 views

Is a Lisp program in both prog-mode and lisp-mode?

Upon reading (emacs) Program Modes: Entering a programming language mode runs the custom Lisp functions specified in the hook variable prog-mode-hook, followed by those specified in the mode's ...
0
votes
0answers
13 views

errors to install vterm to doom-emacs

Upon trying to install akermu/emacs-libvterm: Emacs libvterm integration It report the errors: HEAD is now at a6293a0 The F1 to F4 keys should send SS3 rather than CSI when unmodified [ 25%] No ...

15 30 50 per page