From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andrey Paramonov Newsgroups: gmane.emacs.bugs Subject: bug#7361: 23.2; python-describe-symbol fails Date: Wed, 10 Nov 2010 09:33:20 +0300 Message-ID: <87oc9xn0wf.fsf@neo.paramonovs> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: dough.gmane.org 1289373257 22295 80.91.229.12 (10 Nov 2010 07:14:17 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 10 Nov 2010 07:14:17 +0000 (UTC) To: 7361@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Nov 10 08:14:10 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PG4sg-0007YD-8w for geb-bug-gnu-emacs@m.gmane.org; Wed, 10 Nov 2010 08:14:07 +0100 Original-Received: from localhost ([127.0.0.1]:41586 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PG4se-0005ys-WD for geb-bug-gnu-emacs@m.gmane.org; Wed, 10 Nov 2010 02:14:05 -0500 Original-Received: from [140.186.70.92] (port=33644 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PG4sT-0005xx-S6 for bug-gnu-emacs@gnu.org; Wed, 10 Nov 2010 02:13:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PG4sR-0005JL-6b for bug-gnu-emacs@gnu.org; Wed, 10 Nov 2010 02:13:53 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49152) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PG4sR-0005J4-4N for bug-gnu-emacs@gnu.org; Wed, 10 Nov 2010 02:13:51 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PG4RW-0000UW-Dr; Wed, 10 Nov 2010 01:46:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Andrey Paramonov Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 10 Nov 2010 06:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 7361 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.12893715181876 (code B ref -1); Wed, 10 Nov 2010 06:46:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 10 Nov 2010 06:45:18 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PG4Qi-0000UD-U6 for submit@debbugs.gnu.org; Wed, 10 Nov 2010 01:45:18 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PG4Bq-0000Nb-Ve for submit@debbugs.gnu.org; Wed, 10 Nov 2010 01:29:52 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PG4GO-0006gG-57 for submit@debbugs.gnu.org; Wed, 10 Nov 2010 01:34:33 -0500 Original-Received: from lists.gnu.org ([199.232.76.165]:40784) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PG4GO-0006fW-0T for submit@debbugs.gnu.org; Wed, 10 Nov 2010 01:34:32 -0500 Original-Received: from [140.186.70.92] (port=34260 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PG4GJ-0004Ol-9n for bug-gnu-emacs@gnu.org; Wed, 10 Nov 2010 01:34:31 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PG4GH-0006ec-DR for bug-gnu-emacs@gnu.org; Wed, 10 Nov 2010 01:34:27 -0500 Original-Received: from mail-ew0-f41.google.com ([209.85.215.41]:61013) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PG4GH-0006eS-46 for bug-gnu-emacs@gnu.org; Wed, 10 Nov 2010 01:34:25 -0500 Original-Received: by ewy25 with SMTP id 25so125337ewy.0 for ; Tue, 09 Nov 2010 22:34:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:to:subject:date :message-id:mime-version:content-type; bh=gqwDakrQpF1ZmT1LuRIRItmVrIu2thPv/JPJwzgwBPg=; b=QXBEl0bTOx2V4cZiiZgx0wFkGQCI4CJnzqH9SWgjNB8N8cAc+vkGx3Q8EkVLb2Iv2o q433yMKkp9ocgI9aEY/0vamIJhj2o9SkBo0Ft4a1atCOdsopbgXQwcFHtb09MJ7aiqUA 6wIalVcEpeWXaRO2CnQ9oDrPUKJV2tUgkp+lY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:message-id:mime-version:content-type; b=N56kg4x8yiq6Ix9t4zhAZIEdQsyxbgAwlfmwytm8bYp2W9xlTrKOBSfFmtKgUemgiT dAI1++GqG/4YpKY/tpcn7bkcmNQ2sMg9PyF3cq0xMSIaNMq8ttfwfF+UoE6/HiBiyFuG nCzX/JmGP1por7iuniLuBA4Nr30clzlb17d4M= Original-Received: by 10.213.27.193 with SMTP id j1mr224653ebc.1.1289370863515; Tue, 09 Nov 2010 22:34:23 -0800 (PST) Original-Received: from neo.paramonovs (aparamon.static.corbina.ru [89.179.245.94]) by mx.google.com with ESMTPS id x54sm328182eeh.17.2010.11.09.22.34.21 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 09 Nov 2010 22:34:22 -0800 (PST) Original-Received: from pent by neo.paramonovs with local (Exim 4.72) (envelope-from ) id 1PG4FY-0002qF-Tw for bug-gnu-emacs@gnu.org; Wed, 10 Nov 2010 09:33:40 +0300 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Mailman-Approved-At: Wed, 10 Nov 2010 01:45:11 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 10 Nov 2010 01:46:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:41461 Archived-At: --=-=-= Hello! python-describe-symbol fails for me, i.e. on the following minimal example (| shows cursor pos): import os.path os.path.abspath| Instead of description of abspath, C-c C-f shows a backtrace: Traceback (most recent call last): File "", line 1, in File "/usr/share/emacs/23.2/etc/emacs2.py", line 202, in ehelp except: help (name) File "/usr/lib/python2.6/site.py", line 432, in __call__ return pydoc.help(*args, **kwds) File "/usr/lib/python2.6/pydoc.py", line 1730, in __call__ self.help(request) File "/usr/lib/python2.6/pydoc.py", line 1775, in help elif request: doc(request, 'Help on %s:') File "/usr/lib/python2.6/pydoc.py", line 1515, in doc pager(render_doc(thing, title, forceload)) File "/usr/lib/python2.6/pydoc.py", line 1321, in pager pager = getpager() File "/usr/lib/python2.6/pydoc.py", line 1328, in getpager if not sys.stdin.isatty() or not sys.stdout.isatty(): ValueError: I/O operation on closed file Not reproducible with emacs -Q, but I don't see how my customizations could interfere: --=-=-= Content-Disposition: inline; filename=.emacs Content-Description: My .emacs (custom-set-variables ;; custom-set-variables was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(TeX-PDF-mode t) '(TeX-save-query nil) '(case-fold-search t) '(column-number-mode t) '(csv-align-style (quote right)) '(current-language-environment "UTF-8") '(default-input-method "russian-computer") '(dictionary-create-buttons nil) '(dictionary-default-dictionary "ru-en--en-ru") '(dictionary-server "dict.dvo.ru") '(dired-listing-switches "-l --group-directories-first") '(ediff-split-window-function (quote split-window-horizontally)) '(ediff-window-setup-function (quote ediff-setup-windows-plain)) '(global-visual-line-mode t) '(gnus-select-method (quote (nntp "news.gmane.org"))) '(ibuffer-enable t) '(ibuffer-never-show-predicates (quote ("^\\*.*")) nil (ibuf-ext)) '(kill-whole-line t) '(list-directory-brief-switches "-CF --group-directories-first") '(list-directory-verbose-switches "-l --group-directories-first") '(mouse-wheel-mode t) '(org-insert-mode-line-in-empty-file t) '(org-support-shift-select (quote always)) '(pc-selection-mode t) '(pp^L-^L-string-function (lambda (window) (make-string (1- (window-width window)) 32))) '(pp^L-^L-string-pre "") '(pretty-control-l-mode t) '(reftex-plug-into-AUCTeX t) '(ropemacs-enable-autoimport t) '(scroll-conservatively 50) '(scroll-margin 5) '(scroll-preserve-screen-position t) '(sentence-end-double-space nil) '(show-paren-mode t) '(svn-status-default-export-directory "~/study") '(svn-status-fancy-file-state-in-modeline nil) '(svn-status-preserve-window-configuration t) '(text-mode-hook (quote (turn-on-auto-fill text-mode-hook-identify))) '(tool-bar-mode nil) '(truncate-lines t) '(use-dialog-box nil) '(w3m-coding-system (quote utf-8)) '(w3m-default-coding-system (quote utf-8)) '(w3m-file-coding-system (quote utf-8)) '(w3m-file-name-coding-system (quote utf-8)) '(w3m-terminal-coding-system (quote utf-8)) '(w3m-use-cookies t) '(x-select-enable-clipboard t) '(x-select-request-type (quote UTF8_STRING) t)) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(pp^L-highlight ((t (:inherit shadow :strike-through t)))) '(tooltip ((((class color)) (:inherit variable-pitch :background "lightyellow" :foreground "black" :height 0.83333))))) ;; --- AucTeX --- (add-hook 'LaTeX-mode-hook 'turn-on-reftex) (eval-after-load "tex" '(setcdr (assoc "^pdf$" TeX-output-view-style) '("." "evince %o"))) ;; --- Key bindings --- (global-set-key [f15] 'toggle-input-method) (global-set-key [(control tab)] 'next-buffer) (global-set-key [(control shift iso-lefttab)] 'previous-buffer) (global-set-key [(control f4)] 'kill-this-buffer) (global-set-key [(f5)] 'delete-other-windows) ;(global-set-key [(f6)] 'other-window) (global-set-key [(f9)] 'ibuffer) ;(global-set-key [(f10)] 'menu-bar-open) (global-set-key [(f11)] 'svn-status) (global-set-key [(f12)] '(lambda() (interactive) (find-file remember-data-file))) (global-set-key [(control f12)] 'remember) (global-set-key [(control \`)] 'dictionary-search) (global-set-key [(meta \?)] 'find-name-dired) --=-=-= I'm ready to provide any additional info, Andrey Paramonov In GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0) of 2010-08-15 on raven, modified by Debian Windowing system distributor `The X.Org Foundation', version 11.0.10707000 configured using `configure '--build' 'i486-linux-gnu' '--build' 'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs23:/etc/emacs:/usr/local/share/emacs/23.2/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.2/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.2/leim' '--with-x=yes' '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars' 'build_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -g -O2' 'LDFLAGS=-g' 'CPPFLAGS='' 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: ru_RU.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Python Minor modes in effect: global-semanticdb-minor-mode: t semantic-idle-scheduler-mode: t semantic-mode: t delete-selection-mode: t show-paren-mode: t pc-selection-mode: t shell-dirtrack-mode: t pretty-control-l-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 auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t global-visual-line-mode: t visual-line-mode: t transient-mark-mode: t Load-path shadows: /usr/share/emacs/23.2/site-lisp/auctex/tex-style hides /usr/share/emacs/site-lisp/auctex/tex-style /usr/share/emacs/23.2/site-lisp/auctex/tex-font hides /usr/share/emacs/site-lisp/auctex/tex-font /usr/share/emacs/23.2/site-lisp/auctex/bib-cite hides /usr/share/emacs/site-lisp/auctex/bib-cite /usr/share/emacs/23.2/site-lisp/auctex/tex-buf hides /usr/share/emacs/site-lisp/auctex/tex-buf /usr/share/emacs/23.2/site-lisp/auctex/context-nl hides /usr/share/emacs/site-lisp/auctex/context-nl /usr/share/emacs/23.2/site-lisp/auctex/tex-info hides /usr/share/emacs/site-lisp/auctex/tex-info /usr/share/emacs/23.2/site-lisp/auctex/tex hides /usr/share/emacs/site-lisp/auctex/tex /usr/share/emacs/23.2/site-lisp/auctex/font-latex hides /usr/share/emacs/site-lisp/auctex/font-latex /usr/share/emacs/23.2/site-lisp/auctex/context hides /usr/share/emacs/site-lisp/auctex/context /usr/share/emacs/23.2/site-lisp/auctex/tex-fptex hides /usr/share/emacs/site-lisp/auctex/tex-fptex /usr/share/emacs/23.2/site-lisp/auctex/context-en hides /usr/share/emacs/site-lisp/auctex/context-en /usr/share/emacs/23.2/site-lisp/auctex/latex hides /usr/share/emacs/site-lisp/auctex/latex /usr/share/emacs/23.2/site-lisp/auctex/tex-fold hides /usr/share/emacs/site-lisp/auctex/tex-fold /usr/share/emacs/23.2/site-lisp/auctex/tex-jp hides /usr/share/emacs/site-lisp/auctex/tex-jp /usr/share/emacs/23.2/site-lisp/auctex/multi-prompt hides /usr/share/emacs/site-lisp/auctex/multi-prompt /usr/share/emacs/23.2/site-lisp/auctex/texmathp hides /usr/share/emacs/site-lisp/auctex/texmathp /usr/share/emacs/23.2/site-lisp/auctex/tex-bar hides /usr/share/emacs/site-lisp/auctex/tex-bar /usr/share/emacs/23.2/site-lisp/auctex/tex-mik hides /usr/share/emacs/site-lisp/auctex/tex-mik /usr/share/emacs/23.2/site-lisp/auctex/toolbar-x hides /usr/share/emacs/site-lisp/auctex/toolbar-x /usr/share/emacs/23.2/site-lisp/debian-startup hides /usr/share/emacs/site-lisp/debian-startup /usr/share/emacs23/site-lisp/flim/md4 hides /usr/share/emacs/23.2/lisp/md4 /usr/share/emacs23/site-lisp/flim/hex-util hides /usr/share/emacs/23.2/lisp/hex-util /usr/share/emacs23/site-lisp/flim/sha1 hides /usr/share/emacs/23.2/lisp/sha1 /usr/share/emacs23/site-lisp/dictionaries-common/flyspell hides /usr/share/emacs/23.2/lisp/textmodes/flyspell /usr/share/emacs23/site-lisp/dictionaries-common/ispell hides /usr/share/emacs/23.2/lisp/textmodes/ispell /usr/share/emacs23/site-lisp/flim/ntlm hides /usr/share/emacs/23.2/lisp/net/ntlm /usr/share/emacs23/site-lisp/flim/sasl-cram hides /usr/share/emacs/23.2/lisp/net/sasl-cram /usr/share/emacs23/site-lisp/flim/sasl hides /usr/share/emacs/23.2/lisp/net/sasl /usr/share/emacs23/site-lisp/flim/sasl-ntlm hides /usr/share/emacs/23.2/lisp/net/sasl-ntlm /usr/share/emacs23/site-lisp/flim/sasl-digest hides /usr/share/emacs/23.2/lisp/net/sasl-digest /usr/share/emacs23/site-lisp/flim/hmac-md5 hides /usr/share/emacs/23.2/lisp/net/hmac-md5 /usr/share/emacs23/site-lisp/flim/hmac-def hides /usr/share/emacs/23.2/lisp/net/hmac-def Features: (shadow sort mail-extr message sendmail ecomplete rfc822 mml mml-sec password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev gmm-utils mailheader canlock sha1 sha1-el hex-util hashcash emacsbug semantic/edit semantic/tag-file semantic/find semantic/senator semantic/analyze/complete semantic/analyze semantic/sort semantic/scope semantic/analyze/fcn noutline outline goto-addr info semantic/tag-write thai-util thai-word mule-util lao-util etags help-fns pp imenu cus-edit semantic/db-file cedet-files semantic/wisent/python semantic/decorate/include semantic/db-find semantic/db-ref semantic/decorate/mode semantic/decorate pulse semantic/dep semantic/wisent/python-wy semantic/wisent semantic/wisent/wisent semantic/db-mode semantic/db eieio-base semantic/idle semantic/format ezimage semantic/tag-ls semantic/ctxt semantic/util-modes semantic/util semantic semantic/tag semantic/lex semantic/fw eieio byte-opt bytecomp byte-compile mode-local cedet quail multi-isearch dired vc-dispatcher vc-svn python-21 python help-mode view server ibuf-ext ibuffer delsel disp-table paren pc-select gnus gnus-ems nnheader gnus-util netrc time-date mail-utils mm-util mail-prsvr wid-edit cus-start cus-load pp-c-l debian-el debian-el-loaddefs w3m-load compile ess-toolbar ess-mouse mouseme thingatpt browse-url ess-menu ess-swv ess-noweb noweb-font-lock-mode ess-bugs-l essd-els ess-sas-d ess-sas-l ess-sas-a executable shell ess-arc-d ess-vst-d ess-xls-d ess-lsp-l ess-sta-d ess-sta-l cc-vars cc-defs make-regexp ess-sp6-d ess-sp5-d ess-sp3-d ess-r-d ess-r-args assoc ess-s-l ess-inf ess-utils comint ring ess-mode noweb-mode ess ess-custom regexp-opt easymenu ess-compat ess-site emacs-goodies-el emacs-goodies-custom emacs-goodies-loaddefs easy-mmode preview-latex tex-site auto-loads cyril-util tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd font-setting tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag 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 loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind system-font-setting font-render-setting gtk x-toolkit x multi-tty emacs) --=-=-=--