From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 6FMINEBuXWM8vwAAbAwnHQ (envelope-from ) for ; Sat, 29 Oct 2022 20:17:36 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id SG/sM0BuXWPBeQEA9RJhRA (envelope-from ) for ; Sat, 29 Oct 2022 20:17:36 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id BD3C63988D for ; Sat, 29 Oct 2022 20:17:35 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ooqNr-0007sX-81; Sat, 29 Oct 2022 14:16:39 -0400 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 1ooqNq-0007r8-A8 for emacs-orgmode@gnu.org; Sat, 29 Oct 2022 14:16:38 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ooqNo-00063u-9p for emacs-orgmode@gnu.org; Sat, 29 Oct 2022 14:16:38 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id B8A10240101 for ; Sat, 29 Oct 2022 20:16:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1667067393; bh=l48qMgIRoNNocGSdUC39+Y3hEiftrR2cLBpGCpRyDCI=; h=From:To:Cc:Subject:Date:From; b=LnPS7e01aPtXuZNl71bLxlUHSJm51xUMl4LohMqBUShqfZ23G/zxhtkGbeWDTN02s A68GqE8ODM+QFYKJsnaUaAxs6o+Hbdps5i6be4ABaGE1o0PIgCIG+fzUVQIVqxjDWg K1FqPIsFRxFsFmIob1rz36i5z3+Oe61KlOpbXK1AK1CsJrwyMzdm9PzHco7WnYjEdE SkxoBXMt5Dr4kVbZYNqTB8tYULHrX+izMVqnplKzlyXB3DtApaKYW7r0ZVCt7OdbHV mV7heLnu7ObOi4BqBaSFbHU88aYvM4FuSIlIMAe9ZtSi/CDSHLhOgr3PxE0ixq5oX7 mKliOwywMmyqA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4N070K03Xkz9rxF; Sat, 29 Oct 2022 20:16:32 +0200 (CEST) From: =?utf-8?Q?Juan_Manuel_Mac=C3=ADas?= To: Renato Pontefice Cc: emacs-orgmode@gnu.org Subject: Re: Position 972 References: <105D7533-F7E7-4779-B113-E231058D0648@gmail.com> Date: Sat, 29 Oct 2022 18:16:30 +0000 In-Reply-To: <105D7533-F7E7-4779-B113-E231058D0648@gmail.com> (Renato Pontefice's message of "Sat, 29 Oct 2022 18:29:28 +0200") Message-ID: <875yg28phd.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.66; envelope-from=maciaschain@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, 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: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Emacs-orgmode" Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-TUID: CFwzY8v6XJ41 Renato Pontefice writes: > Bruno, > With the common you told me I reach che 972 /M-g c 972) and I found this: > > ;;;;;;Org mode configuration > Enable Org mode > (require =E2=80=98org) > > Could be this the error? > > Now I=E2=80=99ve erased the two ;; save init.el and restart emacs, but no= w I obtain: > ------------------------------------------------------------- > Warning (initialization): An error occurred while loading =E2=80=98/Users= /renatopontefice/.emacs.d/init.el=E2=80=99: > > Symbol's value as variable is void: Enable > > To ensure normal operation, you should investigate and remove the > cause of the error in your initialization file. Start Emacs with > the =E2=80=98--debug-init=E2=80=99 option to view a complete error backtr= ace. Disable showing Disable logging > =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94= =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2= =80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80= =94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94 > > What=E2=80=99s now=E2=80=A6 Renato, adding to what Tomas and Bruno have explained to you very well, you have another case in the init that you sent me by mail. Notice the third line here: ------------------ ;; Make Org mode work with files ending in .org (add-to-list 'auto-mode-alist '("\\.org$" . org-mode)) The above is the default in recent emacsen (require 'org) (setq org-log-done t) ------------------ Emacs will understand The line that begins "The above is the..." as code, and it is not code but a comment to the code. Therefore, you must protect that line with an escape character, which in Elisp is (at least) one ";" (as Tomas explained to you): ;; Make Org mode work with files ending in .org (add-to-list 'auto-mode-alist '("\\.org$" . org-mode)) ;; The above is the default in recent emacsen (require 'org) (setq org-log-done t) And you also have another case, towards the end: --------------------- (custom-set-variables ;;custom-set-variables was added by Custom. ;;If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. ;; '(package-selected-packages '(org-contacts frame-tabs ebdb))) ::(custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. ;;) -------------------- The first line (custom-set-variables) is the beginning of a code that is commented out (=3D protected, so that Emacs doesn't read it). This line should also be commented out (protected), with ;. Otherwise Emacs will run into a code that starts but doesn't have a resolution. If you fix that and the line that starts with "Enable", you should no longer have errors in your init. Best regards, Juan Manuel=20