[elpa] master 921175b: * externals-list: Prepare tramp

2018-10-21 Thread Michael Albinus
branch: master
commit 921175b1dbe67313f37479befd48ee3a5c770db6
Author: Michael Albinus 
Commit: Michael Albinus 

* externals-list: Prepare tramp
---
 externals-list | 31 +++
 1 file changed, 31 insertions(+)

diff --git a/externals-list b/externals-list
index dba4dcb..f502be4 100644
--- a/externals-list
+++ b/externals-list
@@ -111,6 +111,37 @@
  ("temp-buffer-browse"  :subtree 
"https://github.com/leoliu/temp-buffer-browse";)
  ("test-simple" :subtree "https://github.com/rocky/emacs-test-simple";)
  ("vdiff"   :subtree "https://github.com/justbur/emacs-vdiff";)
+ ;;("tramp":core
+ ;;  (;; FIXME: elpa.gnu.org doesn't know where to get from
+ ;;   ;;"README.md"
+ ;;   ;; FIXME: elpa.gnu.org doesn't know where to get from
+ ;;   ;;"dir"
+ ;;   "lisp/net/tramp.el"
+ ;;   "lisp/net/tramp-archive.el"
+ ;;   "lisp/net/tramp-adb.el"
+ ;;   "lisp/net/tramp-cache.el"
+ ;;   "lisp/net/tramp-cmds.el"
+ ;;   "lisp/net/tramp-compat.el"
+ ;;   "lisp/net/tramp-ftp.el"
+ ;;   "lisp/net/tramp-gvfs.el"
+ ;;   ;; FIXME: elpa.gnu.org doesn't know how to build
+ ;;   "lisp/net/tramp-loaddefs.el"
+ ;;   "lisp/net/tramp-sh.el"
+ ;;   "lisp/net/tramp-smb.el"
+ ;;   "lisp/net/tramp-uu.el"
+ ;;   "lisp/net/trampver.el"
+ ;;   ("doc/misc/tramp.texi" "doc/tramp.texi")
+ ;;   ("doc/misc/trampver.texi" "doc/trampver.texi")
+ ;;   ;; FIXME: elpa.gnu.org doesn't know how to build
+ ;;   "info/tramp.info"
+ ;;   ("test/lisp/net/tramp-tests.el"
+ ;;"test/tramp-tests.el")
+ ;;   ("test/lisp/net/tramp-archive-tests.el"
+ ;;"test/tramp-archive-tests.el")
+ ;;   ("test/lisp/net/tramp-archive-resources/foo.tar.gz"
+ ;;"test/tramp-archive-resources/foo.tar.gz")
+ ;;   ("test/lisp/net/tramp-archive-resources/foo.iso/foo"
+ ;;"test/tramp-archive-resources/foo.iso/foo")))
  ;;FIXME:("vlf":subtree ??)
  ("w3" :external nil)
  ("wcheck-mode":subtree 
"https://github.com/tlikonen/wcheck-mode.git";)



[elpa] externals/exwm 01b0b54: Fix single workspace invisible problem with Xephyr

2018-10-21 Thread Chris Feng
branch: externals/exwm
commit 01b0b54c04d043c47184019c75cc668da2427aa8
Author: Chris Feng 
Commit: Chris Feng 

Fix single workspace invisible problem with Xephyr

* exwm-workspace.el (exwm-workspace-switch): On startup EXWM switches
to workspace 0 by force so the rest code can not assume the frames
before and after a switch different.
---
 exwm-workspace.el | 8 +---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/exwm-workspace.el b/exwm-workspace.el
index 8a59c36..383bf53 100644
--- a/exwm-workspace.el
+++ b/exwm-workspace.el
@@ -553,8 +553,9 @@ for internal use only."
   (exwm-workspace--set-active frame t))
  ((equal output-old output-new)
   (exwm-workspace--set-active frame t)
-  (exwm-workspace--set-active old-frame nil)
-  (setq workspaces-to-hide (list old-frame)))
+  (unless (eq frame old-frame)
+(exwm-workspace--set-active old-frame nil)
+(setq workspaces-to-hide (list old-frame
  (active-new)
  (t
   (dolist (w exwm-workspace--list)
@@ -626,7 +627,8 @@ for internal use only."
  :dst-x (/ (frame-pixel-width frame) 2)
  :dst-y (/ (frame-pixel-height frame) 2)))
   (xcb:flush exwm--connection
-(when (frame-live-p old-frame)
+(when (and (not (eq frame old-frame))
+   (frame-live-p old-frame))
   (with-selected-frame old-frame
 (run-hooks 'focus-out-hook)))
 (run-hooks 'focus-in-hook)



[elpa] master ed76223: Brief mode: Fix for enabling infrequent keys.

2018-10-21 Thread Luke Lee
branch: master
commit ed762233142b27589202b70cfe32bbd8d3e5b8ae
Author: Luke Lee 
Commit: Luke Lee 

Brief mode: Fix for enabling infrequent keys.

* brief/b: Use `brief-easy-start' instead of a long progn list.
* brief/README.org: Add Emacs default setting change info.
* brief/brief.el (brief-easy-start): New function for an easy
quick start, used by 'b' script.

(brief-enable-less-frequent-keys):
New function to enable infrequent keys.

(brief-override-line-number-at-pos):
Remove duplicated defadvice for Emacs versions below 25.

(all defcustom vars): Remove redundant :group declaration.
---
 packages/brief/README.org |  33 +++-
 packages/brief/b  |  11 +--
 packages/brief/brief.el   | 197 ++
 3 files changed, 125 insertions(+), 116 deletions(-)

diff --git a/packages/brief/README.org b/packages/brief/README.org
index 78a6847..9d165a3 100644
--- a/packages/brief/README.org
+++ b/packages/brief/README.org
@@ -1,4 +1,4 @@
-Brief Mode / Brief Emulator  -*- mode: org; -*-
+Brief Mode / Brief Emulator / Brief Editor -*- mode: org; -*-
 
 #+STARTUP: showall
 #+STARTUP: hidestars
@@ -7,7 +7,8 @@ Brief Mode / Brief Emulator  -*- mode: org; -*-
 
 The Brief editor is famous for its easy-to-learn.  Most of the command 'K'eys 
are
 associated with meaningful 'K'eywords.  Usually, it can be mastered within an
-hour and difficult to forget.
+hour and difficult to forget.  Brief v3.1 was once very popular among 
programmers
+in the MS-DOS days.
 
 For example, the first  key bring the cursor to home (beginning) of 
current
 line, a consecutive second  key to the home (beginning) of the window 
and a
@@ -310,7 +311,35 @@ this Brief Mode.
| Save buffer and exit Emacs immediately| 
---X |

|---+|
 
+
+* There are some less favored default Emacs settings which makes the editing
+  experience in Emacs quite unlike other editors, especially for programmers.
+  For example, text wrapping is by default enabled so a program line could 
easily
+  wrapped to next line if window size changed; text scrolling is jumppy in both
+  horizontal and vertical directions and on / the cursor 
does
+  not stay at the same position.  All these behaviors can be easily adjusted by
+  changing default settings.
+
+  With the quick launcher 'b' all these are fixed.  The /
+  are rewritten to behave like other editors while 'b' changed other settings.
+  If you launch Emacs without using 'b' you may want to include those changes
+  into your ~/.emacs init script:
+
+  ;;--;
+  (setq-default truncate-lines t)  ;; disable line wrapping   ;
+  ;;(setq-default global-visual-line-mode t)  ;
+  (setq scroll-step 1  ;; set vertical scroll not jumppy  ;
+scroll-conservatively 101);
+  (setq hscroll-margin 1   ;; set horizontal scroll not jumppy;
+hscroll-step 1)   ;
+  (scroll-bar-mode -1) ;; small border without scroll bar ;
+  ;;--;
+
+  Or you can refer to the source code "brief.el" for function 
`brief-easy-start'.
+
+
 * For more details like Cygwin 2.x users note, please check the comments in the
   source code "brief.el".
 
+
 Luke Lee
diff --git a/packages/brief/b b/packages/brief/b
index 5d5bd9f..d0c60f8 100755
--- a/packages/brief/b
+++ b/packages/brief/b
@@ -138,13 +138,4 @@ done
 
 # Launch Emacs with Brief mode default settings
 
-exec ${EMACS} --load ${BRIEFPATH}/brief --eval \
-"(progn \
-  (setq-default truncate-lines t) \
-  (setq scroll-step 1 \
-scroll-conservatively 101) \
-  (setq hscroll-margin 1 \
-hscroll-step 1) \
-  (scroll-bar-mode -1) \
-  (brief-mode 1))" \
-"${EMACSARGS[@]}"
+exec ${EMACS} --load ${BRIEFPATH}/brief --funcall brief-easy-start 
"${EMACSARGS[@]}"
diff --git a/packages/brief/brief.el b/packages/brief/brief.el
index 8353913..08d6f3a 100644
--- a/packages/brief/brief.el
+++ b/packages/brief/brief.el
@@ -2,10 +2,10 @@
 
 ;; Copyright (C) 2018  Free Software Foundation, Inc.
 
-;; Author: Luke Lee 
-;; Maintainer: Luke Lee 
-;; Keywords:   brief, emulations, crisp
-;; Version:5.86
+;; Author:   Luke Lee 
+;; Maintainer:   Luke Lee 
+;; Keywords: brief, emulations, crisp
+;; Version:  5.86
 ;; Package-Type: multi
 
 ;; GNU Emacs is free software: you can redistribute it and/or modify
@@ -830,47 +830,41 @@ use either M-x customize or the function `brief-mode'."
   "Determine if search & replace commands using regular expression or string.
 This is a buffer local variable with default val