From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: scratch/tzz/auth-source-reveal-mode dbe62dd: doc/misc/auth.texi: shorten use-package example Date: Thu, 18 Jun 2020 17:32:58 -0400 Message-ID: References: <20200618212604.24524.71113@vcs0.savannah.gnu.org> <20200618212605.5FE6020A27@vcs0.savannah.gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="45961"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Ted Zlatanov To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Jun 18 23:34:20 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 1jm2Au-000Bqt-4S for ged-emacs-devel@m.gmane-mx.org; Thu, 18 Jun 2020 23:34:20 +0200 Original-Received: from localhost ([::1]:53182 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jm2At-0008MS-56 for ged-emacs-devel@m.gmane-mx.org; Thu, 18 Jun 2020 17:34:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44058) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jm29h-00078s-Jw for emacs-devel@gnu.org; Thu, 18 Jun 2020 17:33:05 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:33421) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jm29f-0006tH-AP for emacs-devel@gnu.org; Thu, 18 Jun 2020 17:33:04 -0400 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 91CB244193D; Thu, 18 Jun 2020 17:33:01 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 62452441936; Thu, 18 Jun 2020 17:33:00 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1592515980; bh=FE+UmOnAFDOhD7L8QLXXC2k3RYgLkR4XDqG3F+OVqAU=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=EpqGIuEO1IFgAEAxZGmofNGe+XRAApyz0BLj0uxBueMgFJV4wgADSm+sRpsNN3hx4 RzL4h/mEvrWKo9ZMYUIbxFUC0Fr3YVTisD7yawSWdkga1p74erJl8l0ItPqidogwUK u9Uq7mlGyNqPh94bkkQQIt6g3vSSQXsrvZcIaN6RbkpfUb60ynEgj4PGL6tOMp8rTf 9mQk60wKrczK3QgPj5psNJSLuUAW8j1yriDin8DsSOP1V3zkSgZHIZxLpclqqS+NMr ThdxJjrMni1c8KY+arAWjNBFi3sr4DRx9PUsC44eULX3EuF1phMVE3M/sjPybcbKBX ZdiETnaifEJ6A== Original-Received: from alfajor (unknown [216.154.55.41]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 197D11203B9; Thu, 18 Jun 2020 17:33:00 -0400 (EDT) In-Reply-To: <20200618212605.5FE6020A27@vcs0.savannah.gnu.org> (Teodor Zlatanov's message of "Thu, 18 Jun 2020 17:26:04 -0400 (EDT)") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/18 17:33:01 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN 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:252325 Archived-At: > diff --git a/doc/misc/auth.texi b/doc/misc/auth.texi > index 30cb6fb..bb632ba 100644 > --- a/doc/misc/auth.texi > +++ b/doc/misc/auth.texi > @@ -305,9 +305,7 @@ An alternative is to enable @code{auth-source-reveal-mode} as follows: > :custom > (prettify-symbols-unprettify-at-point 'right-edge) > :hook > - (prog-mode . auth-source-reveal-mode) > - (json-mode . auth-source-reveal-mode) > - (text-mode . auth-source-reveal-mode)) > + ((prog-mode js2-mode text-mode) . auth-source-reveal-mode)) > @end example > > You should definitely customize I think that since use-package is (still!) not in Emacs (and not even in GNU ELPA), the doc shouldn't rely on it. Stefan