From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Nicholas Vollmer Newsgroups: gmane.emacs.bugs Subject: bug#71406: 30.0.50; string-edit signals error when user aborts and :abort-callback parameter nil Date: Thu, 06 Jun 2024 12:03:34 -0400 Message-ID: <87bk4eawix.fsf@parenthetic.dev> Mime-Version: 1.0 Content-Type: text/plain; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29066"; mail-complaints-to="usenet@ciao.gmane.io" To: 71406@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jun 07 05:51:31 2024 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 1sFQdW-0007Ne-TA for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 07 Jun 2024 05:51:30 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sFQcs-0005el-H3; Thu, 06 Jun 2024 23:50:50 -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 1sFQcq-0005dt-U7 for bug-gnu-emacs@gnu.org; Thu, 06 Jun 2024 23:50:48 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sFQcq-0007JF-ML for bug-gnu-emacs@gnu.org; Thu, 06 Jun 2024 23:50:48 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sFQd5-0000nK-Ik for bug-gnu-emacs@gnu.org; Thu, 06 Jun 2024 23:51:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Nicholas Vollmer Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 07 Jun 2024 03:51:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 71406 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.17177322402947 (code B ref -1); Fri, 07 Jun 2024 03:51:03 +0000 Original-Received: (at submit) by debbugs.gnu.org; 7 Jun 2024 03:50:40 +0000 Original-Received: from localhost ([127.0.0.1]:41995 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sFQch-0000lM-LH for submit@debbugs.gnu.org; Thu, 06 Jun 2024 23:50:40 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:48742) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sFFb0-00030F-O6 for submit@debbugs.gnu.org; Thu, 06 Jun 2024 12:04:15 -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 1sFFal-0006Jn-Nu for bug-gnu-emacs@gnu.org; Thu, 06 Jun 2024 12:03:55 -0400 Original-Received: from out-09.pe-a.jellyfish.systems ([198.54.127.69]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sFFak-0002ZR-1K for bug-gnu-emacs@gnu.org; Thu, 06 Jun 2024 12:03:55 -0400 Original-Received: from output-router-d5c465c44-45n78 (new-01-3.privateemail.com [66.29.159.56]) by pe-a.jellyfish.systems (Postfix) with ESMTPA id 4Vw8JZ01S6z9sw2 for ; Thu, 6 Jun 2024 16:03:41 +0000 (UTC) Original-Received: from MTA-10.privateemail.com (unknown [10.50.14.20]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by NEW-01-3.privateemail.com (Postfix) with ESMTPS id F18171005898 for ; Thu, 6 Jun 2024 12:03:41 -0400 (EDT) Original-Received: from mta-10.privateemail.com (localhost [127.0.0.1]) by mta-10.privateemail.com (Postfix) with ESMTP id C865E18003C4 for ; Thu, 6 Jun 2024 12:03:41 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=parenthetic.dev; s=default; t=1717689821; bh=X9QArJczq6WvFXzSsKi69ikypolXKNVFwg/wPZlf8Fc=; h=From:To:Subject:Date:From; b=bv/c//pdXNiShfO8SIKKfQFpYcU5+prhti8F5Fb8OJotp1adhghVTAPTdCXJfgWrU O5rWZTM8JQl4IrD9T5UVemkDkJRNYqVSZSHjU3/gitr8X3tPW1Md5zwYhAhPd1HEtN lCUxrKAmLsJeE56XJkH+aUceP3Y83kDxOthaYLTUZwrB6Nb5LvVDnLyw7elsDWoutM ebkMFiSsFGFaugwp6M6UcOFWRCDkurR+1riIcoabGn7emZza+bM65qldJw5gMzZn9M XKGBavUw2aOsupQgcLj1l1qlCGs2I3yHS6X2WB3gpgvpiE+adu8MxsOBWs0zmdFehy UAJvCvmJDXQ4A== Original-Received: from laptop (c-174-166-84-198.hsd1.nj.comcast.net [174.166.84.198]) by mta-10.privateemail.com (Postfix) with ESMTPA for ; Thu, 6 Jun 2024 12:03:41 -0400 (EDT) X-Virus-Scanned: ClamAV using ClamSMTP Received-SPF: pass client-ip=198.54.127.69; envelope-from=nv@parenthetic.dev; helo=out-09.pe-a.jellyfish.systems 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, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Thu, 06 Jun 2024 23:50:36 -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: , 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:286728 Archived-At: 1. emacs -q 2. eval (string-edit "test" "" #'ignore) 3. In the "*edit string*" buffer eval string-edit-abort. The following error is signaled: Debugger entered--Lisp error: (void-variable string-edit--abort-callback) string-edit-abort() funcall-interactively(string-edit-abort) command-execute(string-edit-abort) Seeing as string-edit specifies this parameter as a &key, it should either provide a default (#'ignore?) or error if the caller does not provide an abort function (Though why specify it as a keyword arg if it's mandatory?).