[elpa] externals/eev 90678b4 4/4: Merge remote-tracking branch 'eev/UTF-8' into externals/eev

2020-10-13 Thread Stefan Monnier
ckage-desc-p pkg) pkg)
+  (cadr (assq pkg package-alist))
+  (let ((built-in (assq pkg package--builtins)))
+   (if built-in
+   (package--from-builtin built-in)
+ (cadr (assq pkg package-archive-contents))
 
 
 
@@ -1186,10 +1253,8 @@ This is an internal function used by 
`ee-find-epackage-links'."
 ;;; |_| |_|_| |_|\__,_|  \___\___/ \__,_|\___| \/   |_|_|_| 
|_|_|\_\___/
 ;;;
 
 ;; «find-code-pdf-links»  (to ".find-code-pdf-links")
-;; Tests:
-;; (find-fline  "/usr/local/texlive/2018/texmf-dist/doc/latex/base/")
-;; (find-code-pdf-links 
"/usr/local/texlive/2018/texmf-dist/doc/latex/base/source2e.pdf")
-;; (find-code-pdf-links 
"/usr/local/texlive/2018/texmf-dist/doc/latex/base/source2e.pdf" "foo")
+;; See: (to "find-pdf-links")
+;;  (find-pdf-like-intro "9. Generating three pairs" "find-code-pdf-links")
 
 ;; See: (find-efunction 'ee-if-prefixp)
 (defun ee-shorten-file-name (fname)
@@ -1231,7 +1296,30 @@ This is an internal function used by 
`ee-find-epackage-links'."
)
  pos-spec-list)))
 
+
+
 ;; «find-pdf-links»  (to ".find-pdf-links")
+;; This function - usually bound to `M-h M-p' - behaves in one way
+;; when invoked from dired buffers and in a totally different way when
+;; invoked from other buffers. In a dired buffer it supposes that the
+;; current line contains the name of a PDF, and it generates a buffer
+;; whose main part is a pair `code-pdf-page'/`code-pdf-text' that lets
+;; you define short hyperlinks to that PDF. See:
+;;
+;;   (find-pdf-like-intro "7. Shorter hyperlinks to PDF files")
+;;   (find-pdf-like-intro "9. Generating three pairs" "`M-h M-p' in Dired 
mode")
+;;
+;; When the current buffer is not in dired mode this function supposes
+;; that the buffer contains the "text" of a PDF, as explained here:
+;;
+;;   (find-pdf-like-intro "3. Hyperlinks to PDF files" "find-pdf-text")
+;;
+;; and it tries to generate short hyperlinks to the current page of
+;; it, making lots of guesses, and often guessing everything wrong.
+;; See:
+;;
+;;   (find-pdf-like-intro "10. Generating a pair with the page number")
+;;   (find-pdf-like-intro "11. How `M-h M-p' guesses everything")
 ;;
 (defun find-pdf-links ()
 "Run either `find-code-pdf-links' or `find-pdflike-page-links'."
diff --git a/eev-hlinks.el b/eev-hlinks.el
index 30abc4a..cbe303a 100644
--- a/eev-hlinks.el
+++ b/eev-hlinks.el
@@ -275,7 +275,7 @@
 (defun  ee-epackage-bufferp () (ee-buffer-help ee-epackage-re 1))
 (defun  ee-find-epackage-links ()
   (let ((p (ee-epackage-bufferp)))
-(list (ee-find-epackage-links0 p
+(list (ee-find-epackage-links0 p "{c}" "{d}"
 
 ;; By buffer name (when the mode is man)
 (defvar ee-man-re "^\\*Man \\(.*\\)\\*$")
diff --git a/eev-intro.el b/eev-intro.el
index 90fc7c5..d88a205 100644
--- a/eev-intro.el
+++ b/eev-intro.el
@@ -19,7 +19,7 @@
 ;;
 ;; Author: Eduardo Ochs 
 ;; Maintainer: Eduardo Ochs 
-;; Version:2020oct04
+;; Version:2020oct13
 ;; Keywords:   e-scripts
 ;;
 ;; Latest version: <http://angg.twu.net/eev-current/eev-intro.el>
@@ -91,6 +91,7 @@
 ;; «.find-emacs-intro» (to "find-emacs-intro")
 ;; «.find-org-intro»   (to "find-org-intro")
 ;; «.find-escripts-intro»  (to "find-escripts-intro")
+;; «.find-git-intro»   (to "find-git-intro")
 
 ;; «.find-windows-beginner-intro»  (to "find-windows-beginner-intro")
 
@@ -307,7 +308,7 @@ this video (from 2016!):
 
   http://angg.twu.net/eev-videos/video-eev-quick-0.mp4
 
-Open the page at
+To run it, open the page at
 
   http://angg.twu.net/eev-intros/find-eev-quick-intro.html
 
@@ -2149,9 +2150,9 @@ These are the current ways to download and install eev:
  links like these ones,
 
http://elpa.gnu.org/packages/eev.html
-   http://elpa.gnu.org/packages/eev-20191003.tar
+   http://elpa.gnu.org/packages/eev-20201013.tar
http://angg.twu.net/eev-current/
-   http://angg.twu.net/eev-current/eev-20191003.tar
+   http://angg.twu.net/eev-current/eev-20201013.tar
 
  and then running `M-x package-install-file';
 
@@ -2446,6 +2447,7 @@ Main intros:  (find-eev-quick-intro)
 Index to the source files: (find-eev \"eev-load.el\")
 This buffer is _temporary_ and _editable_.
 It is meant as both a tutorial and a sandbox.
+The quickest way to open or recreate this is with `M-5 M-0 M-j'.
 
 
 Here is a list of all the available sandbox-y tutorials that
@@ -2460,31 +2462,31 @@ recommended reading order. These are the basic ones:
5. (find-pdf-like-intro)
6. (find-eepitch-intro)
7. (find

[elpa] externals/eev fff4f9b 1/4: Added `find-eeit-links' and \'find-emacs-tangents-links'

2020-10-13 Thread Stefan Monnier
branch: externals/eev
commit fff4f9b0f00147434cb38911451cd329819bd79a
Author: Eduardo Ochs 
Commit: Eduardo Ochs 

Added `find-eeit-links' and \'find-emacs-tangents-links'
---
 ChangeLog |  44 +++
 VERSION   |   4 +-
 eejump.el |   1 +
 eev-elinks.el | 126 ++-
 eev-intro.el  | 364 ++
 eev-testblocks.el |  60 -
 eev-tlinks.el | 121 --
 eev-wrap.el   |   4 +
 8 files changed, 519 insertions(+), 205 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 8ed98cd..7ab38bf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,47 @@
+2020-10-10  Eduardo Ochs  
+
+   * eev-testblocks.el (ee-insert-test-tuareg-mode): new function.
+   (ee-insert-test-idris-mode): deleted.
+
+   * eev-elinks.el (ee-package-dir): new function.
+   (ee-package-desc): new function.
+   (ee-package-findelpafiles): new function.
+   (ee-find-epackage-links0): total rewrite.
+   (find-epackage-links): total rewrite.
+
+2020-10-09  Eduardo Ochs  
+
+   * eev-tlinks.el (find-eeit-links): new function.
+
+   * eev-intro.el (find-eepitch-intro): new section: "3.1.
+   `find-eeit-links'".
+
+2020-10-06  Eduardo Ochs  
+
+   * eev-intro.el (find-windows-beginner-intro): added instructions
+   to run `M-x package-initialize'.
+   (find-templates-intro): added more references to
+   `find-find-links-links-new'.
+   (find-links-intro): marked as obsolete.
+   (find-eval-intro): moved the section on byte-compiled functions to
+   `(find-elisp-intro)'.
+   (find-elisp-intro): new sections: "11. Byte-compiled functions",
+   "11.1. Why eev avoids byte-compilation", and "11.2. How
+   `find-efunction' works". They were taken from `(find-eval-intro)'
+   and slightly rewritten.
+
+   * eev-tlinks.el (find-emacs-tangents-links): new function.
+   (find-intro-links): rewrote using `find-find-links-links-new'.
+
+   * eejump.el (eejump-50): new function - now `M-5 M-0 M-j' opens
+   `(find-eev-intro)'.
+
+2020-10-04  Eduardo Ochs  
+
+   * eev-intro.el (find-eev-quick-intro): added pointers to a new
+   video to the installation instructions and deleted the pointers to
+   very old videos.
+
 2020-10-02  Eduardo Ochs  
 
* eev-intro.el (find-psne-intro): added two new sections, one on
diff --git a/VERSION b/VERSION
index 9b43c11..2d27046 100644
--- a/VERSION
+++ b/VERSION
@@ -1,2 +1,2 @@
-Sun Oct  4 09:22:54 GMT 2020
-Sun Oct  4 06:22:54 -03 2020
+Sat Oct 10 07:04:21 GMT 2020
+Sat Oct 10 04:04:21 -03 2020
diff --git a/eejump.el b/eejump.el
index 7d9440e..6aa7b52 100644
--- a/eejump.el
+++ b/eejump.el
@@ -103,6 +103,7 @@ See: (find-eejump-intro \"\\neejump\\n\")"
 (defun eejump-2   () (find-emacs-keys-intro))
 (defun eejump-3   () (find-windows-beginner-intro))
 (defun eejump-5   () (find-eev-quick-intro))
+(defun eejump-50  () (find-eev-intro))
 (defun eejump-6   () (find-escripts-intro))
 
 (defun eejump-10  () (set-frame-font "5x7"  t))
diff --git a/eev-elinks.el b/eev-elinks.el
index edcd91d..e8e4c78 100644
--- a/eev-elinks.el
+++ b/eev-elinks.el
@@ -76,6 +76,7 @@
 ;; «.find-eface-links» (to "find-eface-links")
 ;; «.find-color-links» (to "find-color-links")
 ;; «.find-epackage-links»  (to "find-epackage-links")
+;; «.ee-package-dir»   (to "ee-package-dir")
 
 ;; «.find-code-pdf-links»  (to "find-code-pdf-links")
 ;; «.find-pdf-links»   (to "find-pdf-links")
@@ -1117,59 +1118,124 @@ This needs a temporary directory; see: 
(find-prepared-intro)"
 ;;;  |_| |___/ 
 
 ;;
 ;; «find-epackage-links»  (to ".find-epackage-links")
-;; Skel:  (find-find-links-links-new "epackage" "pkgname" "")
-;; Tests: (find-epackage-links "0x0")
-;;(find-estring (ee-find-epackage-links0 "0x0"))
-;;
-(defun find-epackage-links (&optional pkgname &rest pos-spec-list)
-"Visit a temporary buffer containing hyperlinks for an Emacs package."
-  (interactive)
-  (setq pkgname (or pkgname "{pkgname}"))
+;; Skel: (find-find-links-links-new "epackage" "pkg c d" "")
+;; Test: (find-epackage-links 'lua-mode)
+;;   (find-epackage-links 'tetris)
+;;   (find-epackage-links 'foo)
+;;
+(defun find-epackage-links (&optional pkg c d &rest pos-spec-list)
+"Visit a temporary buffer containing hyperlinks for an Emacs package.
+PKG must be a symbol; C and D are arguments for `code-c-d'.
+If D is t then try to use `ee-package-dir' to get the directory."
+  (interactive (list (symbol-at-point)))
+  (setq pkg (or pkg "{pkg}"))
+  (setq c (or c (replace-regexp-in-string "[-]" "" (symbol-name pkg
+  (setq d (cond ((eq d t) (ee-package-dir pkg))
+   ((eq d nil) "{d}")
+   (t d)))
   (apply
'find-elinks
-   `((find-epackage-links ,pkgname ,@pos-spec-list)
+   `((find-epackage-links ,(ee-add-quote pkg) ,c ,

[elpa] externals/eev 09d7329 2/4: Added `(find-git-intro)' and `(find-texlive-links)'.

2020-10-13 Thread Stefan Monnier
 ()
+  (if (region-active-p)
+  (buffer-substring-no-properties (point) (mark
+
+(defun ee-region-or-last-kill ()
+  (or (ee-region) (ee-last-kill)))
+
 
-;; (find-pdflike-page-links)
-;; (find-angg ".emacs.papers" "kopkadaly")
-;; (code-pdftotext "kopkadaly4" 
"~/books/__comp/kopka_daly__a_guide_to_latex_4th_ed.pdf" 12)
-;; (find-code-pdftotext "kopkadaly4" 
"~/books/__comp/kopka_daly__a_guide_to_latex_4th_ed.pdf" 12)
-;; (ee-page-parameters "kopkadaly4" 12)
-;; (find-kopkadaly4page (+ 12 287) "13.1   The picture environment")
-;; (find-kopkadaly4text"13.1   The picture environment")
-;; (find-kopkadaly4text)
 
 
 
@@ -1252,10 +1253,8 @@ Convert PKG - a symbol - to a package-desc structure (or 
to nil)."
 ;;; |_| |_|_| |_|\__,_|  \___\___/ \__,_|\___| \/   |_|_|_| 
|_|_|\_\___/
 ;;;
 
 ;; «find-code-pdf-links»  (to ".find-code-pdf-links")
-;; Tests:
-;; (find-fline  "/usr/local/texlive/2018/texmf-dist/doc/latex/base/")
-;; (find-code-pdf-links 
"/usr/local/texlive/2018/texmf-dist/doc/latex/base/source2e.pdf")
-;; (find-code-pdf-links 
"/usr/local/texlive/2018/texmf-dist/doc/latex/base/source2e.pdf" "foo")
+;; See: (to "find-pdf-links")
+;;  (find-pdf-like-intro "9. Generating three pairs" "find-code-pdf-links")
 
 ;; See: (find-efunction 'ee-if-prefixp)
 (defun ee-shorten-file-name (fname)
@@ -1297,7 +1296,30 @@ Convert PKG - a symbol - to a package-desc structure (or 
to nil)."
)
  pos-spec-list)))
 
+
+
 ;; «find-pdf-links»  (to ".find-pdf-links")
+;; This function - usually bound to `M-h M-p' - behaves in one way
+;; when invoked from dired buffers and in a totally different way when
+;; invoked from other buffers. In a dired buffer it supposes that the
+;; current line contains the name of a PDF, and it generates a buffer
+;; whose main part is a pair `code-pdf-page'/`code-pdf-text' that lets
+;; you define short hyperlinks to that PDF. See:
+;;
+;;   (find-pdf-like-intro "7. Shorter hyperlinks to PDF files")
+;;   (find-pdf-like-intro "9. Generating three pairs" "`M-h M-p' in Dired 
mode")
+;;
+;; When the current buffer is not in dired mode this function supposes
+;; that the buffer contains the "text" of a PDF, as explained here:
+;;
+;;   (find-pdf-like-intro "3. Hyperlinks to PDF files" "find-pdf-text")
+;;
+;; and it tries to generate short hyperlinks to the current page of
+;; it, making lots of guesses, and often guessing everything wrong.
+;; See:
+;;
+;;   (find-pdf-like-intro "10. Generating a pair with the page number")
+;;   (find-pdf-like-intro "11. How `M-h M-p' guesses everything")
 ;;
 (defun find-pdf-links ()
 "Run either `find-code-pdf-links' or `find-pdflike-page-links'."
diff --git a/eev-hlinks.el b/eev-hlinks.el
index 30abc4a..cbe303a 100644
--- a/eev-hlinks.el
+++ b/eev-hlinks.el
@@ -275,7 +275,7 @@
 (defun  ee-epackage-bufferp () (ee-buffer-help ee-epackage-re 1))
 (defun  ee-find-epackage-links ()
   (let ((p (ee-epackage-bufferp)))
-(list (ee-find-epackage-links0 p
+(list (ee-find-epackage-links0 p "{c}" "{d}"
 
 ;; By buffer name (when the mode is man)
 (defvar ee-man-re "^\\*Man \\(.*\\)\\*$")
diff --git a/eev-intro.el b/eev-intro.el
index 4aaf50f..08225fe 100644
--- a/eev-intro.el
+++ b/eev-intro.el
@@ -19,7 +19,7 @@
 ;;
 ;; Author: Eduardo Ochs 
 ;; Maintainer: Eduardo Ochs 
-;; Version:2020oct04
+;; Version:2020oct13
 ;; Keywords:   e-scripts
 ;;
 ;; Latest version: <http://angg.twu.net/eev-current/eev-intro.el>
@@ -91,6 +91,7 @@
 ;; «.find-emacs-intro» (to "find-emacs-intro")
 ;; «.find-org-intro»   (to "find-org-intro")
 ;; «.find-escripts-intro»  (to "find-escripts-intro")
+;; «.find-git-intro»   (to "find-git-intro")
 
 ;; «.find-windows-beginner-intro»  (to "find-windows-beginner-intro")
 
@@ -2149,9 +2150,9 @@ These are the current ways to download and install eev:
  links like these ones,
 
http://elpa.gnu.org/packages/eev.html
-   http://elpa.gnu.org/packages/eev-20191003.tar
+   http://elpa.gnu.org/packages/eev-20201013.tar
http://angg.twu.net/eev-current/
-   http://angg.twu.net/eev-current/eev-20191003.tar
+   http://angg.twu.net/eev-current/eev-20201013.tar
 
  and then running `M-x package-install-file';
 
@@ -2461,31 +2462,31 @@ recommended reading order. These are the basic ones:
5. (find-pdf-like-intro)
6. (find-eepitch-intro)
7. (find-audiovideo-intro)
-   8. (find-rcirc-intro)
-   9. (find-elisp-intro)
-  10. (find-eev-in

[elpa] externals/eev updated (3f6b3ee -> 90678b4)

2020-10-13 Thread Stefan Monnier
monnier pushed a change to branch externals/eev.

  from  3f6b3ee   Merge remote-tracking branch 'eev/UTF-8' into 
externals/eev
   new  fff4f9b   Added `find-eeit-links' and \'find-emacs-tangents-links'
   new  09d7329   Added `(find-git-intro)' and `(find-texlive-links)'.
   new  b3eff28   Small changes in `(find-git-intro)'
   new  90678b4   Merge remote-tracking branch 'eev/UTF-8' into 
externals/eev


Summary of changes:
 ChangeLog |  61 +
 VERSION   |   4 +-
 eejump.el |   1 +
 eev-brxxx.el  | 112 +++---
 eev-elinks.el | 272 +++
 eev-hlinks.el |   2 +-
 eev-intro.el  | 651 +-
 eev-testblocks.el |  62 +++---
 eev-tlinks.el | 346 +++--
 eev-wrap.el   |   4 +
 eev.el|   2 +-
 11 files changed, 1076 insertions(+), 441 deletions(-)



[elpa] externals/eev b3eff28 3/4: Small changes in `(find-git-intro)'

2020-10-13 Thread Stefan Monnier
branch: externals/eev
commit b3eff2894333b8ea246c40b26e63e109a5ea1221
Author: Eduardo Ochs 
Commit: Eduardo Ochs 

Small changes in `(find-git-intro)'
---
 VERSION  |  4 ++--
 eev-intro.el | 31 +++
 2 files changed, 33 insertions(+), 2 deletions(-)

diff --git a/VERSION b/VERSION
index 7a09630..bc98dc0 100644
--- a/VERSION
+++ b/VERSION
@@ -1,2 +1,2 @@
-Tue Oct 13 08:14:43 GMT 2020
-Tue Oct 13 05:14:43 -03 2020
+Tue Oct 13 16:07:41 GMT 2020
+Tue Oct 13 13:07:41 -03 2020
diff --git a/eev-intro.el b/eev-intro.el
index 08225fe..d88a205 100644
--- a/eev-intro.el
+++ b/eev-intro.el
@@ -11302,13 +11302,44 @@ because when it was created it pointed to the commit 
with message
  \\  /
   A
 
+NEXT STEPS: explain how to use git merge both from the command
+line and from magit; explain HEAD, master, and tags. Point to man
+pages in man and text format and to sections in Scott Chacon's
+book. I NEED LOTS OF HELP HERE.
+
   (find-man \"git-merge\")
+  (find-gitinternalspage)
+  (find-gitinternalstext)
+
+
 
 
 
+3. A second repository
+==
+HELP PLEEEAS
+
+
+ (eepitch-shell)
+ (eepitch-kill)
+ (eepitch-shell)
+  rm -Rfv /tmp/git-test/repo2/
+  mkdir   /tmp/git-test/repo2/
+  cd  /tmp/git-test/repo2/
+  .   /tmp/git-test/git-defs
+  # (find-fline \"/tmp/git-test/git-defs\")
 
+  git clone /tmp/git-test/repo1/ .
+  ls -lAF
 
+  # (find-gitk  \"/tmp/git-test/repo2/\")
+  # (find-fline \"/tmp/git-test/repo2/\")
+  # (find-fline \"/tmp/git-test/repo2/.git/\")
+  # (find-fline \"/tmp/git-test/repo2/.git/config\")
 
+  # (find-man \"1 git-remote\")
+  # (find-progitpage (+ 24  36) \"Adding Remote Repositories\")
+  # (find-progittext (+ 24  36) \"Adding Remote Repositories\")
 
 " pos-spec-list)))