all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#30822: 25.3; python-shell-send-defun sends only one line
@ 2018-03-14 20:05 David Liu
  2018-03-14 20:37 ` David Liu
  2018-04-06  3:22 ` Nitish
  0 siblings, 2 replies; 17+ messages in thread
From: David Liu @ 2018-03-14 20:05 UTC (permalink / raw)
  To: 30822

[-- Attachment #1: Type: text/plain, Size: 4278 bytes --]

note: no other Python-related emacs packages are being used;
only the builtin one.

1. create new file "test.py" with following:

def f(x):
    return x+1

2. C-c C-p to run-python

3. place point immediately after "return x+1"

4. C-M-x for python-shell-send-defun

result:

    SyntaxError: 'return' outside function

it appears that only one line is being sent, instead of both lines.



In GNU Emacs 25.3.1 (x86_64-apple-darwin13.4.0, NS appkit-1265.21 Version
10.9.5 (Build 13F1911))
 of 2017-09-12 built on builder10-9.local
Windowing system distributor 'Apple', version 10.3.1561
Configured using:
 'configure --with-ns '--enable-locallisppath=/Library/Application
 Support/Emacs/${version}/site-lisp:/Library/Application
 Support/Emacs/site-lisp' --with-modules'

Configured features:
NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Python

Minor modes in effect:
  shell-dirtrack-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-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
  line-number-mode: t
  transient-mark-mode: t

Recent messages:
uncompressing python.el.gz...done
Making completion list...
t

delete-backward-char: Text is read-only
Quit

<C-tab> is undefined
mouse-2, RET: find function's definition
uncompressing python.el.gz...done

Load-path shadows:
/Users/daveliu/quicklisp/dists/quicklisp/software/slime-v2.20/slime-autoloads
hides /Users/daveliu/.emacs.d/elpa/slime-20180308.733/slime-autoloads
/Users/daveliu/quicklisp/dists/quicklisp/software/slime-v2.20/slime-tests
hides /Users/daveliu/.emacs.d/elpa/slime-20180308.733/slime-tests
/Users/daveliu/quicklisp/dists/quicklisp/software/slime-v2.20/slime hides
/Users/daveliu/.emacs.d/elpa/slime-20180308.733/slime

Features:
(shadow sort mail-extr emacsbug message dired rfc822 mml mml-sec epg
mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils
mailheader sendmail rfc2047 rfc2045 ietf-drums mail-utils jka-compr
eieio-opt speedbar sb-image ezimage dframe find-func tramp-cache python
tramp-sh tramp tramp-compat auth-source gnus-util mm-util help-fns
mail-prsvr password-cache tramp-loaddefs trampver shell pcomplete
format-spec json map slime-fancy slime-trace-dialog slime-fontifying-fu
slime-package-fu slime-references slime-compiler-notes-tree
slime-scratch slime-presentations advice bridge slime-macrostep
macrostep slime-mdot-fu slime-enclosing-context slime-fuzzy
slime-fancy-trace slime-fancy-inspector slime-c-p-c
slime-editing-commands slime-autodoc slime-repl elp slime-parse slime
derived edmacro kmacro lisp-mnt gud apropos compile etags xref cl-seq
project eieio eieio-core arc-mode archive-mode noutline outline
easy-mmode pp comint ansi-color ring hyperspec cl-macs thingatpt
browse-url cl tango-dark-theme finder-inf tex-site info slime-autoloads
package epg-config seq byte-opt gv bytecomp byte-compile cl-extra
help-mode easymenu cconv cl-loaddefs pcase cl-lib time-date mule-util
tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type
mwheel ns-win ucs-normalize term/common-win tool-bar dnd fontset image
regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode
prog-mode register page menu-bar rfn-eshadow timer select scroll-bar
mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham
georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech
european ethiopic indian cyrillic chinese charscript case-table epa-hook
jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice
loaddefs button faces cus-face macroexp files text-properties overlay
sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote kqueue cocoa ns multi-tty
make-network-process emacs)

Memory information:
((conses 16 337784 17797)
 (symbols 48 30156 0)
 (miscs 40 149 592)
 (strings 32 48025 8240)
 (string-bytes 1 1429236)
 (vectors 16 43362)
 (vector-slots 8 786245 7866)
 (floats 8 339 383)
 (intervals 56 649 397)
 (buffers 976 27))

[-- Attachment #2: Type: text/html, Size: 5659 bytes --]

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

end of thread, other threads:[~2018-04-11 17:33 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-14 20:05 bug#30822: 25.3; python-shell-send-defun sends only one line David Liu
2018-03-14 20:37 ` David Liu
2018-03-15  0:22   ` Noam Postavsky
2018-04-06  3:22 ` Nitish
2018-04-07  2:26   ` Noam Postavsky
2018-04-07  2:45     ` Nitish
2018-04-07  3:01       ` Noam Postavsky
2018-04-07  3:37         ` Nitish
2018-04-08 16:07           ` Noam Postavsky
2018-04-08 16:21             ` Nitish
2018-04-08 16:44           ` Noam Postavsky
2018-04-09  6:12             ` Andreas Röhler
2018-04-09 11:56               ` Noam Postavsky
2018-04-11 14:49                 ` Andreas Röhler
2018-04-11 14:57                   ` Noam Postavsky
2018-04-11 17:29                     ` Andreas Röhler
2018-04-11 17:33                       ` Noam Postavsky

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.