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" via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#58563: 29.0.50; Generic functions and advertised-calling-convention Date: Wed, 26 Oct 2022 16:51:22 +0300 Message-ID: <874jvqsnfp.fsf@tcd.ie> References: <878rlgjcbl.fsf@tcd.ie> <87czaih35g.fsf@tcd.ie> Reply-To: "Basil L. Contovounesios" Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15674"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 58563@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 26 15:53:10 2022 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 1ongqC-0003rn-Un for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 26 Oct 2022 15:53:09 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ongpA-0006gm-Qv; Wed, 26 Oct 2022 09:52:04 -0400 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 1ongp9-0006Xu-CT for bug-gnu-emacs@gnu.org; Wed, 26 Oct 2022 09:52:03 -0400 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 1ongp8-00032m-Mf for bug-gnu-emacs@gnu.org; Wed, 26 Oct 2022 09:52:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ongp8-0001NN-7l for bug-gnu-emacs@gnu.org; Wed, 26 Oct 2022 09:52:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Basil L. Contovounesios" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 26 Oct 2022 13:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58563 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 58563-submit@debbugs.gnu.org id=B58563.16667922925254 (code B ref 58563); Wed, 26 Oct 2022 13:52:02 +0000 Original-Received: (at 58563) by debbugs.gnu.org; 26 Oct 2022 13:51:32 +0000 Original-Received: from localhost ([127.0.0.1]:53764 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ongoe-0001Mf-1T for submit@debbugs.gnu.org; Wed, 26 Oct 2022 09:51:32 -0400 Original-Received: from mail-ej1-f52.google.com ([209.85.218.52]:42717) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ongoc-0001MQ-Fs for 58563@debbugs.gnu.org; Wed, 26 Oct 2022 09:51:31 -0400 Original-Received: by mail-ej1-f52.google.com with SMTP id y14so21402232ejd.9 for <58563@debbugs.gnu.org>; Wed, 26 Oct 2022 06:51:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd.ie; s=google21; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=0zIslccToWiR0tHb+5lQjop6++LrxJMmqpyf61oHUjc=; b=dDaldjjJN6cfUcaNdipgVPfxxHAUPEVxaal5iUxldBpAuwRkNmHaY4RWoQCThUVxEW TPtTt4jW/iu9UmQMSYgYvUFjfXe3IaUaYBZ8p8+hV8R0ypdZOV+XlBMrKLaChoQmX8MH 91sc5YV0nRwt+HrvJxk7u691SjxzLIz4GN5G7gIZQg9ujb4NruAxU74+UPKbyiy9aNZp 6nNKhlL7alF+CYyy2JoH2i19cq6ipZ8Z/Y7MhYLULa2wqoU21ZGTM7ogz/Fg4+GOnurZ LUSE+u2dnp1V3UFhdt16x2DpJYgzuWIdBShTuzlw1bnrJr5KosFPv6VH9WGW0k+lvVYB 0qTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=0zIslccToWiR0tHb+5lQjop6++LrxJMmqpyf61oHUjc=; b=Dzl+etxCxacm40RCimxJrr1SPDz/QqnZSR26b6AiDYmxY9MsONse3K1X6Uwv5vbTrI zIjlOBeRg5o77eygg1xjNxPWptZ2zjRXkBmI377k5Pw7lBAg0kn6B9a7soIjgpvH8X8g 96a/M0Pl3zabbOIdLXWOsH7w42Q06uzQsKazLqzHBC0ok4jzDP771+kJiGR3SCnlMQOy uiSqT3CCbFBPXDYobqudg0FEduwdLqPsqd/tGRYv9Ki0eDMfaQbzjCPvQZBv7PHsGcc0 Vb9B33QOF8qhnycbvDET+5QbMDOlX1mN2h3JBkdetgr3ovChcGdwscoJsJdliqHEif2D +6Rg== X-Gm-Message-State: ACrzQf2Sye0W0hio7ZPV0ojjKrQbHAraSXliWL1u/EDvaCyPiy+jD/Fm 5LGioHra4boiI38+bXyEDcgPhg== X-Google-Smtp-Source: AMsMyM6qwPkrn6G89+TDYL66UxY+kjO2pCoODdM2tkd5l3u8T/U2ihUq6k6msGWUc/RSgyKGakOC9A== X-Received: by 2002:a17:907:e93:b0:78d:46ae:cf61 with SMTP id ho19-20020a1709070e9300b0078d46aecf61mr36768955ejc.579.1666792284584; Wed, 26 Oct 2022 06:51:24 -0700 (PDT) Original-Received: from localhost ([2a02:587:320c:8829:23:8156:16ed:40c2]) by smtp.gmail.com with ESMTPSA id m8-20020a509308000000b0045bd257b307sm3536823eda.22.2022.10.26.06.51.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Oct 2022 06:51:24 -0700 (PDT) In-Reply-To: (Stefan Monnier's message of "Mon, 24 Oct 2022 15:50:18 -0400") 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: , Original-Sender: "bug-gnu-emacs" Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:246233 Archived-At: Stefan Monnier [2022-10-24 15:50 -0400] wrote: > Exactly. It's not clear what's "right", so I think it's better to err > on the safer(?) side and apply the `advertised-calling-convention` to > the place where it's set. > > `advertised-calling-convention` is not used very often (and that's > good), so I don't think it's super important to do the very best we can > with it. We currently cover byte-compiler warnings when too many args > are passed, the arglist in Eldoc, and the top-line arglist in `C-h f`. > I think it's pretty good already. Agreed. So is there something left to be done here, or can this bug be closed? Thanks, -- Basil