All Questions

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

Emacs on Windows randomly stops recognizing the Caps Lock state

I'm running GNU Emacs 26.1 on Windows 10, with minimal customizations (custom shortcuts and command names, theme, (ido-mode 'buffers).). At the start of the session, the Caps Lock state is recognized ...
0
votes
0answers
4 views

What does {:} in columnview specification mean?

A columnview org-columns specification may look like this: #+BEGIN: columnview :id local :format "%70ITEM(Task) %Effort{:} %CLOCKSUM{:}" #+END: Sometimes you can see variations without the {:} part. ...
0
votes
0answers
6 views

Export table to CSV file without prompt

I want to have tables that I can easily export to files. In this regard I want to associate a file path and a format to tables. This page in the docs is most relevant: https://orgmode.org/manual/...
1
vote
0answers
11 views

Melpa package update question

Last year I created a package for Melpa. I have updated it in my Gitlab repo, but I don't know how to make Melpa aware of that. Thanks in advance for any tips on that.
0
votes
0answers
10 views

Setting a maximal line length in html exports

I don't like long lines. How can I set a maximal line length in html exports?
2
votes
3answers
113 views

How to schedule exclusively with the keyboard?

If you look a the screenshot the cursor is locked in the echo area. If want to select the date, I have to click on one with the mouse. Do I, or there is a way to do with the keyboard? EDIT: Also the ...
1
vote
0answers
30 views

Where do I type the CLI commands?

I am trying to add Magit to Emacs package list. I got as far as "Packages" menu and do not see how to add new, unlisted package. Is it even possible from Emacs ? I even tried to "i-install" ...
1
vote
1answer
15 views

How to set font-height for all future frames?

I've set the font-family and font-size in a few different ways before, one of which was: (custom-set-faces '(default ((t (:family "Liberation Mono" :height 150))))) However, I learned that if you ...
3
votes
1answer
526 views

How to break out of a dolist loop?

Is it possible to break out of a dolist loop? if not, are there alternatives to dolist that don't involve a while loop and indexing a list?
0
votes
0answers
30 views

org mode link with just the non-directory part of the file name

Is there a method to link files without specifying their absolute file name nor their relative file name; just the non-directory part of their file name? I remember stumbling into one when browsing ...
0
votes
1answer
19 views

how to bind custom commands to keys in existing mode map?

I wrote some extra commands for Python mode: python-insert-quote and python-insert-double-quote. I want to have these commands be available in the minibuffer when python-mode is active. How can I add ...
0
votes
0answers
20 views

How to disable org-metaleft in org capture?

The combination of org capture, org-metaleft (bound to S-LEFT), and refiling can mess up an org file. Here is an example: Start a new heading with quick capture, say *** new. This heading is refiled ...
0
votes
1answer
50 views

Replace full-width numerals with half-width numerals

I'd like to convert numerals from half-width to full-width characters with a simple regex search and replace as follows: replace-regexp-in-string regexp rep string &optional fixedcase literal ...
0
votes
1answer
18 views

Disable indenting on org-babel restclient edits

Despite I am not a new Emacs user, my elisp is nearly not existent. I want to present some REST API stuff with epresent and org babel restclient. This is working fine until I want to edit a source ...
2
votes
1answer
163 views

Unable to bind keys `M-[` and `M-]`

I'm trying to bind M-[ and M-] to the following functions (courtesy of Xah Lee): (defun xah-forward-block (&optional n) "Move cursor beginning of next text block. A text block is separated by ...
0
votes
1answer
25 views

Retrieve the lunar phases to diary.org as a record

I tried to record the sunrise and sunset info to the diary #+begin_src emacs-lisp :tangle yes (sunrise-sunset) ;;(lunar-phases) #+end_src #+RESULTS: : Sunrise 6:57am (CST), sunset 5:00pm (CST) at ...
0
votes
1answer
29 views

Melpa - 'Failed to download melpa'

I am on a fresh install of emacs 26.3, and I have the following in my init.el: (require 'package) (add-to-list 'package-archives '("melpa", "https://melpa.org/packages") t) (package-...
1
vote
2answers
175 views

Get verbatim output of 'curl wttr.in' in org src code

I want to record the weather info within org with commands #+BEGIN_SRC shell :results output curl wttr.in/place #+END_SRC #+RESULTS: #+begin_example Weather report: place [38;5;226m \ / [...
1
vote
1answer
31 views

Display all the months from M-x calendar

M-x calendar would display a three-month calendar and C-u M-x calendar could select the center of the three month. How could display an arbitrary numbers of months, for instance view all the month in ...
0
votes
1answer
15 views

which-function-mode and modified mode line

I modified my mode-line, but now which-function-mode stopped working: nothing is displayed. Code: (setq mode-line-position (list '(:eval (propertize "L%l " 'face nil 'help-echo "Line number")) ...
0
votes
1answer
23 views

How to include lines in a regular expression search which might not be present?

I'm using a regular expression search which is working as expected. This searches for unified diff file entries and works as expected. (re-search-forward (concat ;; Prefix '+++ '. "^" "...
0
votes
0answers
19 views

Is it possible to use AUCTeX preview-latex in emacs terminal?

I was wondering if it is possible to have latex preview working in emacs terminal. This is somehow related to this question. But 3 years have passed and I'm wondering if anything has changed? For ...
0
votes
0answers
25 views

Org-mode parameters for custom table environment for LaTeX

I am using an overridden table environment based on tabular to get some custom cell coloring based on row alternation (similar to what rowcolors does, but also allowing column color variation at the ...
1
vote
2answers
6 views

How to disable stack with flycheck for Haskell?

I'm on nixos and due to stack's integration with Nix/Nixos the following command is very slow: time stack ghc ghc: no input files Usage: For basic information, try the `--help' option. stack ghc 1....
0
votes
1answer
34 views

How to run “ert” tests?

What I tried: Cloned a package with ert tests (https://github.com/dgutov/robe ) # sidenote this package was previously installed using use-package emacs ~/robe/core-tests.el M-x ert Selector: t ...
1
vote
0answers
25 views

Massively long text boxes and yasnippet highlighting

Why are my text boxes and yasnippet field highlights so massively long? Is there a way to change this behavior? If so, what are the necessary steps that need to be taken to solve this issue? The ...
0
votes
2answers
16 views

C-c C-x f (org-footnote-action) cannot create a new footnote

I am used to create new footnotes in Emacs Org Mode with the key binding C-c C-x f. But now there are shown several options in the echo area, when I use this key binding, although the cursor is not ...
1
vote
1answer
22 views

Forcing Speedbar's Sorting Order of Org File Headers to Mirror File's

I use both org-sidebar (https://github.com/alphapapa/org-sidebar/) and Speedbar to navigate Org files. Both have minor issues. However, I find Speedbar works best, but it has a terrible habit of ...
2
votes
1answer
81 views

How to prevent Emacs from moving my mouse pointer out of the way?

I'm using Spacemacs on MS Windows (msys2 build) and when a tooltip pops up Emacs seems to move my mouse pointer out of the way. How can I prevent this automatic movement?
0
votes
1answer
47 views

Assign buffer-name to variable

I'd like to write Elisp code that compares text character by character between two buffers. To do that, I need to first assign buffer names to the variables source-buffer and target-buffer ...
1
vote
0answers
18 views

Random freezes with `error in process filter: Quit`

I'm getting random freezes with the error message: error in process filter: Quit. I'm using tramp-mode with emacs 26.1 on macOS. It seems to maybe be linked to typing symbol characters like %, $, etc. ...
0
votes
0answers
14 views

Cannot export org mode to collapsible HTML

I am trying to have basic collapsing/folding functionality for sections in the HTML file that has been exported from org-mode, since the files I want to share are very large. I am using Emacs 26.2 (9....
0
votes
0answers
21 views

Bad indentation with tsx

I have a .tsx file and a function that returns some html. It starts like: return <div className=... Then at some point I have a component with many arguments so I have to split them vertically. I ...
2
votes
1answer
27 views

Eliminate org capture message

How can I disable the persistent message on an org capture buffer that says? Capture buffer. Finish `C-c', Refile `C-w', abort `C-k'. A similar message is displayed when entering a source block. ...
-1
votes
1answer
43 views

How do you run Emacs on mac?

I find running the following is different from just running emacs on mac /Applications/Emacs.app/Contents/MacOS/Emacs -nw Should I create an alias in zsh/bash for it?
0
votes
1answer
23 views

org-mode: <N> to set column width isn't working

I'm trying to set a column width in an org-mode table, but using the syntax isn't working. Here's my table: | col 1 | col 2 with quite a long header | col 3 here | |-------+--------------------------...
0
votes
0answers
27 views

How to run zone-matrix?

I found something that looks like fun: https://github.com/ober/zone-matrix A matrix-inspired EMACS screen saver. I need this in my life, but I can't (for the life of me) figure out how to get it to ...
0
votes
0answers
28 views

How to display certain buffers below the selected window?

For now I can open Help buffer below current one by splitting its window using regex (add-to-list 'display-buffer-alist '("^\\*.*\\*$" . (display-buffer-below-selected))) How can I make ...
0
votes
1answer
29 views

How to prevent deactivating the region after a command?

When a function is called on a region, I want a visual indication of affected area (a blink for ex.). Say, I've written a function upcasing previous word, and after evaluation I immediately get the ...
0
votes
0answers
26 views

Markdown and Latex highlighting (font lock) in R Markdown file

I am using polymode to edit rmarkdown files. Exporting to e.g. pdf is super simple and works very well. R code chunks are also properly highlighted. But: I do quite often use latex code inside (r)...
1
vote
1answer
98 views

Use write-region in read-only buffer

I am writing a custom function which is supposed to write selected text to some arbitrary file on the system. It does something like (defun write-region-to-file (&optional arg) (interactive "*...
0
votes
2answers
33 views

Representing leading zeroes in a list

I would like to have this table #+NAME: addition-table | | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | |---+----+----+----+----+----+----+----+----+----+----| | 0 | 00 | 01 | 02 | 03 | 04 | ...
0
votes
1answer
17 views

How to run a mini-buffer command from interpreter

I think this might be a duplicate but I can't figure out how to run this: (man emacs)[cursor] [C-x][C-e] Error I get back: Debugger entered--Lisp error: (void-variable gpg) (man gpg) eval((man ...
0
votes
0answers
27 views

Flyspell Not Working in AucTeX

A while back flyspell stopped working for me in AucTeX. I've been cleaning out my init.el file to see if I could fix the problem. I can still do M-x flyspell-mode when in a .tex file. But, I still ...
2
votes
1answer
36 views

Chronos cannot speak French

I changed chronos-text-to-speech-notify acording to https://github.com/dxknight/chronos/issues/2. My Chronos config includes this: (setq chronos-text-to-speech-program-parameters "-s 50 -k 1 -a ...
1
vote
1answer
26 views

Left margin grows while typing

My buffer slips to the right while editing a file. Whenever I press a button, left margin area grows one character. This isn't happening for all files. My buffer normally looks like this: line with ...
0
votes
0answers
8 views

Using el-patch on a helper library of package

I am using the dashboard package which allows you to either use your own .png image on your splash page or makes you pick from a set of ascii logos. For some reason, it doesn't allow you to choose ...
0
votes
0answers
24 views

Magit pull with merge/rebase from upstream/pushRemote

I have upstream set to develop branch (say origin/master) and pushRemote to feature branch. I currently use pulling with preserving rebase. I would like to setup magit in such a way that: this ...
4
votes
3answers
116 views

How to trace the evaluation of all forms in the body of an Elisp function

When working with bash scripts, when something is not behaving the way you want it to, you can add a set -x and the next time you run the script you can see the methods and the sub methods being ...
0
votes
1answer
17 views

How to disable the release notes in spacemacs?

Is there a simple setting to disable the release notes in the startup screen, rather than modifying the core.el here? https://github.com/syl20bnr/spacemacs/blob/master/core/core-spacemacs-buffer.el#...

15 30 50 per page