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#64138: 28.2; C-x ) won't accept the universal argument Date: Wed, 21 Jun 2023 17:02:06 +0300 Message-ID: <83sfak52xt.fsf@gnu.org> References: <83fs6pp8l1.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="433"; mail-complaints-to="usenet@ciao.gmane.io" Cc: al@petrofsky.org, 64138-done@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jun 21 16:03:13 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 1qByQS-000AWR-PJ for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 21 Jun 2023 16:03:12 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qByQJ-0005IH-Rh; Wed, 21 Jun 2023 10:03:03 -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 1qByQI-0005Ho-Dk for bug-gnu-emacs@gnu.org; Wed, 21 Jun 2023 10:03:02 -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 1qByQI-0006dA-54 for bug-gnu-emacs@gnu.org; Wed, 21 Jun 2023 10:03:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qByQH-00051x-SA for bug-gnu-emacs@gnu.org; Wed, 21 Jun 2023 10:03:01 -0400 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Wed, 21 Jun 2023 14:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 64138 X-GNU-PR-Package: emacs Mail-Followup-To: 64138@debbugs.gnu.org, eliz@gnu.org, al@petrofsky.org Original-Received: via spool by 64138-done@debbugs.gnu.org id=D64138.168735612619260 (code D ref 64138); Wed, 21 Jun 2023 14:03:01 +0000 Original-Received: (at 64138-done) by debbugs.gnu.org; 21 Jun 2023 14:02:06 +0000 Original-Received: from localhost ([127.0.0.1]:33829 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qByPO-00050a-EE for submit@debbugs.gnu.org; Wed, 21 Jun 2023 10:02:06 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:33796) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qByPM-000506-OI for 64138-done@debbugs.gnu.org; Wed, 21 Jun 2023 10:02:05 -0400 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 1qByPH-0006St-DK; Wed, 21 Jun 2023 10:01:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=v32/rmc0kL1Q8HRKPRb2hWeStwnwl/Zimy42D4S8htw=; b=qlT8hWFAb01R WCbiS/pvLb96uVip0/q9DbS6iVw0XhQHQOa7tXcUbYl+x+icaKYzLw9GY6JUoY+k/JWNDRCVveil/ wSgtdO4GOdB1fz0fjwDhQlZvXmxT9BYufTQBHHxpsQeSSj5/LCfAqUiZnak/BP36EvPqIfbprCnFm APa84JnOioxVk1C/TNIkJ5bH8sTNXBIGVK1iLxyDU2tNa6jEFK8T97G3TAqqYVM3bzHgLhI8ejewe Biq+Y+UYyYJcUjyo/7dn+DlSIhslUhLh6NOBPGpr0dTyJv4rO5x8m2OHLD0hX3CiSpcg9Gd5xeSs9 UCXQ/XfqBoSKdvPegluaCg==; 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 1qByPG-0007Se-Sq; Wed, 21 Jun 2023 10:01:59 -0400 In-Reply-To: (message from Stefan Monnier on Sun, 18 Jun 2023 10:08:04 -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:263821 Archived-At: > From: Stefan Monnier > Cc: Al Petrofsky , 64138@debbugs.gnu.org > Date: Sun, 18 Jun 2023 10:08:04 -0400 > > >> I have no objections to extending those commands to accept just C-u, > >> though. Stefan, any reasons why not? > > Offhand, I can't think of any reason why not. > > BTW: the main question here is whether a C-1 prefix should be treated > the same as the absence of a prefix. AFAICT, the `arg` argument > of `kmacro-end-macro` is only used once, to pass it to `end-kbd-macro`, > and that function starts with: > > if (NILP (repeat)) > XSETFASTINT (repeat, 1); > else > CHECK_FIXNUM (repeat); > > so, the absence of a prefix arg currently should indeed always behave > exactly as with a `C-1` arg. > IOW, I'm pretty sure now that there is not reason why not. OK, thanks. I've now installed this on the master branch, and I'm closing this bug.