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: Byte-compilation warning in eldoc.el Date: Fri, 10 Jul 2020 16:31:18 +0100 Message-ID: <87v9ive69l.fsf@gmail.com> References: <83k0zbq2sd.fsf@gnu.org> <874kqfg7ju.fsf@gmail.com> 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="3233"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Jul 10 17:32:26 2020 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 1jtv0k-0000jw-60 for ged-emacs-devel@m.gmane-mx.org; Fri, 10 Jul 2020 17:32:26 +0200 Original-Received: from localhost ([::1]:37954 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jtv0j-0003Qg-6W for ged-emacs-devel@m.gmane-mx.org; Fri, 10 Jul 2020 11:32:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58742) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jtuzm-0002dE-Ey for emacs-devel@gnu.org; Fri, 10 Jul 2020 11:31:26 -0400 Original-Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]:37693) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jtuzk-0005q5-5A; Fri, 10 Jul 2020 11:31:26 -0400 Original-Received: by mail-wr1-x42a.google.com with SMTP id a6so6396150wrm.4; Fri, 10 Jul 2020 08:31:23 -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=emejE31Sc0aN/buvKT+ei73qK/lGJZ+wODUGMcPzrVY=; b=BuJafAxwzz1ySDlvmjIqMxF4HGtVYe++tbcv7dKK7e358YKh+mZOuuKUaJ7w5YMPJH cyx+Br+ufVbHVDOzkatozzZT7wtunslCoYKScRFG6F2oLtlaQ8CqtlI5DwYMiDnr4+TM xiE8ewlx9/dvCZaQMFxDv0dmO8DxDPjmNqmpTzWn3MYSutLS/N6CzjVEPD5lhPvW6aEf CdH3bUikKyMVqGfd3CVmHQvVYljBVEgWTEiGR96DGdLosWi4XAFWCoDNGwLhsDmz6YSQ Pu87Nmfa1ZcZPnS5G3qv/GvHC6wbGnEU241s1w9wtkoCDKhA9f2uuUQhN26p2Vo7ZkBn iAew== 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=emejE31Sc0aN/buvKT+ei73qK/lGJZ+wODUGMcPzrVY=; b=p3zHjLwsBGM25IeF06SC2jg6gVS94gUIFkLgNjYRY5g+h0x9DlDQKu9U84aV/d5JS0 sXM8SrlhC/8yhsDZqRXuMz3/Ilu5SRZd6MgCofHAYb4hkJsTXv+2hg7KpXZ220AAnKme RUkbZl8EyXh+V1/MHn0vTi8drqXEZWcqUh+v2DAf1WNEFJf2eKMA4RjhxfRtjhm2jjPD itx0jkltrk8axOTS1bhkoEIK03E7HcAyp7/xFlNZYLo+KcDIAjFhIanbwtdup3yBkd60 W7xqi15NrkdxoGaQcmDxZRZGh5WjXGvyK9ipHuLejkgGX4HCptC5pWfRTIOZjntCjexj 7gtQ== X-Gm-Message-State: AOAM531YHVrI7EKjWzxVgOyKAHxs3u3a2ZmDyfxCdW9k7PJsnd26n+sX +6tJZMer40t6oRYzzUwoqlQfA9kM X-Google-Smtp-Source: ABdhPJyjinE5SVOnqHjrRlvuqRgjO/8MCXB1pmjZFXJvYLsJDmFN/HAfAos0y74nO6rrY8xS79j+ZA== X-Received: by 2002:adf:e7c2:: with SMTP id e2mr73270878wrn.179.1594395081023; Fri, 10 Jul 2020 08:31:21 -0700 (PDT) Original-Received: from krug ([2001:818:d820:9500:824a:171:15a:2213]) by smtp.gmail.com with ESMTPSA id z25sm8956576wmk.28.2020.07.10.08.31.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Jul 2020 08:31:20 -0700 (PDT) In-Reply-To: (Stefan Monnier's message of "Fri, 10 Jul 2020 10:41:47 -0400") Received-SPF: pass client-ip=2a00:1450:4864:20::42a; envelope-from=joaotavora@gmail.com; helo=mail-wr1-x42a.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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, 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.23 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" Xref: news.gmane.io gmane.emacs.devel:252825 Archived-At: Stefan Monnier writes: >> Thanks, fixed. But curiously it doesn't. You can call it (and I always >> do call it) with one argument, as one does in CL. > > Technically, you can call it with one argument. > But in 99% of the cases it's a really bad idea. What's the difference to `intern'? or `intern-soft'? >> By the way, the only reason I had to do this (I rarely use this outside >> interactive contexts) > > Exactly: it might make sense occasionally while debugging, but is > usually an error in code. Not arguing but, like Drew, I wonder why. FWIW in Common Lisp, intern, unintern, find-symbol, etc all assume the "current package" as the thing to operate on. >> Separately, I also noticed that calling `package-install` for Eldoc in >> Emacs 26.3, will _not_ load eldoc, and neither will `require`. > > Not sure what you mean with the "_not_ load" part, but as for `require`, > it's normal because it's preloaded. Sorry, it means two different things: 1. when you `package-install` the new eldoc 1.2.0 package in Emacs 26.3 for the first time, it just compiles it, it doesn't load it. We had witnessed this with Flymake too, remember? 2. When you shut down that Emacs session, start it again, run package-initialize, you _still_ don't have the new eldoc.el file (1.2.0) loaded. This is only for eldoc.el, flymake.el works correctly in this use case. Jo=C3=A3o