From unknown Sun Aug 17 10:25:00 2025 X-Loop: bug-gnu-emacs@gnu.org Subject: bug#5716: 23.1.92; python-expand-template docu Resent-From: Andreas Roehler Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 13 Mar 2010 11:49:01 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-GNU-PR-Message: report 5716 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 5716@debbugs.gnu.org Cc: python-mode@python.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.126848093022554 (code B ref -1); Sat, 13 Mar 2010 11:49:01 +0000 Received: (at submit) by debbugs.gnu.org; 13 Mar 2010 11:48:50 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NqPpp-0005rj-IG for submit@debbugs.gnu.org; Sat, 13 Mar 2010 06:48:49 -0500 Received: from mx10.gnu.org ([199.232.76.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NqPpn-0005re-01 for submit@debbugs.gnu.org; Sat, 13 Mar 2010 06:48:47 -0500 Received: from lists.gnu.org ([199.232.76.165]:58112) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NqPph-00041k-Gb for submit@debbugs.gnu.org; Sat, 13 Mar 2010 06:48:41 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NqPph-0004np-8O for bug-gnu-emacs@gnu.org; Sat, 13 Mar 2010 06:48:41 -0500 Received: from [140.186.70.92] (port=40418 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NqPpf-0004nd-Mh for bug-gnu-emacs@gnu.org; Sat, 13 Mar 2010 06:48:40 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=unavailable version=3.3.0 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NqPpe-00087F-8x for bug-gnu-emacs@gnu.org; Sat, 13 Mar 2010 06:48:39 -0500 Received: from moutng.kundenserver.de ([212.227.126.171]:63953) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NqPpd-000873-Tm for bug-gnu-emacs@gnu.org; Sat, 13 Mar 2010 06:48:38 -0500 Received: from [192.168.178.27] (p54BEBB14.dip0.t-ipconnect.de [84.190.187.20]) by mrelayeu.kundenserver.de (node=mreu1) with ESMTP (Nemesis) id 0Le9A8-1NKbC328uS-00po3n; Sat, 13 Mar 2010 12:48:36 +0100 Message-ID: <4B9B7C30.5040101@online.de> Date: Sat, 13 Mar 2010 12:51:12 +0100 From: Andreas Roehler User-Agent: Thunderbird 2.0.0.19 (X11/20081227) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Provags-ID: V01U2FsdGVkX1+M8O2bzwIEpAs5fKi02MFqnLyoq5tE/e9l79y uGEaRd4z2PJt6nz9eGLDBjIDHzUyp6cxtH6SEV/xz1UYU7sZWd aD/8NVJ3no2b7oTMpNZhCS/8Mxd2neDcLcACE0Xow0= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -4.0 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.3 (-----) Hi, python.el provides templates inserting compound statements like `if', `for' etc. - a nice feature. AFAIS it's for use in two ways - 1) as an abbrev expanded 2) by calling `python-expand-template', afterwards the user is prompted. See only the first usage mentioned in the docu. The latter may be more suitable for beginners, as it's done expressingly only - no automatic abbreviation expansion. Suggest to extend the docstring of `python-use-skeletons' with something like "In any case you may use skeletons, calling `python-expand-template'." Also description of `define-derived-mode python-mode' which closes now: "An abbrev table is set up with skeleton expansions for compound statement templates." should mention `python-use-skeletons'. Thanks all Andreas -- https://code.launchpad.net/~a-roehler/python-mode https://code.launchpad.net/s-x-emacs-werkstatt/ GNU Emacs 23.1.92.1 (i686-pc-linux-gnu, GTK+ Version 2.12.0) of 2010-02-19 From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 18 22:59:11 2010 Received: (at control) by debbugs.gnu.org; 19 Mar 2010 02:59:12 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NsSQZ-0007Jq-KB for submit@debbugs.gnu.org; Thu, 18 Mar 2010 22:59:11 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NsSQX-0007Jk-Vm for control@debbugs.gnu.org; Thu, 18 Mar 2010 22:59:10 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1NsSQT-0007is-VH; Thu, 18 Mar 2010 22:59:06 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19362.59513.721447.641996@fencepost.gnu.org> Date: Thu, 18 Mar 2010 22:59:05 -0400 From: Glenn Morris To: control Subject: control X-Attribution: GM X-Mailer: VM (www.wonderworks.com/vm), GNU Emacs (www.gnu.org/software/emacs) X-Hue: cyan X-Ran: pg=Ww3JAIc\=!*)%Z5Fhs9Ym$)~XH{,K X-Debbugs-No-Ack: yes X-Spam-Score: -5.1 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.1 (-----) close 5642 severity 5716 minor tags 5717 moreinfo severity 5721 wishlist reassign 4065 emacs From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 23 20:24:29 2013 Received: (at control) by debbugs.gnu.org; 24 Jan 2013 01:24:29 +0000 Received: from localhost ([127.0.0.1]:46998 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TyBYL-00071I-A8 for submit@debbugs.gnu.org; Wed, 23 Jan 2013 20:24:29 -0500 Received: from mail-ye0-f177.google.com ([209.85.213.177]:56755) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TyBYK-00071C-Ge for control@debbugs.gnu.org; Wed, 23 Jan 2013 20:24:28 -0500 Received: by mail-ye0-f177.google.com with SMTP id m14so1406104yen.8 for ; Wed, 23 Jan 2013 17:23:10 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to :content-type:content-transfer-encoding:x-gm-message-state; bh=DKm5X86I2yerbJkI1a+SrIuYmzDOctgXPPDWB0ndH/o=; b=db1LCdzHXvpm/D6tKo7cBD59LTHatEyapMWuzGgNuBWDH92t21eM6RgQUXYSWs8zwS qKho3UktttN1vdTagMFqH7Yzt4uJZjgqYiTv+qAcXiSuC5zZO9ga4Ob4MwlnB2JfRzfM vta1qlY5fXmtuyfzgOzMdmTQcbNVmspvjPhTcDCqACNfSsmq7xF6RAuPJ6Dd/IgYrQR1 EH+l9BaMwYNw48SdW8dd647kjtkH8bqs3f73+F3MwTGnXQ1LKkvZk5Ed//hv8CkzjhSt P1PAtU8iyOV3mBKL6c/mUE7/27idV2LqwX7ajJomLhGGjTcW36eCR9CU0LIg2LwhPBM5 aoTQ== X-Received: by 10.236.138.42 with SMTP id z30mr165013yhi.101.1358990590271; Wed, 23 Jan 2013 17:23:10 -0800 (PST) Received: from [192.168.1.102] ([190.192.49.157]) by mx.google.com with ESMTPS id k24sm21880168yhd.5.2013.01.23.17.23.08 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 23 Jan 2013 17:23:09 -0800 (PST) Message-ID: <51008D4E.9030305@anue.biz> Date: Wed, 23 Jan 2013 22:24:30 -0300 From: =?ISO-8859-1?Q?Fabi=E1n_Ezequiel_Gallina?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130109 Thunderbird/17.0.2 MIME-Version: 1.0 To: control@debbugs.gnu.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQni3x2TCH6TeCQcf6u/FjqBxgVtZmO9RDRB2qGhIXlYn1XIGzZkdRci4c8O2BqQxKOXhnF8 X-Spam-Score: 2.1 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: close #5716 [...] Content analysis details: (2.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.213.177 listed in list.dnswl.org] 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.4998] 1.8 MISSING_SUBJECT Missing Subject: header 0.2 NO_SUBJECT Extra score for no subject X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: close #5716 [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.213.177 listed in list.dnswl.org] -0.0 BAYES_40 BODY: Bayes spam probability is 20 to 40% [score: 0.3534] 1.8 MISSING_SUBJECT Missing Subject: header 0.2 NO_SUBJECT Extra score for no subject 0.0 TVD_SPACE_RATIO TVD_SPACE_RATIO close #5716