All Questions

Filter by
Sorted by
Tagged with
3
votes
3answers
456 views

How do I page when “ESC - (1 of n) [C-h paging/help]” shows in the emacs status bar?

I am an Emacs newbie having some problems navigating around when using the terminal, but pressing the ESC key brings up a huge list of key options which gives me the option of paging down and possibly ...
6
votes
2answers
206 views

How to show the total match count in swiper?

When using swiper for search, it only shows the number of matching lines. How can I view the number of matches?
0
votes
0answers
38 views

set `all-the-icons-dired` to use consistent directory icon?

I installed all-the-icons-dired package from melpa, however, it does not use consistent icons for directories. Some directories have their own special icon. Example, these are two directories: The ....
1
vote
1answer
204 views

set default fonts for Aquamacs in .emacs

I am running Aquamacs 3.3 under macOS Sierra (10.12.6). The default fonts are way too small. How can I do the equivalent of the following tedious procedure via code in my .emacs? Options Menu -> ...
0
votes
0answers
22 views

Integrating org-download with org-journal; images do not download

I have org-journal entries which I'd like to link to images that are also stored alongside them in the filesystem. Ideally this would happen automatically when an image is dragged-and-dropped on the ...
0
votes
1answer
14 views

How to efficiently include a repository relative path in the mode-line?

Currently in the mode-line the filename %f, is absolute. I would like to have the path relative to the version-control root, without having to find this every redraw. How could this be cached, ...
107
votes
6answers
14k views

Are there any advantages to using ~/.emacs.d/init.el instead of ~/.emacs?

I've normally used ~/.emacs for my config file, but I've noticed others using ~/.emacs.d/init.el. Are there advantages to the init.el location? Any disadvantages?
0
votes
1answer
15 views

Drop rows with zero time in org-mode agenda clockreport

I recently found org-agenda-clockreport. Because I keep all my .org files in a single directory (indexed by deft), including files with notes and no tasks, I get a table with tens of rows, with only ...
0
votes
1answer
27 views

In markdown-mode cursor goes to beginning of line when I type certain characters

In markdown-mode the cursor goes to the beginning of a line whenever I type any of (),[]{};:, this happens in both GUI and command-line emacs, this only happens in markdown-mode. How do I stop this ...
0
votes
0answers
40 views

Why is scrolling line-by-line so much slower compared to vi-mode?

I was wondering if anyone has faced this issue before or is just me loosing my mind? It seems that C-n and C-p are so slow and sluggish compared to the j and k keys when using evil-mode. Is there any ...
1
vote
1answer
36 views

Convert org table to MS Excel?

Windows 10, Emacs 26.1 I has org mode table. Is it possible to convert it to MS Excel? Thanks.
0
votes
0answers
10 views

How to temporaraly turn on a minor eldoc mode

I am trying to use go-eldoc, but its performance is too poor to always have on. This is what I currently have: (use-package go-eldoc :defer 2 :hook (go-mode . go-eldoc-setup)) (use-package go-...
0
votes
0answers
8 views

emacs 26 orgmode on win10 can not find jupyter

I am using emacs26(GNU Emacs 26.3 (build 1, x86_64-w64-mingw32)) on win10. I can run jupyter command from shell. but when I run below code: #+BEGIN_SRC ipython :session test :results output print("...
0
votes
1answer
28 views

In MacOS, is there any way to have native Mac layout for ‘option-something’ special symbols in quoted-insert?

With quoted-insert (C-q) I can enter ‘Option-something’ extended characters, but Emacs apparently understands them as ISO 8859-1. Meanwhile, MacOS has its own layout for these characters (changed with ...
1
vote
1answer
23 views

image-dired: Change thickness of cursor

On a hires screen I find it really hard to see on which image the cursor currently is, because the rectangle around the image is very thin. Is it possible to increase the line width of that rectangle? ...
1
vote
0answers
28 views

Org-link font size in the heading

I often use org-links in headings, e.g.: *** Heading [[foo]] **** Subheading [[bar]] And I use different font-sizes for different levels. Now, I would like the face of the link to be of the same ...
0
votes
2answers
53 views

Trouble binding C-return: C- must prefix a single character

This is what I have: (add-hook 'magit-status-mode-hook (lambda () (local-set-key (kbd "<C-return>") 'magit-diff-visit-file-other-window))) Opening a magit-status buffer fails with "C- ...
2
votes
2answers
390 views

auto-complete Key binding doesn't work in one emacs mode

I have changed the keybindings for yasnippet and autocomplete so that I can use tab for indentation anywhere in a line without accidentally autocompleting or inserting a snippet. I have this in my ...
5
votes
2answers
908 views

Exiting emacs without confirmation to kill running processes

It turned out not to be the same problem as Kill process buffer without confirmation?: emacs asks for different kind of confirmations when exiting and when just killing a buffer. How to specify for ...
8
votes
3answers
995 views

Writing portable Elisp

Ideally, I would like to be able to store the entire contents of my .emacs.d directory and have it "just work" on any Emacs I load it into, but still take advantage of any features of the specific ...
0
votes
1answer
37 views

How do you automatically enable writeoom-mode when org-mode starts?

I want to enable writeroom-mode whenever I startup org-mode because I don't really ever want writeroom-mode to be disabled if I'm using org-mode.
3
votes
1answer
188 views

Why did the proced of Emacs not show the process on my win10 system?

My Emacs version is 26.1. The system is Microsoft Windows 10. When I run M-x proced, the buffer does not list the proced used on the current system. What is this situation?
6
votes
1answer
415 views

Line number (linum, nlinum) grow margin with increase in font size

When I turn on linum-mode or nlinum-modeand increase the font size via C-x C-+ it does not increase the size of the "margin" where the line number is displayed, so only part of the line number is ...
9
votes
4answers
4k views

Run emacs GUI from emacsclient

I am running emacs 25.1. I have emacs server starting as a daemon on startup and I can open an emacs terminal session with the following alias: alias em="emacsclient -t" How can I start the emacs ...
8
votes
2answers
2k views

org-mode table exports centered - change to left?

I'm exporting a simple org-table through LaTeX to PDF: | a | b | c | | 1 | 2 | 3 | After export with C-c C-e l o the PDF contains a centered table, and I'd rather have it on the left (to be clear, I'...
0
votes
1answer
40 views

How can I make emacsclient use an existing window in the current frame?

I'm on MS Windows, if that makes a difference. My desired behavior: There is only one frame visible at any time. Visiting a file should use an existing window in that frame. (This is the default ...
0
votes
2answers
41 views

How to detect the number of lines scrolled from scroll up/down?

When running scroll-up or scroll-down, it's possible emacs isn't scrolling the number of lines requested (if you hit the start/end of the buffer for eg). Is there a convenient way to know how many ...
1
vote
2answers
149 views

Shell mode: moving through the command history

In a shell in a terminal (Gnome Terminal + bash), the up and down keys allow me to browse through my command history. In shell-mode inside emacs, the up and down keys move around the buffer, which is ...
0
votes
1answer
27 views

How do you change the paper size on pdf export in emacs?

Every time I export using the dispatcher, the pdf that is produced is letter size. My system and printer are A4. How do I change the paper size for pdf (and text) exports in emacs?
0
votes
1answer
41 views

How can I skip 'Scan-error: “Unbalanced parentheses”…'?

I want to write a script in order to correct spaces inside section command in a LaTeX code, that's to say \section{Lorem ipsum dolor sit amet consectetuer adipiscing elit} should be \section{...
0
votes
0answers
8 views

Attaching files in mu4e from the clipboard

I use mu4e for email. I can attach a file to a new message with drag-and-drop or with dired (as in these directions from the manual). I would like to code the same behavior as Mail: in the Finder, I ...
2
votes
2answers
474 views

Sending email fails with `Process smtpmail not running`

I followed this guide to set up IMAP email with Emacs, mu, and mu4e. I can pull email and view it in mu4e alright, but I can't seem to send email. I press C for Compose, edit the email, then C-c C-c ...
0
votes
1answer
45 views

In gui, font looks thicker than usual

I started using Emacs a few days ago and facing the problem. I use "M+ 1mn" for programming so I set this for Emacs. But It looks thicker than usual.(in Geany, VSCode, Xfce Terminal ...) How do I fix ...
0
votes
0answers
41 views

Elpy doesn't recognize I have virtualenv installed

I am trying to get started with elpy but any python file I open elpy will complain and say eldoc error: (error Elpy necessitates the ’virtualenv’ python package, please install it with ‘pip ...
0
votes
0answers
18 views

Filter Tasks with Certain Tags in Day Agenda View

Objective: In daily agenda, when at office, do not show tasks that can only do at home. That is filter tasks with "@office" tag in daily agenda. Solution 1: Automatically removing context based tasks ...
4
votes
2answers
908 views

Company mode popup closes after C-n

Company-mode gives me a popup with options, but once I press C-n to navigate through the options, the popup disappears (I can still cycle through the options , but they are shown inline). I want the ...
1
vote
0answers
35 views

How to open two files in two frames on startup?

Here's what I'm trying to make happen: on startup, I want emacs to split vertically into two windows displaying two different files, with my to-do list on the left side of the screen and my notes on ...
1
vote
0answers
39 views

Set font family for comments

In coq mode I have ligatures being used: instead of "fun", it shows λ in the programming code. But in the comments lambda transformed into a character I can't even copy, so I'll attach a screenshot: ...
0
votes
0answers
24 views

Performance issues using go-eldoc

The Problem Performance issues when point is inside/on a symbol go-eldoc/gocode has info for. Based on my interaction with emacs I would guess that the problem has something to do with gocode being ...
2
votes
1answer
59 views

Adding custom word list to company

Is it possible to add my personal custom list of words to the company database. Kindly guide me in a simple way. I am not a programmer.
5
votes
1answer
123 views

Track arbitrary progress in Org-mode

If I'm reading a book, that has 500 pages, and I'm in the page 253. I want to track that progress in Org-mode as %, is there a way to do it that is already built in (or, if is not the case, is there a ...
0
votes
0answers
9 views

How to show waka mode time in emacs mode line?

I setup the waka time to monitor my usage successfully. However, the mode line only shows "waka" and nothing on the amount of time I spent using Emacs. To get the statistics, I have to login to Waka ...
10
votes
1answer
271 views

Highlighting upcoming dates in org mode agenda

I have entries in my org file similar to: * Birthdays :PROPERTIES: :CATEGORY: birthday :END: %%(org-anniversary 1981 1 2) Harry (%d) What I would like is for these to appear in the agenda (say) 2 ...
7
votes
2answers
153 views

Syntax highlighting fails on clone-indirect-buffer-other-window

I normally use indirect buffers while I edit python code in python-mode, I create them by running clone-indirect-buffer-other-window. While the syntax highlighting of the main buffer looks just fine, ...
4
votes
2answers
382 views

How can I make occur's regexp matching case-sensitive?

By default, occur uses the passed regexp to match lines in a case-insensitive way. Is there a way to make this matching case-sensitive? For example, if I run M-x occur ^function RET, occur will match ...
4
votes
2answers
227 views

How to implement remove-key to completely undo the effect of define-key

A long time ago I implemented remove-key to completely undo the effect of define-key, but when I just tried that implementation, it did not work reliably. How would you implement remove-key so that ...
2
votes
1answer
457 views

browse-url-browser-function for Firefox Quantum

browse-url-firefox does not work with Firefox Quantum. If Firefox Quantum is already running, then I am told: Firefox is already running, but is not responding. To open a new window, you must ...
0
votes
1answer
58 views

Use magit to find out who wrote the line at point and when

Someone showed me how to do this with "ruby mine" but I don't use ruby mine so hoping emacs / magit can do this. A file in a git repository is opened up in emacs. Point is at line 23, and you want to ...
0
votes
1answer
68 views

Hiding items in org-agenda view and calendar

When I still used Emacs Diary as my default organizer I valued its ability to mark items on the calendar. One could also make an entry that was NOT so marked by placing an ampersand before the entry. ...
2
votes
1answer
920 views

Can't get gnus to work with Gmail and GPG

I was once able to read and write my Gmail email in Gnus, but now I am unable to and can't figure out the problem. There seem to be several problems -- (a) with my gpg2 setup; (b) with my gnus nnimap ...

15 30 50 per page