emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: <tomas@tuxteam.de>
To: emacs-orgmode@gnu.org
Subject: Re: Error opening an .org file
Date: Thu, 27 Oct 2022 17:50:43 +0200	[thread overview]
Message-ID: <Y1qo00dxlEmokIEz@tuxteam.de> (raw)
In-Reply-To: <57802FBF-4F21-424D-9A29-F992B704DFAE@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1380 bytes --]

On Thu, Oct 27, 2022 at 05:11:32PM +0200, Renato Pontefice wrote:
> When I try to open a simple file in emacs, I receive this error
> 
> Warning (initialization): An error occurred while loading ‘/Users/renatopontefice/.emacs.d/init.el’:
> 
> Invalid read syntax: ), 1, 0

I don't understand: this error complains about 'init.el', does
not happen at start, but much later, when you try to open an
.org file?

> To ensure normal operation, you should investigate and remove the
> cause of the error in your initialization file.  Start Emacs with
> the ‘--debug-init’ option to view a complete error backtrace. Disable showing Disable logging

Have you tried starting Emacs with that option? What happens
then?

> So the prob is on my init.el file. What error it could be? 

We can only guess. Given our lack of information, our guesses
will be almost certainly wrong :-)

So give us a chance:

 - try starting Emacs with --debug-on-init, an possibly report
   results here
 - try bisecting the file: remove parts of it (always taking
   care of the syntax), see in which "half" the error occurs
 - post your init.el here (BE CAREFUL: please, double-check
   that it doesn't contain sensitive information: passwords,
   personal information, things your employer could consider
   to be trade secrets, that kind of stuff).

Cheers
-- 
t

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

  reply	other threads:[~2022-10-27 15:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-27 15:11 Error opening an .org file Renato Pontefice
2022-10-27 15:50 ` tomas [this message]
     [not found]   ` <624F24A1-CC82-45F5-8CB2-D9423A86E023@gmail.com>
     [not found]     ` <Y1qstDQckZLJR3eb@tuxteam.de>
2022-10-27 16:19       ` Renato Pontefice
2022-10-27 17:21         ` Juan Manuel Macías
2022-10-28  9:25           ` Tim Cross

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Y1qo00dxlEmokIEz@tuxteam.de \
    --to=tomas@tuxteam.de \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).