From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ivan Andrus Newsgroups: gmane.emacs.bugs Subject: bug#11899: 24.1.50; Weird names and unhelpful docstrings for some python function Date: Tue, 10 Jul 2012 16:33:19 +0200 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1341930906 15957 80.91.229.3 (10 Jul 2012 14:35:06 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 10 Jul 2012 14:35:06 +0000 (UTC) To: 11899@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 10 16:35:03 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SobWm-0006Jv-QX for geb-bug-gnu-emacs@m.gmane.org; Tue, 10 Jul 2012 16:35:01 +0200 Original-Received: from localhost ([::1]:46081 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SobWl-0003Vz-T4 for geb-bug-gnu-emacs@m.gmane.org; Tue, 10 Jul 2012 10:34:59 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:52549) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SobWd-0003Df-T5 for bug-gnu-emacs@gnu.org; Tue, 10 Jul 2012 10:34:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SobWT-00081J-Cw for bug-gnu-emacs@gnu.org; Tue, 10 Jul 2012 10:34:51 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50641) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SobWT-00081F-6Z for bug-gnu-emacs@gnu.org; Tue, 10 Jul 2012 10:34:41 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1Sobbd-0006gJ-NV for bug-gnu-emacs@gnu.org; Tue, 10 Jul 2012 10:40:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ivan Andrus Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 10 Jul 2012 14:40:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 11899 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.134193115025617 (code B ref -1); Tue, 10 Jul 2012 14:40:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 10 Jul 2012 14:39:10 +0000 Original-Received: from localhost ([127.0.0.1]:60187 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Soban-0006f7-KE for submit@debbugs.gnu.org; Tue, 10 Jul 2012 10:39:10 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:40758) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Sobak-0006ez-4Q for submit@debbugs.gnu.org; Tue, 10 Jul 2012 10:39:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SobVS-0007r6-FD for submit@debbugs.gnu.org; Tue, 10 Jul 2012 10:33:44 -0400 Original-Received: from lists.gnu.org ([208.118.235.17]:54283) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SobVS-0007r0-96 for submit@debbugs.gnu.org; Tue, 10 Jul 2012 10:33:38 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:34633) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SobVL-0002in-Qy for bug-gnu-emacs@gnu.org; Tue, 10 Jul 2012 10:33:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SobVE-0007Xk-Ar for bug-gnu-emacs@gnu.org; Tue, 10 Jul 2012 10:33:31 -0400 Original-Received: from mail-bk0-f41.google.com ([209.85.214.41]:61915) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SobVD-0007SP-TN for bug-gnu-emacs@gnu.org; Tue, 10 Jul 2012 10:33:24 -0400 Original-Received: by mail-bk0-f41.google.com with SMTP id jc3so49727bkc.0 for ; Tue, 10 Jul 2012 07:33:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:content-transfer-encoding:subject:date:message-id :to:mime-version:x-mailer; bh=xJoJ/PHpo6PPWe/S9drhZ2JHwN1Oyr+4ygjft/eAqGI=; b=QSIy/7fkaSqe/0HI6WWV5ZY2TuAypSA/NjJpmFGIPtXFHJ+IKtlfQ+mliUm99FLyP3 hZJAuFDCo36/E22A/tT01ePuDHojw+FMdqWu9REy+0gqU6nZNAP8sv2TBYrYfuMJzNH9 aSdxHNHqUjxIPype2gnb6iL2madbyigJbeUfo6sPFPBMo8nwVVW4pBsBUoe7NNLDoRxK 9E61frDsy+/EGtxIFZ/N64Iur8RNZCVmb+rBEhvz2pC1fADio7eWZjxzzQWbpwBMzKtv UDMKj0b6W3+++dNoAwVpKMSESRGorIZGw0jLdKsvkH8ggQX4dm2cilD/LiQdUDu5IhWH v0Fg== Original-Received: by 10.204.148.78 with SMTP id o14mr21457979bkv.38.1341930802200; Tue, 10 Jul 2012 07:33:22 -0700 (PDT) Original-Received: from [10.0.2.25] (catv-80-99-177-93.catv.broadband.hu. [80.99.177.93]) by mx.google.com with ESMTPS id n5sm28385138bkv.14.2012.07.10.07.33.21 (version=SSLv3 cipher=OTHER); Tue, 10 Jul 2012 07:33:21 -0700 (PDT) X-Mailer: Apple Mail (2.1084) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 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.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:61786 Archived-At: The functions python-nav-sentence-start python-nav-sentence-end python-nav-forward-sentence python-nav-backward-sentence have weird names in the sense that they don't move by sentences. In fact the concept of a sentence in python doesn't even make sense. I have no problem with them being bound to forward-sentence and backward-sentence--in fact I do similar things in other modes, but at least the docstrings (if not the names) should explain that they move by statements instead of sentences (if that is in fact what they do). Perhaps they should also be aliased to python-beginning-of-statement python-end-of-statement if the semantics match, since those functions are now gone. -Ivan P.S. Is this the right place to file a bug against the new python.el, or should I file it on github? In GNU Emacs 24.1.50.1 (i386-apple-darwin10.8.0, NS = apple-appkit-1038.36) of 2012-07-10 on oroszlan.local Bzr revision: 108995 rgm@gnu.org-20120710101729-d50lf86lytae0ts2 Windowing system distributor `Apple', version 10.3.1038 Configured using: `configure '--with-ns'' Important settings: locale-coding-system: nil default enable-multibyte-characters: t Major mode: SAGE Minor modes in effect: diff-auto-refine-mode: t TeX-PDF-mode: t highlight-symbol-mode: t hi-lock-mode: t which-function-mode: t show-paren-mode: t recentf-mode: t msb-mode: t minibuffer-depth-indicate-mode: t global-hl-line-mode: t delete-selection-mode: t auto-image-file-mode: t auto-insert-mode: t yas/global-mode: t yas/minor-mode: t shell-dirtrack-mode: t ido-everywhere: t global-visible-mark-mode: t visible-mark-mode: t gvol-mode: t desktop-save-mode: t drag-stuff-global-mode: t drag-stuff-mode: t command-frequency-autosave-mode: t command-frequency-mode: t tooltip-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 column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-c C-f C-x C-f p y r e SPC C-t C-c C-f C-; C-c C-f q TAB TAB TAB TAB TAB TAB TAB C-1 M-( TAB C-y C-M-SPC C-M-j C-1 M-( C-l w h e n SPC , , n o t SPC , , f b o u n d p C-o C-M-u C-o C-M-l C-M-j C-M-k C-/ TAB C-e C-e C-\ ' C-y C-k TAB C-l C-x C-e C-l C-x C-e C-M-SPC C-M-l C-e C-x C-e C-M-j TAB TAB TAB C-e C-M-j TAB C-k C-k C-d C-e C-SPC TAB TAB C-x C-s C-k C-k C-a C-M-k , , w h e n SPC , , n o t SPC , , f b o u n d p SPC ' C-y C-M-o C-M-o , , d e f u n SPC C-y SPC , , C-M-o C-M-o C-x C-s C-h f p y t h n a s e s t C-k C-k C-M-k C-h f C-g M-w C-x b l i b g a p . C-g C-x C-f l i b C-s C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k M-x p y t h - m n a f o M-x M-x M-x M-x M-x M-x M-x M-x M-x M-x e m C-g M-x e m a c s b u g Recent messages: Error during redisplay: (wrong-type-argument arrayp nil) [3 times] /Users/gvol/.emacs-uptimes byte-code: Buffer is read-only: # Quit QuitError during redisplay: (wrong-type-argument arrayp nil) Error during redisplay: (wrong-type-argument arrayp nil) [63 times] eval: QuitError during redisplay: (wrong-type-argument arrayp nil) Error during redisplay: (wrong-type-argument arrayp nil) [3 times] Scanning for dabbrevs...done Error during redisplay: (wrong-type-argument arrayp nil) [11 times] Load-path shadows: /Users/gvol/.emacs.d/elpa/parenface-20091203/parenface hides = ~/.emacs.d/local/parenface /Users/gvol/.emacs.d/elpa/hl-sexp-1.0.0/hl-sexp hides = ~/.emacs.d/local/hl-sexp /Users/gvol/.emacs.d/elpa/python-mode-6.0.3/highlight-indentation hides = ~/.emacs.d/local/highlight-indentation /Users/gvol/.emacs.d/elpa/command-frequency-1.1/command-frequency hides = ~/.emacs.d/local/command-frequency /Users/gvol/vcs/sage-mode/emacs/.dir-locals hides = /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/gnu= s/.dir-locals ~/.emacs.d/local/lisp-mnt hides = /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/ema= cs-lisp/lisp-mnt Features: (shadow sort mail-extr emacsbug message rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mail-utils esh-var esh-io esh-cmd esh-ext esh-proc esh-arg esh-groups eshell esh-module esh-mode esh-util hippie-exp lisp-mnt checkdoc elint debug pyrex multi-isearch ffap url-parse url-vars dabbrev smerge-mode diff-mode sage-view parse-time vc-cvs sgml-mode preview prv-emacs adaptive-wrap tex-fold reftex-vcr reftex-dcr reftex-auc reftex reftex-vars tex-bar tex-buf toolbar-x font-latex latex tex-style sage-auctex tex subword sage-mode hideshow python org-colview vc-svn compile sh-script smie executable tabify cal-iso org-mobile reveal org-habit org-wl org-w3m org-vm org-rmail org-mhe org-mew org-irc org-jsinfo org-infojs org-html org-exp ob-exp org-exp-blocks find-func org-agenda org-info org-gnus org-docview org-bibtex bibtex org-bbdb org-archive org-id org-crypt ob-python org ob-emacs-lisp ob-tangle ob-ref ob-lob ob-table org-footnote org-src ob-comint ob-keys ob ob-eval org-pcomplete org-list org-faces org-compat org-entities org-macs noutline outline gvol-light-theme elide-head vc-bzr vc-hg eldoc highlight-parentheses greedy-delete highlight-symbol hi-lock thingatpt time jka-compr saveplace uniquify which-func imenu paren recentf tree-widget wid-edit msb mb-depth icomplete hl-line delsel image-file cus-start cus-load diary-lib diary-loaddefs cal-menu calendar cal-loaddefs warnings autoinsert yasnippet dropdown-list derived cl-macs gv help-mode view tramp tramp-compat auth-source eieio byte-opt bytecomp byte-compile cconv gnus-util mm-util mail-prsvr password-cache tramp-loaddefs shell pcomplete comint ansi-color format-spec smex ido visible-mark parenface fold cl cl-lib macroexp commit-patch-buffer log-edit ring pcvs-util add-log vc ediff vc-dispatcher sage rx sage-load xml desktop drag-stuff browse-kill-ring backtr command-frequency uptimes pp server easy-mmode assoc dired+ edmacro kmacro dired-x ediff-merg ediff-diff ediff-wind ediff-mult ediff-help ediff-init ediff-util dired-aux dired windmove ac-slime-autoloads adaptive-wrap-autoloads applescript-mode-autoloads auctex-autoloads tex-site info easymenu browse-kill-ring-autoloads buffer-move-autoloads c-eldoc-autoloads columnify-autoloads command-frequency-autoloads company-autoloads drag-stuff-autoloads durendal-autoloads emstar-autoloads feature-mode-autoloads goto-last-change-autoloads graphviz-dot-mode-autoloads highlight-parentheses-autoloads highlight-symbol-autoloads hl-sexp-autoloads keyfreq-autoloads finder-inf markdown-mode+-autoloads markdown-mode-autoloads paredit-autoloads parenface-autoloads python-mode-autoloads redo+-autoloads rw-hunspell-autoloads scpaste-autoloads htmlize-autoloads scss-mode-autoloads slime-clj-autoloads slime-fuzzy-autoloads slime-ritz-autoloads smex-autoloads speck-autoloads swank-clojure-autoloads advice help-fns advice-preload clojure-mode-autoloads slime-repl-autoloads slime-autoloads xml-rpc-autoloads package time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel ns-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-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 loaddefs button faces cus-face files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process ns multi-tty emacs)