From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Narendra Joshi Newsgroups: gmane.emacs.help Subject: Re: Adding document strings to a `use-package' declaration Date: Mon, 20 Feb 2017 19:31:52 +0530 Message-ID: <87bmtxrmen.fsf@gmail.com> References: <87lgt3enyc.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1487599058 9748 195.159.176.226 (20 Feb 2017 13:57:38 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 20 Feb 2017 13:57:38 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) Cc: help-gnu-emacs@gnu.org To: Andy Moreton Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Feb 20 14:57:33 2017 Return-path: Envelope-to: geh-help-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 1cfoT7-00026o-0O for geh-help-gnu-emacs@m.gmane.org; Mon, 20 Feb 2017 14:57:33 +0100 Original-Received: from localhost ([::1]:38694 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cfoTC-0005AI-SS for geh-help-gnu-emacs@m.gmane.org; Mon, 20 Feb 2017 08:57:38 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43808) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cfoSn-00057H-0n for help-gnu-emacs@gnu.org; Mon, 20 Feb 2017 08:57:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cfoSj-00018s-Tp for help-gnu-emacs@gnu.org; Mon, 20 Feb 2017 08:57:13 -0500 Original-Received: from mail-pg0-x243.google.com ([2607:f8b0:400e:c05::243]:35238) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cfoSj-00018Z-OF for help-gnu-emacs@gnu.org; Mon, 20 Feb 2017 08:57:09 -0500 Original-Received: by mail-pg0-x243.google.com with SMTP id 1so5819173pgz.2 for ; Mon, 20 Feb 2017 05:57:09 -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=qdUGBTf7Bn2OjEAZ0zTqbPq7Ivue6rt8meWh1bMP7kw=; b=NpIK5CvS84Hp+R7ct0oj0PBnr/YFOAHjHJg+IOr4yziDdAbDwR7FMDRvtHAS3jOd62 wcVG/hvfqLCSzYyYTqWyavjCvuXX6oZa16zNB8wkixjQqWYtgu2/Cvt+eBqwUbdqPx0e niCM+vsTQDXt9dOvASYYqNhvFQGJxgClTwH0V3t6STL8ahpakrBpKztSQmgIZXY8vU2R tVTx4rBXPNO0Ug8NWAAYUSttaWUWt3jtvvFqsEkhqPvCRaldpdlbOiMLuvnwrMd4nOR/ 4PZFJpuoKZvYfbh+GLrok9Xsei0WPCFouiQ8lQUwsfZWkHeP0Cg2Ft0b2oNIYPKo+UpB EwVQ== 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=qdUGBTf7Bn2OjEAZ0zTqbPq7Ivue6rt8meWh1bMP7kw=; b=EvNIUV41UseZIM1DpOUW+igftjFjjKcIshnoqqj9hz4Yglx+L5z9FeI5ibdUKc0Jzr juBLMM1U37oitCDMjSgnwIOP4Lq6hKIS5I9TaM3FNunbTfGvHuM981fH4R3ajOv749zP MAj5f7eDvqJYZ1K+UdSGrDgdG3F0yVCWXqG3gfJhTOHcQa0eTlHb4Q4ytwpIyn9iJT8R XLY8zlUsNCFhKh8RfC1CzU3TXHarwR7aOqoCa8rYNagT+yV086gjULmBskZdL5VvT6+b 7zWyl3iDo1k7EGJKZHiAMw+DDenGnWNm+XwfF7ncoQqMoycrsbEDeq5eseerF8rfESV8 x7/Q== X-Gm-Message-State: AMke39kqwdjw2GTacIehDqQMLej7re4Y1umTZfi45nh/qzc1Fkmlizhk8sfo+cFVs/XEXg== X-Received: by 10.84.210.232 with SMTP id a95mr31904141pli.31.1487599028227; Mon, 20 Feb 2017 05:57:08 -0800 (PST) Original-Received: from vicarie ([110.227.217.157]) by smtp.gmail.com with ESMTPSA id r73sm4764128pfe.55.2017.02.20.05.57.05 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 20 Feb 2017 05:57:07 -0800 (PST) In-Reply-To: (Andy Moreton's message of "Mon, 20 Feb 2017 13:03:40 +0000") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400e:c05::243 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:112351 Archived-At: Andy Moreton writes: > On Sat 18 Feb 2017, Narendra Joshi wrote: > >> Hi, >> >> Is it possible to add an extra keyword to a `use-package' declaration? >> >> For example, I would like to a small comment to a use-package >> declaration. I can add it as a comment above the declaration. I find >> adding a extra keyword, say :meta or :doc, cleaner. >> >> ,---- >> | (use-package which-key >> | :doc "Get quick Emacs key binding suggestions." >> | :ensure t >> | :init >> | (setq which-key-max-description-length nil) >> | (which-key-mode 1)) >> `---- > > See README.md from https://github.com/jwiegley/use-package for details of how to do this. > > AndyM Thanks for pointing it out. I shouldn't have missed that section. :) -- Narendra Joshi