From 8ac86e05f5e238d7773e355390a26e63ca5d7446 Mon Sep 17 00:00:00 2001 From: kaz-yos Date: Mon, 1 Feb 2016 22:44:36 -0500 Subject: [PATCH 1/3] Change python mode setting safe for autoload --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5e9096f..4e79952 100644 --- a/README.md +++ b/README.md @@ -178,7 +178,9 @@ To recover the old behavior of the two-window layout, both ```eir-delete-other-w ;;; Python support ;; (require 'python) ; if not done elsewhere (require 'eval-in-repl-python) -(define-key python-mode-map (kbd "") 'eir-eval-in-python) +(add-hook 'python-mode-hook + '(lambda () + (local-set-key (kbd "") 'eir-eval-in-python))) ;;; Ruby support ;; (require 'ruby-mode) ; if not done elsewhere From 971ccbf5e0a06ccdff2acfa8c672ea449a02202f Mon Sep 17 00:00:00 2001 From: kaz-yos Date: Mon, 1 Feb 2016 23:02:29 -0500 Subject: [PATCH 2/3] Deactivate mark after coming back to script (change in behavior in 25.1) --- eval-in-repl.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/eval-in-repl.el b/eval-in-repl.el index c374e70..6544c71 100644 --- a/eval-in-repl.el +++ b/eval-in-repl.el @@ -219,6 +219,8 @@ and execute by FUN-EXECUTE." (funcall fun-execute) ;; Come back to the script (select-window script-window) + ;; Deactivate selection + (deactivate-mark) ;; Return nil (this is a void function) nil)) From caa52c8d7f06b89728b3a32c9cac3641ffa56e19 Mon Sep 17 00:00:00 2001 From: kaz-yos Date: Sat, 27 Feb 2016 21:41:41 -0500 Subject: [PATCH 3/3] Update version and history --- README.md | 1 + eval-in-repl-cider.el | 2 +- eval-in-repl-geiser.el | 2 +- eval-in-repl-hy.el | 2 +- eval-in-repl-ielm.el | 2 +- eval-in-repl-javascript.el | 2 +- eval-in-repl-ocaml.el | 2 +- eval-in-repl-python.el | 2 +- eval-in-repl-racket.el | 2 +- eval-in-repl-ruby.el | 2 +- eval-in-repl-scheme.el | 2 +- eval-in-repl-shell.el | 2 +- eval-in-repl-slime.el | 2 +- eval-in-repl-sml.el | 2 +- eval-in-repl-test.el | 2 +- eval-in-repl.el | 4 ++-- 16 files changed, 17 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 4e79952..b9c801e 100644 --- a/README.md +++ b/README.md @@ -261,6 +261,7 @@ configuration when invoked to evaluate a line." **Version history** -------------------- +- 2016-02-27 0.9.2 Deactivate selection explicitly as it is required in Emacs 25. - 2016-01-17 0.9.1 Add ```eir-always-split-script-window```, which when turned on, splits the current script window at REPL start up, but does not replace any other window. - 2016-01-01 0.9.0 Do not mess with the window layout at REPL startup (as much as before). ```eir-repl-placement``` option to control where the REPL shows up. New dependency on ```ace-window.el```. - 2015-11-22 0.8.0 Add Javascript support (Thanks stardiviner); Drop essh.el dependency diff --git a/eval-in-repl-cider.el b/eval-in-repl-cider.el index 0e2c2f4..1f4609e 100644 --- a/eval-in-repl-cider.el +++ b/eval-in-repl-cider.el @@ -5,7 +5,7 @@ ;; Author: Kazuki YOSHIDA ;; Keywords: tools, convenience ;; URL: https://github.com/kaz-yos/eval-in-repl -;; Version: 0.9.1 +;; Version: 0.9.2 ;; This program is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by diff --git a/eval-in-repl-geiser.el b/eval-in-repl-geiser.el index b98f601..2f37480 100644 --- a/eval-in-repl-geiser.el +++ b/eval-in-repl-geiser.el @@ -5,7 +5,7 @@ ;; Author: Kazuki YOSHIDA ;; Keywords: tools, convenience ;; URL: https://github.com/kaz-yos/eval-in-repl -;; Version: 0.9.1 +;; Version: 0.9.2 ;; This program is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by diff --git a/eval-in-repl-hy.el b/eval-in-repl-hy.el index 1182c85..3d0ffc0 100644 --- a/eval-in-repl-hy.el +++ b/eval-in-repl-hy.el @@ -5,7 +5,7 @@ ;; Author: Kazuki YOSHIDA ;; Keywords: tools, convenience ;; URL: https://github.com/kaz-yos/eval-in-repl -;; Version: 0.9.1 +;; Version: 0.9.2 ;; This program is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by diff --git a/eval-in-repl-ielm.el b/eval-in-repl-ielm.el index 6a31355..94c6f95 100644 --- a/eval-in-repl-ielm.el +++ b/eval-in-repl-ielm.el @@ -5,7 +5,7 @@ ;; Author: Kazuki YOSHIDA ;; Keywords: tools, convenience ;; URL: https://github.com/kaz-yos/eval-in-repl -;; Version: 0.9.1 +;; Version: 0.9.2 ;; This program is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by diff --git a/eval-in-repl-javascript.el b/eval-in-repl-javascript.el index b101a60..66fb8c7 100644 --- a/eval-in-repl-javascript.el +++ b/eval-in-repl-javascript.el @@ -5,7 +5,7 @@ ;; Author: stardiviner, Kazuki YOSHIDA ;; Keywords: tools, convenience ;; URL: https://github.com/kaz-yos/eval-in-repl -;; Version: 0.9.1 +;; Version: 0.9.2 ;; This program is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by diff --git a/eval-in-repl-ocaml.el b/eval-in-repl-ocaml.el index 7b99a80..0ea56e7 100644 --- a/eval-in-repl-ocaml.el +++ b/eval-in-repl-ocaml.el @@ -5,7 +5,7 @@ ;; Author: Kazuki YOSHIDA ;; Keywords: tools, convenience ;; URL: https://github.com/kaz-yos/eval-in-repl -;; Version: 0.9.1 +;; Version: 0.9.2 ;; This program is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by diff --git a/eval-in-repl-python.el b/eval-in-repl-python.el index f686bc7..f255fbe 100644 --- a/eval-in-repl-python.el +++ b/eval-in-repl-python.el @@ -5,7 +5,7 @@ ;; Author: Kazuki YOSHIDA ;; Keywords: tools, convenience ;; URL: https://github.com/kaz-yos/eval-in-repl -;; Version: 0.9.1 +;; Version: 0.9.2 ;; This program is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by diff --git a/eval-in-repl-racket.el b/eval-in-repl-racket.el index 10356b4..e415ad1 100644 --- a/eval-in-repl-racket.el +++ b/eval-in-repl-racket.el @@ -5,7 +5,7 @@ ;; Author: Kazuki YOSHIDA ;; Keywords: tools, convenience ;; URL: https://github.com/kaz-yos/eval-in-repl -;; Version: 0.9.1 +;; Version: 0.9.2 ;; This program is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by diff --git a/eval-in-repl-ruby.el b/eval-in-repl-ruby.el index 4417566..edf27e2 100644 --- a/eval-in-repl-ruby.el +++ b/eval-in-repl-ruby.el @@ -5,7 +5,7 @@ ;; Author: Kazuki YOSHIDA ;; Keywords: tools, convenience ;; URL: https://github.com/kaz-yos/eval-in-repl -;; Version: 0.9.1 +;; Version: 0.9.2 ;; This program is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by diff --git a/eval-in-repl-scheme.el b/eval-in-repl-scheme.el index 7bb824a..30d6ded 100644 --- a/eval-in-repl-scheme.el +++ b/eval-in-repl-scheme.el @@ -5,7 +5,7 @@ ;; Author: Kazuki YOSHIDA ;; Keywords: tools, convenience ;; URL: https://github.com/kaz-yos/eval-in-repl -;; Version: 0.9.1 +;; Version: 0.9.2 ;; This program is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by diff --git a/eval-in-repl-shell.el b/eval-in-repl-shell.el index 27c0ac6..6913ffa 100644 --- a/eval-in-repl-shell.el +++ b/eval-in-repl-shell.el @@ -5,7 +5,7 @@ ;; Author: Kazuki YOSHIDA ;; Keywords: tools, convenience ;; URL: https://github.com/kaz-yos/eval-in-repl -;; Version: 0.9.1 +;; Version: 0.9.2 ;; This program is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by diff --git a/eval-in-repl-slime.el b/eval-in-repl-slime.el index 9955251..91f853f 100644 --- a/eval-in-repl-slime.el +++ b/eval-in-repl-slime.el @@ -5,7 +5,7 @@ ;; Author: Kazuki YOSHIDA ;; Keywords: tools, convenience ;; URL: https://github.com/kaz-yos/eval-in-repl -;; Version: 0.9.1 +;; Version: 0.9.2 ;; This program is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by diff --git a/eval-in-repl-sml.el b/eval-in-repl-sml.el index e1058e2..66f27a7 100644 --- a/eval-in-repl-sml.el +++ b/eval-in-repl-sml.el @@ -5,7 +5,7 @@ ;; Author: Kazuki YOSHIDA ;; Keywords: tools, convenience ;; URL: https://github.com/kaz-yos/eval-in-repl -;; Version: 0.9.1 +;; Version: 0.9.2 ;; This program is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by diff --git a/eval-in-repl-test.el b/eval-in-repl-test.el index 50eda2c..852e9a2 100644 --- a/eval-in-repl-test.el +++ b/eval-in-repl-test.el @@ -5,7 +5,7 @@ ;; Author: Kazuki YOSHIDA ;; Keywords: tools, convenience ;; URL: https://github.com/kaz-yos/eval-in-repl -;; Version: 0.9.1 +;; Version: 0.9.2 ;; This program is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by diff --git a/eval-in-repl.el b/eval-in-repl.el index 6544c71..2ef1d39 100644 --- a/eval-in-repl.el +++ b/eval-in-repl.el @@ -5,7 +5,7 @@ ;; Author: Kazuki YOSHIDA ;; Keywords: tools, convenience ;; URL: https://github.com/kaz-yos/eval-in-repl -;; Version: 0.9.1 +;; Version: 0.9.2 ;; This program is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by @@ -219,7 +219,7 @@ and execute by FUN-EXECUTE." (funcall fun-execute) ;; Come back to the script (select-window script-window) - ;; Deactivate selection + ;; Deactivate selection explicitly (necessary in Emacs 25) (deactivate-mark) ;; Return nil (this is a void function) nil))