From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: Package initialization Date: Mon, 20 Jul 2015 23:54:37 +0300 Message-ID: <55AD600D.1070609@yandex.ru> References: <87twt1dmxu.fsf@uwakimon.sk.tsukuba.ac.jp> <21931.51113.826895.663216@uwakimon.sk.tsukuba.ac.jp> <21932.20274.646021.600004@uwakimon.sk.tsukuba.ac.jp> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1437425719 12888 80.91.229.3 (20 Jul 2015 20:55:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 20 Jul 2015 20:55:19 +0000 (UTC) Cc: Artur Malabarba , emacs-devel To: Helmut Eller , "Stephen J. Turnbull" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 20 22:55:13 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZHI5U-0005zs-Sl for ged-emacs-devel@m.gmane.org; Mon, 20 Jul 2015 22:55:01 +0200 Original-Received: from localhost ([::1]:57130 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHI5U-0001Tm-Ej for ged-emacs-devel@m.gmane.org; Mon, 20 Jul 2015 16:55:00 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39751) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHI5G-0001Th-DT for emacs-devel@gnu.org; Mon, 20 Jul 2015 16:54:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZHI5D-0000Gr-8U for emacs-devel@gnu.org; Mon, 20 Jul 2015 16:54:46 -0400 Original-Received: from mail-wi0-x232.google.com ([2a00:1450:400c:c05::232]:37423) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHI5D-0000GQ-1E for emacs-devel@gnu.org; Mon, 20 Jul 2015 16:54:43 -0400 Original-Received: by wibud3 with SMTP id ud3so108101168wib.0 for ; Mon, 20 Jul 2015 13:54:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=5UVUPOf6NI7cZqlXwYaUtaC8iRhunYRaHckav7c5wqY=; b=A8zAu2wavG7y7Ji680EMuLqUoqG1dJG2OhPdqHML/Dx2Dh62u0hiHrWY6EMoIvzdKS LsffLr/l9+5915BeMX5Wn02Ncd4P1qdKdb/ZfBnl+D3RVJp9BacUIHqDLZMBdLHghSLG VSyvvQZuOxYBHJvRhujVmtsgmAYQnDdPbn9l+ijMWFKi3G+41BEm4rWKZz4/tnH6HYLc iKNh4WrM0InK0LSkNL0kYrAweFVO8o4Ol2c1mCku6l/H4P+HTPezXiM8eFUCOcpQIHzr iQ2iZdABIeLHcltM7URBQ5VK7LwXxPODr3qRFuu4SkOxap1L3cs+UaOF+mm2ArgpAByG y4Jg== X-Received: by 10.194.95.132 with SMTP id dk4mr64512227wjb.88.1437425681588; Mon, 20 Jul 2015 13:54:41 -0700 (PDT) Original-Received: from [192.168.1.2] ([185.105.175.24]) by smtp.googlemail.com with ESMTPSA id d7sm13546284wij.0.2015.07.20.13.54.39 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 Jul 2015 13:54:40 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c05::232 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:188021 Archived-At: On 07/20/2015 08:01 PM, Helmut Eller wrote: > I have the impression that the left hand doesn't know what the right > hand wants. In the manual they say that it's ok to add things to > auto-mode-alist, but then Stefan says that packages should not be > enabled automatically. I agree we should have clearer guidelines there. The third-party community has had these discussions a couple of years ago (https://github.com/skeeto/skewer-mode/issues/22#issuecomment-18301023, https://github.com/purcell/elisp-slime-nav/pull/6), and the average consensus landed on not even modifying hooks inside autoloads (not something I necessarily agree with, but it's an okay guideline). Changing auto-mode-alist is usually okay, but even that can lead to problems: https://github.com/purcell/mmm-mode/issues/36 Also see https://github.com/bbatsov/emacs-lisp-style-guide/#loading-and-autoloading.