From unknown Wed Jun 18 23:03:28 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#17683 <17683@debbugs.gnu.org> To: bug#17683 <17683@debbugs.gnu.org> Subject: Status: 24.4.50; [PATCH] Missing char in Python class skeleton Reply-To: bug#17683 <17683@debbugs.gnu.org> Date: Thu, 19 Jun 2025 06:03:28 +0000 retitle 17683 24.4.50; [PATCH] Missing char in Python class skeleton reassign 17683 emacs submitter 17683 Matthias Meulien severity 17683 normal tag 17683 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 03 16:06:43 2014 Received: (at submit) by debbugs.gnu.org; 3 Jun 2014 20:06:44 +0000 Received: from localhost ([127.0.0.1]:42682 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wruyp-00016K-30 for submit@debbugs.gnu.org; Tue, 03 Jun 2014 16:06:43 -0400 Received: from eggs.gnu.org ([208.118.235.92]:36555) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wruym-000163-JZ for submit@debbugs.gnu.org; Tue, 03 Jun 2014 16:06:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wruyg-0001jm-H7 for submit@debbugs.gnu.org; Tue, 03 Jun 2014 16:06:35 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:38394) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wruyg-0001jg-EM for submit@debbugs.gnu.org; Tue, 03 Jun 2014 16:06:34 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38265) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wruye-0008Le-IG for bug-gnu-emacs@gnu.org; Tue, 03 Jun 2014 16:06:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wruyd-0001iO-9R for bug-gnu-emacs@gnu.org; Tue, 03 Jun 2014 16:06:32 -0400 Received: from mail-wg0-x22c.google.com ([2a00:1450:400c:c00::22c]:59942) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wruyc-0001iK-Uf for bug-gnu-emacs@gnu.org; Tue, 03 Jun 2014 16:06:31 -0400 Received: by mail-wg0-f44.google.com with SMTP id a1so7242965wgh.15 for ; Tue, 03 Jun 2014 13:06:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:user-agent:mime-version :content-type; bh=DN+EA4u0pDUo0Qpt6c/8qgGsAZbgP/w5RtF9ybQ8LaA=; b=0XV1dO4KegnqPPgkORNwN+Qf1/3Iyvtq6RQOJWNQuPRsH0pMdthSopEPgOA/zrOecF jTbh0ndYW+wzOJgd92OEPquLoUdp2KlwqUyOraUaXkInMK88BQDqF/Ezq8sAQvPK/PPW oWhm7NSOwEd527j6FlFEL7EsIwFfILQU4Qy2sm+z6QwUNXcrONdugJgSKm94aDkHtWgM RLlcQkse+7LuvsMHNegIfmL0qDS6V+EKaXIrsKbPG6qJafLGnEDn719dxjB61SQyKtAu r0yOaCtF7vPC+mgVyH9tfOmu/uSNn6bJRd0Y31WI5PzZAq+65uDVYSf92xSrLS1Juuch +TSQ== X-Received: by 10.180.100.41 with SMTP id ev9mr36518518wib.22.1401825989704; Tue, 03 Jun 2014 13:06:29 -0700 (PDT) Received: from choubidou.localdomain ([2a01:e35:2ef1:4540:e2b9:a5ff:fe0b:e998]) by mx.google.com with ESMTPSA id hs8sm44224995wib.10.2014.06.03.13.06.28 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 03 Jun 2014 13:06:28 -0700 (PDT) From: Matthias Meulien To: bug-gnu-emacs@gnu.org Subject: 24.4.50; [PATCH] Missing char in Python class skeleton Date: Tue, 03 Jun 2014 22:04:30 +0200 Message-ID: <87ha41bvzl.fsf@choubidou.i-did-not-set--mail-host-address--so-tickle-me> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.118.235.17 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) --=-=-= Content-Type: text/plain When inserting a class skeleton in python mode (C-c C-t c) and entering an empty value at the inheritance prompt, the last character of the class name is deleted. To reproduce, start emacs with the -Q switch; Then press: C-x h C-w M-x p y t h o n SPC m o d C-c C-t c T e s t r e p o r Here is a patch to fix that problem: --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-python.el-Fix-missing-char-while-inserting-class-ske.patch Content-Description: python.el: Fix missing char while inserting class skeleton >From 81552cf6913d93caf47c0c1b7863af214cb447b1 Mon Sep 17 00:00:00 2001 From: Matthias Meulien Date: Tue, 3 Jun 2014 21:59:59 +0200 Subject: [PATCH] python.el: Fix missing char while inserting class skeleton --- lisp/progmodes/python.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 436442d..ef433eb 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el @@ -2983,7 +2983,7 @@ The skeleton will be bound to python-skeleton-NAME." "class " str "(" ("Inheritance, %s: " (unless (equal ?\( (char-before)) ", ") str) - & ")" | -2 + & ")" | -1 ":" \n "\"\"\"" - "\"\"\"" \n > _ \n) -- 1.9.3 --=-=-= Content-Type: text/plain In GNU Emacs 24.4.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.12.2) of 2014-05-27 on choubidou Windowing system distributor `The X.Org Foundation', version 11.0.11501000 Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS NOTIFY ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB Important settings: value of $LC_COLLATE: C value of $LANG: fr_FR.UTF-8 locale-coding-system: utf-8-unix Major mode: Python Minor modes in effect: tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-x h C-w M-x p y t h o n SPC m o d C-c C-t c T e s t r e p o r Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Mark set [2 times] Can't guess python-indent-offset, using defaults: 4 Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message dired format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils skeleton python easymenu comint ring ansi-color time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind gfilenotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) Memory information: ((conses 16 80329 5956) (symbols 48 18657 0) (miscs 40 41 99) (strings 32 12365 4964) (string-bytes 1 352743) (vectors 16 10184) (vector-slots 8 387772 4257) (floats 8 69 289) (intervals 56 194 0) (buffers 960 11) (heap 1024 34297 1140)) --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 11 22:24:51 2014 Received: (at 17683-done) by debbugs.gnu.org; 12 Jun 2014 02:24:51 +0000 Received: from localhost ([127.0.0.1]:44707 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wuuh8-0004kJ-Il for submit@debbugs.gnu.org; Wed, 11 Jun 2014 22:24:50 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:60440) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wuuh5-0004k0-J4 for 17683-done@debbugs.gnu.org; Wed, 11 Jun 2014 22:24:48 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArYGAIDvNVNLd+D9/2dsb2JhbABZgwaDSr0vgw6BFxd0giUBAQEBAgFWIwULCw4mEhQYDSSIBAjSGReOegeEOASTQZVYgWqDTCE X-IPAS-Result: ArYGAIDvNVNLd+D9/2dsb2JhbABZgwaDSr0vgw6BFxd0giUBAQEBAgFWIwULCw4mEhQYDSSIBAjSGReOegeEOASTQZVYgWqDTCE X-IronPort-AV: E=Sophos;i="4.97,753,1389762000"; d="scan'208";a="66631585" Received: from 75-119-224-253.dsl.teksavvy.com (HELO pastel.home) ([75.119.224.253]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 11 Jun 2014 22:24:42 -0400 Received: by pastel.home (Postfix, from userid 20848) id 9F88560358; Wed, 11 Jun 2014 22:24:41 -0400 (EDT) From: Stefan Monnier To: Matthias Meulien Subject: Re: bug#17683: 24.4.50; [PATCH] Missing char in Python class skeleton Message-ID: References: <87ha41bvzl.fsf@choubidou.i-did-not-set--mail-host-address--so-tickle-me> Date: Wed, 11 Jun 2014 22:24:41 -0400 In-Reply-To: <87ha41bvzl.fsf@choubidou.i-did-not-set--mail-host-address--so-tickle-me> (Matthias Meulien's message of "Tue, 03 Jun 2014 22:04:30 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 17683-done Cc: 17683-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) > When inserting a class skeleton in python mode (C-c C-t c) and > entering an empty value at the inheritance prompt, the last character of > the class name is deleted. Thanks, installed, Stefan From unknown Wed Jun 18 23:03:28 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 10 Jul 2014 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator