From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= Newsgroups: gmane.emacs.devel Subject: Re: cl-lib warnings Date: Tue, 27 Dec 2022 00:05:58 +0000 Message-ID: References: <83wn6kamwr.fsf@gnu.org> <83len0aldq.fsf@gnu.org> <20221226031314.lhwwazpjdq257k4j@Azure-Swing.local> <20221226234853.cj4sskzta46dvpbx@Azure-Swing> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000fb248705f0c404b4" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36991"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Milan Glacier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Dec 27 01:07:11 2022 Return-path: Envelope-to: ged-emacs-devel@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 1p9xUs-0009RL-9d for ged-emacs-devel@m.gmane-mx.org; Tue, 27 Dec 2022 01:07:10 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p9xU1-0008Hw-Fu; Mon, 26 Dec 2022 19:06:17 -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 1p9xTz-0008Hk-Ec for emacs-devel@gnu.org; Mon, 26 Dec 2022 19:06:15 -0500 Original-Received: from mail-oi1-x22b.google.com ([2607:f8b0:4864:20::22b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p9xTx-0002f1-7G for emacs-devel@gnu.org; Mon, 26 Dec 2022 19:06:15 -0500 Original-Received: by mail-oi1-x22b.google.com with SMTP id s186so11264408oia.5 for ; Mon, 26 Dec 2022 16:06:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=Qufhpiomy+JAUjuCU5JmA7hlHNovf9V2MgYTGDbrjD8=; b=NVBKxbNvkBrgTbdQeVXydKZ4nPDzbLkn15U/0iSwMxIg9kzHtdU7fkeySi2/HI8jxL NF1+xMLErj7j9isGDR9/Dnrz+G0kkHppllaL9j6CxhwZufZv8IOr7Aw+uJqZTT7Y2L4+ ptujF8RE1/Pvn3za5aFo+tB+EMUaLRn8F3L4y1hJfpNny2KpUhk61HKe4bi12u+Kw5wH tF4feCeLtrRJTS8tnhhKqgOfqsHhc6WENa+LeXQyvtX4b8yaivOZYKseXvgcgKn9vkXM blr2wdw9M2WA6fwAjuRG1LDcYAiF+MulFOqDdtr0a3vi1BJpIYu8Z2vgH5oYUYKL6PYA goDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Qufhpiomy+JAUjuCU5JmA7hlHNovf9V2MgYTGDbrjD8=; b=NN+aciuuYBMmP1ASzk7T5YB5HsW8ZTjzLY5SFbi+nnWsY0jVVvyeMFf/m1mZgWPjx8 M9FolWj9WbFheOsqYULl/D7JqDiebrJgd54+8DTbGxnQifcP7UVdMTrae/GDbxtnEiEj ktEgMadeZweFVn6GyUSTYyxUsA1jfgys42kHdS5LeW/vIEO3l4vNXpvgr7Mtz61IMQiO MmoqC06x2LeGMkN5Mjv9vI7u9qDtwW4XucYxKMOYT8ZndUr2YOqch0iOYGzLUCx9NopQ myjCMdIfqiDiRZIklf7CKLOsxgyP/yPZw6R7LpsMRVsqvcx5YZLyPkwnwtn7keiAx7Ta PTAw== X-Gm-Message-State: AFqh2krb2ilAxrCZrnevtr/tM4cPDRy72elC6sqJI9ZZedZ/Cnl9GL1h 63EWWLtFe00QzXdZD+7DoXi7+QN287lsAaUKuNj5cnYS X-Google-Smtp-Source: AMrXdXvuKbZ5Lpco0tK5ysDgg72WUVCcp3k3MiRPjQ0xOVisGsL4TYDhUdErYQpFU2+GWcBgM9lSc/u4ggZPUg6mpzM= X-Received: by 2002:a05:6808:bc3:b0:35e:4a14:8182 with SMTP id o3-20020a0568080bc300b0035e4a148182mr845364oik.171.1672099571375; Mon, 26 Dec 2022 16:06:11 -0800 (PST) In-Reply-To: <20221226234853.cj4sskzta46dvpbx@Azure-Swing> Received-SPF: pass client-ip=2607:f8b0:4864:20::22b; envelope-from=joaotavora@gmail.com; helo=mail-oi1-x22b.google.com 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:301948 Archived-At: --000000000000fb248705f0c404b4 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Dec 26, 2022 at 11:49 PM Milan Glacier wrote: > > >I'm afraid mode options will make this even more > >complicated. And what's with that defvar? > > use-package is really a magic. But nobody uses a blank `(use-package > foo)`, usually a simple and pracctical use-package call would be > something like this: > > (use-package foo > :config (setq foo-1 nil) > :init (setq foo-2 nil) > :hook ((python-mode emacs-lisp-mode) . foo-mode)) > > which specifies the code to be evaluated before foo is loaded (:init > part), the code to be evaluated after foo is loaded (:config part), and > the hook related to this package, which expands to: > My expansion of that same form is larger and harder to read, with condition-case and variables and stuff. But it would seem that the fluff overhead is constant, which is good. So I get your point: with enough practice, it's easy to see the primitives in use. > (I personally am not a fan of use-package, I don't think it brings any > thing new. Often I need to expand it to see if its behavior is expected, > then why shouldn't I just write plain setq, add-hook stuffs directly?) > Exactly. Jo=C3=A3o --000000000000fb248705f0c404b4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Mon, Dec 26, 2022 at 11:49 PM Milan Gl= acier <news@milanglacier.com> wrote:

Exactly.

Jo=C3=A3o


--000000000000fb248705f0c404b4--