I use emacs in -nw mode on a computer cluster, and was using Emacs v25. I asked my sys admin to install a newer version (27 or higher) because global-display-line-numbers-mode
was apparently not supported before version 27.
My sys admin then apparently installed Emacs v28.1 through conda
Since then, whenever I start up emacs I get the following error message in *Messages*
Wrong type argument: filenamep, "/scratch2/software/anaconda/envs/emacs/share/info^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^\
@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@\
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@/" [24 times]
The error message does not appear when invoking -Q nw
or -q nw
What does this mean??
The computer cluster OS: Ubuntu 18.04 LTS
emacs -Q -nw
? If not, do you see it withemacs -q -nw
? If the answers are no and yes, respectively, then contact the person who installed Emacs and defined the site-wide files. See the Emacs manual, node Initial Options.^@
is probably a null byte. My first guess would be that there's a corrupted file behind that, because that string value is all kinds of wrong.emacs path/to/some/file
. But I just tested just opening emacs without opening a file at the same time, and then it gives me that error as well. When I then open a file viaC-x C-f
it doesn't return any errors. So it is just when opening emacs! I've adjusted the opening post-Q -nw
and I also do not see it with-q -nw
. So I'm guessing it must be related with loading~/.emacs.d/init.el
?-q
so it sounds like those aren't the issue). You could try renaming your.emacs.d
directory, and/or settingpackage-enable-at-startup
to nil inearly-init.el