From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: kobarity Newsgroups: gmane.emacs.bugs Subject: bug#72298: Should python-mode-abbrev-table declare :parents python-base-mode-abbrev-table? Date: Sun, 25 Aug 2024 09:34:19 +0900 Message-ID: References: <86cylynwbi.fsf@gnu.org> Mime-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: multipart/mixed; boundary="Multipart_Sun_Aug_25_09:34:19_2024-1" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33014"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?UTF-8?Q?Goj=C5=8D?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/30.0.50 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) Cc: 72298@debbugs.gnu.org To: Ship Mints , Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Aug 25 02:36:41 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 1si1FJ-0008T9-G2 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 25 Aug 2024 02:36:41 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1si1Ev-0004CH-0f; Sat, 24 Aug 2024 20:36:17 -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 1si1Er-0004Bq-J3 for bug-gnu-emacs@gnu.org; Sat, 24 Aug 2024 20:36:13 -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 1si1Er-000216-9o for bug-gnu-emacs@gnu.org; Sat, 24 Aug 2024 20:36:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:From:Date:To:Subject; bh=VykASrSoqaClI4v1NBh40YgmsrRO7koHyLSLOLfHOfQ=; b=MsCXdZd5gRHoyCZjfPAXkgcfOVlmzgPow4MWPBjV7v3rGMVP7BqIJ4/jih/8Ck1LJzTv5aE58R6gGXoEg7MqhBdENq2Lxa4AAERtu2pZ4NB873Undsc+B27OrQqrP1K/CvxvQI+/p7Y1/g7GrtLH0PR0uuyvGR1CJMAPlF5uIBkRJdeL79AH6U7zpyOWQUpkod1d9+lGMatwSb3gmaPPoSr7VOI1okd/i7Glmsr1trLQfU4YGuxnWgobUnVswP2XkHIBUt0JjK2lpUg0ArguPLyZDUjEF4X9yEkwOTv7Ng3RNrg3kZEBHVBU+T7JsGMKa7WmoVyZVRelOBT2t6cisg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1si1Fe-0000d5-42 for bug-gnu-emacs@gnu.org; Sat, 24 Aug 2024 20:37:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: kobarity Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 25 Aug 2024 00:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72298 X-GNU-PR-Package: emacs Original-Received: via spool by 72298-submit@debbugs.gnu.org id=B72298.17245461852367 (code B ref 72298); Sun, 25 Aug 2024 00:37:02 +0000 Original-Received: (at 72298) by debbugs.gnu.org; 25 Aug 2024 00:36:25 +0000 Original-Received: from localhost ([127.0.0.1]:42000 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1si1F3-0000c7-Dx for submit@debbugs.gnu.org; Sat, 24 Aug 2024 20:36:25 -0400 Original-Received: from mail-ot1-f46.google.com ([209.85.210.46]:60465) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1si1F0-0000bq-4C for 72298@debbugs.gnu.org; Sat, 24 Aug 2024 20:36:23 -0400 Original-Received: by mail-ot1-f46.google.com with SMTP id 46e09a7af769-70949118d26so3089065a34.0 for <72298@debbugs.gnu.org>; Sat, 24 Aug 2024 17:35:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1724546067; x=1725150867; darn=debbugs.gnu.org; h=mime-version:user-agent:references:in-reply-to:subject:cc:to:from :message-id:date:from:to:cc:subject:date:message-id:reply-to; bh=VykASrSoqaClI4v1NBh40YgmsrRO7koHyLSLOLfHOfQ=; b=MbV6R6y0Rpms+NqF9QhNk47Xj/pBgmY1GPO998XhQhhviHJXrNqepMTeb0FFyHfzNx uXSbet8dE50CQtiTK0NJRQOR/Gvl9pRpqk7mhMG8QDbrpwEUsHyM7sbi8wzHgoNETChl MNlW3fU4sPdKKwvtThA9bUF3IPAc1OexzGZAvUuE5ceNkbF9x/mm/pfsGy82KRILcqSQ ZCj6FvCPpbBnpqokZZ26EfV+HBjv71mhvkpGgatlx9GuKCw5y4RJ61J9efH2YLJ+FtNd ZDdba49A3suduTs/zWhoDxPzUBh1KnDwQI62jT7Po1DUI+d9xUS0M06VkXBiR1t9g8BI V5PQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724546067; x=1725150867; h=mime-version:user-agent:references:in-reply-to:subject:cc:to:from :message-id:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=VykASrSoqaClI4v1NBh40YgmsrRO7koHyLSLOLfHOfQ=; b=oJ0TbNyFbzvkaIdDTVfTwxf6Saf8w+rLeDpmzarUtSxgyWXy459vlllZjgTR2SFUQv zM1AhYAUAlM7R5Grb/WGYqT+UyklWL5OG2SkzxsM7RQ3MTNvVc834bYoX2WBXIIsrVOf w1YEa0SJg0MqB4LyWjgCl46aLW8zpyAsbE3EX4hrjwNEomAvrEu4z7V74gY9ggUaHc8t GnK43g85JQthC4N8BbQlyHXz42Ah5EZd7uj2wspdDUQknL3yP98kbvEsQadifn4RSk+W PxpCaNRDgrWBWAqovfe4OMCiVCHajSUKV9zCHlY7RcF/8kxveL5sqlNmBxUu6eF7IIKN e96w== X-Gm-Message-State: AOJu0Yyn2HH5xW6GEgeUQSY8ozDKXcHBMFDV5rehbRfGEfd2i0oVhGMo nDwSmNNSFqnetz5XPL0OlKE+SOLvaKeqyr3JjoiXyyfGDWvsUu0G X-Google-Smtp-Source: AGHT+IHYWIx0js42EZi5tkkTrceQeoa7WXKr0TGjjv9LMkodCk0y00oFI+QEpr6nCa/i3EbSEGXgOA== X-Received: by 2002:a05:6830:3745:b0:709:4936:d8fd with SMTP id 46e09a7af769-70e0ec1c73fmr9472810a34.29.1724546066965; Sat, 24 Aug 2024 17:34:26 -0700 (PDT) Original-Received: from localhost (58x12x133x161.ap58.ftth.ucom.ne.jp. [58.12.133.161]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2d5ebbb17cesm9072185a91.40.2024.08.24.17.34.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Aug 2024 17:34:26 -0700 (PDT) In-Reply-To: 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:290705 Archived-At: --Multipart_Sun_Aug_25_09:34:19_2024-1 Content-Type: text/plain; charset=US-ASCII Ship Mints wrote: > Thank you. Will save confusion for people. Thank you for your confirmation. I forgot to include the bug ID in the commit message for the previous patch, so I am attaching a revised version. The patch itself has not been changed. --Multipart_Sun_Aug_25_09:34:19_2024-1 Content-Type: application/octet-stream; type=patch; name="0001-Make-Python-skeletons-available-in-python-ts-mode-as.patch" Content-Disposition: attachment; filename="0001-Make-Python-skeletons-available-in-python-ts-mode-as.patch" Content-Transfer-Encoding: 7bit >From 6f00df168c04a06b292bb2e21ec38cd325d1648d Mon Sep 17 00:00:00 2001 From: kobarity Date: Sat, 24 Aug 2024 20:13:16 +0900 Subject: [PATCH] Make Python skeletons available in python-ts-mode as well * lisp/progmodes/python.el (python-base-mode-abbrev-table): Renamed from python-mode-abbrev-table to be available for both python-mode and python-ts-mode. (Bug#72298) --- lisp/progmodes/python.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index a00289d6de9..fb4b9afc073 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el @@ -5390,8 +5390,8 @@ python-skeleton-define (format "Insert %s statement." name)) ,@skel)))) -(define-abbrev-table 'python-mode-abbrev-table () - "Abbrev table for Python mode." +(define-abbrev-table 'python-base-mode-abbrev-table () + "Abbrev table for Python modes." :parents (list python-mode-skeleton-abbrev-table)) (defmacro python-define-auxiliary-skeleton (name &optional doc &rest skel) -- 2.34.1 --Multipart_Sun_Aug_25_09:34:19_2024-1--