All Questions

Filter by
Sorted by
Tagged with
0
votes
1answer
119 views

Closing flyspell correction suggestions popup

If I goto correct a word with flyspell-correct-at-point, a word suggestion box will appear, as expected. Unfortunately I cannot close this suggestion box with escape I have to use C-g. Any ideas on ...
0
votes
0answers
35 views

UTF-8 error everytime Org-gcal sync entries

I continue to get bogged down with this error every time I sync from gcal, I have this ut8 flag set in my config as well, any direction would be helpful. (prefer-coding-system 'utf-8-unix)
0
votes
1answer
24 views

How can I open dired with reversed sorting of name, and with the cursor on the first line?

I use the following initial code to open one om my frequently used folders: (global-set-key (kbd "C-6") (lambda() (interactive) (find-file (format "C:/Users/%s/notes" user-login-name) ))) ...
0
votes
1answer
981 views

Whitespace and newlines in regexps?

For a number of reasons (one of them my lameness) I get extremely confused when it comes to whitespace and newlines in regexps. Say for example that I want to search for an equal sign (=) followed by ...
6
votes
1answer
1k views

emacs command-line-default-directory variable is not set correctly

I'm using Emacs on Windows. I also have a VirtualBox VM that I connect to using plink. But then, when I use the eshell, and I do cd <some folder> it tells me No such directory found via CDPATH ...
0
votes
1answer
181 views

Enter does nothing in NeoTree

I have NeoTree installed. When I navigate through folders and files in it and when I press enter, nothing happens. I don't get into a directory. I've tried TAB also -- nothing. M-x describe-key ...
4
votes
2answers
515 views

how to push kill-ring contents onto system pasteboard (clipboard)?

I use the brilliant answer from my previous question to copy selected regions of text from Emacs onto my system pasteboard (i.e. the OSX clipboard). But some functions (e.g. gist-buffer) push output ...
0
votes
1answer
493 views

use-package and package-initialize problem with emacs27

I'm having quite a bit of trouble getting use-package to automatically install packages in emacs27 I deleted a package using package-delete and restarted emacs. On emacs26, use-package would ...
0
votes
1answer
47 views

Maxima won't start, but works in org-mode

This is very odd, but I've got latest greatest everything -- 26.1; org-mode 9.1.14 9.1.14-9-g131531-elpaplus; maxima-5.42.1 (installed from source) -- and have this in my .emacs: (add-to-list 'load-...
1
vote
1answer
37 views

Give key binding absolute priority [duplicate]

I'd like to use M-<arrows> to move around windows in Emacs gtk, so I have added (windmove-default-keybindings 'meta) to my init.el. However, this is overridden by other modes such as elpy. Is ...
4
votes
1answer
384 views

Problem of starting a remote ipython console

I want to connect to remote ipython server, and follow the doc of the ipython, I start a ipython server in my server by ipython3 kernel -f ~/.ipython/kernel.json --pprint and I can start a ipython ...
0
votes
0answers
9 views

Getting MacOS Emacs + remote Ubuntu + rtags + company + TRAMP to work?

My development environment works as follows: Working locally on a MacOS laptop with Emacs without a local code repository (or any development tools e.g. clang) Code is remote on an Ubuntu development ...
3
votes
1answer
108 views

change evil operators to be non-greedy

I notice that some of the evil around operators are greedy. As in they grab space around the surrounding delimiters. One such operator is the a". Assuming that my cursor is | when I use va" the ...
0
votes
0answers
15 views

Remap Company's select next and select previous keys, with evil-mode?

When company-mode pops up suggestions, I want to use C-n and C-p to select the next or the previous options, instead of M-n and M-p. Having found the general answer on this site, I was happy to try ...
0
votes
1answer
17 views

How to get the number of rows between hlines for orgmode table formula?

In my orgmode table formula, i would like to get the number of rows between hlines (for example: @I..@II). Does anyone know how to do it?
0
votes
1answer
43 views

Can magit put my commit somewhere up the tree?

I have a rough part of my workflow, wondering if magit is the solution. So when I'm working on a task, I spin off a branch like most people. I end up putting 5 or 6 commits in a branch that's for my ...
41
votes
2answers
5k views

How to list branches with Magit

How do I list the branches of a repository in Magit (i.e., the equivalent of git branch --list)? I expected to find this in the branch popup, but it seems to be neither there nor was I able to find it ...
0
votes
2answers
36 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 ...
0
votes
0answers
11 views

(comint-magic-space) in Eshell

I like to interact with the history of my bash commands. For instance, !?python would run the last command that contains python. Since the outcome is quite unpredictable, I often expand it before ...
0
votes
1answer
255 views

Tangle only selected src blocks using org-babel on export

I have a document with only several source code blocks that should be tangled. So the structure is: # Some main.org ... #+BEGIN_SRC awk :tangle file1.awk ... #+END_SRC awk ... ...
0
votes
0answers
14 views

Org-clocking won't show current instance

I'm at a loss here with a little issue that is by no means critical but still quite annoying for lovers of org-mode. Whenever I clock into a task that has already been clocked previously on the same ...
11
votes
4answers
2k views

How to define additional mode-specific pairs for electric-pair-mode

electric-pair-mode is a built-in mode for automatically inserting matching pairs of delimiters (parentheses, square brackets, etc.) based on the current major mode. I know that I can define ...
1
vote
1answer
35 views

How do I show org links pointing to an entry?

I have org-capture templates setup (but the default Todo template works the same way) to create a link in the resultant file to the text that was selected when org-capture was invoked. This allows me ...
0
votes
0answers
27 views

magit - find out who write the current 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 repo is opened up in emacs. Point is at line 23, and you want to ...
1
vote
1answer
252 views

Org Weekly Agenda filter tags with logical OR

Background information to motivate my question: With the agenda open, I can press "\" then "+" to show only results containing a certain tag, say A. I can then press "\" and "+" again to show ...
0
votes
1answer
34 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
1answer
20 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?
1
vote
3answers
272 views

Stop python mode jumping to function definition?

I recently installed python-mode (via package-list-packages). Since then, whenever I put my cursor by a function I've defined, it jumps to it, and if I put my cursor by a builtin function or operator (...
0
votes
0answers
8 views

Setting reftex-section-levels as a file-local variable

I'm trying to set reftex-section-levels as a file-local variable on a few files I have, since they use non-standard sectioning commands. If I start emacs and open one such file, such as this ...
0
votes
0answers
27 views

Transient - what does it do? [closed]

What does transient do exactly - in plain English? I read its README and https://emacsair.me/2019/02/14/transient-0.1/ but I didn't understand it.
0
votes
1answer
52 views

isearch-forward, call-interactively, and isearch-filter-predicate

Here are two use cases where I call isearch-forward with some filter predicate. (let ((isearch-filter-predicate (lambda (a b) nil))) (funcall 'isearch-forward)) (let ((isearch-filter-predicate (...
1
vote
2answers
67 views

How can I get flush left text in org-indent-mode?

I open an org file in emacs and it displays thus: I enable word wrap with M-x visual-line-mode and get: But I prefer the extra indenting of headlines provided by org indent mode, so then do M-x org-...
0
votes
1answer
205 views

org-mode table editor behaves strangely

With cursor in row 2, col 3 | a | b | c | | 1 | 2 | 3 _| Pressing <TAB> creates a new row: | a | b | c | | 1 | 2 | 3 | | | | | Type more than one character and press tab. Vertical ...
2
votes
1answer
581 views

Display count of tasks in agenda, instead of tasks, based on tag

I've read through all the questions here, and searched extensively online. Since I've started using org-drill, I have a lot of scheduled tasks with the tag :drill:. Instead of having all these tasks ...
0
votes
0answers
14 views

Numbered backups not being created after every save

I would like for a new numbered backup file to be created every time I save a buffer. I.e. if I save a buffer ten times I want ten new backup files created. To that end I have added the code below in ...
0
votes
1answer
102 views

Tramp mode: How check only one per day?

Windows 10 (64 bit), Emacs 26.1 I open trace.log file from remote Linux machine by Tramp mode. Nice. I set custom variables: '(password-cache-expiry nil) '(auto-revert-remote-files t) I set ...
2
votes
1answer
256 views

Prevent bash-completion adding an extra space when the word is incomplete

When using Emacs shell with the auto-completion feature enabled, I notice that whenever I perform typing and auto-completing a command, Emacs shell always adds an extra space after the first word. I ...
0
votes
0answers
16 views

Org Mode tables: Wrapping lines to match an arbitrary width

In Org tables, I often use M-<RET> to wrap a long line in a column, at whichever place in the sentence I feel it needs to be wrapped. This sets a particular width to the column. Now sometimes I ...
0
votes
1answer
142 views

emacs org-mode error during installation in windows

While I try to install org-mode using M-x package-install RET org RET, I am getting the following error. I am new to both emacs and org-mode and using Windows 10. Debugger entered--Lisp error: (void-...
0
votes
1answer
506 views

Emacs is using the wrong SHELL

I'm using emacs 26.1 and spacemacs (emacs-plus from homebrew and spacemacs is from the develop branch). I've configured my local shell to use ZSH from homebrew as well (installed to /usr/local/bin/zsh)...
1
vote
1answer
129 views

EMMS doesn't show the track length

EMMS shows only the playing time, not the track length, e.g.: 02:37 not 02:37/05:49. The variable emms-playing-time-display-short-p has the correct value: nil. My default player is mplayer, ...
1
vote
0answers
13 views

Setting LOCAL aspell dictionary size

How to set local (per buffer) dictionary size used by aspell? [aspell is used by my emacs as "ispell look alike"] It can be set by --size=NN command line option of aspell. I would like to set it via ...
1
vote
1answer
349 views

org-agenda-files not setting after update?

I recently upgraded to emacs 25.1.1 and noticed my org setup wasn't working as usual. in my init.el I have: (setq org-directory "~/Dropbox (Personal)/org") (setq org-archive-location "~/Dropbox (...
1
vote
1answer
13 views

how enable emacs bookmark plus autocompletion

How do I make the C-x j j prompt dynamically autocomplete? So when I try "qu" emacs autosuggest "query.rb" from my bookmarks , without me having to press tab. Dynamic autocompletion works when I do C-...
0
votes
1answer
747 views

Changing mode-line face when evil state changes

I'm trying to change the mode-line face box attribute to be the same color as the evil emacs state face, obviously updating it each time the mode changes. I've seen some things about using a post-...
0
votes
0answers
10 views

Keybindigs conflict between minor modes

The configuration that I have for python mode implies loading both elpy.el and python.el. The things is that I found the python.el keybindings more natural than the elpy.el ones. And most of the ...
0
votes
0answers
18 views

Is there a way to speed up emac's “shell” mode?

I am new to emacs. I know we can open a shell, eshell, or term with M-x shell, M-x eshell and M-x term. I have a program that needs to run make then run. On an external terminal app, I am on XFCE so ...
6
votes
1answer
217 views

Have table.el insert space after vertical separator for reStructuredText

I am using Emacs's table.el mode to fill a lot of tables in rst documents. table.el is really fine to do the job, but it lacks the possibility to have one space between vertical separator and cell ...
1
vote
1answer
37 views

How to capture fields from bibtex by using org-ref

I want to use emacs org-mode to take notes of my bibliography. I am trying to capture some fields from a bibtex file and insert them into an org file with the org-ref-open-bibtex-notes. This is not ...
0
votes
0answers
16 views

Is there a way to split-window-right and switch-to-buffer / find-file in single command?

As described in question title. Closest solution that I can find is to use ido-find-file-other-window orido-switch-buffer-other-windew, but these create a horizontal split by default, and if a ...

15 30 50 per page