From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#56407: 29.0.50; desktop.el shouldn't be saving/restoring eglot--managed-mode, which is not for interactive use Date: Wed, 6 Jul 2022 15:52:06 +0200 Message-ID: References: <87y1x7pd53.fsf@gmail.com> <83v8sb73ga.fsf@gnu.org> <87tu7vpc8y.fsf@gmail.com> <83tu7v6kjv.fsf@gnu.org> <83r12y7b0y.fsf@gnu.org> <83let676fe.fsf@gnu.org> <83h73u75bi.fsf@gnu.org> 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="20995"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Lars Ingebrigtsen , Eli Zaretskii , 56407@debbugs.gnu.org To: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jul 06 15:53:09 2022 Return-path: Envelope-to: geb-bug-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 1o95Sn-0005JK-K3 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 06 Jul 2022 15:53:09 +0200 Original-Received: from localhost ([::1]:59648 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o95Sm-0003sk-GR for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 06 Jul 2022 09:53:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33420) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o95Sf-0003sc-U6 for bug-gnu-emacs@gnu.org; Wed, 06 Jul 2022 09:53:01 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59008) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o95Sf-00051D-Kx for bug-gnu-emacs@gnu.org; Wed, 06 Jul 2022 09:53:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o95Sf-0004qN-J6 for bug-gnu-emacs@gnu.org; Wed, 06 Jul 2022 09:53:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 06 Jul 2022 13:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56407 X-GNU-PR-Package: emacs Original-Received: via spool by 56407-submit@debbugs.gnu.org id=B56407.165711554618568 (code B ref 56407); Wed, 06 Jul 2022 13:53:01 +0000 Original-Received: (at 56407) by debbugs.gnu.org; 6 Jul 2022 13:52:26 +0000 Original-Received: from localhost ([127.0.0.1]:52905 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o95S6-0004pQ-2U for submit@debbugs.gnu.org; Wed, 06 Jul 2022 09:52:26 -0400 Original-Received: from mail-pg1-f175.google.com ([209.85.215.175]:38623) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o95S4-0004pB-L7 for 56407@debbugs.gnu.org; Wed, 06 Jul 2022 09:52:24 -0400 Original-Received: by mail-pg1-f175.google.com with SMTP id e132so14079573pgc.5 for <56407@debbugs.gnu.org>; Wed, 06 Jul 2022 06:52:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=gALJGmYO1JZqbMHpEm8wf2g45u0tXb9KqPrwP5ASe38=; b=PCRsC4VszV0dcnP1lJJxww4UYHLnn6nSLzbNBCU/3/AsDAhRfI6BKT79ybda0V/IxB DRvfX8/eJGeKw18u1jCp6fNi+DU1M8aDVznnYAqDF8rE4eXgkS8ep5vAwKHHt2eURxJW lb8nD9mzmX3/lxSA839WhbC307INUK0bhp3U7EXugjfiVuCadvf2vO+sf2XmgyNlcTAx Zl6xr+J0ekIPu+rkHRRSRVms3nkpN8qUgw4dpVR2E1own4D9snWN5wqtomtbEfsbPcJr 0LT8u6xkSHCEnvNNKPbVkm1NrGVKd9wjQE+nUd99HMN0+LKfhF+emI28+snzFaERIXq7 L0OA== X-Gm-Message-State: AJIora/twoLQwkGwXg067JbFX2daWG30eSzKkvoW4ThnEqhhqMJve87t IVO0EsE2RiMkpXQF5P3r+utb7Rj2ohldaccUx30= X-Google-Smtp-Source: AGRyM1s6iq67Pw6xLWnRl3eL6NxxsPlwBwLZ4VtM7vGuJ3xl2gpxgv1+86nJGA5YzwUDBGepNv/T310b8VEajcaZpdo= X-Received: by 2002:a63:2254:0:b0:40d:d291:7710 with SMTP id t20-20020a632254000000b0040dd2917710mr34099720pgm.269.1657115538894; Wed, 06 Jul 2022 06:52:18 -0700 (PDT) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:236247 Archived-At: Jo=C3=A3o T=C3=A1vora writes: >> See the last paragraph in (info "(elisp) Hooks for Loading") > > Don't hold me in suspense! :-) what does it say vis-a-vis use in librarie= s? Normally, well-designed Lisp programs should not use =E2=80=98with-eval-after-load=E2=80=99. If you need to examine and set the= variables defined in another library (those meant for outside use), you can do it immediately=E2=80=94there is no need to wait until the library is loaded. = If you need to call functions defined by that library, you should load the library, preferably with =E2=80=98require=E2=80=99 (*note Named Features::)= .