Skip to main content

Questions tagged [error]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
4 votes
1 answer
61 views

cannot `lossage-size` a large number

emacs-28.2; win 11 $ emacs -Q If I use most-positive-fixnum: (lossage-size most-positive-fixnum) Emacs will emit: Value must be >= 100 in the echo area. If I use a modest number: (lossage-size (/...
summertime's user avatar
3 votes
2 answers
939 views

Seq-Keep is void when installing magit through use-package

I've been attempting to use magit but it keeps throwing an error that seq-keep is void. I started up emacs only installing use-package and magit and the issue persists. However, when I installed magit ...
NepNep-NepNep's user avatar
3 votes
2 answers
871 views

Loading charset map: No such file or directory, JISX0208

Trying to save files I have suddenly started recieving the following error: Loading charset map: No such file or directory, JISX0208 In *Messages* this is reported as: find-coding-systems-region: ...
Matt Nolan's user avatar
2 votes
1 answer
747 views

How to load font for emacs on Arch Linux?

I want to use a custom font for emacs on arch linux. Therefore, I installed the package ttc-iosevka. Then I added the following line to my init.el: (set-frame-font "/usr/share/fonts/TTF/iosevka-...
MySQLInjection's user avatar
2 votes
1 answer
65 views

Undefined-function error about function called by my function

I have recently moved to emacs as my mail client. I am using message-mode to write and send email through notmuch. Specifically, the major mode is called Message[Notmuch]. I would like to remap C-c C-...
johngarg's user avatar
2 votes
1 answer
919 views

What am I supposed to do about the error “Invalid search bound (wrong side of point)” in my code calling re-search-forward?

I have several interactive functions that pretty straightforwardly do re-search-forward and replace-match in a loop. Once in a while, if I have a region selected and do the replacement in it, re-...
aaa's user avatar
  • 506
2 votes
1 answer
252 views

Magit error: Wrong type argument: listp

I recently updated magit and since then I haven't been able to create commits with it. When I try to create a commit in the magit-status interface, I get the error: command-execute: Wrong type ...
burek's user avatar
  • 35
1 vote
1 answer
18 views

Get backtrace for timer error

For an error in a timer there is Error running timer: (text-read-only "Attempt to change text outside editable field") Sadly it does not give a hint which function in which buffer has the ...
Harald's user avatar
  • 354
1 vote
1 answer
184 views

Can't access a global variable inside a function in elisp?

I am trying to make a simple function that toggles "lsp-ui-doc-show" and "lsp-ui-doc-hide", by calling the same function every time. Thought it was simple enough to use a global ...
Sergiu Elmi's user avatar
1 vote
1 answer
434 views

nov-mode returns binary buffer and "File mode specification error: (error Invalid version syntax: ‘’ (must start with a number))"

When opening an epub file with Nov-mode I get a binary buffer in fundamental mode and an error message File mode specification error: (error Invalid version syntax: ‘’ (must start with a number)). ...
Ajned's user avatar
  • 794
1 vote
3 answers
108 views

Emacs PS printing problem

I'm running Emacs 29.2 on Mac OS 14.4 on an M1 Mini. I have a Brother HL-L8260CDW series printer. Normal print commands (print-buffer, print-region) work fine. What doesn't work are the ps-print... ...
PhilC's user avatar
  • 11
1 vote
1 answer
1k views

Symbol’s function definition is void: make-closure

I’m trying to split a number stated in scientific notation (6.371e6) and write it as float (6371000) (I’m doing this to learn.) This is the code I have so far A = (car (mapcar #'string-to-number (...
zeynel's user avatar
  • 407
1 vote
1 answer
2k views

How does one fix the Warning (initialization): An error occurred while loading error?

What does this error mean: Warning (initialization): An error occurred while loading ‘/Users/brandomiranda/.emacs’: Wrong number of arguments: (3 . 4), 2 To ensure normal operation, you should ...
Charlie Parker's user avatar
1 vote
1 answer
127 views

Emacs 27: How to jump to backward found word when switched into reverse incremental search?

I am trying to apply following solution(How to jump to backward found word when switched into reverse incremental search?) into Emacs >27.1, (which works in emacs 26.3): (define-advice isearch-...
alper's user avatar
  • 1,460
1 vote
1 answer
1k views

Emacs error cannot load file counsel

I'm getting this error whenever I try to open Emacs: Debugger entered--Lisp error: (file-missing "Cannot open load file" "No such file or directory" "counsel") require(...
apoorv569's user avatar
  • 113
1 vote
2 answers
111 views

mu4e multiple smtp accounts - What causes the error Unexpected ‘machine’ token at line XX

I'm working on Emacs 29.1 at MacOs BigSur I have a mu4e smtp account setup in ~/.authinfo machine server1 login mail_users password pass1 port 587 machine server1 login user_admin password pass2 port ...
huckfinn's user avatar
  • 135
1 vote
0 answers
27 views

Initialization not liking whitespace mode after upgrading to 29.1?

I have the following configuration for whitespace mode in my .emacs file: (require 'whitespace) (setq whitespace-style '(trailing lines indentation space-before-tab space-after-tab) whitespace-...
Meng Lu's user avatar
  • 163
1 vote
0 answers
38 views

helm-do-ag not working as expected to search with command-option

I want a function to search in filenames and retrieve those filenames containing the string I search for. For some reason, this piece of code is not working for this purpose: (defun helm-do-ag-...
Adelita's user avatar
  • 255
1 vote
2 answers
2k views

"Eager macro-expansion failure" message when starting Emacs 28.2 from the mac terminal

I have upgraded my emacs using brew install emacs-plus. Now when I run emacs & from the terminal, the following message appears. Eager macro-expansion failure: (wrong-number-of-arguments (3 . 4) ...
Evan Aad's user avatar
  • 1,571
1 vote
0 answers
444 views

Error after upgrade

I upgraded doom yesterday. Unfortunately, since then I get the following error whenever I doom run : Warning (initialization): An error occurred while loading ‘/Users/*****/.emacs.d/.local/etc/@/init....
Butters's user avatar
  • 11
1 vote
0 answers
498 views

Symbol's function definition is void: package-install-selected-packages

In order to install and remove packages automatically (which is especially useful when using Emacs for the first time on a new computer), I have the following lines in my ~/.emacs: ;; Specify required ...
HelloGoodbye's user avatar
1 vote
1 answer
121 views

"Invalid version list `(4 5 -4 414)'" when running `M-x package-list-packages`

When following a suggestion for solving another problem, I'm doing M-x package-list-packages. However, that gives me the error message Invalid version list `(4 5 -4 414)'. What does this mean, and ...
HelloGoodbye's user avatar
0 votes
1 answer
156 views

require can't find file that do exist

I'm setting up Emacs on a work laptop with my old config file. And I have problem installing Copilot. I cloned the repo in ~/projects/emacs-modes/copilot.el directory: I've added: (add-to-list 'load-...
jcubic's user avatar
  • 793
0 votes
3 answers
221 views

Why can't counsel-rg index an expression previously found?

I am using trying to use a command called counsel-rg. This is the associated describe-command: counsel-rg is an autoloaded interactive compiled Lisp function in ‘counsel.el’. (counsel-rg &...
Pedro Delfino's user avatar
0 votes
1 answer
314 views

Use-package :bind-keymap with car as a form

As you can see below, trying to make a cons using a backquote and a colon to evaluate a form causes an error. Surely this is a tiny mistake, but Lisp is not my cup of tea. Let's just jump to the code: ...
adentinger's user avatar
0 votes
2 answers
149 views

when I open file in emacs I get lots of strange errors

My OS is ubuntu 22.04 LTS, emacs is in /usr/local/texlive/emacs-28.1, texline in /usr/local/texlive and auctex in .emacs.d/elpa. Whenever I open a file in the emacs-buffer, it shows -- in a buffer *...
Alexander Wittmann's user avatar
0 votes
2 answers
47 views

Printer set up. Wrong type argument: listp

I use Emacs 29.3 on an M1 Mac Mini with OS 14.4.1. I'm trying to set up PS printing. I picked up the name of my printer from lpstat. I copied the following code, verbatim, to my init.el from the ...
PhilC's user avatar
  • 11
0 votes
1 answer
107 views

use-package with builtin mode, such as display-time-mode

I'm trying to use the use-package method of organizing my Preferences.el file in Aquamacs. When I try to use use-package display-time-mode, I get the following error message. Debugger entered--Lisp ...
Henry DeYoung's user avatar
0 votes
1 answer
78 views

Translate use-package syntax

I am not sure how to translate this use-package :commands syntax into a regular elisp init.el file. (use-package languagetool :commands (languagetool-check languagetool-clear-suggestions ...
mislyde_alfabetisk's user avatar
0 votes
1 answer
44 views

Unclear wrong argument

The following expression: (car input-method-function) Give the following message: Wrong type argument: listp, list Why? input-method-function is list.
Quasar999's user avatar
0 votes
2 answers
20 views

Packages - not all files loaded

I want to use the package gptel.el (but this is only an example, the error also occurs with a few other packages) after the installation via Melpa (incl. init.el: require ‘gptel) I try to execute e.g. ...
Martin Nomine's user avatar
0 votes
1 answer
740 views

"Error (frameset): Wrong type argument: number-or-marker-p, nil" How to debug it?

Such a message in the "Warnings" window. "Frameset" I think refers to the .emacs.desktop file. I got this message when Emacs in daemon mode restored the desktop. There is no such ...
Herman's user avatar
  • 57
0 votes
1 answer
83 views

Hook resulting in a Wrong type argument error?

I am trying to do two things for Elfeed Summary: Automatically update the feeds when starting Elfeed Summary. Automatically hide the feeds without unread articles when starting Elfeed Summary. ...
Carapuce's user avatar
0 votes
2 answers
222 views

eldoc error: (void-function embark-eldoc-first-target)

Linux Mint 20.3 Emacs 27 For every command I get the next message in minibuffer: eldoc error: (void-function embark-eldoc-first-target) He my setting of embark package in init.el (use-package embark ...
a_subscriber's user avatar
  • 4,244
0 votes
1 answer
252 views

Which-key like in doom emacs: Symbol's value as variable is void: some-map

I would like to integrate which-key like doom emacs with "space" in my configuration, but I get the error: Symbol's value as variable is void: some-map ;; shows shortcuts, when clicking C-x ...
David's user avatar
  • 319
0 votes
1 answer
163 views

Error when using helm setup with use-package

My current helm configuration is (use-package helm :bind (("M-x" . helm-M-x) ("C-x b" . helm-mini) ("C-x C-f" . helm-find-files) ("C-x C-...
loewenheim_swolem's user avatar
0 votes
1 answer
150 views

How to enable terminal beeping?

xterm conviniently beeps on a failed unit test (pytest): Beeping (start-process "" nil "/usr/bin/xterm" "-e" "python3" "-B" "-m" "...
jjk's user avatar
  • 758
0 votes
1 answer
447 views

Error /bin/bash: line 1: nil: command not found

I have the following code to auto format python code using autopep8: (defcustom python-autopep8-path (executable-find "autopep8") "autopep8 executable path." :group 'python :...
Schach21's user avatar
0 votes
1 answer
199 views

New `wrong-number-of-arguments` error from `desktop-change-dir` and other commands

(This has started happening with other commands too, but I don't remember which.) Previously when I ran M-x desktop-change-dir I would be prompted to enter a folder, whereupon Emacs would load the ....
Jeffrey Benjamin Brown's user avatar
0 votes
1 answer
101 views

Invalid function in font-lock-fontify-keywords-region [duplicate]

Why do I get the error: font-lock-fontify-keywords-region: Invalid function: (concat "\\\\" (regexp-opt (quote ("cs" "hepth" "hepph" "heplat" "...
Gabriele's user avatar
  • 1,680
0 votes
1 answer
27 views

Error (use-package): vterm/:catch: Searching for program: No such file or directory,

Here my init.el (eval-when-compile ;; Following line is not needed if use-package.el is in ~/.emacs.d (add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/") t)...
a_subscriber's user avatar
  • 4,244
0 votes
0 answers
56 views

emacs fzf.el package gives error: 127 when I execute fzf-find-file-in-directory

I have fzf installed, a fuzzy search find utility, and I have the fzf.el emacs package installed so I can use fzf fuzzy search within emacs. I have the fzf executable on my exec-path, so emacs knows ...
Carlo Tambuatco's user avatar
0 votes
0 answers
34 views

Function to process rows in table results in '(wrong-type-argument sequencep 1.0e+INF)' error

A function that copies the contents of a table column to the clipboard often results in the error (wrong-type-argument sequencep 1.0e+INF) and I think it is the result of some numeric sequences being ...
vfclists's user avatar
  • 1,481
0 votes
0 answers
19 views

Why is "display-buffer-reuse-window" producing an error?

Version: GNU Emacs 29.4 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.43, cairo version 1.18.0) I have an emacs configuration file which has followed me around through numerous different versions. ...
Alasdair McAndrew's user avatar
0 votes
1 answer
27 views

markdown mode gives error (invalid-read-syntax "?" 1176 26)

When calling markdown-mode I get this error (invalid-read-syntax "?" 1176 26). The backtrace is as follows: read(#<buffer *load*>) edebug--read(read #<buffer *load*>) ...
Miserable Variable's user avatar
0 votes
1 answer
24 views

Why do I get "not an image" when using gptel with Icicles?

I've had a problem with this "not an image" message popping up, but never a backtrace, until today, when I tried gptel. I just did M-x gptel. Once I saw icicles was involved, I tried (icy-...
Jason Hunter's user avatar
  • 1,000
0 votes
1 answer
45 views

Minimal org file yields [undefined citation] when exporting to LaTeX using biblatex

I have looked for similar questions, but none of the solutions have worked for me, and they seem to be slightly different in nature. I am just trying to get citations to work with biblatex-chicago, ...
Vegas Harmon's user avatar
0 votes
0 answers
18 views

Accessing appointments in todo agenda

When I attempt to review an appointment the screen blinks but the appointment can't be seen and an error message only shows error and the outlook symbol.
Ber O's user avatar
  • 1
0 votes
0 answers
17 views

Calling a function from one emacsclient can't start Edebug from another emacsclient. Terminal is locked error

I use GNU Emacs 27.1 on Ubuntu 22.04.4, where I use i3 with several emacsclients opened in different terminals, while emacsdaemon is running in background. After setting Edebug instrumentations into ...
Mitu Gabriel's user avatar
0 votes
0 answers
135 views

consult-ripgrep - Error running timer: (file-missing "Searching for program" "No such file or directory" "rg")

Emacs 29.3 GNU (Flatpak) - installed by Software Manager Linux Mint 21.3 Install ripgrep: apt install ripgrep In init.el (use-package rg :ensure t :ensure-system-package rg) (use-package consult ...
a_subscriber's user avatar
  • 4,244