[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: pandoc-mode /Asciidoc
From: |
Gottfried |
Subject: |
Re: pandoc-mode /Asciidoc |
Date: |
Sun, 26 Feb 2023 10:31:47 +0000 |
Hi,
Yes you were right
This error means emacs cannot find the "add-to-path" function. Maybe
you want "add-to-list"?
Now I get an other error message and I don’t know why.
Debugger entered--Lisp error: (file-missing "Cannot open load file" "Datei oder Verzeichnis
nicht gefunden" "asciidoc.el")
load("asciidoc.el")
load-with-code-conversion("/home/gfp/.config/emacs/init.el"
"/home/gfp/.config/emacs/init.el" t t)
load("/home/gfp/.config/emacs/init" noerror nomessage)
startup--load-user-init-file(#f(compiled-function () #<bytecode
0x1bd9a952b2a41bee>) #f(compiled-function () #<bytecode 0x4d12c0e0e44348b>) t)
command-line()
normal-top-level()
I put the file: "asciidoc.el" in my direcory:
/home/gfp/.config/emacs/Zusatzpakete/selbstinstalliert/Asciidoc/
and in my init.el file it looks like this:
(load "asciidoc.el")
(add-to-list 'load-path
"/home/gfp/.config/emacs/Zusatzpakete/selbstinstalliert/Asciidoc/")
So, where is my mistake?
Why emacs can’t find my file?
Second question
If there is already an error showing up in the backtrace buffer
can I test an other expression in the scratch buffer with hitting C-j?
It seems to me that the first backtrace blocks everything
and I have to get right this one.
How can I get rid of the first backtrace to check other expressions?
Kind regards
Gottfried
Am 26.02.23 um 02:36 schrieb David Masterson:
Gottfried <gottfried@posteo.de> writes:
Hi,
thank you very much for helping me.
------------------------------------------------------
I did all of that you proposed.
--------------------------------------------------------
and I can open the markdown-mode
--------------------------------------------------------
but
I get this message in opening emacs:
Debugger entered--Lisp error: (void-function add-to-path)
This error means emacs cannot find the "add-to-path" function. Maybe
you want "add-to-list"?
You can (sort of) test an Elisp expression (ie. something surrounded by
parenthesis) by putting it in the *scratch* buffer (see C-x C-b) and
hitting C-j after the last close paren. If it works, copy it to your
init file and restart Emacs.
--
OpenPGP_0x61FAF349C9FB7F94.asc
Description: OpenPGP public key
OpenPGP_signature
Description: OpenPGP digital signature
- pandoc-mode, Gottfried, 2023/02/13
- Re: pandoc-mode, Jean Louis, 2023/02/13
- Re: pandoc-mode /Asciidoc, Gottfried, 2023/02/22
- Re: pandoc-mode /Asciidoc, Jean Louis, 2023/02/23
- Re: pandoc-mode /Asciidoc, Jean Louis, 2023/02/23
- Re: pandoc-mode /Asciidoc, Gottfried, 2023/02/23
- Re: pandoc-mode /Asciidoc, Jean Louis, 2023/02/23
- Re: pandoc-mode /Asciidoc, Jean Louis, 2023/02/23
- Re: pandoc-mode /Asciidoc, Gottfried, 2023/02/25
- Re: pandoc-mode /Asciidoc, David Masterson, 2023/02/25
- Re: pandoc-mode /Asciidoc,
Gottfried <=
- Re: pandoc-mode /Asciidoc, Stephen Berman, 2023/02/26
- Re: pandoc-mode /Asciidoc, Gottfried, 2023/02/26
- Re: pandoc-mode /Asciidoc, Jean Louis, 2023/02/26
- Re: pandoc-mode /Asciidoc, Gottfried, 2023/02/27
- Re: pandoc-mode /Asciidoc, David Masterson, 2023/02/28
Re: pandoc-mode, Bruno Barbier, 2023/02/14