All Questions

1
vote
0answers
31 views

Why spacemacs would like to control this computer using accessibility feature on OSX?

When I start up spacemacs it prompts for the privileged to be granted? Why spacemacs needs to request this?
0
votes
0answers
22 views

org-brain-visualize alignment issue on Mac OS

I am having trouble getting the Picture art in org-brain-visualize to align properly. I have tried this with several versions of Emacs, both run as a Mac app and from the Terminal: Org-brain version ...
0
votes
1answer
41 views

Replacing a string with symbols using font-lock?

I'm trying to make a font lock hook to replace strings of text for a mathmatical notation plugin. So I'm thinking " / " (note the spaces) will turn into " ÷ ", but "/" won't. (It's a package mainly ...
0
votes
1answer
44 views

How can I disable a specific lint error for Emacs Lisp using Flycheck?

In Python with flake8 we can do that with #noqa in the end of line. How the same can be done with Emacs Lisp? My ambition is to disable a particular lint error by just make a annotation with a ...
0
votes
0answers
20 views

Dired-sidebar displays icons twice

I installed dired-sidebar but for some reason, icons are displayed twice, it goes back to normal when I refresh it though with g . Code in init file: (use-package dired-sidebar :bind (("s-t" ...
0
votes
0answers
14 views

org-agenda-write write unuseful stuff

for instance, when org-agenda-list display : Day-agenda (W09): mardi 26 février 2019 8:00...... ---------------- rendezvous: 10:00-11:00 gym CHU 10:00...... ---------------- 12:00...... ...
2
votes
1answer
38 views

Fastest way to draw pixels in Emacs

I'm currently working on a CHIP-8 emulator. This platform requires me to draw 64x32 black/white pixels, ideally at a speed between 30 and 60 frames per second. There's an extension to it that ...
1
vote
0answers
40 views

Error on package-list-packages

I've started to get the following errors when running package-list-packages. Searching online hasn't come up with anything. If anyone can suggest a cause and/or a solution I'd be very grateful. ...
2
votes
1answer
34 views

Custom comment in dired

I create around 50 folders in a day. I use dired. I need to add custom comments such as New (N), old (o) and Review (R) to analyse my days work. Is adding the comments in dired possible?
1
vote
2answers
35 views

How to make an invisible overlay displaying other text clickable

I've been trying to add the ability to unfold with mouse by clicking on ellipsis in my json-mode, but after considerable time spent experimenting and looking through the Elisp manual, I can't figure ...
0
votes
0answers
19 views

How to add marker based folding to origami without affecting the default behavior

I am looking to activate vim style marker folding using origami without losing the default functionality. I know I can activate the marker options like so: (add-hook 'prog-mode-hook (lambda ...
2
votes
1answer
30 views

Org Mode. Set separation length between elements of a list

I have noticed there is a big gap between the elements of a list when exporting to PDF. Is there a way to modify it?
4
votes
1answer
70 views

Why (lambda () (run-hooks 'foo)) instead of just 'foo?

I am studying the following code snippet taken from prelude-c.el: ;; taken from prelude-c.el (defun prelude-makefile-mode-defaults () (whitespace-toggle-options '(tabs)) (setq indent-tabs-mode t)...
3
votes
1answer
39 views

Mark files whose name starts by a given prefix

I'm using Dired+. In folder1 I have 200 files. 30 files start with 15_02_xxx, 46 files start with 16_02_xxx and the rest have other names. I want to copy from folder folder1 to folder2 only files ...
0
votes
1answer
28 views

Given a keyboard command, how do you find the interactive function? [duplicate]

I have a key sequence for C-u C-c . How would I find the function that's bound to it. I thought it was describe-key but that doesn't seem to work. Cheers
1
vote
1answer
13 views

Set the password for sql-postgres

I have a question regarding connecting to a sql database programmatically. Ideally I would like to have a function with similar functionality to the sql-postgres but instead of interactively prompting ...
0
votes
0answers
30 views

company mode with clang

I am trying to get completion to work with company-clang. In particular, I would like to get completion candidates that are from header files that I provide with dir-locals.el When I look at the ...
0
votes
2answers
41 views

How to create a new repository on Github from Magit

I am unable to add a remote repo to github if it does not already exist on github. E.g. magit-init Add some files, stage and commit. Then magit-remote-add --> Remote name:github --> Remote url: ...
1
vote
0answers
35 views

Magit throws error when I press “h” or “c”

I have installed Emacs on a fresh install of Elementary OS, and I have just installed Magit. When I run magit-status in a repository, and press either the c or h key, magit throws an error. The error ...
0
votes
2answers
22 views

hl-line-mode interferes with custom syntax highlighting [duplicate]

Recently, using fic-mode as reference, I implemented a way for words like TODO, etc. to be highlighted. Here is the code: (defun todo/pos-in-doc-or-comment-region-p (pos) (memq (get-char-property ...
1
vote
1answer
26 views

ESS poly-R issue

I am trying to setup ESS with polymode and poly-markdown I have the following in my myinit.org file which becomes compiled into init.el ;; https://polymode.github.io/installation/ (use-package ...
3
votes
1answer
43 views

How to partially block user input while Emacs subprocess is running

I have a custom function that updates the etags file before prompting the user to input a desired tag to be located. Although I am pretty good about setting the current buffer to read-only before ...
0
votes
1answer
36 views

How to enable 256 colors in terminal

I'm having a problem with setting up colors in my xfce terminal. (list-colors-display) shows only 8 colors, while both my $TERM variable and (tty-type) is xterm-256color. I've dug through the ...
0
votes
1answer
40 views

List variable that is set to one list or another depending on condition

I am trying to create a list variable that can be set to one list or another depending on a condition. What I have so far is as follows. (let ((l (if local list1 list2))) ; Append items to the list ...
8
votes
1answer
79 views

what do [ *, %, >, D ] mean in ibuffer buffer?

When I open ibuffer to manage opened buffers I see [ *, %, >, D ] markings. There is no documentation describing what they mean. I wonder what do they mean (Emacs 26.1) ?
1
vote
0answers
11 views

R in ESS outputs UTF-8, which emacs renders raw

I find the question but no answer at Emacs ESS R - Message Content Encoding and Display Issue. In buffer *R*, the R process uses UTF-8 encoding for its output. However emacs does not decode that ...
1
vote
1answer
32 views

How query-replace-regexp for all text exact before specific text?

emacs 26.1, windows 10 I have some text. I need to replace all text before WARN I use: query-replace-regexp: .*WARN query replace regexp: RET But I need to delete all text BEFORE WARN. How I can ...
1
vote
1answer
24 views

Enable Follow mode for helm-org-in-buffer-headings

I want to enable helm-follow-mode for helm-org-in-buffer-headings. This is what I have so far: (add-hook 'helm-after-initialize-hook ((lambda () (helm-attrset '...
2
votes
1answer
19 views

Rewriting `defadvice' as `advice-add' makes advice ineffective

I am trying to make undo-tree auto compress the history save file. The document suggests adding the following advice (defadvice undo-tree-make-history-save-file-name (after undo-tree activate) (...
2
votes
1answer
229 views

Meaning of “value is t”

When using describe-variable, often the value for a variable is listed as: Its value is t What does that mean and why specifically t?
3
votes
1answer
63 views

iedit vs. multiple-cursors

What is the difference between iedit and multiple-cursors? As far as I can tell they provide basically the same functionality.
1
vote
2answers
53 views

Org-mode: How to display current time record in another color?

I'm still very new to emacs and currently use it on the terminal to track my work time in org-mode. ** Save the world :LOGBOOK: CLOCK: [2019-02-14 Do 10:24] CLOCK: [2019-02-14 Do 08:51]--[2019-02-14 ...
2
votes
1answer
28 views

How to set the local dictionary in a *Org Note* buffer?

I am using different flyspell/ispell dictionaries for different buffers/files setting the file local variable ispell-local-dictionary, respectively. But if I want to log e.g. a TODO state change a *...
1
vote
0answers
18 views

When/how does font initialization occur? Changes at init time seem to only have partial effect

I have been experimenting with variable-pitch for some buffers. I have the following snippet in my emacs init: (set-face-attribute 'variable-pitch nil :family "Bookman Old Style" ...
0
votes
0answers
19 views

Installing font package only once via command in file

I have a package that install the all-the-icons-package automatically namely (use-package zerodark-theme :ensure t :init (load-theme 'zerodark t) (zerodark-setup-modeline-format)) all-the-icons ...
0
votes
0answers
22 views

Retrieve all entries with active or inactive timestamp

I wonder if there is a way to find all entries in active / inactive timestamp state (without DEADLINE or SCHEDULED). It seems I have had such entries unacted upon in the past, and the only way I have ...
1
vote
1answer
28 views

ibuffer-expert not working

I want to make my ibuffer not to be pompted. So it is my config for ibuffer (setq ibuffer-expert t) ;; disable prompt when deleting modified buffer. (add-hook 'ibuffer-hook (lambda () (...
0
votes
0answers
17 views

Helm + Org-Goto + Narrow to Subtree + Follow Mode

I am using org-goto with helm and my init file has the following config: (setq org-goto-interface 'outline-path-completion) (setq org-outline-path-complete-in-steps nil) This works fine but I ...
0
votes
0answers
49 views

Can't change location of .authinfo

While using emacs e-mails, receiving works fine. Sending does not. If I place my .authfile in the home folder sending mails works fine. It does not ask for smtp server or user or password. If I move ...
1
vote
2answers
45 views

How do I write a function to replace specific Markdown text?

At work, I mostly use Emacs for all my programming and text editing but I wouldn't really say I'm a pro. I'm more like beginner or intermediate so I'm not sure if this is really even a question. I ...
4
votes
1answer
44 views

change how much undo-tree-undo undoes [duplicate]

In particular, I am using undo-tree-undo. When I type a few words in a line, and undo, all those words disappear. Same thing happens when I type a function name and screw up a couple of symbols in ...
0
votes
0answers
22 views

Merge org-mode headings without breaking links

I have a large collection of notes in org-mode, each with it's own heading and org-id. For example * Note one :PROPERTIES: :ID: 403847B2-3D4C-4EFB-96DE-E0C5C52A02B5 :END: * Note two :...
0
votes
1answer
38 views

Spacemacs: How can I customize the highlight style of a matching parenthesis?

How do I change, in my .spacemacs, the style used to highlight the matching parenthesis?
3
votes
2answers
56 views

Limit magit to showing status of 1 directory

I'm working on a large repo with many folders, and showing the status is slow (just plain git takes a long time). I am really only interested in one directory, how can I constrain magit to only seek ...
0
votes
0answers
11 views

Ada mode : navigating through code, always open in new window

when I navigate in ada-mode, The first time that I press C-cC-d (ada-goto-declaration), Emacs divide vertically the frame, and open the new file in the other window. Most times, every C-cC-d press, ...
0
votes
0answers
10 views

How to remove email address from local database in mu4e?

I use mu4e to read and write email. One email address that was in the LDAP server before no longer exists, but it still shows and auto-completes in mu4e. How can I remove that address from the local ...
1
vote
1answer
31 views

Launch ncurses application and cleanup once it exits

I'd like to occasionally use hg split and hg commit --interactive from Emacs, but those commands bring up a GUI. At the moment I either use a separate terminal or ansi-term for those, but would like ...
1
vote
1answer
16 views

“void-variable” error when adding advice to `kill-ring-save`

I am trying to add an advice to kill-ring-save and kill-region, so that when I call them with no active regions, instead of throwing an error, the line the point is currently on would be marked ...
0
votes
0answers
39 views

Alternatives to Git on Windows due to its slowness

I am forced to use Windows 10 on my job, so I use native Win32 Emacs. Also use Emacs on WSL (compiled from emacs mirror though tried the default Ubuntu 18.04 too). I tend to use more the one on WSL, ...
2
votes
1answer
39 views

Is there a way Emacs can infer is running on WSL (Windows Subsystem for Linux)?

I would like to identify when Emacs is running on WSL (Windows Subsystem for Linux). Normally I use system-type variable to check if Emacs is on Linux, Windows or MacOS X. Though in this case it ...

15 30 50 per page