From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.help Subject: Re: pandoc-mode /Asciidoc Date: Sun, 26 Feb 2023 11:53:02 +0100 Message-ID: <877cw4r94h.fsf@gmx.net> References: <7e1cf128-6006-2995-6f71-06fa307ba655@posteo.de> <8ae47be3-a333-4b7b-bf0d-82e7a53f77cf@posteo.de> <049a286c-9f76-0b98-3234-a11e345c4a28@posteo.de> <291efab1-2d10-5d42-8439-41cea8acd3cb@posteo.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35202"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: David Masterson , Jean Louis , "help-gnu-emacs@gnu.org" To: Gottfried Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Feb 26 11:54:27 2023 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pWEfi-00091z-LI for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 26 Feb 2023 11:54:26 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pWEf4-0000bg-9T; Sun, 26 Feb 2023 05:53:46 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pWEf2-0000bT-LF for help-gnu-emacs@gnu.org; Sun, 26 Feb 2023 05:53:44 -0500 Original-Received: from mout.gmx.net ([212.227.17.20]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pWEf1-0008Jp-1N for help-gnu-emacs@gnu.org; Sun, 26 Feb 2023 05:53:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=s31663417; t=1677408786; i=stephen.berman@gmx.net; bh=f3BhwrZ9Dvet5Q3XKtNgU6D0o2bCgOLwPnoQ1tbBkiI=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=ckTNdLUBfKI0qMgOIykdwPBZ3nbJOsA8hdMl/FkDZPCKbXFq6tfU4cnpcDbazDrko 2fxjipFgeXwKLBWkEN5bBNTR777ujvUDL0ZD9YikuEoxgJjmB1CtrakNKoHND/Okxz YYHrBVoWZRahNkihhCJ7G3/LFq7hw2e3xnNHGdKV3e3aUlu1ckDhWWJ49tFKfgSryo HON+DfxFtTR4LRu/ckcqVzVyGSY2bHv0gRF5OnOGnA4W6GSxMie2MB5x7m6mj34WOk z9pWsntvW9R8pHbJvS6R5U435+Q4uv4OcNsYj3Rm7zV+4HUrhAZpdAIOIl6cTUG0Vi ap0bR5mXkMtSA== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from strobelfs ([89.246.38.241]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MORAU-1p8dG33cac-00PsqG; Sun, 26 Feb 2023 11:53:05 +0100 In-Reply-To: <291efab1-2d10-5d42-8439-41cea8acd3cb@posteo.de> (gottfried@posteo.de's message of "Sun, 26 Feb 2023 10:31:47 +0000") X-Provags-ID: V03:K1:SG1NCAq2N2uJ7E93aQVbFwxQijH/8fkNkoKuXTbnAxJYGtq4bee Y7FrKDCjZbyL7ap8YgUgJbZY+GZTes/zJi4E5W7e/8QWpsMgAMM1EudvSK2pi+OinkpwSsi yRrU75SlBuWpssgfYwKcUQKJBM9mFQhGopSTODrpCp3FyxZu8aRgqPU1QmBPRbQ18v+vNj3 qDpZdDsZ+zWw2xdRTc6Mg== UI-OutboundReport: notjunk:1;M01:P0:ANWb0rqtb8c=;oodNUgRWyGAbCDrv2VBKUpQ29iV n3U+mHg69JX+VEOPiqfCjcikUiPK/YOezeArqS7ZSvg31tQzlwI/VOeqYe1h6+y2rxUdPeXci eJzEnZtzMoTVO0vyLl4Yqa0mjjR+clggl36Afx+AzIYNmEZiwsK3m/X6aXPvhAeG5vKna1LYA RrsdI9MqO4r0wyfO1OJKTpbYEjv/Rbdi2zj0aoGyrJq8OidFZakXi3JyZw5uzPtMwuWtudIbY C5IEzN9N/hhojd/PWN0wsZ0IXxDcrrnOg7hPIhmRN3pYx4ISnJp0BbQqJkLCLp7/WE2cV4bp/ QMt3wvNs81GEC+E3VcAHqaz20wGuSqJJpkDrzmWOXs/MaEkqJ7pqILAv9BsQtIG1EvcYeCZJU z3yeHcR+rpfqCwCjoST22ByPJc6pZyF32H0UPQnwKA+ieGFmEHrOfovRAlC0iM3wN83bqcrqM 8F3mOx0sjN6yn3riykdAuMyiYjSbzIfFJhN2rTO01UgHYYlyklEPzX4R88eTYGHDF6ySYDR/U daCXahAxOos5/uuLyi32PF2IZ0EWnGrcRsOxQIFGfX+eg04rTnZNRrITrK0RhyZVBn/kFA4iN l7FYMkjl/uPLSA9wBBnCRsPYCyW1gJMo+xuWpDMt/rmxOU51OyikVLbT8it96RYobf/rMzsze esQG6JZaNuv8YwMpyWvXk1RSX0ii+l4uzOrpowPgyQ1prIkufl5TQFA/6iACAjiSyAuEtnbmc UxyBsMFAVPxfpNVl0tgZImpmX1Xfyfy7NBK566CAaHpTbP9YoWed3tla74cInKzUo8dddjri Received-SPF: pass client-ip=212.227.17.20; envelope-from=stephen.berman@gmx.net; helo=mout.gmx.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:142846 Archived-At: On Sun, 26 Feb 2023 10:31:47 +0000 Gottfried wrote: > 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=E2=80=99t know why. > >> Debugger entered--Lisp error: (file-missing "Cannot open load file" "Dat= ei >> 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 () #> 0x1bd9a952b2a41bee>) #f(compiled-function () #) >> 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=E2=80=99t find my file? Lisp expresssions in a buffer are evaluated sequentially, and load-path has to include the directory before you try to load a file in in it, so the order must be this: (add-to-list 'load-path "/home/gfp/.config/emacs/Zusatzpakete/selbstinstalliert/Asciid= oc/") (load "asciidoc.el") > 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? That should be possible. > It seems to me that the first backtrace blocks everything > and I have to get right this one. The backtrace shouldn't block executing unrelated code. > How can I get rid of the first backtrace to check other expressions? Type `q' in the backtrace buffer. Steve Berman