Package: python-mode
Version: 4.70-1
Severity: normal

The command py-help-at-point brings up an empty *Python Output* buffer.
I've traced the problem to the command py-execute-region.  The line

 (let ((cmd (concat py-which-shell (if (string-equal py-which-bufname

should be, I believe,

 (let ((cmd (concat shell (if (string-equal py-which-bufname

The variable py-which-shell is buffer local.  It is not assigned in
the temporary file generated, so the resulting "cmd" is empty.
The variable "shell" has been previously assigned---before switching
buffers---and seems to work fine.


-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.4.18-bf2.4
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages python-mode depends on:
ii  emacs21                       21.4a-1    The GNU Emacs editor
ii  xemacs21-bin                  21.4.17-1  highly customizable text editor --

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to