unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* python-send-buffer and friends have no effect
@ 2007-09-18  0:23 Gregory Nathan Price
  2007-09-18  8:31 ` Glenn Morris
  0 siblings, 1 reply; 3+ messages in thread
From: Gregory Nathan Price @ 2007-09-18  0:23 UTC (permalink / raw)
  To: emacs-pretest-bug

When I run `M-x run-python', successfully starting a Python process,
and then in a python-mode buffer hit `C-c C-c' (python-send-buffer) or
`C-c C-r' (python-send-region) etc, no further output appears in the
*Python* buffer and the buffer's definitions don't appear in the
Python interpreter's namespace.

I can "fix" this by using the python-mode.el that comes with Python,
but I like Emacs' own python.el and would really rather use it
for every other reason.  I'd be very glad to see it fixed
(or some dumb mistake of mine corrected, if that's it.)

Thanks!
Greg


In GNU Emacs 22.0.50.1 (i386-apple-darwin8.7.1)
 of 2006-08-19 on petit.local
X server distributor `Apple Computers', version 10.4.10
configured using `configure '--prefix=/Applications/Emacs.app/Contents/Resources' '--with-carbon' '--without-x' '--libexecdir=/Volumes/Emacs/Emacs.app/Contents/MacOS/libexec' 'CFLAGS=-arch i386 -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -DUSE_ATSUI -DUSE_MAC_TSM''

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
  locale-coding-system: iso-8859-1
  default-enable-multibyte-characters: t

Major mode: Python

Minor modes in effect:
  TeX-PDF-mode: t
  shell-dirtrack-mode: t
  encoded-kbd-mode: t
  show-paren-mode: t
  tooltip-mode: t
  mac-input-method-mode: t
  tool-bar-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
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t

Recent input:
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <return> <right> <right> 
<right> <right> <right> <right> <right> <right> <right> 
<right> <right> <right> <right> <right> <right> <right> 
<right> <left> <left> q C-x 1 <escape> x e m <tab> 
a c <tab> r e p <tab> o <tab> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> r e p <tab> o <tab> 
r t - e m <tab> <return>

Recent messages:
History item: 1
Scanning `generate-terrain.py'
Expansion found in 'generate-terrain.py'
comint-search-arg: Not at command line
History item: 1
Wrote /Users/price/cs/unfolding-polyhedra/code/generate-terrain.py [2 times]
Type C-x 1 to remove help window.  
Type C-x 4 C-o RET to restore the other window.  
Making completion list... [3 times]
Loading emacsbug...done

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: python-send-buffer and friends have no effect
  2007-09-18  0:23 python-send-buffer and friends have no effect Gregory Nathan Price
@ 2007-09-18  8:31 ` Glenn Morris
  2007-09-19  5:34   ` Gregory Nathan Price
  0 siblings, 1 reply; 3+ messages in thread
From: Glenn Morris @ 2007-09-18  8:31 UTC (permalink / raw)
  To: Gregory Nathan Price; +Cc: emacs-pretest-bug

Gregory Nathan Price wrote:

> When I run `M-x run-python', successfully starting a Python process,
> and then in a python-mode buffer hit `C-c C-c' (python-send-buffer)
> or `C-c C-r' (python-send-region) etc, no further output appears in
> the *Python* buffer and the buffer's definitions don't appear in the
> Python interpreter's namespace.

This works for me in Emacs 22, started with -Q.

> In GNU Emacs 22.0.50.1 (i386-apple-darwin8.7.1) of 2006-08-19 on
> petit.local

This is an ancient CVS version. Try the released Emacs 22.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: python-send-buffer and friends have no effect
  2007-09-18  8:31 ` Glenn Morris
@ 2007-09-19  5:34   ` Gregory Nathan Price
  0 siblings, 0 replies; 3+ messages in thread
From: Gregory Nathan Price @ 2007-09-19  5:34 UTC (permalink / raw)
  To: Glenn Morris; +Cc: emacs-pretest-bug

On Tue, Sep 18, 2007 at 04:31:17AM -0400, Glenn Morris wrote:
> > In GNU Emacs 22.0.50.1 (i386-apple-darwin8.7.1) of 2006-08-19 on
> > petit.local
> 
> This is an ancient CVS version. Try the released Emacs 22.

Thanks!  That fixes it.  Sorry to bother.

(I'd been running this build since before Emacs 22 was released.)

Greg

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-09-19  5:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-18  0:23 python-send-buffer and friends have no effect Gregory Nathan Price
2007-09-18  8:31 ` Glenn Morris
2007-09-19  5:34   ` Gregory Nathan Price

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).