Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save offby1/5224b7e9728bdb404ede to your computer and use it in GitHub Desktop.

Select an option

Save offby1/5224b7e9728bdb404ede to your computer and use it in GitHub Desktop.
From 2dc764dc55dc47037fdb771d7ed6c201cdeb0976 Mon Sep 17 00:00:00 2001
From: Eric Hanchrow <[email protected]>
Date: Wed, 11 Jun 2014 21:45:33 -0400
Subject: [PATCH] * lisp/progmodes/python.el (run-python): Use
read-shell-command.
Conflicts:
lisp/ChangeLog
---
lisp/ChangeLog | 38 +++++++++++++++++++++++++++++---------
lisp/progmodes/python.el | 2 +-
2 files changed, 30 insertions(+), 10 deletions(-)
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index eb31d5f..02fa6fc 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,17 +1,35 @@
-2015-04-10 Nicolas Petton <[email protected]>
-
- * Version 24.5 released.
-
-2015-04-03 Alan Mackenzie <[email protected]>
-
- * progmodes/cc-mode.el (c-font-lock-init): Revert 2015-02-01 change
- "Stop Font Lock forcing fontification from BOL." (Bug#20245)
+2014-06-11 Stefan Monnier <[email protected]>
+
+ * rect.el: Make it possible to move bounds past EOL or into TABs.
+ (operate-on-rectangle): Use apply-on-rectangle.
+ (rectangle--mark-crutches): New var.
+ (rectangle--pos-cols, rectangle--col-pos, rectangle--point-col)
+ (rectangle--crutches, rectangle--reset-crutches): New functions.
+ (apply-on-rectangle): Obey crutches. Avoid setq.
+ Fix missing final iteration if end is at EOB&BOL.
+ (rectangle-mark-mode-map): Add remap bindings for
+ exchange-point-and-mark and char/line movements.
+ (rectangle--*-char): New function.
+ (rectangle-exchange-point-and-mark, rectangle-right-char)
+ (rectangle-left-char, rectangle-forward-char)
+ (rectangle-backward-char, rectangle-next-line)
+ (rectangle-previous-line): New commands.
+ (rectangle--place-cursor): New function.
+ (rectangle--highlight-for-redisplay): Use it. Use apply-on-rectangle.
+
+2014-05-18 Eric Hanchrow <[email protected]>
+
+ * progmodes/python.el (run-python): Use read-shell-command.
2015-04-01 Michael Albinus <[email protected]>
* net/tramp.el (tramp-handle-unhandled-file-name-directory):
Return nil when required by the spec. (Bug#20233)
+2015-04-01 Nicolas Petton <[email protected]>
+
+ * Version 24.5 released.
+
2015-03-26 Stefan Monnier <[email protected]>
* emacs-lisp/smie.el (smie-backward-sexp-command)
@@ -203,8 +221,10 @@
2015-02-01 Alan Mackenzie <[email protected]>
CC Mode: Stop Font Lock forcing fontification from BOL.
+ Fixes debbugs#19669.
+
* progmodes/cc-mode.el (c-font-lock-init):
- Setq font-lock-extend-region-functions to nil. (Bug#19669)
+ Setq font-lock-extend-region-functions to nil.
2015-01-31 Alan Mackenzie <[email protected]>
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index de2d2d1..02137ce 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -2314,7 +2314,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)))
--
2.1.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment