GNU bug report logs - #72680
31.0.50; Incorrect completions for 'interactive' modes arguments

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Eshel Yaron <me@HIDDEN>; dated Sat, 17 Aug 2024 05:18:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 17 Aug 2024 05:17:56 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Aug 17 01:17:56 2024
Received: from localhost ([127.0.0.1]:53244 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sfBp6-0003t9-6E
	for submit <at> debbugs.gnu.org; Sat, 17 Aug 2024 01:17:56 -0400
Received: from lists.gnu.org ([209.51.188.17]:36604)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <me@HIDDEN>) id 1sfBp4-0003t0-BS
 for submit <at> debbugs.gnu.org; Sat, 17 Aug 2024 01:17:54 -0400
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 <me@HIDDEN>) id 1sfBoN-0000q7-Di
 for bug-gnu-emacs@HIDDEN; Sat, 17 Aug 2024 01:17:12 -0400
Received: from mail.eshelyaron.com ([107.175.124.16] helo=eshelyaron.com)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <me@HIDDEN>) id 1sfBoK-0003Em-Vi
 for bug-gnu-emacs@HIDDEN; Sat, 17 Aug 2024 01:17:10 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=eshelyaron.com;
 s=mail; t=1723871827;
 bh=DT8VewlTD5HW0I5SjemnHGV3F/4GnaH1fmRsQygqRQU=;
 h=From:To:Subject:Date:From;
 b=x9WlvAQ5BinSNWSfUVvJRTTyBHEaFVTOAGjaRXw8n8l/plA87JZv/5R3b1Te5xMOQ
 868b2N+G0mDmlMUf1M333qgWLREAdX1Nvh0kHVWW28v9LnlTrOLB2aLDd9CrWOfR7X
 9adtvk1IIJNdVBUBOHxM8QEkW6qjQea96SS8ODqC2dMMRDKp2YKqgJMa8GXViMjwo2
 Tr6z7q3PrThoQjv3n7bewndoYmSa6Ef76BvnB1k5FwCWyH7Z77lPOylW5Nvs0LdyWI
 ZRusnTZ6KMGWIs1HRcWurfwUatVeZYp8ozoZ9vfB1cKwa50vtwoiTM8EirxkLV7iAY
 emAzAVqvEU65Q==
From: Eshel Yaron <me@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 31.0.50; Incorrect completions for 'interactive' modes arguments
X-Hashcash: 1:20:240816:bug-gnu-emacs@HIDDEN::zh6Nf+B+kfuWlBW/:1AoH
X-Debbugs-Cc: 
Date: Sat, 17 Aug 2024 07:17:05 +0200
Message-ID: <m1frr3rani.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=107.175.124.16; envelope-from=me@HIDDEN;
 helo=eshelyaron.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, 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-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)

Hi,

Consider the following recipe:

1. emacs -Q
2. Insert "(defun foo () (interactive nil emacs-lisp-m"
3. Hit M-TAB to complete

The expected result is that the symbol at point is completed to
emacs-lisp-mode.  However, Emacs provides variable name completion
in this context, instead of major mode name completion, so we end
up with emacs-lisp-mode- (with the extra hyphen).


Cheers,

Eshel




Acknowledgement sent to Eshel Yaron <me@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#72680; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 12 Jan 2025 05:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.