Questions tagged [error]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
18 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 ...
  • 83
0 votes
1 answer
20 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-...
0 votes
0 answers
31 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.
0 votes
1 answer
37 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 ...
1 vote
1 answer
55 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 ...
2 votes
1 answer
28 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-...
0 votes
0 answers
8 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-...
  • 123
0 votes
2 answers
36 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 &...
1 vote
1 answer
215 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) ...
  • 1,431
0 votes
0 answers
27 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 ...
0 votes
1 answer
35 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 ...
0 votes
1 answer
46 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: ...
0 votes
0 answers
98 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....
0 votes
0 answers
259 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 (...
  • 117
0 votes
2 answers
55 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 *...
0 votes
0 answers
19 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 ...
  • 479
0 votes
0 answers
28 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 ...
1 vote
0 answers
62 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 ...
1 vote
1 answer
70 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 ...
0 votes
1 answer
26 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" "...
  • 671
1 vote
1 answer
651 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 ...
1 vote
1 answer
172 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: ...
0 votes
1 answer
32 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.
0 votes
2 answers
149 views

Tools for locating and debugging errors

I am getting the following error, but am finding it difficult to locate the problem. Are there any tools for debugging in such instances? Warning (initialization): An error occurred while loading ‘/...
  • 179
0 votes
0 answers
74 views

emacsclient closes immediately on "*ERROR*: Beginning of buffer"

I have an app where I call emacsclient to do some editing on an org file. When it calls it, the frame flashes for an instant, then closes immediately. On stderr, I get the following message: *ERROR*:...
0 votes
0 answers
14 views

Error in dired-find-file-place when saving

I've been an Emacs user for 30 years. This week I'm switching to a new machine with Ubuntu 21.10 installed. Now when I save a file, it always errors out with the error message: "Error in dired-...
  • 101
0 votes
1 answer
178 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 :...
0 votes
0 answers
21 views

How to get more specific error message when loading major mode with syntax errors

When I load my custom major mode, Emacs reports an error in the minibuffer about unescaped character literals, but it doesn't say where. I cannot even copy the error message here, since it disappears ...
  • 13
1 vote
1 answer
104 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-...
  • 1,114
0 votes
1 answer
102 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 ....
0 votes
0 answers
274 views

Scan error: "Unbalanced parentheses" in fresh emacs installations, without config files

When I start emacs and run M-x up-list in the initial buffer (the about Emacs buffer, in fundamental mode) I get Scan error: "Unbalanced parentheses". If I move the mark to the end of the ...
1 vote
1 answer
723 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(...
0 votes
1 answer
239 views

Emacs -q error "Failed to initialize color list unarchiver"

When I run emacs -q I got the following error (on Mac OS) although emacs window still pops up. Any idea? % /Applications/Emacs.app/Contents/MacOS/Emacs -q 2021-05-10 22:44:57.297 Emacs-x86_64-10_14[...
  • 163
0 votes
1 answer
74 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" "...
0 votes
0 answers
20 views

Odd graphics issue on Kubuntu

Since moving to Kubuntu 20.04 I have been getting this strange visual tearing in emacs (running in its own window). I find that as I move the point along the line with the tearing, it is corrected. ...
  • 101
1 vote
1 answer
358 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)). ...
  • 620
0 votes
0 answers
94 views

Error and warning highlighting

I use Emacs to write LISP and Python code. I have tried NetBeans and Eclipse before, which had the advantage of parsing the buffer and highlighting problems, e.g. if one function or symbol is not ...
  • 1,621
0 votes
1 answer
449 views

Error running timer (wrong-number-of-arguments equals 3)

I am trying to automatically change my Emacs theme according to time set (Thanks to answer provided by Dan). My code looks like this: (setq emacs-curr-theme nil) (setq emacs-light-theme 'faff) (setq ...