From ian@digg.com Wed Oct 7 10:20:46 2009 Received: (at submit) by emacsbugs.donarmstrong.com; 7 Oct 2009 17:20:46 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-0.3 required=4.0 tests=AWL,FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n97HKjsP022041 for ; Wed, 7 Oct 2009 10:20:46 -0700 Received: from mx10.gnu.org ([199.232.76.166]:48723) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1MvaBt-0001UK-90 for emacs-pretest-bug@gnu.org; Wed, 07 Oct 2009 13:20:44 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1MvaBq-0003eu-GM for emacs-pretest-bug@gnu.org; Wed, 07 Oct 2009 13:20:40 -0400 Received: from mail.digg.com ([64.191.203.36]:49552) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MvaBp-0003eT-To for emacs-pretest-bug@gnu.org; Wed, 07 Oct 2009 13:20:38 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.digg.com (Postfix) with ESMTP id 28182A84F25 for ; Wed, 7 Oct 2009 10:20:34 -0700 (PDT) X-Virus-Scanned: amavisd-new at d242.digg.internal Received: from mail.digg.com ([127.0.0.1]) by localhost (mail.digg.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lBRnxTQJB69k for ; Wed, 7 Oct 2009 10:20:33 -0700 (PDT) Received: from [10.2.16.50] (diggstage01.digg.com [64.191.203.34]) by mail.digg.com (Postfix) with ESMTP id A76E1A84F1F for ; Wed, 7 Oct 2009 10:20:33 -0700 (PDT) Message-Id: <19BFC6CD-1D9A-4407-9D41-ED1B376B055F@digg.com> From: Ian Eure To: emacs-pretest-bug@gnu.org Content-Type: text/plain; charset=WINDOWS-1252; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v936) Subject: 23.1.50; python-end-of-defun breaks when using prefix args Date: Wed, 7 Oct 2009 10:20:33 -0700 X-Mailer: Apple Mail (2.936) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) According to the help for `end-of-defun': Move forward to next end of defun. With argument, do it that many times. Python-mode=92s python-end-of-defun function does not work this way when given a prefix argument. Paste this code into a python-mode buffer: def one(): pass def two(): pass def three(): pass def four(): pass def five(): pass xodef six(): pass def seven(): pass def eight(): pass If you position point on `def one' and press C-M-e twice, you end up on `def three'. However, if you press C-2 C-M-e, you end up on `def four'. It=92s not a simple off-by-one error. If you press C-3 C-M-e, you are put on `def six' rather than `def four'. In GNU Emacs 23.1.50.1 (i386-apple-darwin9.8.0, NS apple-appkit-949.54) of 2009-09-24 on neutron.local Windowing system distributor `Apple', version 10.3.949 configured using `configure '--with-ns'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: nil value of $XMODIFIERS: nil locale-coding-system: nil default enable-multibyte-characters: t Major mode: Python Minor modes in effect: erc-track-mode: t erc-track-minor-mode: t erc-spelling-mode: t erc-ring-mode: t erc-pcomplete-mode: t erc-netsplit-mode: t erc-match-mode: t erc-button-mode: t erc-fill-mode: t erc-autojoin-mode: t erc-irccontrols-mode: t erc-noncommands-mode: t erc-readonly-mode: t erc-scrolltobottom-mode: t goto-address-prog-mode: t light-symbol-mode: t hl-line-mode: t which-function-mode: t yas/minor-mode: t ime-bindings: t shell-dirtrack-mode: t show-paren-mode: t recentf-mode: t iswitchb-mode: t cua-mode: t auto-insert-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t size-indication-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t abbrev-mode: t Recent input: s s d e f SPC q u u z x M-m C-k p a s s C-n C-x C-o M-< C-M-e C-M-e C-M-e C-M-a C-M-a C-M-a C-2 C-M-e M-< C-3 C-M-e C-g M-< C-c C-SPC C-x b C-h k C-M-e C-x o C-n C-p C-n C-p C-n C-p C-n C-p C-x o C-n C-p C-n M-x r e p o t r b C-g C-x o C-n C-n C-p C-e C-b C-x o C-n C-p C-n C-p C-M-e C-M-e C-M-e C-M-a C-M-a C-M-a C-x o C-n C-p C-n C-p C-n C-p C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-b C-n C-n C-x o C-n C-p C-n C-h f p y t h m o e C-x o C-n C-p C-e C-b C-b C-b C-b C-b C-b M-< C-s e n d - o f d e f u n C-s C-s - d e f u n C-n C-p C-s C-s C-n C-n C-n C-n M-m C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-x b C-x b C-x b C-g C-x b C-g C-x b M-< M-x p y t h o n - e n M-x M-p M-x M-p C-g M-< C-f C-f C-f C-f C-a C-n C-n C-n C-f C-a M-< C-M-e M-< C-2 C-M-e M-x r e p o r t - e m b P y t h o n C-x o C-x b C-g C-x o C-n C-p C-n C-p C-n C-n C-p C-x b . C-x o C-n M-x M-p Recent messages: uncompressing python.el.gz...done Mark set [2 times] Mark saved where search started [2 times] Quit [2 times] Mark set Quit Mark set [6 times] byte-code: Command attempted to use minibuffer while in minibuffer Quit Scanning for dabbrevs...100% [2 times] Load-path shadows: /Users/ieure/.emacs.d/ime-lisp/ime-dired hides /Users/ieure/.emacs.d/=20 lisp/ime-dired /Users/ieure/.emacs.d/lisp/json hides /Applications/Emacs.app/Contents/=20= Resources/lisp/json From lekktu@gmail.com Wed Oct 7 11:12:44 2009 Received: (at control) by emacsbugs.donarmstrong.com; 7 Oct 2009 18:12:44 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-0.3 required=4.0 tests=AWL,MISSING_SUBJECT,NOSUBJECT, VALID_BTS_CONTROL autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from mail-bw0-f217.google.com (mail-bw0-f217.google.com [209.85.218.217]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n97ICgXO030055 for ; Wed, 7 Oct 2009 11:12:43 -0700 Received: by bwz17 with SMTP id 17so4609020bwz.45 for ; Wed, 07 Oct 2009 11:12:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:message-id :subject:to:content-type; bh=n4HznAf4PII0qZOxrwPZKAB3+9o+CaSSaheDiDSFdN4=; b=vcwwDXz0kHOH8fii+SRNlD8pqeySLo4RrKUNFx3LChFgltO3pe1DQXIa0kMVTPAw73 4p1R9FoM88Ohk86LQzdj8vap0QT/M3Y2gB7i+MYWUKgnq97C00xPPhEHtlIz2YODhMz2 XcEnGmy3MB5+qesHLl0IR1tu1FTEbz/P9VVQM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=Ji+gvbZIaf9C/zsmJZrFWXR87EKmqpF52HCuXNIQjTIwXhmSvinmXA5aD6itldlyST bcwZ1WGLfJboFIS2BxiLkRfzKo89QCMsgGv6EFjbrGoPwylF6sEAuDVRW1CymsJMx+KN njGnfTU8N/3pgeRaOZ89hRQm6E3x0RsLTT3BU= MIME-Version: 1.0 Received: by 10.239.144.100 with SMTP id n36mr23146hba.19.1254939156190; Wed, 07 Oct 2009 11:12:36 -0700 (PDT) From: Juanma Barranquero Date: Wed, 7 Oct 2009 20:12:16 +0200 Message-ID: Subject: To: control@debbugs.gnu.org Content-Type: text/plain; charset=UTF-8 reassign 4663 spam merge 4666 4667 quit From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 18 17:49:11 2012 Received: (at 4667-done) by debbugs.gnu.org; 18 Jun 2012 21:49:11 +0000 Received: from localhost ([127.0.0.1]:47230 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Sgjot-000795-A2 for submit@debbugs.gnu.org; Mon, 18 Jun 2012 17:49:11 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:52402) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Sgjor-00078z-Oj for 4667-done@debbugs.gnu.org; Mon, 18 Jun 2012 17:49:10 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Sgjlf-0006kd-6n; Mon, 18 Jun 2012 17:45:51 -0400 From: Glenn Morris To: 4667-done@debbugs.gnu.org Subject: Re: bug#4667: 23.1.50; python-end-of-defun breaks when using prefix args References: <19BFC6CD-1D9A-4407-9D41-ED1B376B055F@digg.com> X-Spook: blackjack AMEMB Europol Albanian unclassified CESID X-Ran: E_Y~FtO*5|7LZ?p\,yYgFe{.-q=CIW:PR+D-O_a\w2k-8OxvKXsZWn))y6oz(ZLMSgjk][ X-Hue: green X-Attribution: GM Date: Mon, 18 Jun 2012 17:45:51 -0400 In-Reply-To: <19BFC6CD-1D9A-4407-9D41-ED1B376B055F@digg.com> (Ian Eure's message of "Wed, 7 Oct 2009 10:20:33 -0700") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: 4667-done 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: -6.9 (------) Version: 24.2 Thanks for the report. The Emacs trunk has a new python.el, and it seems your problem is fixed there. This should appear in Emacs 24.2. From unknown Mon Aug 18 02:33:09 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 17 Jul 2012 11:24:05 +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