[elpa] master 3e9584a: * copyright_exceptions: Sync with new version of ergoemacs

2018-08-07 Thread Stefan Monnier
branch: master
commit 3e9584a0e1bcae168ae12c8f6267ae4f92b56c3d
Author: Stefan Monnier 
Commit: Stefan Monnier 

* copyright_exceptions: Sync with new version of ergoemacs
---
 copyright_exceptions | 1 -
 1 file changed, 1 deletion(-)

diff --git a/copyright_exceptions b/copyright_exceptions
index cc842f8..a9609ef 100644
--- a/copyright_exceptions
+++ b/copyright_exceptions
@@ -62,7 +62,6 @@
 ./auctex/tex-fold.el:("(C)" ("copyright"))
 ./auctex/tex-info.el:   '("copyright" nil)
 ./debbugs/debbugs-gnu.el:(insert "  Copyright-paperwork-exempt: yes"))
-./ergoemacs-mode/ergoemacs-advices.el: emacs-copyright
 ./ergoemacs-mode/ergoemacs-themes.el: ,(lambda () 
emacs-copyright)
 ./gnugo/gnugo.el:(CP "Copyright"   game  simpletext)
 ./hyperbole/hib-doc-id.el:;;  Copyright:



[elpa] master 95c410a: [el-search] Follow-ups to transient map handling

2018-08-07 Thread Michael Heerdegen
branch: master
commit 95c410a8385e16740ad301df9b6d0998246c679f
Author: Michael Heerdegen 
Commit: Michael Heerdegen 

[el-search] Follow-ups to transient map handling

This fixes the transient map being still active when hitting the first
key after 'el-search-jump-to-search-head' or
'el-search-skip-directory' prompt for minibuffer input.
Bump version to 1.7.6.

(el-search-keep-transient-map-commands): Remove
'el-search-jump-to-search-head' and 'el-search-skip-directory' from
the list.
(el-search-jump-to-search-head, el-search-skip-directory):
Unconditionally call 'el-search-prefix-key-maybe-set-transient-map'.
(el-search--entering-prefix-arg-p): New helper function.
(el-search-hl-post-command-fun): Use it.
---
 packages/el-search/el-search.el | 29 +++--
 1 file changed, 15 insertions(+), 14 deletions(-)

diff --git a/packages/el-search/el-search.el b/packages/el-search/el-search.el
index 51ef299..43c43c9 100644
--- a/packages/el-search/el-search.el
+++ b/packages/el-search/el-search.el
@@ -7,7 +7,7 @@
 ;; Created: 29 Jul 2015
 ;; Keywords: lisp
 ;; Compatibility: GNU Emacs 25
-;; Version: 1.7.5
+;; Version: 1.7.6
 ;; Package-Requires: ((emacs "25") (stream "2.2.4") (cl-print "1.0"))
 
 
@@ -545,12 +545,13 @@ The default value is ask-multi."
   )
 
 (defvar el-search-keep-transient-map-commands
+  ;; Commands that may read input (`el-search-jump-to-search-head',
+  ;; `el-search-skip-directory') need to be omitted here and should
+  ;; explicitly install the transient map themselves.
   '(el-search-pattern
 el-search-pattern-backward
-el-search-jump-to-search-head
 el-search-from-beginning
 el-search-last-buffer-match
-el-search-skip-directory
 el-search-continue-in-next-buffer
 universal-argument universal-argument-more
 digit-argument negative-argument)
@@ -635,6 +636,10 @@ The non-nil value should be one of the symbols `forward' 
and
   "Ignore the arguments and return t."
   t)
 
+(defun el-search--entering-prefix-arg-p ()
+  "Non-nil while a prefix arg is entered."
+  (memq universal-argument-map overriding-terminal-local-map))
+
 (defun el-search--bounds-of-defun (&optional pos)
   "Return (BEG . END) of the top level s-exp covering POS.
 POS defaults to point.  If no sexp is covering POS, return
@@ -2241,13 +2246,8 @@ local binding of `window-scroll-functions'."
 (defun el-search-hl-post-command-fun ()
   (pcase this-command
 ('el-search-query-replace)
-('el-search-pattern
- (unless
- ;; When entering a numerical prefix `this-command' isn't updated.  We
- ;; test for this condition (is there a better one?) to avoid that key
- ;; input feedback is hidden
- (memq universal-argument-map overriding-terminal-local-map)
-   (el-search-display-match-count)))
+((guard (el-search--entering-prefix-arg-p))) ; don't hide key input 
feedback
+('el-search-pattern (el-search-display-match-count))
 ((pred el-search-keep-session-command-p))
 (_ (unless el-search-keep-hl
  (el-search-hl-remove)
@@ -2383,12 +2383,12 @@ make current."
   (setf (el-search-object-last-match el-search--current-search)
 (copy-marker (point)))
   (el-search-hl-sexp)
-  (el-search-hl-other-matches (el-search--current-matcher))
-  (el-search-prefix-key-maybe-set-transient-map)
+  (el-search-hl-other-matches (el-search--current-matcher))
 (el-search--message-no-log "[Search completed - restarting]")
 (sit-for 1.5)
 (el-search-reset-search el-search--current-search)
-(el-search-continue-search)))
+(el-search-continue-search))
+  (el-search-prefix-key-maybe-set-transient-map))
 
 (defun el-search-continue-search (&optional from-here)
   "Continue or resume the current search.
@@ -2488,7 +2488,8 @@ continued."
  (or (bufferp buffer-or-file-name)
  ;; `file-in-directory-p' would be perfect here, but it calls
  ;; file-truename on both args what we don't want, so we use this:
- (string-match-p "\\`\\.\\." (file-relative-name buffer-or-file-name 
directory))
+ (string-match-p "\\`\\.\\." (file-relative-name buffer-or-file-name 
directory)
+  (el-search-prefix-key-maybe-set-transient-map))
 
 (defun el-search-pattern--interactive (&optional prompt)
   (list (if (or