From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Daniel Fleischer Newsgroups: gmane.emacs.help Subject: Re: The cons syntax format used by use-package. Date: Sat, 18 Sep 2021 16:21:39 +0300 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29377"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin) Cc: help-gnu-emacs To: Hongyi Zhao Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 18 15:22:22 2021 Return-path: Envelope-to: geh-help-gnu-emacs@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 1mRaIP-0007WS-Nu for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 18 Sep 2021 15:22:21 +0200 Original-Received: from localhost ([::1]:38064 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mRaIO-0003oP-AI for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 18 Sep 2021 09:22:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43770) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mRaHq-0003mE-4e for help-gnu-emacs@gnu.org; Sat, 18 Sep 2021 09:21:46 -0400 Original-Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]:38724) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mRaHn-0007wc-T7 for help-gnu-emacs@gnu.org; Sat, 18 Sep 2021 09:21:45 -0400 Original-Received: by mail-wr1-x429.google.com with SMTP id u18so18103898wrg.5 for ; Sat, 18 Sep 2021 06:21:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=EQtfwfqBPwllrSxK8Htib+SLhTSGY/mJ1stzMWNb16I=; b=ArSwJNBgZci84wUogGDtljFMgoojGgLDhUrsp7mv5MAZGt7u/2ALdlJbtt+P3n7Q/S LND7q4N922uA2TBQRVcfwsVMqbqHElq6Qwf4Tz/r1721KfNVOd17km/Mv58Z2znCaK3E QEDtGtBah5ODTMk1eRUDZ9z94pTrLXQElZPzUFpmiEDjNdh2xm0Fw60BaHxFUUIkG31h kM9j7PMsLHQS8d4QCDFRUG8KCTNl5SMh8C3gIuX4Qd3TEzSEWHkhYuFDAjHuOcfh4IDD 9//f9mCh+lq90BM13xdSLVu5f0sVptyZP2gQp3lvsuO/22t/TblQIMBYOLp2LzKn11WR 4u8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=EQtfwfqBPwllrSxK8Htib+SLhTSGY/mJ1stzMWNb16I=; b=722qGscXBe1yG+dR/E1drSW47CEClA0JMLVh3A5YmgLvpbCXODADx7e3A167jMjI6z OT3OhdlyVyrzw+Q2D7eiMUDEomePe8kx4GFA/gLAQZ8YeNv2XRpT39WE9zT2v0vsmFeW ieWimmZ+gnVPu+ipJo0YTcNh4pszRLNGvxoet22RH2fnWS7bc1VQ8YxihPwXk7ts2RZY pHqrtvXMkue23qzdhAB8zigGUvWB8WJLzWCNQRo2APZmStRjKoQjeZBngAREJ53U6F5r Hu02W8D3b+wu4rr19OaM/4E+t6atoXxsnvgahj9H8UD3AoZ8mkYe+Y+LkN3kM4/84rVN eSYQ== X-Gm-Message-State: AOAM533+IPevjxjD+3ntMo413B7nqXKxHQxdUUilRa5UULuVZAO/H01y SLrMoA4NKSxBd4HZqT6rKg5iZjd/A64= X-Google-Smtp-Source: ABdhPJxBz32Yuo1cnTI1xQdpGcVKu8FsML1OlgbHYt6yH7nYayjOHz1x/wEa74XUcktidKnXccwUew== X-Received: by 2002:a5d:5610:: with SMTP id l16mr18099363wrv.102.1631971301897; Sat, 18 Sep 2021 06:21:41 -0700 (PDT) Original-Received: from Home-Mac ([141.226.13.159]) by smtp.gmail.com with ESMTPSA id z13sm11565316wrs.90.2021.09.18.06.21.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 Sep 2021 06:21:41 -0700 (PDT) In-Reply-To: (Hongyi Zhao's message of "Sat, 18 Sep 2021 21:15:02 +0800") Received-SPF: pass client-ip=2a00:1450:4864:20::429; envelope-from=danflscr@gmail.com; helo=mail-wr1-x429.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:133086 Archived-At: Hongyi Zhao [2021-09-18 Sat 21:15] wrote: > (use-package ace-jump-mode > :hook ((prog-mode text-mode) . ace-jump-mode)) > > If I wanted to extend the above example with more hooks, which of the > following would be correct: The 2nd one, but why not (use-package ace-jump-mode :hook ((prog-mode text-mode latex-mode) . ace-jump-mode)) -- Daniel Fleischer