From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Basil L. Contovounesios" Newsgroups: gmane.emacs.devel Subject: Re: master 9291e73 02/12: Add new 'declare' forms for command completion predicates Date: Sun, 21 Feb 2021 16:13:40 +0000 Message-ID: <87tuq5h00b.fsf@tcd.ie> References: <20210214131500.30678.63538@vcs0.savannah.gnu.org> <20210214131502.DADCE20DFB@vcs0.savannah.gnu.org> <874ki6v8ob.fsf@tcd.ie> <874ki5lfyl.fsf@gnus.org> <871rd9mrye.fsf@tcd.ie> <87y2fhifgj.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2468"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Feb 21 17:14:57 2021 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 1lDrNp-0000Xk-5T for ged-emacs-devel@m.gmane-mx.org; Sun, 21 Feb 2021 17:14:57 +0100 Original-Received: from localhost ([::1]:49468 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lDrNo-0007r6-63 for ged-emacs-devel@m.gmane-mx.org; Sun, 21 Feb 2021 11:14:56 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50438) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lDrMl-0007Nu-5H for emacs-devel@gnu.org; Sun, 21 Feb 2021 11:13:51 -0500 Original-Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]:51336) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lDrMg-0003uj-9N for emacs-devel@gnu.org; Sun, 21 Feb 2021 11:13:50 -0500 Original-Received: by mail-wm1-x331.google.com with SMTP id o82so11351046wme.1 for ; Sun, 21 Feb 2021 08:13:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd.ie; s=google21; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=n0PhBmr5vu3vqB4eoVQ4HCmS8WudnwQ7eG/Wt07aDT0=; b=eyM6PrqGqwIChHGOIqof7jw05GxKny4vlZZvfRwCZxKyYlALn7hIHf0n65JCSodwjV a17AxkV5NAvKdI7iZV/p4b0l6yaWXbMUldmrWQdHrPF/ttFZiwO4g6E/zRWZtrLA73at jh6jBWFL8bM0f51qzc2HEadqBHSJzJOHUpyRBYnsnV+2E4baFe3X/q4S7sB//viN7kwq /jIlv33N2HJpCPGU1o4BEiUhlV7LwhOO57j8KozKb2VFWEaOcXBwZTXacyFWGOSnULep ll4xM4n9XImjvxrh1h6D+SZKp8cY1wTWFl9X+o6ZQImp+hxBG5P7hKG1/UMEdEmriMEi xypw== 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=n0PhBmr5vu3vqB4eoVQ4HCmS8WudnwQ7eG/Wt07aDT0=; b=MAMEf2P5GBhMOH8xJdmHOWlEqSM/6+xGF4XGkC+a/4IwVpxbzbUlGn0Y8pgMvIIH7g BOd3k1+aqorEwUyy+bA+VlOi+isHZlT0Livz5izD/ILqAAZdTUr3OZWgVtkNLgWIoSMq jI/vKc9D5KJ1Pab/aXzWbwWlwzTGK4nNaQFu+wQUFkhENgf5eY6bwE1TFRXrEi4fzLgL J5yyE7SKUZcegDdJDQifBAQ5QhyjtGhl1uTdRiVJgEShLhm8MRq/kXEnBZK2Ax6z2KJS YdmqlZBvMvutSy6CHCl948dPIear9ImYqyk7xIlUcnhxz5WjXPd4vrKyAIZRJZNm+Zz0 48TQ== X-Gm-Message-State: AOAM530vd5x6f9fKmktqexZxj9GZyeUQv8dhyQ/eUx/OmEEJ/6zzoqCZ Qx2ZtfAL3MPtdDXmbYce5hZMVw== X-Google-Smtp-Source: ABdhPJxIwcnuq/u5FSjGoB4eWBmbmo5hPYqmr5dZaoIhqMYAGatqFBmqlcULJpbdfKyjW6vQWHxAhQ== X-Received: by 2002:a7b:cc0c:: with SMTP id f12mr16937317wmh.111.1613924022875; Sun, 21 Feb 2021 08:13:42 -0800 (PST) Original-Received: from localhost ([51.37.47.108]) by smtp.gmail.com with ESMTPSA id d20sm27026131wrc.12.2021.02.21.08.13.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Feb 2021 08:13:42 -0800 (PST) In-Reply-To: <87y2fhifgj.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sun, 21 Feb 2021 16:54:36 +0100") Received-SPF: none client-ip=2a00:1450:4864:20::331; envelope-from=contovob@tcd.ie; helo=mail-wm1-x331.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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no 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:265402 Archived-At: Lars Ingebrigtsen writes: > What I expect to see people actually doing here is > > (declare (completion #'foo)) Why should explicit #'-quoting be needed for (declare (completion foo)) when it's not needed for any other declare form property, including the new and related 'modes' property: (declare (modes foo)) (declare (gv-setter foo)) (declare (gv-expander foo)) (declare (obsolete foo ...)) (declare (interactive-only foo)) (declare (compiler-macro foo)) (declare (indent foo)) How is (declare (completion ...)) any different to these? > or if it's a lambda, that Emacs will eventually byte-compile it before > sticking it into the plist. Does the proposed patch stop that from happening? -- Basil