From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id mGcpLKZxeF98BwAA0tVLHw (envelope-from ) for ; Sat, 03 Oct 2020 12:42:14 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id uLIDKKZxeF95NQAA1q6Kng (envelope-from ) for ; Sat, 03 Oct 2020 12:42:14 +0000 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 2A4049404D1 for ; Sat, 3 Oct 2020 12:42:14 +0000 (UTC) Received: from localhost ([::1]:52524 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kOgrb-00012i-Nf for larch@yhetil.org; Sat, 03 Oct 2020 08:42:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34768) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kOgrS-00012b-27 for bug-guix@gnu.org; Sat, 03 Oct 2020 08:42:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59823) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kOgrR-0002oA-LX for bug-guix@gnu.org; Sat, 03 Oct 2020 08:42:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kOgrR-0001Aa-Iv for bug-guix@gnu.org; Sat, 03 Oct 2020 08:42:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#43243: emacs-elfeed-org, mapc: =?UTF-8?Q?Symbol=E2=80=99s?= function definition is void Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 03 Oct 2020 12:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43243 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Giovanni Biscuolo Received: via spool by 43243-submit@debbugs.gnu.org id=B43243.16017288694426 (code B ref 43243); Sat, 03 Oct 2020 12:42:01 +0000 Received: (at 43243) by debbugs.gnu.org; 3 Oct 2020 12:41:09 +0000 Received: from localhost ([127.0.0.1]:43135 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kOgqW-00019F-N4 for submit@debbugs.gnu.org; Sat, 03 Oct 2020 08:41:08 -0400 Received: from mail-wm1-f68.google.com ([209.85.128.68]:56046) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kOgqT-00018c-N3 for 43243@debbugs.gnu.org; Sat, 03 Oct 2020 08:41:04 -0400 Received: by mail-wm1-f68.google.com with SMTP id d4so4191592wmd.5 for <43243@debbugs.gnu.org>; Sat, 03 Oct 2020 05:41:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=lGdMjotIT1i6FVMriJBTgwzhBo72rPaKmTqpLWHD/c4=; b=dIoL9opbzcNUaz5FiHBAWcaBhW+9GzZETWmU4RQN6tl80kn4Ugihg5Da8Z5XKrU/LZ GTWLAWleDeXf9h/OD2hRZCV1VxZTY1BJ/hIJe4VnpPsTeTBcXhRoYqY7gOSNY78ieBH1 PkY8SYSDvm4Ys65hqaPiX0W41XNHUWjUBpPCb0IKAn1iHZ1GCtTJKlp5KVoNtn0Aktte CqQ1YuLM1tyWROYF2dXHrjc0iRKxR73hjm6uTmwvLDPBAgQVgghjD8sbipHUW7XfsZ3j LC/dqF4kIXCwbTQgNatAKZx4bh4RH3PD5TLx1n9DBO6M4bt4UAPJpigthXlPjwD7Vw6k PEVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=lGdMjotIT1i6FVMriJBTgwzhBo72rPaKmTqpLWHD/c4=; b=fpC9nyFrcomYFG6nGVwjDnPHfpiJ9jAp8l/EOjsA7/kuy5ihfq0eERU5eR8GKNqBdw +CeptIWMhPFw/MyEhjH9gA3bCqYm8UXmtXwy3xEVBchNQRSPFwvcnOk8NV+0EJWGRRE9 zzLnWK8s0yXfiu9MpSW+/3Frz/P0uSvIUGzxll7OBPzXS1yDGQ5VEYWTkUfjkTkDAviE f/LyPgVKqxtKvIDEC8xw1Mtuhnl6WzBnEB1b5oAdmNjr+b2+81w2oPF6L0T3IuJrzu6d UkTkxE3+F6KCaH+jIlXN4Pbna6soHLoRvdwb5IocZUW0uXIVnW5s2gqLyN7OuDEwH7VN RKEA== X-Gm-Message-State: AOAM532gpSpr9rWGygajOeXhXQg8m7ktul9qKN/uAm3gvGJ1/j/W0kI2 h4yh8K15d5Xoq4JuifjkbCNgcqnoZ04= X-Google-Smtp-Source: ABdhPJxlbPpbvVZoIy1tKq76C+9mBq6L/75cubaw5dNj5uOkfR/moAIXqPBPqq8En3ZDvOyhU9qOcA== X-Received: by 2002:a1c:f608:: with SMTP id w8mr7999631wmc.161.1601728855408; Sat, 03 Oct 2020 05:40:55 -0700 (PDT) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id h3sm5489118wrq.0.2020.10.03.05.40.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Oct 2020 05:40:54 -0700 (PDT) From: zimoun References: <877dt7vuc8.fsf@roquette.i-did-not-set--mail-host-address--so-tickle-me> <87k0x652pb.fsf@roquette.i-did-not-set--mail-host-address--so-tickle-me> <874knir44a.fsf@gmail.com> <87sgb25n66.fsf@roquette.i-did-not-set--mail-host-address--so-tickle-me> <877dscpud6.fsf@gmail.com> <87lfgs310x.fsf@roquette.i-did-not-set--mail-host-address--so-tickle-me> <86sgb0s6ys.fsf@gmail.com> <87sgawv6ur.fsf@roquette.i-did-not-set--mail-host-address--so-tickle-me> Date: Sat, 03 Oct 2020 14:40:51 +0200 In-Reply-To: <87sgawv6ur.fsf@roquette.i-did-not-set--mail-host-address--so-tickle-me> (Giovanni Biscuolo's message of "Fri, 02 Oct 2020 20:08:12 +0200") Message-ID: <86o8ljeb3g.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 43243@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=gmail.com header.s=20161025 header.b=dIoL9opb; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: 0.09 X-TUID: LQiuXVcWis3u Dear, On Fri, 02 Oct 2020 at 20:08, Giovanni Biscuolo wrote: > I'm not very good in the triage of this bug: after a lot of trial and > error I was almost sure I found a conflicting package (emacs-hl-todo, > required by emacs-magit-todos) BUT I was NOT able to reproduce the bug > in a pure environment [...] > In that environment's emacs session I get an init.el loading error, but > I'm able to eval-buffer this: That's because your init.el and guix.scm do not match. For example, you are using =E2=80=99use-package=E2=80=99 inside =E2=80=99init.el=E2=80=99 wi= thout installing it, I mean it does not appear neither inside =E2=80=99guix.scm=E2=80=99 =E2=80=93=E2= =80=93 I do not understand from where it comes from. Therefore, I am not sure about the option =E2=80=99= =E2=80=93pure=E2=80=99 but the option =E2=80=99=E2=80=93container=E2=80=99 should raise an error. = Do I miss something? > ;; -*- mode: emacs-lisp -*- > (unless (require 'guix-emacs nil 'noerror) > (package-initialize)) > (unless (require 'guix-emacs nil 'noerror) > ;; package archives > (when (>=3D emacs-major-version 24) > (require 'package) > (setq package-archives > '(("GNU_ELPA" . "https://elpa.gnu.org/packages/") > ("org" . "https://orgmode.org/elpa/") > ("MELPA_Stable" . "https://stable.melpa.org/packages/") > ("MELPA" . "https://melpa.org/packages/")) > package-archive-priorities > '(("GNU_ELPA" . 15) > ("org" . 10) > ("MELPA_Stable" . 5) > ("MELPA" . 0))))) >From my experience, I do not mix packages from Emacs archives and from Guix because it often leads to weirdness =E2=80=93=E2=80=93 unexpected beha= viour at least=E2=80=A6 Personally, I have removed the use of all the =E2=80=98pack= age.el=E2=80=99 functions and only use packages =E2=80=99emacs-*=E2=80=99 from Guix and the= n configure them using =E2=80=99with-eval-after-load=E2=80=99. > (unless (require 'guix-emacs nil 'noerror) > (use-package emojify >From where the package =E2=80=99use-package=E2=80=99 comes from? > :ensure t > :pin "GNU_ELPA")) If you use a manifest.scm file, why do you need =E2=80=99use-package=E2=80= =99 and ELPA. If =E2=80=99emojify=E2=80=99 is not in Guix, please try to submit a patch = =E2=80=93 using =E2=80=9Cguix import elpa=E2=80=9D helps. > (unless (require 'guix-emacs nil 'noerror) > (use-package tramp > :ensure t > :pin "GNU_ELPA")) Well, =E2=80=99use-package=E2=80=99 does lazy evaluations if I remember cor= rectly. So why do you explicitly =E2=80=99require=E2=80=99 it just after? > (require 'tramp) AFAIU, it should be better to do: (use-package tramp :ensure t :defer t :pin =E2=80=9CGNU_ELPA :init ;; eval at init time :config ;; eval at use time ;; your TRAMP config (setq tramp-remote-path =E2=80=A6) =E2=80=A6) or to add =E2=80=99emacs-tramp=E2=80=99 to your manifest.scm file and then = write: (with-eval-after-load =E2=80=99tramp ;; your TRAMP config (setq tramp-remote-path =E2=80=A6) =E2=80=A6) (Note I do not know about TRAMP, so maybe =E2=80=99tramp-remote-path=E2=80= =99 should be evaluated at init time and not at use time. Aside the fact that TRAMP is part of vanilla Emacs, AFAICT.) > (unless (require 'guix-emacs nil 'noerror) > (use-package org > :mode (("\\.org$" . org-mode)) > :ensure org-plus-contrib > :pin org)) [...] > (require 'org-id) > (require 'org-toc) > (require 'org-tempo) Because of this mess about evaluating order, I am not sure this is correct. Instead, you should write something like: (use-package org =E2=80=A6 :config (require 'org-tempo)) or instead the =E2=80=99(require 'org-tempo)=E2=80=99 in your init.el, some= thing like: (use-package org-tempo :ensure t :defer t :after org) >From my understanding, you are misusing =E2=80=99use-package=E2=80=99. Or = you could rewrite: (with-eval-after-load 'org (require 'org-tempo)) (And I am personally doing that.) Last, your starting time should be pretty long, right? Hum? IMHO, it could be really faster if you use =E2=80=99with-eval-after-load=E2=80=99 or =E2=80=99(use-package foo :defer t =E2=80=A6)=E2=80=99 and so enjoy the spe= edup by =E2=80=9Clazy=E2=80=9D evaluation. > ;; This file is automatically generated via init.org > ;; PLEASE do not edit this, edit init.org > (specifications->manifest > '("gs-fonts" > "font-dejavu" > "font-gnu-freefont" > "unicode-emoji" > "emacs" > "emacs-emojify" And you have =E2=80=99(use-package emojify :ensure t)=E2=80=99, it appears = to me a bad idea. And I am pretty sure that leads to issues. Choose if the packages come from ELPA&co _or_ Guix, IMHO. > )) I could have misread, but no =E2=80=99emacs-use-package=E2=80=99. Hope that helps, simon