0
votes
0answers
5 views

UK holidays definitions?

Is there a set of holidays.el definitions for United Kingdom holidays? I don't want to maintain the list of holidays myself. I would like to use them in org-agenda, but that's not the focus of the ...
0
votes
0answers
10 views

How to get live preview in real time while editing latex source code using AUCTeX?

I'm using Emacs (26.1, build 1, i686-w64-mingw32) on the latest version of Windows 10. Im looking to turn my Emacs into a LaTeX IDE that has a 'live preview' functionality. Ideally I would like my ...
1
vote
0answers
14 views

Change major-mode keymap char-table

I'm trying to write my own major mode, which I want to use under MS Windows. Unfortunately, Windows doesn't have my favourite keyboard layout, so I'm planning to implement this keyboard layout in my ...
0
votes
0answers
13 views

How can I make terms searched with `*` or `#` populate the search history?

In my attempt to have * and # work in Spacemacs as they do in Vim, I've followed the solution posted at this question. Those keys now work, but there's one hurdle more to overcome: the searched term ...
0
votes
0answers
10 views

Trigger action when countdown timer is consumed

I would like to start the countdown function, (org-timer-set-timer) (C-c C-x ;), and trigger an action once the timer is over. Any hints on how this could be achieved? Shall I just use the run-at-time ...
0
votes
1answer
11 views

Setting C-p as helm-projectile-find-file

I put this at the very end of my config file: (global-set-key (kbd "C-p") 'helm-projectile-find-file) On Emacs start I can see that it is getting assigned using C-h k C-p. Then when I actually load ...
0
votes
1answer
27 views

How do I hit the equivalent of `C-u` (of normal emacs) in Spacemacs?

According to the "Evilified modes" documentation [1], C-u gets moved to C-U, but when I try to hit that (Ctrl+Shift+u), my cursor still gets moved one page up, instead of starting a new long command. ...
0
votes
0answers
19 views

find `/lisp` and `./contrib/lisp` dynamically

I work across different operating systems with a single ~/.emacs.d managed through git. I am having trouble finding where MacOS's homebrew installs orgmode's /lisp and /contrib/lisp directories, so ...
1
vote
1answer
27 views

What mode does the command `query-replace' activate?

I'm editing my keybinds mode-by-mode, and I've now come to the query-replace-map. I want to define my keybinds in a mode-hook to keep my files logically consistent, but I cannot determine which mode ...
0
votes
1answer
11 views

How to view exported mail file with Gnus properly?

Gnus has the feature to export the mail to file with "O m" (gnus-summary-save-article-mail) command. I've been often using this feature to save the mail to the file for future reference. However, I ...
0
votes
0answers
10 views

Clang-format style indentation for emacs-lisp code

I am wondering if there is an emacs package similar to clang-format that can enforce consistent code-style in emacs-lisp code. Emacs native indentation will only correct indentation for every line, ...
1
vote
0answers
18 views

Adding Headers to org-todo-list

Is it possible to set up org-todo-list to group TODOs under headers as they are in my org-mode file? Example org file structure: * Project Name A ** TODOs *** TODO item 1 *** TODO item 2 *** ...
1
vote
1answer
21 views

How to force new `shell` to appear in current buffer?

Whenever I run M-x shell, a buffer appears almost randomly somewhere - splitting current buffers as it sees fit. I cannot work out the logic behind it. The docstring says: (shell &optional ...
0
votes
1answer
21 views

Magit popup set height automatically

When the magit-commit-popup window opens, there are one or two lines that are just below the screen. Calling fit-window-to-buffer in the popup buffer fixes the problem, but I would like to automate ...
0
votes
0answers
5 views

Using LaTeX commands with MD-Preview

Is it possible and, if so, how do I get my MD-Preview (which seems to be eww) to render latex commands in my .md file as mathematical symbols.
1
vote
1answer
16 views

org-babel-execute:sql: reciving erros and no returns

#+name: Part 1 Task 1 #+header: :engine mysql #+header: :dbhost localhost #+header: :dbuser subject #+header: :dbpassword 1234 #+header: :database hmsec #+begin_src sql SELECT sensorId, type, ...
1
vote
1answer
21 views

Is it possible to use increments of two and use padding zeros on mc/insert-numbers?

I'm using mc/insert-numbers quite often for numbering classes on html. I know that I can use C-u 6 M-x mc/insert-numbers to start counting from 6, but how could I use it to create a list like: 06 08 ...
1
vote
2answers
71 views

How to make all variables and functions of a mode visible without activating the mode

Let's say I want to customize a keybind for a mode that hasn't been loaded yet like so: (define-key eshell-mode-map (kbd "C-M-i") 'eshell-previous-input) But the problem is if I haven't yet loaded ...
1
vote
0answers
16 views

org collapses with three dots … after helm-org-in-buffer-headings jump

I use helm-org-in-buffer-headings. You can see the three dots ... in the picture. The desired result is: The three dots part is expanded.
0
votes
0answers
9 views

Stop Eshell from printing profile file

I have a bunch of setenvs in Eshell profile file: ### ENV setenv PATH "/usr/local/bin/:$PATH" # python setenv PATH "/usr/local/lib/python3.6:/usr/local/lib/python3.6/site-packages:/System/Library/...
0
votes
1answer
23 views

Can I get whitespace-mode to display a sequence of two leading spaces , specially?

Like this: I have been able to get whitespace-mode to display dots for leading spaces. But I want to specially display each sequence of 2 leading spaces, with maybe a vertical bar. Possible? ...
2
votes
1answer
29 views

Using Emacs with Greek keyboard

I know I can use a Greek input method, but what I want is quite different: how to use Emacs in an OS configured for Greek, without having to set the keyboard to English (or any other Latin alphabet ...
1
vote
1answer
135 views

How does org know my name?

Just org-exported something and my name was at the top of the exported document. How does org know my name? On Fedora.
0
votes
1answer
30 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 ...
1
vote
0answers
14 views

Enable `cc-mode` documentation highlightning per minor mode

I am writing a minor mode for enabling support for JML within Java files. I realized the syntax highlighting with cc-mode's support for documentation comments. It works if I set c-doc-comment-style ...
1
vote
0answers
12 views

Help wanted. paced - populated Dictionary not saved

i managed to install and configure the paced package. My system is Emacs "GNU Emacs 26.1 (build 1, x86_64-w64-mingw32) of 2018-05-29" on Windows 8.1 64. Unfortunately the paced dictionary is not ...
3
votes
2answers
46 views

How to delete all list elements matching a regexp?

Given a list: (setq mylist '("a1" "a2" "b1" "b2")) How to delete all elements that match ^a? What I want is "a1" and "a2" deleted, only left "b1" and "b2" in the list.
0
votes
0answers
42 views

Error (use-package): Cannot load magit

I am not sure if that is a problem on my site or more people are experiencing this. I thought at first that I broke something in my config file, but after loading by backup .emacs.d, the error is the ...
0
votes
1answer
18 views

:anchor not working for odt export

I am trying to export images with odt export from org-mode and to change the anchor of the image (default to-paragraph) to "as-char". I tried the following code: #+ATTR_ODT: :anchor "as-char" [[./...
1
vote
1answer
29 views

A way to omit exporting comment headings in org-mode?

I'd like to be able to do the following: * A story about airplanes ** Chapter one *** # Introduce the main character Billy was a nice boy etc ... *** # Set the scene One day Billy stumbled upon a ...
0
votes
0answers
26 views

How to add CSS support for the html-export in org mode for the properties drawer?

My org version is 9.1.14. Background info: I am trying to export my notes in org-mode to html. I would like to have my notes tagged with Category and Tags. I want to apply some CSS beautification ...
0
votes
0answers
9 views

My theme's default face is ignored

I recently changed my Linux distribution (from an old Opensuse 13.1 to Linux Mint 19, which comes with "GNU Emacs 25.2.2 of 2017-09-22, modified by Debian"), and now my very basic theme is not working ...
0
votes
0answers
14 views

Complete from buffer's tags in org-agenda's org-tags-view (“Match a TAGS/PROP/TODO query”)

org-agenda's tag matching command, org-tags-view shows an agenda of TODO items filtered by tag. It gives me an ivy completion list because I have ivy installed, which sets completing-read-function. ...
2
votes
1answer
54 views

Why doesn't the same Windows font look the same when migrating to emacs 26.1?

I'm trying to migrate from emacs 24.5 to emacs 26.1. I installed 26.1 and running both with the same config files. I took several tries and fixing small things in the config, for emacs 26.1 to start ...
0
votes
0answers
31 views

how to edit the first file first like vim when start from command line?

When run emacs 1st 2nd 3rd, the buffer of the current window is 3rd, which is not the same as vim 1st 2nd 3rd, which is 1st file first
0
votes
0answers
39 views

Autocompletion of relative, not absolute, file name

I am typing a Tex file with Emacs and I want to be able to include the relative path of an image file name from inside Emacs. For example, my Tex file that is being opened in Emacs is located at ~/...
0
votes
1answer
38 views

Inconsistent point in an elisp program and in a visible non-focused process buffer

I am able to collect output data from a process, but I don't understand the coordination of point and process-mark. In particular, the visible cursor in a non-selected window visiting the buffer does ...
2
votes
0answers
53 views

Disable LINUX mode in Emacs

I am using Emacs 25.3 on Mac and when I try to open some linux kernel code, the behavior is different as below: I cannot simply open a C file, but I am prompted for arch each time. Occasionally, ...
0
votes
1answer
31 views

Asynchrony when collecting output in a process buffer?

I want to capture output from a process buffer. This is not a duplicate of How do I reliably get output from a process? because that questioner is presupposing comint and an architecture for a ...
0
votes
1answer
41 views

Term double prompting (duplicate prompts) in Emacs

My term in emacs appear: 0;me@debian: ~me@debian:~$ instead of me@debian:~$ ~$ echo $PS1 \[\e]0;\u@\h: \w\a\]\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;33m\]\w\[\033[00m\]\[\033[0;35m\]$\[\033[0m\] ...
0
votes
0answers
26 views

How to make Lisp state a default instead of normal?

I'm learning Clojure and Emacs at the same time 🤕 I use Spacemacs with Evil. Recently I've learned about Lisp state and I find it very handy. The only problem is that whenever I switch to insert ...
0
votes
0answers
37 views

How to use irony to get auto-completion for project specific header files in C++?

I trying to setup irony + company to get intelligent auto-completion in C++. It is giving completion options from standard C++ headers, but I am unable to get it working for project specific header ...
0
votes
0answers
17 views

Suitable emacs shortcut to publish blog to s3/ftp [closed]

I've been tinkering with writing blog posts with org mode. As the icing on the cake, I would like to publish the blog folder to s3 with a shortcut key. The elisp function is a work in progress atm. ...
0
votes
0answers
16 views

Can't get pdb nor realgud:pdb working

I run pdb which command python -m pdb pom.py but I only get single line of output Current directory is <current working directory>. When I press q and RET, the buffer changes to pdb with ...
0
votes
0answers
14 views

Is there a way to globally unignore a file in projectile?

I have a few files that are ignored in most of the .gitignore project files, like .env and local-values.yaml. Is there a way to not ignore them globally using projectile, so that I can find and open ...
1
vote
1answer
34 views

Changing the name of the function key <mouse-1> leads to problems

I want to change the name of the function key <mouse-1> like so: (define-key input-decode-map (kbd "<mouse-1>") (kbd "<jd:m1>")) And thus bind the new name to an arbitrary function ...
0
votes
0answers
26 views

helm - candidates at top of the file

In helm-mini, I want the candidates to appear at the top of the file instead of the bottom. (like in the following tutorial under the section: Autoresize .. image:Demo1) For me it is always at bottom....
3
votes
1answer
60 views

Set a global default directory

I want a "default directory" which is constant across all contexts (buffers, packages, etc). That is, when working on multiple files, opening a new terminal, doing anything which requires a starting ...
1
vote
1answer
40 views

Org mode how to sort entries

In an Org-mode document, let's imagine that my entries are following this pattern: * TODO Note page 2 [0/1] my notes, must be at second position after sorting - [ ] todo 1 * Note page 14 ...
0
votes
1answer
56 views

Change the template used by the function LaTeX-section (C-c C-s)

In a document using LaTeX-mode (i.e., AUCTeX), the command LaTeX-section (C-c C-s) inserts a small template corresponding to a LaTeX sectioning element. How can these inserted templates be modified? ...

15 30 50 per page