From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#59559: 28.1; `minibuffer-with-setup-hook' with :append Date: Sat, 21 Jan 2023 21:26:28 +0200 Message-ID: <838rhvlme3.fsf@gnu.org> References: <87pmbmnvdd.fsf@web.de> <87358iuqsj.fsf@web.de> <87edro6jl7.fsf@web.de> <83h6wjlx3f.fsf@gnu.org> <87a62b7txl.fsf@web.de> <83bkmrlod9.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36302"; mail-complaints-to="usenet@ciao.gmane.io" Cc: michael_heerdegen@web.de, 59559@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jan 21 20:38:26 2023 Return-path: Envelope-to: geb-bug-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 1pJJh4-0009F3-Er for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 21 Jan 2023 20:38:26 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pJJW7-00064r-9K; Sat, 21 Jan 2023 14:27:07 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pJJW4-00064T-4n for bug-gnu-emacs@gnu.org; Sat, 21 Jan 2023 14:27:05 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pJJW2-0006wy-Lc for bug-gnu-emacs@gnu.org; Sat, 21 Jan 2023 14:27:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pJJW2-0004Q2-CM for bug-gnu-emacs@gnu.org; Sat, 21 Jan 2023 14:27:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 21 Jan 2023 19:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59559 X-GNU-PR-Package: emacs Original-Received: via spool by 59559-submit@debbugs.gnu.org id=B59559.167432919216927 (code B ref 59559); Sat, 21 Jan 2023 19:27:02 +0000 Original-Received: (at 59559) by debbugs.gnu.org; 21 Jan 2023 19:26:32 +0000 Original-Received: from localhost ([127.0.0.1]:49810 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pJJVY-0004Ox-6t for submit@debbugs.gnu.org; Sat, 21 Jan 2023 14:26:32 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:42140) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pJJVX-0004Oh-2U for 59559@debbugs.gnu.org; Sat, 21 Jan 2023 14:26:31 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pJJVR-0006oY-FV; Sat, 21 Jan 2023 14:26:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=ltpvKnMEE9D30s9I+2wvKkep29KZytyqF5Omz4mazDI=; b=XkBfbrrf2c0mqMqY+0GA 5e935k+1Outji2rgDtXPCmDrn+Ch4zINgm8hfzxM+As7fxa6JryeVC44aae+cTb+93eERkTEonBVa 47rDOc02jvvLzCRqmqHwUephTml3U/0aFFXZ5OiujSwiQ2litV5lD3qERYNfZHlzXvMZg3MPFdbNF N0ASJ4etbK/DB4XdTpo317/962RVfindnlkxRJczXn2yTJrWaiJg+nFKJV1wp5k+HlNYjRovwwD6v Xlau45wxAtSJb0LHXzVB9wipQsEqjHfCNfTTT+dLKywwzKADVIADz9jnZlST/q6Lsc0sAKu52Vvpv Ria9D5my+LMMfw==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pJJVQ-0004H7-Mt; Sat, 21 Jan 2023 14:26:25 -0500 In-Reply-To: (message from Drew Adams on Sat, 21 Jan 2023 18:57:45 +0000) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:253882 Archived-At: > From: Drew Adams > CC: "59559@debbugs.gnu.org" <59559@debbugs.gnu.org> > Date: Sat, 21 Jan 2023 18:57:45 +0000 > > > > The (valid, IMO) request was about the (:append FUN1) part: is this the > > > s-expr to specify, or should the FUN arg evaluate to such a list? Not > > > clear from the original docstring. > > > > I don't see why. We say stuff like "argument of the form (FOO BAR)" > > in gazillion places, > > Precisely. And we don't say that here. Yes, we do: But if FUN is of the form ‘(:append FUN1)’ [...] > That's _one_ > of the possible forms of the argument sexp. IF > it has that form (:append F) THEN F is evaluated > to give the function that's added. OTHERWISE > the whole sexp arg is evaluated to give the > function that's added. > > This kind of thing is _not_ done in a gazillion > places. It's a macro. That's how macros are handled in Emacs. > > I already did. > > I don't think what you suggested changes/adds anything. > You just changed "FUN" to "function FUN", no? Yes, because that's the only part that is not crystal clear there. I don't see what else needs to be discussed here. We should close this bug.