From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs Subject: bug#19603: 24.4.51; Improve emacs startup message. Date: Sat, 17 Feb 2018 09:25:34 -0500 Message-ID: <877erb7kwx.fsf@gmail.com> References: <87bnm0zhrl.fsf@gmail.com> <87a91khx1c.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1518877463 22730 195.159.176.226 (17 Feb 2018 14:24:23 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 17 Feb 2018 14:24:23 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) Cc: 19603@debbugs.gnu.org, Stefan Monnier To: Thierry Volpiatto Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 17 15:24:19 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1en3PO-0004zA-9J for geb-bug-gnu-emacs@m.gmane.org; Sat, 17 Feb 2018 15:24:10 +0100 Original-Received: from localhost ([::1]:55240 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1en3RO-00018m-N9 for geb-bug-gnu-emacs@m.gmane.org; Sat, 17 Feb 2018 09:26:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50530) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1en3RG-00017P-4o for bug-gnu-emacs@gnu.org; Sat, 17 Feb 2018 09:26:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1en3RC-0004RY-V8 for bug-gnu-emacs@gnu.org; Sat, 17 Feb 2018 09:26:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:39765) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1en3RC-0004RN-RK for bug-gnu-emacs@gnu.org; Sat, 17 Feb 2018 09:26:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1en3RC-00012n-Lt for bug-gnu-emacs@gnu.org; Sat, 17 Feb 2018 09:26:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 17 Feb 2018 14:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19603 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 19603-submit@debbugs.gnu.org id=B19603.15188775463986 (code B ref 19603); Sat, 17 Feb 2018 14:26:02 +0000 Original-Received: (at 19603) by debbugs.gnu.org; 17 Feb 2018 14:25:46 +0000 Original-Received: from localhost ([127.0.0.1]:47662 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1en3Qw-000129-6z for submit@debbugs.gnu.org; Sat, 17 Feb 2018 09:25:46 -0500 Original-Received: from mail-io0-f169.google.com ([209.85.223.169]:34776) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1en3Qs-00011q-Pj; Sat, 17 Feb 2018 09:25:43 -0500 Original-Received: by mail-io0-f169.google.com with SMTP id e7so7036238ioj.1; Sat, 17 Feb 2018 06:25:42 -0800 (PST) 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; bh=FbmwFYIZcwC0peTz8dHhrE6UAiwGxo07abVibZCvwLY=; b=g4pBMretuN7CjRSyM+fMXSUlpnO/AQhJryy38b7C4zn4JDDKpUG2cHkir/ZZy19tBw Xv4WQ71uaYTN8BZMLqxs0cQ6KwnODKVK1BkAcDBFg+dXOZY2bPO1SpqGuo1aNOs2T9A7 c9v7GwEMnwmpXDsOPEIKDwvusx39Gf6ZA+4phpUkwpiIZzcIyMnPOzylJIkj3NSFSMJ8 oAYe1AK2AjjP3B5J6TDfN5hFN49IK4RAgVR3wUZ4VWIhVYIz86xFwrcgQHeMd/UZThrj IMHshg976joQvbiHf7B8R856aS/PoAdKgxRp3PGp99YTB8G1p4GFdQ67FRq6XRSHq0rU ca1A== 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; bh=FbmwFYIZcwC0peTz8dHhrE6UAiwGxo07abVibZCvwLY=; b=nQ5X2btROmd1GG3VY0gvzjtRIJGARt3HAuB7luja6+YVxPcOIrpXM5QUjQ/6pfCoE4 u6RsDE3fNprnC+zF+gjqhVQ7z+XEVkzMwPrh/LmBhGYeCRfMIaq2XtFuXVegU6sPKaTE Ny7zYtU4z/Ecmz4F2CpwejcpFDXFlxDHoK48fPdo9birjvoHlf5encopAI6fzN6B7v5j aweIW4NQx2/xn8lnBPayrDv07dJ30YKIW/M7pbepxz1k+4wT8p0/aOwwOPjMzVapWqpV ln7UHLd2uPNDsiCs9f2N2WRUvnwitt0Y/AvxAv6pXlKQVglFis5mjEoOoSO4TTIQk96J tvYw== X-Gm-Message-State: APf1xPDsgUCB+49ReQyxi65f4PmqB7HclLhsqSEhLkXF47lIGABbNZfs Dz+j/YdJAj3bGbKuEEO0R3Ebew== X-Google-Smtp-Source: AH8x226S68mRMcglwYUiMtsStCyvaPlzN3/M+BaamuvhicFwQk5nT9YWRUwhkR/11ePMRkxI0JUIfw== X-Received: by 10.107.13.15 with SMTP id 15mr12364110ion.35.1518877536973; Sat, 17 Feb 2018 06:25:36 -0800 (PST) Original-Received: from zebian (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.googlemail.com with ESMTPSA id f5sm5917211iof.13.2018.02.17.06.25.35 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 17 Feb 2018 06:25:36 -0800 (PST) In-Reply-To: <87a91khx1c.fsf@gmail.com> (Thierry Volpiatto's message of "Thu, 15 Jan 2015 16:40:47 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:143380 Archived-At: close 19603 quit Thierry Volpiatto writes: > Stefan Monnier writes: > >>> Now emacs packages are widely used, >>> it would be great to improve the startup message of emacs with a link >>> about how to quickly setup package.el to be usable. >>> I have regularly people complaining "It is not working" because >>> they install packages through package.el and they don't add in their >>> init file `package-initialize', >> >> Right, we do call package-initialize automatically for them, but we do >> it "too late" in many cases. Maybe the best option is to emit some >> message at startup in the following case: >> - there are packages installed. >> - the .emacs file is non-empty. >> - there is no call to package-initialize in the .emacs file. > > Yeah, anything will be good as long as they are warned. The package-initialize problem is now solved in master in a different way (such that nothing extra needs to be added for the typical case). [1: 24acb31c04]: 2018-02-17 13:36:16 +0200 Add early init file, stop package-initialize insertion https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=24acb31c04b4048b85311d794e600ecd7ce60d3b