# All Questions

19,113 questions
Filter by
Sorted by
Tagged with
6 views

### Misaligned chart in the habits agenda mode in orgmode

After upgrade from Ubuntu 18 to 20 my agenda habits chart now is broken. Any ideas in how to fix that?
26 views

### How do I open an sqlite database from elisp?

I have a filepath for a sqlite database. I want to open an sql client buffer. I would like to know the best way to open that database from elisp. So far I can see that sql-sqlite will open it but it ...
13 views

### Info manuals not listed in Termux

I have Emacs installed through Termux. The Emacs manuals (emacs.info.gz, etc.) are located at /data/data/com.termux/files/usr/share/info/. I can open them with find-file. I don't see them with C-h ...
6 views

### helm: find-file it is possible to ignore [?] … during iteration

I am using helm when I am using Find Files (ctrl+c ctrl+f) (require 'helm) (require 'helm-config) (define-key helm-map (kbd "<tab>") 'helm-next-line) ; rebind tab to run persistent action (...
5 views

### How do I flycheck files go into a different directory?

Followings answer for: How do I control how Emacs makes backup files controls generated emacs backup files by redirecting them into antoher folder. It is annoying that all backup files go in the ...
9 views

### magit-diff jumps to insertion/deletion in already opened window (no overlay)

I have 2 windows open: One is the magit-diff of the current repo, the other is just source codes from that repo. In source codes (the right window), I have a file opened, say "sample.txt". In magit-...
8 views

### Few settings doesn't work in -no-window mode

I newbee in Emacs, and trying to set up emacs. Well, I've written a init.el file and except few things always work properly. But in -nw mode cursor doesn't work (blink not working), tabs doesn't work (...
17 views

### Org-habit how to track number over time

(still a complete beginner to org in general) I managed to setup org-habit, that also feeds into org-agenda to neatly see habits. I would like to track a few variables that go along with my habits (e....
29 views

### How do you handle a key sequence inside a function?

I want to run a function and do different actions based on the next key sequence. I have this. (defun ask-for-C-b-or-M-b (key-sequence) (interactive "KPress Key") (cond ((seq-set-equal-p ...
28 views

### How can I make Emacs use the first available font from a list I specify?

I share my Emacs config across several machines, and I can't necessarily guarantee that they will all have the same fonts installed. For this reason, I would like to be able to give Emacs a list of ...
21 views

### How does windowing system work on MacOS? [migrated]

I'm really interested in computer graphics and I would like to know how windowing and graphics systems work on MacOS. I've started to learn how to create a window in objective-c but then I told myself ...
11 views

### How to Change the font for org-date face in org-table context?

I like to have a variable font everywhere I can, but some things like tables in org-mode or the org-agenda itself look a little wonky that way, and I get around it by configuring specific fixed width ...
19 views

### How to hide/fold parts of messages in notmuch

I've been trying various combinations of folding modes for Emacs, trying to get them to work with notmuch-show-mode, but to no avail: Given two messages like this: Summary: Some Guy <someguy@...
36 views

### Comment code using elisp

Input and desired output Original code Commented out code: C %% MODULE %% module_name C~ CPR C ## MODULE ## module_name lines of code ...
23 views

### Org mode To Do's: completed tasks statistics cookie for items more than one level down

I am working on a project with several steps, each of which has sub-steps; each sub-step has sub-steps as well. The steps and sub-steps are headings; the sub-sub-steps are To Do items. I would like to ...
19 views

### Jedi looking for emacs-26.1?

I just installed emacs 25 on Ubuntu (via apt install) and when I try to install jedi (after running package-refresh-contents) via package-install I'm getting the error message package-compute-...
28 views

### Why does ivy 1.13.0 from GNU ELPA have counsel included?

MELPA has a package called counsel. Most guides on the ivy package recommend installing counsel as well. GNU ELPA doesn't have counsel. Why doesn't it? I've installed ivy 0.13.0 from GNU ELPA. I don'...
22 views

### Menu item selection issue on Mac OS

I've noticed an annoying behavior in my installation of emacs on my Mac. If the emacs window has the focus and I want to select something from the menu bar at the top of the screen (which says 'Emacs'...
22 views

### How to export an octave/matlab array for use by python in org-mode?

I am trying to pass the value of an octave/matlab array into a python code block in org-mode. But I can't get the python-end to receive the value. With the answers in this question, I can generate an ...
28 views

### Get server name from a client

I have a few Emacs servers running on my computer, and a few clients are attached to these servers. Is there a way to get which server a client is attached to from the window?
10 views

### ispell-dictionary-base-alist and ispell-dictionary-alist: how to add utf-8 cyrillic charachter codes?

ispell-dictionary-base-alist contains these values for russian: ("russianw" ; russianw.aff (CP1251 charset) "[\300\301\302\303\304\305\250\306\307\310\311\312\313\314\315\316\317\320\...
14 views

### Company printing stuff to console in ESS

I am using company with ESS, and in some contexts, company will print weird documentation messages to the console: (list "" '(("..." . "")) '("recursive" "use.names" "..." "x" "replace" "drop_null" "...
36 views

### How to output an octave array as a org-mode table?

I am trying to output a matlab/octave array as an org-mode table. So for an array/matrix like a =[ 1 2; 3 4; 5 6]; I'd like to have a 3 by 2 org-mode table. I tried to just echo the array a as if ...
29 views

### Non regex variant of dired-do-find-regexp-and-replace

Dired has the interactive function dired-do-find-regexp-and-replace which can be match based on the regexp you have passed and perform the replace. But I'm looking for non regex variant of dired-do-...
6 views

### Jenkins Job fails in Mac OS catalina [migrated]

I have installed Jenkins in Mac OS and trying to run a sample maven project but everytime build fails /bin/sh: /Users/aartiashok/Desktop/apache-maven-3.6.3/bin/mvn: Operation not permitted I have ...
43 views

### Is it possible to organize the capture templates selection screen?

As it can be seen above, I have around fifteen capture templates. I think this list may grow or shrink, but in the case that it grows, is there any way to make it more segmented? Like dividing it ...
31 views

### Create Smart Multi-level Headings with Proper Indentation

When working with phone calls and tickets, I use Emacs in Org mode to pre-create the entry with the heading containing the current date and time. For obvious reasons, if not constantly using a new ...
15 views

### Treemacs fixed width and Desktop.el save

I use Treemacs to toggle my directory. As default, the width of the Treemacs buffer can only be changed by doing M-x toggle-treemacs-fixed-width. Then, I can use my mouse to drag and adjust the ...
56 views

### How to disable changing the current buffer by clicking buffer name in mode line?

I find myself accidentally clicking the mode line when trying to focus a buffer with the mouse. This causes the buffer to change. I don't want that behavior. I want nothing to happen. The culprit ...
12 views

### Ispell + Hunspell recognizes everything after the apostrophe a different word

I'm using flyspell-mode with ispell and hunspell - as the dictionary backend, the problem is: if I type a word, for example you've or you're it recognizes ve and re as individual words. I want to fix ...
37 views

### How to use a classical development setup (file explorer + code + terminal) in Emacs

I like using the following setup for development: +--------+---------------------------------+ | . | | | | Python or JS | | Dired+ | ...
33 views

I use org-mode to translate, with source text lines on level 2 headlines and target text lines on level 3 headlines. However, the text of any headline that is exported is bold and italicised. I can ...
14 views

### Org-mode export error- Wrong type argument: org-export-backend

I'm trying to export an Org document to latex, but get the following error: org-export-get-all-transcoders: Wrong type argument: org-export-backend, [cl-struct-org-export-backend nil latex ((...
216 views

### Mysterious highlight in emacs

Recently, I change my laptop from old Thinkpad to newer laptop with much larger touchpad. I've found that I frequently touch the sensitive touchpad while I'm using emacs. And with some mysterious ...
9 views

### Icons breaking when using emacs as a daemon

I'm trying to use emacsclient and systemd as a way to have speedier access to an emacs session, instead of spinning a new one up every time I need it. However, I've run in to a small problem: The ...
20 views

### How to launch projectile mode with default configuration

I looked at the quickstart here: https://github.com/bbatsov/projectile#installation https://projectile.readthedocs.io/en/latest/usage/ And have this in my init.el: (require 'projectile) (define-key ...
31 views

### How do I add appointments to effort sum?

I have set up my appointments as below in my work.org. * Work :work: ** Client 1 Work <2020-06-03 Wed 09:00-10:00> ** Client 2 Work <2020-06-03 Wed 18:...
10 views

### How to ignore ispell on comments in the LaTeX-mode

I am working on tex files with LaTeX-mode. I want to disable flyspell on comments and if possible latex's unique keywords such as \iffalse, \fi, \IEEEpeerreviewmaketitle, etc. I have followed this ...
18 views

### How do octave functions work in org-mode code blocks?

I tried to define and use a simple matlab/octave function within an org-mode code block as shown follows. #+name: test-octave-function #+begin_src octave function s = my_sum(x, y) s = x + y; ...
16 views

### Create yasnippet placeholder in lisp expression

I am trying to write a snippet to generate different python based on which directory I am in, as in some directories, I am using an older version of python. The snippet is # key: log # name: logger #...
26 views

### How to make emacs recognize a bash script that ends in .sh? [duplicate]

I'm trying to get Emacs to understand that my script is bash. I tried adding -*- bash -*- to the first line of the file, but it still opens in Shell-script[sh] mode. I can rename the file to give it ...
47 views

### Completion of sentences stored in a file

I know this question is similar to completion of a sentence rather than word but I ask anyway since I suggest another way of storing what is supposed to be auto-completed. Suppose I stored some ...
40 views

### How to find information about a function?

To be able to learn about functions on my own I would like to know where I can find information about them (within emacs or otherwise).
30 views

I've developed a solution that allows to download pdfs from sci-hub as a fallback option to the functions provided by org-ref. I am a newbie to elisp, so please feel free to update this answer as ...
22 views

### Is there a configuration of Latex files which can change my key-bindings?

I am observing what I believe is an odd behavior in Emacs. I have a Latex file which, when opened, changes the keybindings in my Emacs. For example, C-x s does not save the file anymore, and Emacs ...
15 views

### org-babel-execute-src-block: No org-babel-execute function for octave!

I tried to execute an org-mode code block in octave, using the example in this SO question: #+name: factor #+begin_src octave :session *octave* :exports code :results silent factor=4; #+end_src But ...
21 views

### Programmatically find-and-replace custom sequence

I need to write a command which will apply to my buffer custom, predefined copy-and-replace sequence. What I have is: (defun custom-processor () "Formats logs to human-readable format" ((replace-...
36 views

### running on the same Linux desktop two different emacs (and their emacsclient)

I would like to run two different emacs on the same Linux desktop (Debian/Sid/x86-64) running some XFCE4 desktop. The first is a latest emacs snapshot compiled from source code every morning (...
I had latex preview working with inlineimages as in the following .org file: #+STARTUP: latexpreview #+STARTUP: inlineimages $A \to B$ The latex formula is correctly changed into a png image as ...