[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/eev df4c21f 07/20: Added support for `M-7 M-e'.
From: |
Stefan Monnier |
Subject: |
[elpa] externals/eev df4c21f 07/20: Added support for `M-7 M-e'. |
Date: |
Mon, 4 Jan 2021 01:01:48 -0500 (EST) |
branch: externals/eev
commit df4c21f05e682c5e8142c77a6ccfb08784989315
Author: Eduardo Ochs <eduardoochs@gmail.com>
Commit: Eduardo Ochs <eduardoochs@gmail.com>
Added support for `M-7 M-e'.
---
ChangeLog | 9 +++++++++
VERSION | 4 ++--
eev-eval.el | 8 +++++++-
eev-pdflike.el | 21 ++++++++++++++++++++-
4 files changed, 38 insertions(+), 4 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 4d54ae9..a9c91ac 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2020-12-03 Eduardo Ochs <eduardoochs@gmail.com>
+
+ * eev-pdflike.el (ee-pdftools-revert-all): new function.
+
+2020-11-30 Eduardo Ochs <eduardoochs@gmail.com>
+
+ * eev-eval.el (ee-eval-last-sexp-7): new function.
+ (ee-eval-last-sexp): added support for `ee-eval-last-sexp-7'.
+
2020-11-29 Eduardo Ochs <eduardoochs@gmail.com>
* eepitch.el (eepitch-line): new variable.
diff --git a/VERSION b/VERSION
index dc34e49..f0cd40c 100644
--- a/VERSION
+++ b/VERSION
@@ -1,2 +1,2 @@
-Mon Nov 30 01:52:09 GMT 2020
-Sun Nov 29 22:52:09 -03 2020
+Sat Dec 5 03:59:32 GMT 2020
+Sat Dec 5 00:59:32 -03 2020
diff --git a/eev-eval.el b/eev-eval.el
index d26a1a6..cff903a 100644
--- a/eev-eval.el
+++ b/eev-eval.el
@@ -19,7 +19,7 @@
;;
;; Author: Eduardo Ochs <eduardoochs@gmail.com>
;; Maintainer: Eduardo Ochs <eduardoochs@gmail.com>
-;; Version: 2019aug05
+;; Version: 2020nov30
;; Keywords: e-scripts
;;
;; Latest version: <http://angg.twu.net/eev-current/eev-eval.el>
@@ -125,6 +125,10 @@ This is an internal function used by `ee-eval-last-sexp'."
(debug-on-error t))
(eval sexp)))
+(defun ee-eval-last-sexp-7 ()
+ "This is equivalent to M-e <down>."
+ (ee-eval-last-sexp) (next-line))
+
(defun ee-eval-last-sexp-8 ()
"Evaluate the sexp before point and pretty-print its result in other buffer."
(find-epp (ee-eval (read (ee-last-sexp)))))
@@ -152,6 +156,7 @@ If ARG is:
3: same, but also switch to the new window
4: evaluate the sexp in debug mode
5: run the sexp with `debug-on-error' turned on
+ 7: this is equivalent to `M-e <down>'
8: eval then pretty-print the result in another buffer
9: a hack for testing `call-interactively'
other: set EE-ARG to ARG and eval (ee-last-sexp)."
@@ -162,6 +167,7 @@ other: set EE-ARG to ARG and eval (ee-last-sexp)."
((eq arg 3) (ee-eval-last-sexp-3))
((eq arg 4) (ee-eval-last-sexp-4))
((eq arg 5) (ee-eval-last-sexp-5))
+ ((eq arg 7) (ee-eval-last-sexp-7))
((eq arg 8) (ee-eval-last-sexp-8))
((eq arg 9) (ee-eval-last-sexp-9))
(t (prin1 (let ((ee-arg arg))
diff --git a/eev-pdflike.el b/eev-pdflike.el
index 69d9d1a..0e4d94e 100644
--- a/eev-pdflike.el
+++ b/eev-pdflike.el
@@ -19,7 +19,7 @@
;;
;; Author: Eduardo Ochs <eduardoochs@gmail.com>
;; Maintainer: Eduardo Ochs <eduardoochs@gmail.com>
-;; Version: 2020oct27
+;; Version: 2020dec03
;; Keywords: e-scripts
;;
;; Latest version: <http://angg.twu.net/eev-current/eev-pdflike.el>
@@ -660,6 +660,25 @@ newline are spurious - and replaces them by \"(ff)\"."
+;; I use this function to redisplay the generated PDFs after
+;; recompiling their LaTeX source. TODO: document this.
+;; My notes are here: (find-es "emacs" "ee-pdftools-revert-all")
+;;
+(defun ee-pdftools-revert-all ()
+"Run `revert-buffer' in all windows in which pdf-tools is showing PDFs.
+This makes pdf-tools show the new version of these PDFs without
+changing the page, the image size, the hscroll, and the vscroll
+in each window."
+ (interactive)
+ (dolist (window (window-list-1))
+ (with-selected-window window
+ (if (eq major-mode 'pdf-view-mode)
+ (revert-buffer)))))
+
+
+
+
+
;;; _ _
;;; __ ____| |_ _(_)
;;; \ \/ / _` \ \ / / |
- [elpa] externals/eev updated (90678b4 -> 4386fbd), Stefan Monnier, 2021/01/04
- [elpa] externals/eev 3bb1fa6 02/20: Added `code-eevvideo' and `code-psnevideo'., Stefan Monnier, 2021/01/04
- [elpa] externals/eev 13f88c4 03/20: Fixed `find-mpv-video' and documented a bug in `find-man'., Stefan Monnier, 2021/01/04
- [elpa] externals/eev c95d15a 06/20: Added `eepitch-vterm'., Stefan Monnier, 2021/01/04
- [elpa] externals/eev c6ed5f7 01/20: Rewrote most of the file eev-pdflike.el., Stefan Monnier, 2021/01/04
- [elpa] externals/eev d73f329 04/20: Cleaned up and reorganized `find-youtubedl-links'., Stefan Monnier, 2021/01/04
- [elpa] externals/eev 121acfc 05/20: Added comments to `find-grep-links'., Stefan Monnier, 2021/01/04
- [elpa] externals/eev df4c21f 07/20: Added support for `M-7 M-e'.,
Stefan Monnier <=
- [elpa] externals/eev 5496a57 09/20: Added the file `README.org'., Stefan Monnier, 2021/01/04
- [elpa] externals/eev 19bad3a 12/20: Rewrote the docs for `find-extra-file-links' (`M-e M-h')., Stefan Monnier, 2021/01/04
- [elpa] externals/eev 01b2212 13/20: Rewrote `(find-anchors-intro)'., Stefan Monnier, 2021/01/04
- [elpa] externals/eev f256747 14/20: Rewrote `find-man' completely to fix a long-standing bug., Stefan Monnier, 2021/01/04
- [elpa] externals/eev 092ee70 16/20: Started rewriting `(find-videos-intro)'., Stefan Monnier, 2021/01/04
- [elpa] externals/eev 4386fbd 20/20: Merged eev with elpa/externals/eev., Stefan Monnier, 2021/01/04
- [elpa] externals/eev 8dd8866 18/20: Added a section about `find-eevvideo-links' to `(find-audiovideo-intro)'., Stefan Monnier, 2021/01/04
- [elpa] externals/eev da1aa60 08/20: Added `find-esetkey-links'., Stefan Monnier, 2021/01/04
- [elpa] externals/eev 93661a5 10/20: Renamed "README.md" to "README-old.md"., Stefan Monnier, 2021/01/04
- [elpa] externals/eev a898440 11/20: Changed `code-c-d' to make the w3m and tags links optional., Stefan Monnier, 2021/01/04