Questions tagged [error]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
26 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
  • 743
0 votes
2 answers
28 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
  • 1
0 votes
1 answer
20 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
  • 1
0 votes
1 answer
42 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
  • 115
0 votes
0 answers
38 views

Wrong number of arguments error

The following key is supposed to go to the end of the visual line and switch to insert mode: (define-key evil-normal-state-map (kbd "A") (lambda () (interactive) (end-of-visual-line) (evil-...
Alois Pichler's user avatar
0 votes
0 answers
18 views

(scan-error "Unbalanced parentheses" 1 1) when stepping forward in Edebug

Debugger entered--Lisp error: (scan-error "Unbalanced parentheses" 1 1) scan-lists(41 -1 -1) down-list(-1) edebug-step-out() edebug-forward-sexp(1) funcall-interactively(edebug-...
shintuku's user avatar
  • 121
0 votes
0 answers
63 views

Warning: void-function org-link-set-parameter [duplicate]

Anyone know why I might be getting the following warning on running emacs? I'm running org-mode 9.7 with the latest doom emacs. Warning (initialization): An error occurred while loading ‘/home/seba/....
shintuku's user avatar
  • 121
0 votes
0 answers
52 views

Getting error in hook: Symbol’s function definition is void: \(setf\ ekg-note-tags\)

I'm writing a pre-save hook for ekg (emacs knowledge graph), and getting an error I don't know how to figure out. The error is triples--with-transaction: Symbol’s function definition is void: \(setf\ ...
GaryO's user avatar
  • 496
3 votes
2 answers
768 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
2 votes
0 answers
156 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
0 votes
1 answer
88 views

Push to GitHub via Magit retrieves error: "error in process sentinel: Symbol’s function definition is void: compat-assoc" but works. How to fix it?

I am using Magit in my Emacs. This is my config file. I have been using this package for a long time without issues. Recently, some weird error messages started to appear. After pressing to push a ...
Pedro Delfino's user avatar
0 votes
0 answers
292 views

error in process sentinel: Wrong type argument: integer-or-marker-p, nil

I get this error when I search dired with M-x find-name-dired: error in process sentinel: Wrong type argument: integer-or-marker-p, nil The search finds the files then ends with this error. I'm not ...
zeynel's user avatar
  • 371
1 vote
0 answers
21 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
0 votes
1 answer
66 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
33 views

Aquamacs hangs when refreshing package contents

I'm trying to use use-package in my Preferences.el file under Aquamacs 3.6. Every time I try to run Aquamacs with the following Preferences.el, Aquamacs hangs, usually indefinitely. (require 'package)...
Henry DeYoung's user avatar
0 votes
1 answer
347 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
2 votes
1 answer
645 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
  • 436
0 votes
0 answers
79 views

How to edit source code from elpa package and keep changes?

So today I installed a dashboard for emacs with M-x package-install RET dashboard. It works perfectly fine. I made some nice customization and it looks great! But by default, there are some messages (...
MySQLInjection's user avatar
0 votes
1 answer
56 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
0 answers
141 views

indentation and syntax highlighting stops working randomly

Every now and when emacs indentation and syntax highlighting stops working. This seems to affect all modes that I'm using (primarily org-mode,ess-mode and emacs-lisp-mode), and manifests itself in ...
swhalemwo's user avatar
2 votes
1 answer
449 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
0 votes
0 answers
32 views

Symbol’s function definition is void: revert-buffer

For some reason whenever files change on disk, when I try to edit the file I get the following prompt but choosing revert results in <some-filename> changed on disk; really edit the buffer? (y, ...
phoxd's user avatar
  • 231
0 votes
2 answers
70 views

How do you handle an error in the scope of current-buffer with condition-case?

I would like to create headings and subheadings with org-capture if they don't exist with file+olp in my templates. The problem is that I get this message Heading not found on level 1. I'm not sure ...
Rick's user avatar
  • 25
0 votes
1 answer
82 views

Interactive call aware function test problem ( Wrong type argument: commandp ) [duplicate]

Below what the *Messages* buffer tells me: Loading init.el (source)... interactive-aware-fun called-interactively-p : nil command-execute: Wrong type argument: commandp, interactive-aware-fun and an ...
Claudio's user avatar
  • 450
0 votes
1 answer
17 views

helm-projectile-recentf, "Can't rotate non image file"

When I hit M-r to get an exact match, helm-projectile-recentf, I get: Debugger entered--Lisp error: (cl-assertion-failed ((and (file-exists-p file) (string-match (image-file-name-regexp) file)) "...
Jason Hunter's user avatar
4 votes
1 answer
51 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
0 votes
2 answers
174 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,074
0 votes
1 answer
194 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
  • 297
0 votes
0 answers
78 views

replace-regexp-in-string (wrong-type-argument arrayp nil)

This used to work, but I somehow updated something, so now it doesn't run ; by Xah - http://xahlee.org/emacs/emacs_lookup_ref.html #+begin_src elisp (defun w3m-lookup-definiton-at-point () "...
Jason Hunter's user avatar
0 votes
0 answers
39 views

nnimap-finish-retrieve-group-infos: End of file during parsing

I read my mails with gnus (emacs master 30.0.50/windows11/mingw64), it used to work very well but suddenly, I now run into the following error : nnimap-finish-retrieve-group-infos: End of file during ...
deb2014's user avatar
  • 83
0 votes
1 answer
94 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
0 answers
122 views

org-gcal complain about client id/secret

I setup org-gcal-client-id and secret. I do org-gcal-reload-client-id (-secret too) but at each Emacs startup I receive a warning that these 2 variable must be set.
Michel Lecomte's user avatar
0 votes
1 answer
67 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
1 vote
1 answer
161 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
2 votes
1 answer
56 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
1 vote
0 answers
32 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
  • 155
0 votes
3 answers
157 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
1 vote
1 answer
1k 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,541
0 votes
0 answers
41 views

What causes an error "git not found" for each org-agenda file when building org-agenda-list?

I have emacs 28.1 on my phone in F-Droid. When I start any org-agenda population command like org-agenda-list or org-agenda-list-stuck-projects the list shows up, but also shows up this error message ...
Evgeny Mikhaylov's user avatar
0 votes
1 answer
235 views

Aquamacs error while loading .emacs : Symbol's function definition is void: register-definition-prefixes

I'm on macOS Monterey and I'm using aquamacs as an IDE to ocaml. Ocaml is install with opam and everything was working well until I delete the wrong switch. Emacs is still working with tuareg in the ...
Dusehu Théo's user avatar
0 votes
1 answer
183 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
1 vote
0 answers
396 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
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
  • 371
0 votes
2 answers
126 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
0 answers
33 views

Semantic fails while processing system header

I have Emacs 28.1.90, locally built, with cedet and semantic as built-in packages. However, when i tried turning things on (using semantic for auto-completion with company), i started getting eroors ...
Srv19's user avatar
  • 489
0 votes
0 answers
59 views

Installing minimap on vanilla Emacs gives "Invalid face attribute :foreground nil [xxx times]"

Installing minimap package-install [RET] minimap [RET] Enabling the minimap-mode M-x minimap-mode And opening ~/.emacs (or any file that enables minimap by default) Results in the Messages buffer ...
cronulis's user avatar
1 vote
0 answers
251 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
107 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
93 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
  • 744
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