* [PATCH] * progmodes/python.el (run-python): use read-shell-command.
@ 2014-05-18 16:38 Eric Hanchrow
2014-06-12 1:45 ` Stefan Monnier
0 siblings, 1 reply; 2+ messages in thread
From: Eric Hanchrow @ 2014-05-18 16:38 UTC (permalink / raw)
To: emacs-devel
[-- Attachment #1: Type: text/plain, Size: 70 bytes --]
This gives me completion when I choose a different python executable.
[-- Attachment #2: 0001-progmodes-python.el-run-python-use-read-shell-comman.patch --]
[-- Type: application/octet-stream, Size: 1314 bytes --]
From 4de4f958ac79db8a19acb859fadbfd2870ca4e75 Mon Sep 17 00:00:00 2001
From: Eric Hanchrow <eric.hanchrow@gmail.com>
Date: Sun, 18 May 2014 09:35:23 -0700
Subject: [PATCH] * progmodes/python.el (run-python): use read-shell-command.
---
lisp/ChangeLog | 4 ++++
lisp/progmodes/python.el | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 18c4d06..24b95fd 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
+2014-05-18 Eric Hanchrow <eric.hanchrow@gmail.com>
+
+ * progmodes/python.el (run-python): use read-shell-command.
+
2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
* xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index 240cf8a..8ea8a43 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -2005,7 +2005,7 @@ process buffer for a list of commands.)"
(interactive
(if current-prefix-arg
(list
- (read-string "Run Python: " (python-shell-parse-command))
+ (read-shell-command "Run Python: " (python-shell-parse-command))
(y-or-n-p "Make dedicated process? ")
(= (prefix-numeric-value current-prefix-arg) 4))
(list (python-shell-parse-command) nil t)))
--
1.9.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] * progmodes/python.el (run-python): use read-shell-command.
2014-05-18 16:38 [PATCH] * progmodes/python.el (run-python): use read-shell-command Eric Hanchrow
@ 2014-06-12 1:45 ` Stefan Monnier
0 siblings, 0 replies; 2+ messages in thread
From: Stefan Monnier @ 2014-06-12 1:45 UTC (permalink / raw)
To: Eric Hanchrow; +Cc: emacs-devel
> This gives me completion when I choose a different python executable.
Thanks, installed into `trunk'.
Stefan
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-06-12 1:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-18 16:38 [PATCH] * progmodes/python.el (run-python): use read-shell-command Eric Hanchrow
2014-06-12 1:45 ` Stefan Monnier
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.