# All Questions

18,527 questions
Filter by
Sorted by
Tagged with
14 views

### Delaying (require …) for packages that define minor modes

With a package that defines a minor mode which calls an external function at run-time. Is it reasonable to move this:(require 'my-runtime-dependency) in the body of the code which enables the minor ...
25 views

### gnutls-negotiate: GnuTLS error: #<process smtpmail<1>>, -15

Following Sending Mail Since no credentials are given in this configuration, Emacs will look them up in $(HOME)/.authinfo or$(HOME)/.authinfo.gpg (encrypted). The content of this file should ...
4 views

### org babel sql results output in raw form

Is the way to get same output as in terminal with ob-doc-sql. Executing the sql-query in org will process results into org-table ignoring other than table information. It doesn't fare well with ...
285 views

### AUCTeX Preview rung error

I'm new to emacs and AUCTeX and I'm having a problem with document preview (C-c C-p C-d). My LaTeX file is the following \documentclass[11pt, a4paper]{report} \usepackage{cite} \begin{document} \...
505 views

### How to get org-mode fully support Arabic language for export?

My intention is to write Arabic document using org-mode. Please consider the following MWE, given that my configuration in init.el has below code to enable writing of Arabic script from right to left (...
7 views

### Split code across multiple SRC blocks?

For my current config, I'm tangling an org-mode buffer into my init.el, and I have a few sections where I'd like to insert rich text between segments of Emacs lisp code, like the following: ... #+...
13 views

### how to properly move forward to the next sexp

I was expecting a similar result with the two snippets below, but this is what I've got: (with-temp-buffer (insert "(a)(b)(c)") (goto-char (point-min)) (list (prog1 (cons (point) (cons (sexp-...
9 views

### Comment out / uncomment source blocks on state change in org-mode config file

I started to move my config file to an org-file just recently. I wondered if it was possible to use the TODO state to activate or deactivate source blocks in the entry under the heading. This way it ...
22 views

### How do I set evil mode to use the normal state by default in Customize mode?

When I open the Easy Customization in Emacs, I want to be in normal mode instead of emacs mode. Is that possible?
23 views

### Poor performance with Tabbar

Tabbar is refreshing groups like 14+ times at once (probably number of tabs) and causing severe slowness with the mods I made on it (lots of IO to sort tabs in mod time). What is the preferred way to ...
34 views

### Nonexistent newline on display after using outorg

I'm using outorg to convert an elisp file to an org file and then back to an elisp file via (outorg-convert-to-org) and (outorg-convert-back-to-code). When I do this conversion I notice that it looks ...
18 views

### How to always display inline images by default? Existing solutions don't seem to take effect

I'm trying to always display inline images in my org mode files. I have images inserted as [[my-image.png]]. What I have already tried: Set startup variable (see this answer: (setq org-startup-...
10 views

Let's say I have a project with three subtasks: * TODO project [1/3] :PROPERTIES: :ORDERED: t :END: ** DONE subtask1 CLOSED: [2020-04-05 Sun 15:12] ** TODO subtask2 ** TODO subtask3 I have ...
47 views

### How can I get the effect of buffer-local symbol plist property values?

Does Emacs have a way to set buffer-local properties on symbols? It's well-known that there are buffer-local variables. But a property belongs to a symbol, not to a variable. Hence, if I have ...
152 views

### How to export top level trees in an org file to corresponding files?

Executing the following code should create, for each top level tree in your file ~/tmp/file.org, an other file in ~/tmp named after the tree heading and containing its content. Problem: it does not ...
953 views

### LIGHTWEIGHT Java Environment (not JDEE)

Is there a lightweight Java environment for EMACS? I have used JDEE in the past, but it's accumulated a lot of, ahem, features since I used it last, and just trying to set it up has consumed a couple ...
4k views

### Emacs colors being set differently when TERM is 'screen-256color' and 'xterm-256color'

I'm using Emacs in a terminal and am finding that when the TERM environment variable is changed between screen-256color and xterm-256color, the default colors within Emacs are set differently. Just ...
29 views

### Any equivalent of R+ESS for python?

I do a lot of R coding on Emacs – on Windows – using the wonderful ESS package. What I particularly like is that I can: start an R session, and then send lines or regions of the script I'm working on ...
91 views

### Getting started use-package question

I was reading the use-package documentation, which says, "Here is the simplest use-package declaration:" ;; This is only needed once, near the top of the file (eval-when-compile ;; Following line ...
16 views

### Include DONE from TODO items in agenda

I have some recurring tasks for habits that I want to disappear after setting them done, but I also want a special agenda view, showing when items were completed, to see how well I have been keeping ...
656 views

### Ligatures with the JetBrains Mono font

After installing the JetBrains Mono Font and setting it as my default face. I am wandering how to enable Ligatures in Emacs. I tried a solution based on this answer that show how to do this with Fira ...
9 views

### Alt-Shift-Left and -Right (M-S-<left>/<right>) do not work in emacs on Raspberry Pi (org-shiftmetaleft / org-shiftmetaright)

I am on a Raspberry Pi with Raspbian and any shortcut with Alt-Shift-arrow has no effect in emacs org-mode. I discovered it while trying to use org-shiftmetaleft and org-shiftmetaright. This is my ...
21 views

### How to fix docker command prompt

When I start emacs -q and run M-x shell there is formatting error when connecting to docker container as follows, \$ docker container exec -it ...
11 views

### How does one debug errors in a process filter, (setq debug-on-error t) does not pop up a *Backtrace*?

With annoying frequency I get errors in my *Messages* buffer that seem to come from process-filters however, I never get a *Backtrace* for them. So, I have to play around and do similar experiments ...
49 views

### Buffer-local exec-path?

Is there a way to make buffer-local overrides to exec-path (whose value is normally initialized with the PATH environment variable)? I tried (make-variable-buffer-local 'exec-path) and local ...
29 views

### Does use-package reduce startup time? If so, how?

My understanding of Emacs's package management is that Emacs automatically loads all installed packages. use-package itself is a package, which only becomes usable after (package-initialize), at ...
7k views

### How can I get fuzzy code completion

When using ReSharper in Visual Studio symbols can be auto-completed using fuzzy matching instead of prefix matching. For example if I'm looking for a function named DoSomethingAmazing I could write ...
85 views

### How to use 'glossaries' package in aquamacs, or I mean how could I run makeglossaries in aquatics

I find the instruction from enter link description here as given below \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{glossaries} \makeglossaries \newglossaryentry{latex} { ...
42 views

### Org (and org-capture) uses English for calendar dates, no matter what I do

The problem: When I use org-capture to write on my journal, it writes the month as April and the day as Friday. But everything in my system is in Portuguese, so it should be "abril" for the month, ...
27 views

### Emacs keyboard macros ? all over

I have used keyboard macros for a long time, but moved between companies, systems, and various machines over my career. I used to be able to record macros and insert-kbd-macro into my .emacs file and ...
10 views

### Replace a filename in init.el using sed from bash script

So I have different customized themes. Different customized themes are written to a separate custom .el files and get called in the main init.el file. For example: (setq custom-file "~/.emacs.d/...
69 views

### Cannot run cquery

I have been using rtags as my primary C++ mode, but I found that it's performance is not satisfying for large code bases e.g. Linux kernel. It takes more than 5 seconds to find definitions. This it ...
163 views

### setting default columns in org column mode into init file

Trying to set preferred columns in ORG column mode. this works perfectly if I put it on head of the file: #+COLUMNS: %45ITEM %TAGS %PRIORITY %TODO %CLOSED %SCHEDULED But I avoid to repeat it for ...
8 views

### Enable ox-hugo Auto-export on saving

I am trying to establish an ox-hugo workflow using the Auto-saving feature described in the official website. However, when trying to enable it using the following snippet: (("content-org/" . ((org-...
18 views

I'm trying to modify how asm-mode does its automatic indentation. I thought I would use the following: (defun yasm-calculate-indentation (oldfun) "Add the formatting for a few other keywords I like....
5 views

### Is it possible to show the specific clock interval breakdown in a clock table?

The clock table is great for an overview of what I did over the day/week. But I would also like to see when in the day I performed the specific task. It would be great if I can see the actual clock ...
6 views

### Prevent the agenda from being rebuilt upon clocking in/out?

Every time I start/finish a clock, if I have the agenda open in a buffer, the agenda gets rebuilt, which in my case always freezes Emacs for a few seconds and causes some annoyance to my workflow (...
2k views

### How to toggle neotree in the project directory?

There is a nice example of how to open neotree in the project rootsee: https://www.emacswiki.org/emacs/NeoTree (find-file-in-project and Projectile sections). However, I'd like to toggle neotree, so ...
32 views

### Integrate Magit with ssh-ident

Recently I was looking at utilities for handling ssh-agent at an even higher level, so that entering SSH keys passphrases becomes even more seamless than with the standard ssh-agent utility. One such ...
28 views

### can show-trailing-white-space be forced to ignore blank lines

I'm trying to use the flag show-trailing-white-space and it usually shows me what I want. I.e., I never want dangling white space at the end of a line containing text. However, between lines of text,...
361 views

### Export all org-mode sections as Beamer frames?

Is there a way to have all of my Org-mode sections export as Beamer frames? For instance, if I have a document like * A ** B ** C then I would like a slide for each of A, B, and C. Setting H:2 gives ...
67 views

### cursor color depending on insert or overwrite mode

how can I change the cursor color depending on insert or overwrite mode? I looked at this page https://www.emacswiki.org/emacs/ChangingCursorDynamically and put as recommended 3 lines in the Emacs ...
14 views

### How to make org file type link search work with numbers?

I am trying to using a link to jump to a number in another org file. Searching for keyword numbers works for internal links but does not when searching in a different file. It works with words but not ...
97 views

### org-mode table/matrix in latex export

I have an issue when exporting a table using *matrix environments. The align string appears in the cell content, whatever it is specified or not #+CAPTION: my matrix #+ATTR_LATEX: :mode displaymath :...
154 views

### (progn (scroll-up 1) (goto-char 0)) is different from (scroll-up 1) then (goto-char 0)

In any buffer, try to eval-expression the expression (scroll-up 1) and then eval (goto-char 0). The window scrolls up, then point is moved to the beginning of the buffer. Now, try eval-ing (progn (...
40 views

### Copying Column View (Org-Mode)

Is there a way to copy the table presented in "column view" as raw text?
17 views

### file-local-variables not evaluated on load

Here is my example mwe-1.tex local variable declaration from within this file is %%% Local Variables: %%% mode: latex %%% mode: orgtbl %%% End: when I execute this command in a shell: emacs -q -...
49 views

### Ignore both uppercase and lowercase versions of the extensions listed in completion-ignored-extensions

How can I get Emacs to ignore, say, both .pdf and .PDF files without listing both ".pdf" and ".PDF" in completion-ignored-extensions?