Questions tagged [error]
The error tag has no usage guidance.
44
questions
0
votes
1
answer
7
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)) "...
0
votes
0
answers
11
views
Wrong number of arguments: ((t) nil "Remove fringes in treemacs window."
I'm using treemacs as the file browser for my emacs. I've enabled kaolin-treemacs-theme for treemacs.
(use-package kaolin-themes
:config
(load-theme 'kaolin-dark t)
(kaolin-treemacs-theme))
My ...
4
votes
1
answer
43
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 (/...
0
votes
1
answer
15
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
...
0
votes
1
answer
27
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 ...
0
votes
0
answers
38
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 ()
"...
0
votes
0
answers
19
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 ...
0
votes
1
answer
27
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
55
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
43
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
73
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
30
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-...
1
vote
0
answers
14
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-...
0
votes
2
answers
38
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
292
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) ...
0
votes
0
answers
30
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
39
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
58
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:
...
1
vote
0
answers
166
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
1
answer
379
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 (...
0
votes
2
answers
66
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 ...
0
votes
0
answers
31
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
75
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
77
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
29
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" "...
1
vote
1
answer
826
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
195
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
35
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
172
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 ‘/...
0
votes
0
answers
75
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
15
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-...
0
votes
1
answer
203
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
22
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 ...
1
vote
1
answer
109
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-...
0
votes
1
answer
109
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
303
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
790
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
257
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[...
0
votes
1
answer
76
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. ...
1
vote
1
answer
368
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)). ...
0
votes
0
answers
105
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 ...
0
votes
1
answer
472
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 ...