All Questions

1
vote
0answers
23 views

Finding manpages with emacs on windows

I am using Emacs 26.1 on Windows. I am reading manpages using (man). When I invoke (man) ivy jumps in and offeres me the selection of available manpages. This selection is for some reason empty (no ...
0
votes
0answers
20 views

How to configure git and magit to stream line making pull requests?

From the main repository on github, I created a fork on github and I keep the master branch of my fork up to date with the main repository by doing: git checkout master git pull upstream master git ...
0
votes
1answer
31 views

Eval Buffer works on .emacs but loading when emacs starts

I know there are some other questions like this on the site, but none of them seem to work. I am trying to enable relative line numbers with a package, and when I do M-x eval-buffer, the mode is ...
0
votes
0answers
11 views

orgmode example block CLRF missing when echo from bash babel

How can I keep the CLRF when reference example block from bash babel? #+NAME: text #+BEGIN_EXAMPLE hello world #+END_EXAMPLE #+BEGIN_SRC sh :results output :var text=text echo $text #+END_SRC I ...
1
vote
2answers
27 views

Rotate the yanking ring

I have such a table | C | M | |---------------------+---------------------| | Character | Word | |---------------------+----------...
0
votes
1answer
17 views

Set auto-fill when opening an .md file [duplicate]

Sadly, my Emacs is too old (and not mine to upgrade) and so I can't run markdown-mode. I'd like to set a buffer to fill mode when I open an .md file. Is there a simple way to do this? The whole ...
0
votes
0answers
23 views

org-bullets package slowing down EMACS

I wanted to try somewhat nicer bullets for my org headings. To this extent, I downloaded the org-bullets file. I've followed the instructions to the letter, so I'm not reporting the details here (...
0
votes
0answers
7 views

How to stop ido-find-file/ido-switch-buffer prioritising the current buffer/file?

For example, if I have a Test.cpp and a Test.h and one of them is open, ido-find-file will often suggest the already-open one first if I type "Test". Likewise when both are open and the current buffer ...
0
votes
0answers
9 views

user-error: Minibuffer window is not active

I want to recover a file from system failure M-x recover-file It did not restore the auto-saved file, but to throw an error: /var/folders/n8/dz3thx0x4sd2p8zdqyqbflrc0000gn/T/#!Users!gaowei!desktop!...
0
votes
0answers
15 views

Emacs helm-flyspell-correct (wrong-type-argument stringp nil) error

I have installed emacs on a new mac machine and the spell checker (which used to work on an older machine) has stopped working. Here is the details: OS: MacOS Mojave, V. 10.14.2 Emacs: GNU Emacs 26....
2
votes
2answers
30 views

Delighting narrow-to-region possible?

I want to delight narrow-to-region. When I call org-toggle-narrow-to-subtree it calls org-narrow-to-subtree which calls narrow-to-region. When this is called the modeline shows "Narrow". Is there a ...
0
votes
0answers
13 views

why is emacs vm (View Mail) not handling inline HTML mail properly?

I have been using GNU Emacs running on Fedora Linux, with the emacs vm (View Mail) package, to read mail for a long time now. But as of a couple of days ago, a problem has developed. Whenever I try ...
0
votes
0answers
9 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. ...
0
votes
0answers
20 views

Unable to use emacsclient with emacs server when running mac port of emacs

I am running the mac port version of emacs that I installed via homebrew (see here). I'm also trying to run the Emacs server to avoid long startup times. To do this, I first run the server: /...
0
votes
1answer
28 views

How to prevent Magit from saving COMMIT_EDITMSG?

When I hit c c in the Magit buffer it opens the commit message buffer. Then I write my message and type C-c C-c to close it. For some reason it saves .git/COMMIT_EDITMSG and every next time when I hit ...
1
vote
1answer
29 views

Can't type unbalanced closing curly brace in Clojure mode

When I open a Clojure file, and I'm not using Paredit, I expect to be able to type unbalanced parentheses and brackets. I can type any of these characters: ()[]{, balanced on not. But if I try to type ...
0
votes
0answers
19 views

Package pdftex.def Error: File `./xx-eps-converted-to.pdf' not found: using draft setting

I am using Aquamacs 3.4 GNU Emacs 25.3.50.1 on macOS 10.14.2. Recently I encounter an error while converting eps to pdf. The textstudio works fine but Aquamacs does not. I have included the ...
4
votes
2answers
197 views

How does `C-x z` work?

Specifically, the keyboard event C-x, following by N z characters, will repeat the previous command N times. I do not understand how this can work. As far as I understand, after the input event C-x z,...
0
votes
1answer
12 views

Avoid spurious buffers with helm-find-file

I have C-x C-f bound to helm-find-files. Mostly this works really well, but if I hit TAB when there are no completions for an item (most often because I've fumble-fingered the directory or filename ...
1
vote
3answers
51 views

Adjust the line according to the screen width

I copied a long sentence to org-mode As I mentioned in the last section, Richard Stallman, the founder of the Free Software Foundation, was more than a programmer. He was an educated social critic, ...
1
vote
0answers
16 views

Why I can't delete first line after save *occur* buffer to separate file? [duplicate]

Windows 10, Emacs 26.1 I have file - file_first.txt: I want to find all line content word hello. So I use occur for this Nice. Now I want to save result to SEPARATE file: file_second.txt To do ...
0
votes
0answers
11 views

How can I use bandit with flycheck in Spacemacs?

How can I integrate bandit with flycheck in Spacemacs? I know there is flycheck-pycheckers. But I would prefer to have a separate integration for bandit only.
1
vote
1answer
12 views

Set prefix key on load of minor mode

I am trying to change the default prefix key C-c @ to C-c for outline-minor-mode: (define-key outline-minor-mode-map (kbd "C-c") (lookup-key outline-minor-mode-map (kbd "C-c @"))) This ...
1
vote
1answer
79 views

ELDoc and company-tern are not working properly in JS2-mode (.js buffer in node) and Javascript, in Emacs

In my Emacs configuration for JavaScript/ JS2-mode, specifically .js buffer in node: (1) company-tern and ELDoc are NOT working properly. For eg. when I type 'console.l', 'log' does not pop up, ...
0
votes
1answer
31 views

Cannot run entr from eshell

I'm running Spacemacs and have eshell enabled. I want to run the elixir tests every time I change any files in the directory. This is the command I'm running ls * | entr elixir bob_test.exs This ...
0
votes
0answers
32 views

Unknown *emacs* process

I recently realized that every time I lunch emacs, after a minute, a strange buffer appear in buffers list that is linked to an emacs process, infact it also appear in system's process list: When I ...
2
votes
1answer
20 views

Get asked to confirm safe theme forever

I created a theme which I stored in ~/.emacs.d/themes/, added this directory to custom-theme-load-path, and put (load-theme "the-theme.el") in my init.el. Now restarting emacs, I get prompted whether ...
1
vote
1answer
18 views

full-frame helm?

Is it possible to run something like helm-recentf or helm-mini in a way that the helm window occupies the entire frame when it's running, and then disappears afterwards (like the helm windows normally ...
2
votes
2answers
74 views

Orgmode table error - shrunk field?

I'm very new to Emacs and Org mode, so I'm basically fumbling around. I'm getting an alarm bell ding whenever I type in an table in an *.org file. A message says "invalid function: org-table-with-...
0
votes
0answers
30 views

How do I sync org-mode with Google Calendar?

When setting up org-gcal within spacemacs I am getting an error. I have setup my google api and have put my client id and secret key into spacemacs but when attempting to sync the calender I merely ...
0
votes
1answer
17 views

How can I startup Spacemacs with term shell opened?

I'd like to have a term shell opened after startup of Spacemacs. How do I have to configure .spacemacs?
2
votes
2answers
55 views

org-drill: invalid match tag “”

I don't understand the above error. When I try to start a drill session on my current buffer, the message org-drill: invalid match tag "" appears. I tired to customize the variable org-drill-match in ...
0
votes
1answer
20 views

Orgmode custom agenda view - remove unecessary info and align tags

I can't seem to find a way to get the "default" (t) agenda view so I can edit it an comment out stuff. Basically what I have now is: Global list of TODO items of type: ALL Available with `N r': (0)[...
0
votes
1answer
23 views

How can I startup Spacemacs with several windows?

I'd like to have two windows opened (vertical split) after startup of Spacemacs. How do I have to configure .spacemacs?
0
votes
0answers
21 views

Buffer-local exec-path?

Is there a way to make buffer-local overrides to exec-path (whose value is normally initialized with the PATH environment variable)? I tried (make-variable-buffer-local 'exec-path) and local ...
0
votes
0answers
22 views

how to forcefully recenter the cursor even it's on the 1st of the lines in emacs?

) I wonder if I can forcefully recenter the cursor in emacs. I often use C-l recenter-top-bottom command but It couldn't work at the first of the lines. I have a vertical monitor for programming ...
0
votes
1answer
37 views

org-mode document structure / templates

Suppose you had a large org document of recipes, with hundreds of entries like this: * Tasty Pudding ** Ingredients - Milk - Sugar - Eggs - Flavorings ** Process 1. Mix the eggs and sugar 2. Heat up ...
0
votes
0answers
17 views

Can emacs open a series of files and split windows for each file in a template fashion?

I have a set of ~8 files in a sub-directory structure that is always the same. /DirA/File1 /DirA/File2 /DirB/File3 /DirB/File4 ... and I find myself doing these steps to split windows and see/edit ...
0
votes
1answer
54 views

why can't edit in buffer after save in file?

In file I disable Read-only mode (by C-x C-q): But if I want to edit buffer I get message: Text is read- only
0
votes
1answer
23 views

evil mode j and k moves between paragraphs instead of lines on markdown and text modes

evil mode j and k in markdown and text modes moves down paragraphs (and sometimes to other arbitrary points down/up the paragraph) instead of up and down a single line. How can I change this behaviour?...
0
votes
0answers
43 views

Has matches , but re-builder print “No matches”

Emacs 26.1 In scratch buffer I has text KRW-EOS hel-how hello-how-ar h-privet kak-del 123-567 aaa-bbb AAA-BBB AAAA-BBBB AAA-BB AA-BBB A-A AAAAAAAAAA BBBBBB AAA BBB ZZZ-YYY M-x regexp-builder Input ...
0
votes
1answer
22 views

How do I set latex face attributes in init.el?

When I try to put (set-face-attribute 'font-latex-italic-face nil :foreground green) (set-face-attribute 'font-latex-math-face nil :foreground orange) (set-face-attribute 'font-latex-script-char-...
0
votes
0answers
11 views

Is there a package can rename jsx tag like vscode rename tag plugin?

For example, there is some code like <div>some contents with other tags</div> when I change the head tag div to span, the close tag will be change to span automaticly.
1
vote
1answer
18 views

Remove the verbose description in mode line

I started my Emacs Venture days ago with prelude. but find that the mode line is verbose UUU:----F1 scratch All of 144 (4,0) (EL guru FlyC- company ivy EditorConfig ws Projectile super-...
1
vote
1answer
42 views

Activating a conda environment in emacs

I've got code that needs python 2.7 (and other environments) C:\Users\Me>conda info -e # conda environments: # base * C:\Program Files\Anaconda3 python2 C:\...
0
votes
1answer
32 views

Sum columns duration/days and duration/hours

In my org file I have the table: | | Start date | End date | State | Task | Duration/days | Duration (hours) | |---+------------------------+------------------------+--...
1
vote
1answer
12 views

About `fill-paragraph` in `markdown-mode`

I have a buffer on markdown-mode with the following contents. 10 20 30 40 50 60 70 - a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...
-1
votes
0answers
20 views

yasnippet with lisp condition misbehaves

I asked this question on StackOverflow but got no response. Based on the value of a field I want to delete some parts of the inserted text and then jump to a specific line. The deletion works fine ...
5
votes
1answer
60 views

custom agenda view in org mode grouping per month

Using org mode agenda I've been able to customize a view to have all tasks no matter if finished or not this way: (setq org-agenda-custom-commands '(("w" "Whole Agenda no matter status" ...
1
vote
0answers
37 views

how can I programatically transition between those 2 window layouts?

I am trying to implement this window transition a/ b/ --------- ------------- | 1 | 2 | | | 1 | 2 | --------- -> | 0 |-------| | 3 | 4 | | | 3 | 4 | --------- ...

15 30 50 per page