From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: use-package Date: Sat, 14 May 2016 23:22:57 -0400 Message-ID: References: <874magv15u.fsf@mat.ucm.es> <87d1p38ll6.fsf@mat.ucm.es> <87y47pg5da.fsf@russet.org.uk> <87shxwzkzg.fsf@russet.org.uk> <87d1outgo2.fsf@russet.org.uk> <87y47f7zt1.fsf@russet.org.uk> <87r3d49sx1.fsf@russet.org.uk> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1463282560 6335 80.91.229.3 (15 May 2016 03:22:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 15 May 2016 03:22:40 +0000 (UTC) Cc: help-gnu-emacs@gnu.org, Kaushal Modi To: phillip.lord@russet.org.uk (Phillip Lord) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun May 15 05:22:30 2016 Return-path: Envelope-to: geh-help-gnu-emacs@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 1b1mdN-0005Vk-EG for geh-help-gnu-emacs@m.gmane.org; Sun, 15 May 2016 05:22:25 +0200 Original-Received: from localhost ([::1]:39476 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b1mdM-0000jA-Kk for geh-help-gnu-emacs@m.gmane.org; Sat, 14 May 2016 23:22:24 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60356) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b1mdE-0000fv-3R for help-gnu-emacs@gnu.org; Sat, 14 May 2016 23:22:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b1md9-0002qN-Qj for help-gnu-emacs@gnu.org; Sat, 14 May 2016 23:22:14 -0400 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:45461) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b1md9-0002pM-MT for help-gnu-emacs@gnu.org; Sat, 14 May 2016 23:22:11 -0400 Original-Received: from ceviche.home (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id u4F3M5ml010757; Sat, 14 May 2016 23:22:05 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 29C2166287; Sat, 14 May 2016 23:22:57 -0400 (EDT) In-Reply-To: <87r3d49sx1.fsf@russet.org.uk> (Phillip Lord's message of "Sat, 14 May 2016 23:27:38 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV5672=0 X-NAI-Spam-Version: 2.3.0.9418 : core <5672> : inlines <4801> : streams <1635549> : uri <2209950> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.20 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:109958 Archived-At: > The doc, though, yes, I think that would be good to update, to at least > say "you don't have to have a lighter" and "here are some reasons why > you might not want one". On a related note: the INIT-VALUE LIGHTER KEYMAP optional args should really be deprecated in favor of the use of keyword arguments. Also, we should emphasize that in 99.9% of the cases, :init-value and :keymap args should not be used. Of course, we have the problem currently that if no keyword arg is provided, we can't easily distinguish the BODY from the (potential) INIT-VALUE, LIGHTER, and KEYMAP args. Stefan