All Questions

Filter by
Sorted by
Tagged with
0
votes
2answers
85 views

GNUS doesn't show all Mails

I am using gnus for reading my gmails. But almost always by checking the INBOX of my gnus and comparing to my actual gmail account, i have new (or old) mails which are not shown in gnus. Does anyone ...
0
votes
0answers
10 views

How to load specific packages?

I'm currently cleaning my emacs setup and I'd like to know how I can separate my different packages in a smart way with use-package. What I mean is that I'd like to have a so-called Writing mode, ...
1
vote
1answer
63 views

How to set a default password for wildcard host in tramp?

I have a list of hosts 192...* with a default user and password, I've tried to set wild-card in .authinfo.gpg but it still requests password when I try to login. There are no problems when it set ...
0
votes
1answer
26 views

How to save clipboard or (car kill-ring) as string

OS Debian GNU/Linux 7 emacs-24.3 I want to save the content of the clipboard or the last item of the kill-ring (depending whats newer) as a string so that I can do stuff with it in a eLisp function. ...
1
vote
1answer
64 views

how org-capture can insert value in an existing table line

I am diabetic and I have to take my blood glucose three times a day (morning, noon, evening) I can do in three separate tables, and I create a table to group the daily records. How could I capture all ...
7
votes
2answers
393 views

How to bind C-[ for real?

C-[ is equivalent to the escape key on US English keyboards, thus, any attempt at binding it will mess up M- behaviour. Emacs seems to have no trouble telling <escape> and C-[ apart in GUI ...
0
votes
1answer
193 views

My emacs does not use the LaTeX-includegraphics-extensions option in my .emacs file

I tried to customize my .emacs file adding the options to the macro command \includegraphics. I use Emacs 25.3.1 on MacOS. My .emacsfile is as follows: (package-initialize) (custom-set-variables '(...
0
votes
0answers
12 views

best way to access running org-mode clock from command line / python

I use py3status to output data from org-mode to the Sway status bar on my Debian laptop. I had a rather hacky script running fine on a previous version of emacs, parsing the output of something like ...
1
vote
1answer
55 views

Do not open “GNU Emacs” buffer when launching Emacs [duplicate]

"GNU Emacs" buffer is opened automatically when launching Emacs(both terminal and GUI), and I have to kill that buffer everytime. It's boring. How to turn "GNU Emacs" buffer off autimatically when ...
0
votes
1answer
50 views

How to refresh dabbrev candidates displayed by company after each save

I've been using Ivy Irony Company for some time and it works great on all libraries I included in my C++ program so far, but I've noticed Ivy rarely auto-completes my user defined classes, objects, ...
0
votes
1answer
47 views

Redirect compilation mode hyperlink to external tool

I have a working compilation error matcher, that contains the path to a file. The compilation buffer correctly adds a hyperlink to that file and I can open it in emacs. However, the file in question ...
0
votes
1answer
203 views

How do I tell the alert package to use growl on windows 7?

I would like to use the alert.el package for notifications on windows 7. Therefore, I installed growl for windows and I can trigger notifications by using growlnotify.exe. When customizing the alert ...
1
vote
0answers
39 views

Prevent org source block face from bleeding out in fold

The problem is that when there is one line in between folded headings with source blocks the text properties of the #end-src line bleeds out. You can see the lines bleeding on the right in the image. ...
0
votes
1answer
248 views

Error using gnus with gmane

I'm trying to set up gnus for reading mailing lists. According to some threads I have the following in my init.el (setq user-mail-address "myname@domain.org") (setq user-full-name "my name") (setq ...
0
votes
0answers
15 views

Flush headlines in Org

I know we can use C-c C-x C-w to remove a single sub-tree and all its contents. Can there be a function to remove sub-trees with headings that fit a certain regular expression, just as the way flush-...
1
vote
1answer
51 views

Am I missing something on eshell piping to an elisp function?

I use emacs on a lot of different types of machines during the day, so I'm toying with writing some elisp scripts to avoid managing 4 scripting environments. Specifically, I'm writing an elisp ...
1
vote
2answers
49 views

Overwrite global-set-key in major-mode

In my .emacs file I have bound the tab-key to a function called smart-tab. (global-set-key [(tab)] 'smart-tab) (defun smart-tab () "This smart tab is minibuffer compliant: it acts as usual in ...
0
votes
0answers
5 views

Window configuration gives “Args out of range: 0”

I have the following forms in my ~/.gnus.el: (gnus-add-configuration '(summary (horizontal 1.0 (group 0.25) (summary 1.0 point)))) (gnus-add-configuration '...
0
votes
1answer
78 views

Indentation: 4 spaces everywhere

This morning, my Emacs changed its indentation rules, and now it indents by 2 spaces, specifically in JS and HTML. It even re-indents code on which I work to 2 spaces, which is unacceptable. Please ...
1
vote
1answer
28 views

Adding a line to the beginning of every function in a (ruby) source code file

Supposed I have a source code file (classes) and some methods in that file. see https://github.com/railstutorial/sample_app_rails_4/blob/master/app/controllers/users_controller.rb I want to add a "...
0
votes
0answers
18 views

Merge two cells in an org table

I basically stumbled onto this older question how to merge cells in an org-table. This would be very useful to create a header, something like: |Merged header| |----+--------| | / | < | | 1 ...
4
votes
1answer
427 views

Under Windows, Emacs cannot handle encodings correctly for subprocesses, can it?

I have two simple text files on my D: drive, as shown below. D:\我.txt I D:\你.txt You After I execute M-x diff and type the correct filenames (Yes, I can input Chinese and filename ...
0
votes
0answers
8 views

How to sort Helm command list alphabetically

When I hit M-x R I get the following list of commands: How can I sort this alphabetically, so that "R" is the first item on the list?
0
votes
0answers
41 views

What are the components that add "project/program management features in Emacs? [on hold]

I'm trying to set up Emacs to get so-called usual IDE features for mainstream programming languages. Everyday, I discover new packages which are often huge and redundant with each other. In ...
0
votes
1answer
51 views

Ignoring specific remotes when running `magit-log-popup` to log all branches

I would like to add an option in magit-log-popup to ignore a list of remotes when using "Log all branches" (l b). What I'm trying to do is something like this git log HEAD --branches --remotes --not -...
0
votes
1answer
19 views

Prompt for command to reset variable to 1 or any other number

I have a command that semi-automates the insertion of numbered chapter headings in an org-mode file. (defun reset-counter () (interactive) (setq n 1)) (defun insert-numbered-chapter-headings () ...
0
votes
1answer
81 views

Speed issue with omnisharp go-to-definition

Getting a rather sizable speed issue with using go-to-definition from omnisharp. Ran the profiler, and received nearly 50% of the cpu time dedicated between: isearch-printing-char and omnisharp-go-...
4
votes
1answer
182 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, ...
3
votes
1answer
425 views

Run Emacs command from terminal and terminate

Is there a way to open a file on emacs, execute a command and quit, quietly? I tried emacs file --eval '(progn (cmd) (kill-emacs))' But if I execute this, emacs shows up briefly before quitting. Is ...
1
vote
0answers
11 views

Prevent menu-bar from expanding too much

The way I have things configured, some Emacs modes end up adding a lot of entries to the menu-bar. As a result, the Emacs frame increases in width. This results in various annoyances. For now, I've ...
2
votes
1answer
644 views

spacemacs: keep track locations of smart search

I have custom visit history ring which is independant of search seach engine used. I would like spacemacs smart search filled my ring as well. Details: 1. I'm in some buffer under location1. 2. I've ...
7
votes
2answers
2k views

Any way to get a working separator line between fringe/line numbers and the buffer?

is there any way to get a separator like the one for the split buffers (line in the middle of the image) for the line numbers/fringe? I tried (setq linenum-format "%4d \u2502 ") but that gives me a ...
0
votes
0answers
8 views

org-mode table colors in spacemacs

I am converting from vim (beginner user) to emacs because of org-mode. I tried emacs for a couple of days. Even with evil-mode, I found myself having to use CTRL too many times. Three days ago, I ...
0
votes
1answer
24 views

Flycheck + shellcheck: always use new temporary frame, not modeline

I have been using both flycheck and shellcheck for just under a week under emacs 24.5.1. They work fine in principle. I have a question though regarding flycheck's choice to simply use the modeline ...
0
votes
0answers
14 views

File link in Org mode to a file that has spaces in it’s file name on Mac

Yes, I know this question has been asked before and solved for Windows users but the solution does not work for me under MacOS 10.13.6 and Emacs 26.1 I have a file on my desktop named "Test with ...
0
votes
1answer
252 views

How to input Chinese on CentOS7 using system input method?

I would like to be able to type in Chinese. I've tried to set it as system input Chinese (Intelligent Pinyin) without success. I am running Emacs on CentOS7. I can input Chinese on anywhere except ...
10
votes
3answers
2k views

read e-books in Emacs

I use eww to read online articles in Emacs instead of in a browser because it is less distracting and I can take notes in an org-mode quickly without switching applications. I wonder how feasible it ...
0
votes
0answers
34 views

Org mode capture from elswhere in mac

I have created a very simple org mode capture template to collect my random thoughts throughout the day. When in Emacs, I hit f6 and voila: capture template. However, in order to log the capture while ...
1
vote
1answer
55 views

Where find good json formater and validation?

Emacs 26.1. Windows 10 It's has function json-pretty-print . But it not enough for me. Has any another better json formater and validator? I mean the next. Suppose I has error on json on line 26. I ...
2
votes
1answer
63 views

How to send buffer to a repl without showing it in prompt?

I'm using nodejs-repl, though the question applies to sending text to any repl. I'd like to send a buffer to the repl, which I do with C-c C-b, but I don't want the buffer text to show in the prompt. ...
1
vote
1answer
88 views

Using advice to run function before tag symbol lookup

I use xref-find-definition to look up the definition of a symbol name. When I call xref-find-definition, I want to Emacs to automatically find and load an appropriately named etags file. For this ...
0
votes
2answers
165 views

Disabling reusage of evil scroll count

If evil-scroll-line-down is not given a count argument, the last count is used. This is not the behaviour of vim, which scrolls one line if no count is specified. How can I get vim behaviour?
13
votes
1answer
311 views

Is there a plugin that does color HTML matching tags like rainbow delimiters?

I would like some plugin which colors html tags with a corresponding color based on which tag they match. For example <div> <p></p></div> <div> and </div> would ...
1
vote
1answer
84 views

Repeat tasks - mark done in a datetree

In my org file, I have the following lines: #+STARTUP: logdone logrepeat logreschedule logredeadline logrefile logdrawer #+ARCHIVE: ::datetree/ When I mark a repeat task done, I want to: Continue ...
0
votes
1answer
925 views

How can I load the solarized-dark theme correctly in Aquamacs from .emacs?

I load the solarized-dark theme in the last line of my .emacs files thusly: (load-theme 'solarized-dark t) However, this causes Aquamacs to look like: If I then load the theme again by entering M-x ...
2
votes
1answer
150 views

How do I make emacs find `ac-source-pycomplete`?

I followed Jessica Hamrick's emacs setup before adding evil. This means that there is a lot of specific configuration issues in my ~/.emacs.d/ which I don't necessarily understand, shame on me, but ...
0
votes
0answers
9 views

Archive items marked as DONE with Logbook entries older than given date

I am using org-mode to manage my tasks and the logbook functionality to log my hours as I work on tasks. At the end of the month, I compile the time I spent using clocktables. When I deem a task as "...
1
vote
1answer
325 views

Calling org-update-statistics-cookies on the whole document

I have an org file like this * Fun stuff [0/0] ** TODO Task 1 ** TODO Task 2 If I run org-update-statistics-cookies inside [0/0] or press C-c C-# the text get updated to [0/2]. However, I would like ...
1
vote
2answers
132 views

Get a sparse tree without TODO items

I'm writing a paper where TODO entries are mixed in along with the headings of the paper. I can look at all my TODO entries with C-c / t (or C-c / T for specific keywords). Is there a way to show all ...
3
votes
2answers
28 views

Sending `C-c C-c` to the process window without swithcing to it

In ESS mode, I sometimes send some code to the process buffer and want to cancel it using C-c C-c. Can I do this without actually switching to the process window from the script window?

15 30 50 per page