All Questions

0
votes
1answer
14 views

Replacing selected text in Emacs with one character

In Vim, I can do this trick on a line with the words "People": yy p Shift-v r + It will produce a set of lines that like this: People ++++++ I would like to be able to reproduce this in Emacs if ...
0
votes
0answers
5 views

A comprehensive agenda including daily, next, project and others

I read a masterpiece of GTD comprehensive agenda today and was astonished by its beauty reddit Orgmode agenda The agenda comprise the daily, next, projects, weeks view, especially the remaining ...
0
votes
0answers
4 views

unexpected long indent after colon in web-mode

I have some trouble locating the source of 8 tabs and 3 spaces more than the previous indentation when I'm inside js inside web-mode. These appear after a line that ends with a colon. Example (note ...
0
votes
1answer
17 views

Opening an Emacs file to a specific word in the file

In Vim it is trivial to open a file from the command line to a specific word in the document. For e.g. to open the file "Contacts.txt" to "Bob" one would type: vim Contacts.txt +/Bob In Emacs it ...
0
votes
0answers
8 views

org-structure-template-alist: Chasing a ghost entry

yesterday I realize that the entries in my org-structure-template-alist were not working. I found that it was due to the update to Org 9.2, and I decided to comment the personalized structures in my ....
1
vote
0answers
10 views

Indent forwards a tree structure

I have such a structure in my org note **** pstree * ~ $ pstree -aps 26955 systemd,1 splash └─systemd,1947 --user └─gnome-terminal-,2710 └─bash,1775 └─emacs,25135 ...
0
votes
0answers
4 views

package-install hangs despite setting proxy settings in url-proxy-services

I have my url-proxy-services set like this: (("http" . "some-proxy:3128") ("https" . "some-proxy:3128")) However, downloading a package like forge fails. Some of its dependencies like emacsql and ...
0
votes
0answers
22 views

Emacs report a process which does not exist

When start Emacs from the terminal as me@mbp: ~$ emacs --deamon It prompts that However, there does not exist such a pocesses me@mbp~$ ps 8559 PID TTY STAT TIME COMMAND me@mbp:~$ ps -el ...
0
votes
1answer
10 views

How to paste text into an org table with a set number of columns?

I usually have a bulk of items separated by either spaces or new lines and I want to have them all full a table with a set number of columns. Basically if I want the table to always have 3 columns, ...
1
vote
1answer
15 views

Why is check-ert output cut at 70 characters column?

Sometimes when packaging emacs packages for Debian, I need to debug test failures. Then the debugging output is cut at 70 characters like in this bug report: https://bugs.debian.org/cgi-bin/bugreport....
0
votes
0answers
12 views

Org-capture - placing entry in user-specified subheading

I am trying to create a capture-template which will prompt the user to define a subheading so that it can place the capture as a level 3 heading under the appropriate level 2 heading within an org ...
0
votes
0answers
30 views

Getting full AST for the source code in the current buffer

How do I get the full AST for the source code in the current buffer? I've looked at a similar question and tried (semantic-fetch-tags) with the below c-mode example: #include <stdlib.h> #...
1
vote
0answers
6 views

Reorder fields using bibtex-mode

I would like to clean up BibTeX entries so that fields always appear in the same order. For example, I would like the order of fields to always be: author, year, title, journal. So, pressing C-c C-q ...
0
votes
0answers
26 views

How to install multiple dictionaries in Emacs?

I am using Emacs 26.1 on MacOS 10.14.2. I am trying to use hunspell with 3 dictionaries that are installed in ~/Library/Spelling but when I start Emacs I got the following error: Wrong type argument: ...
0
votes
1answer
5 views

Emacs org-mode error in empo tags

I'm using emacs with org mode tempo tags, based on this questions and answers Q and A 1 Q and A 2 I get the feeling that I need to require org-tempo, but I get the following error: Debugger entered-...
1
vote
0answers
30 views

Problem saving (C-x C-s) files on a NFS drive with emacs 24/25

Starting with Emacs 24 (using various different versions of Ubuntu and Linux Mint), if I open a file on an NFS drive, modify it and attempt to save it C-x C-s, I get the message of: Saving <...
0
votes
0answers
9 views

Cannot use toggle-input-mode in emacsclient

Recently, I 'm using gnu-apl and I need to change the input mode. When I use it in emacs it works well, but inside and emacsclient it doesn't work I cannot select any different input: With emacs: ...
0
votes
0answers
19 views

emacsclient exits unexpectedly without any error

I've built GNU Emacs 27.0.50 from source in Ubuntu 18.10. Then started the daemon as a systemd unit: [Unit] Description=Emacs text editor Documentation=info:emacs man:emacs(1) https://gnu.org/...
0
votes
0answers
7 views

plantuml requires a header argument (Emacs 24 on Windows' Ubuntu Subsystem)

I'm trying to output images using plantuml-mode. It seems I have plantuml-mode installed successfully, as I can activate the major mode, but I am unable to evaluate using C-c C-c: PlantUML requires ...
1
vote
1answer
29 views

(RegEx-)Replace: Sporadic Match data clobbered by buffer modification hooks

I know this was asked in other contexts already, but I couldn't find anything related to C++ development with my hooks that could help me. I am working a lot with replace and query-replace and query-...
1
vote
1answer
26 views

Open another emacs and cause conflicts

I have a GUI emacs running as the major working area, When I reading articles from web, need to open a emacs as a tool to keep note; Web on the left and new emacs on the right, Usually, get ...
1
vote
0answers
23 views

Opposite of org-ellipses

I currently have org-ellipses be a down caret. Is it possible to have an up caret when a header is expanded? I haven't been able to find any relevant org-mode settings.
0
votes
2answers
35 views

Multiple async-shell-command commands in sequence

What is the correct way to run multiple async-shell-command invocations serially? For example, this will execute all at once. (progn (async-shell-command "echo 1; sleep 1") (async-shell-command ...
0
votes
0answers
3 views

A way to run OmniSharp server with Mono on Windows for Emacs omnisharp-mode?

I'm trying to run OmniSharp Server for the Emacs' omnisharp-mode on my Windows 7. The OmniSharp versions around 1.30 require .NET-4.6 or higher. On my Windows there are only .NET 3.0 and 3.5 which are ...
0
votes
0answers
8 views

Does Gnus have an equivalent of mu4e-change-filenames-when-moving?

I got this mbsync error: UID is 3 beyond highest assigned UID 1 when moving emails with Gnus. For mu4e there's a solution at https://stackoverflow.com/a/43461973/69663 to (setq mu4e-change-filenames-...
3
votes
1answer
35 views

Compose characters

I have some copied text from a pdf which renders like this with my current font: I know I could use a different font that handles Unicode characters better, but I would rather find a function to ...
1
vote
2answers
37 views

I can't backup some orgmode files

I'm in a strange situation. Emacs automatically backup all of my files except for some of my orgmode files. And I can't understand why. Do you have any idea how I can investigate and fix this?
0
votes
0answers
14 views

elpy autocomplete stops working unexpectedly

I've configure emacs to write python code and I love it!:). It works very well but after some situations that I cannot understand the autocomplete stops working on all buffers. If I restart emacs it ...
1
vote
0answers
32 views

Using keyboard commands

I am Using Emacs GUI on Windows 10 and am having problems entering commands. I am attempting to use C-h t and I am getting the error message C-c h is undefined. What am I doing wrong?
1
vote
1answer
29 views

Can magit commit with all (-a / --all) instead of “.” by default?

When using magit-commit-create, internally it runs something like... git commit . instead of... git commit -a Is there a way to make magit use -a / --all by default instead? Note: this is an ...
0
votes
0answers
43 views

Cannot set default theme. Dark theme even if loaded without .emacs and without .emacs.d

When I load emacs without any configuration I see a dark theme: There is no way for me to get back to the default theme. I tried the following: M-x disable-theme: no theme is enabled M-x ...
0
votes
0answers
12 views

Cannot change flycheck-python-pylint-executable

I have been trying to make flycheck use python 3 syntax similar to this question and ended up having more fundamental questions. I open a python file and flycheck correctly works, using the python 2 ...
0
votes
0answers
14 views

How to change caption size in org-mode export to HTML

Say I have the following figure: #+ATTR_HTML: :title This Figure #+ATTR_HTML: :width 50% #+CAPTION: blah blah blah. [[./figure.png]] The resulting caption in the .html (generated from org-html-...
2
votes
2answers
38 views

How do I use xref-find-definitions with multiple source directories?

I'm attempting to make changes to an Emacs package. I currently have the version in use installed in ~/.emacs.d/elpa/<package> and the source checked out from git in /src/<package>. When ...
1
vote
3answers
51 views

How can I copy text from read only buffer?

When read the org mode manual to provide support for the raised question. The contents in read-only buffer is causally need to be copied as reference here. Take the Org Capture Template as an ...
0
votes
1answer
18 views

What does it mean hlines in org's table?

Emacs 26.1. In my org file I has table. As you can see in table formula I has: @>$6 = vsum(@I..@II) This mean: Last row and column#6 = sum of all rows between first and second hline The ...
0
votes
0answers
17 views

Definition and usage of colors [duplicate]

I'm trying to define a color set (from material color) in order to be able to easily change the set I want to use. I think I've managed to define them but then, I'm not able to use them properly. I ...
0
votes
0answers
4 views

Show compilation errors with async export in org-mode?

When exporting to PDF via LaTeX, compilation errors are shown in a buffer Org PDF LaTeX output, which is fine but can be time-consuming. Using async export is faster but I do know how to show the ...
0
votes
0answers
16 views

Retrieve a agenda view of days with scheduled or appointed tasks

I could get a: 1, org-agenda-day-view 2, org-agenda-week-view 3, org-agenda-month-view 4, org-agenda-year-view How could I get a real agenda which filter the days with scheduled tasks I ...
1
vote
1answer
33 views

Auto-completion in Auctex automatically introduces dollar signs

My auto-completion all of a sudden changed its behavior, and I have no clue why. When I auto-complete a mathematical expression, like \subseteq, say, it will introduce dollar signs in front and at the ...
0
votes
1answer
25 views

Open emacs in basic mode as default editor

I want to set emacs as the default editor for crontab me@me:~$ cat .selected_editor # Generated by /usr/bin/select-editor SELECTED_EDITOR="/usr/bin/emacs -nw" but find this solution too heavy for ...
0
votes
1answer
30 views

How to let make-process prompt user in echo area

This works: (make-process :name "test" :command (list "bash" "-c" (concat "echo hello stdout!; " "echo hello stderr! >&2; " "exit 20")) :buffer (generate-new-buffer "...
2
votes
1answer
23 views

autofill a cpp file based on the .h file

suppose I have x.h class X { void f(); void g(); } in x.cpp #include "x.h" can I just entry a command with "X" as a parameter, then I can get void X::f() {} void X::g() {}
1
vote
2answers
11 views

Unbind CUA <C-return> key only in dired mode

Goal: unbind <C-return> key ONLY in dired mode in order to rebind it to dired-w32explore. My configuration is using use-package with something like this: (use-package dired :init (unbind-...
1
vote
1answer
25 views

Stop emacs from redrawing display

I'm using emacs from a terminal, and have noticed that certain commands make the terminal screen flicker when I use them. Notable commands are evil mode's recenter-top-bottom and xref-find-...
1
vote
1answer
25 views

How to automatically remove a hook provided by a minor mode after disabling that mode?

I want to write a minor which evaluates some code in the buffer after saving a file. I activate after-save-hook for this mode: (add-hook 'my-minor-mode-name-hook #'(lambda () (add-hook 'after-save-...
2
votes
1answer
35 views

I have package X installed as a dependency. How can I discover which package pulls it in? ie Reverse Dependency

I tried to delete package X (in order to try an older built-in version). But when I restart emacs, it's automatically re-installed. package-list-packages lists it as a dependency so that behaviour ...
0
votes
1answer
16 views

Getting the CLOSED timestamp of the current subtree

To get the current date and time, I can use (current-time). But instead, I want to get the CLOSED timestamp of the current subtree and store it in a variable, so that I can pass it to format-time-...
0
votes
1answer
32 views

Avoiding partial lines at bottom of screen

Is there a way to avoid only partially visible lines at the bottom of the screen, such as in this picture? Perhaps this could be achieved by adding some empty space below the minibuffer and echo area,...
1
vote
0answers
8 views

I want the color-theme to highlight the text in the buffers but not change the colors in the menu bar

I loaded a color-theme (manoj-dark) to highlight text in the buffers but it also changed the color of the menu bar. Now the menu bar icons are setting in a black background and the title bar of the ...

15 30 50 per page