[elpa] externals/ef-themes updated (abe6db4659 -> c1b3d334f5)

2022-10-28 Thread ELPA Syncer
elpasync pushed a change to branch externals/ef-themes.

  from  abe6db4659 ef-day: make 'border' more noticeable
   new  02a91a1dfb Document faces that are defined by the Ef themes
   new  c1b3d334f5 Update to version 0.9.0


Summary of changes:
 CHANGELOG.org | 194 ++
 README.org|  57 +
 ef-themes.el  |   2 +-
 3 files changed, 240 insertions(+), 13 deletions(-)



[elpa] externals/ef-themes c1b3d334f5 2/2: Update to version 0.9.0

2022-10-28 Thread ELPA Syncer
branch: externals/ef-themes
commit c1b3d334f53b814d4a1052db7b43a7e13a6bade1
Author: Protesilaos Stavrou 
Commit: Protesilaos Stavrou 

Update to version 0.9.0
---
 CHANGELOG.org | 194 ++
 README.org|  23 ---
 ef-themes.el  |   2 +-
 3 files changed, 206 insertions(+), 13 deletions(-)

diff --git a/CHANGELOG.org b/CHANGELOG.org
index 26732f8ddd..895661a60c 100644
--- a/CHANGELOG.org
+++ b/CHANGELOG.org
@@ -9,6 +9,200 @@ project's main git repository: 
.
 The newest release is at the top.  For further details, please consult
 the manual: .
 
+* Version 0.9.0 on 2022-10-28
+:PROPERTIES:
+:CUSTOM_ID: h:b5e83e34-9af3-41b6-a9a1-ab9b3555b2e9
+:END:
+
+** Introduced the 'ef-cherie' and 'ef-cyprus' themes
+:PROPERTIES:
+:CUSTOM_ID: h:877fc5ae-d48d-4f0c-80bf-248501f284eb
+:END:
+
+~ef-cherie~ is a dark theme with mostly pink, magenta, and gold
+colours.  ~ef-cyprus~ is a light theme characterised by green, yellow,
+teal, and red colours.
+
+Read the announcements, which also include screen shots:
+
++ .
++ .
+
+These themes bring the total number of the collection to 20, split
+into an equal number of light and dark themes.
+
+Note that some themes in the collection are designed as pairs.  Those
+have =-light= or =-dark= in their name.  The others are standalone.
+Regardless, the user can specify any two themes in the value of the
+user option ~ef-themes-to-toggle~ and then switch between them with
+the command ~ef-themes-toggle~.  Or just use the other available
+commands: ~ef-themes-select~ for minibuffer completion and the
+~ef-themes-load-random~ to load one from the collection (with a =C-u=
+prefix argument to limit the set to light or dark themes). The
+official manual explains more.
+
+Will there be more themes?  Time will tell.  Though I think that
+between those and the =modus-themes=, I have covered a very broad
+range of preferences and requirements for accessibility.
+
+** The 'ef-themes-select' optionally limits to light or dark
+:PROPERTIES:
+:CUSTOM_ID: h:caeb1c99-8890-4275-b812-45d5715d071b
+:END:
+
+The command ~ef-themes-select~ can now accept a prefix argument (=C-u=
+with the default key bindings).  It prompts for a selection between
+light or dark themes and then uses minibuffer completion that only
+includes the items of the given set.
+
+Inspect the value of the variables ~ef-themes-dark-themes~,
+~ef-themes-light-themes~ for what is included in each set.
+
+[ Note that the command ~ef-themes-load-random~ has the same behaviour
+  of limiting to a set when it reads a prefix argument. ]
+
+** The 'ef-themes-load-random' reports the theme it loaded
+:PROPERTIES:
+:CUSTOM_ID: h:308296a7-46f8-4524-8c62-9ad720f5fb3d
+:END:
+
+The command ~ef-themes-load-random~ has received a quality-of-life
+improvement to its functionality.  It now prints a message in the echo
+area that includes the name of the theme it loaded.  The user can
+review echo area messages by invoking the ~view-echo-area-messages~
+command, which is bound to =C-h e= by default.
+
+This change makes it easier for the user to remember a theme they
+liked.
+
+Thanks to Federico Stilman for sharing with me the idea of reporting
+the name of the randomly loaded theme.  This information is shared
+with permission, as it was done via a private channel.
+
+** Stylistic refinements
+:PROPERTIES:
+:CUSTOM_ID: h:a9155853-90c1-40a6-8d20-5756cbcdda8f
+:END:
+
++ All themes have palette entries for colour-coded underlines.  Those
+  are used by packages like =flymake= and =flyspell= to highlight
+  errors and warnings.  All dark Ef themes had a bit too intense
+  colours applied to those constructs.  These have now been toned down
+  in order to avoid potential distractions.  They still perform their
+  intended function, without drawing too much attention to themselves.
+
++ Almost all themes have a slightly more pronounced =border= colour.
+  This is used to underline links and to draw the vertical line that
+  separates Emacs windows (among others).  It still is a subtle grey,
+  though it works better than before.
+
++ The =warning= mapping of many themes has been revised to be a more
+  neutral yellow (I define hues as triplets of neutral, warmer,
+  colder).  The previous style was a warmer shade of yellow, which
+  brought it closer to red.  This, in turn, had the unintended effect
+  of making the Org agenda potentially confusing.
+
++ The =mail-3= mapping of some themes has been tweaked to better stand
+  out in its context, without prejudice to the overall character of
+  its theme.  This colour is used by email clients that leverage the
+  built-in =message.el= library (such as Gnus, Mu4e, Notmuch).  In
+  short, if you edit messages with deeply nested quotes, you will have

[elpa] externals/ef-themes 02a91a1dfb 1/2: Document faces that are defined by the Ef themes

2022-10-28 Thread ELPA Syncer
branch: externals/ef-themes
commit 02a91a1dfb7a468df83ff10de9aa475d6b4108c5
Author: Protesilaos Stavrou 
Commit: Protesilaos Stavrou 

Document faces that are defined by the Ef themes
---
 README.org | 34 ++
 1 file changed, 34 insertions(+)

diff --git a/README.org b/README.org
index 65f3972895..2ba9bca8b3 100644
--- a/README.org
+++ b/README.org
@@ -877,6 +877,40 @@ because it otherwise adds too much visual noise to the 
buffer (email
 addresses stand out more, due to the use of the uncommon =@= caharacter
 but also because they are often enclosed in angled brackets).
 
+* Faces defined by the Ef themes
+:PROPERTIES:
+:CUSTOM_ID: h:34afcc9a-a5f1-4023-b01a-abf5b8a6199d
+:END:
+
+The themes define some faces to make it possible to achieve
+consistency between various groups of faces.  For example, all "marks
+for selection" use the ~ef-themes-mark-select~ face.  If, say, the
+user wants to edit this face to include an underline, the change will
+apply to lots of packages, like Dired, Trashed, Ibuffer.
+
+[[#h:152326a3-9356-4158-8adb-83c42c2ef117][Do-It-Yourself customizations]].
+
+All the faces defined by the themes:
+
++ ~ef-themes-fixed-pitch~
++ ~ef-themes-heading-0~
++ ~ef-themes-heading-1~
++ ~ef-themes-heading-2~
++ ~ef-themes-heading-3~
++ ~ef-themes-heading-4~
++ ~ef-themes-heading-5~
++ ~ef-themes-heading-6~
++ ~ef-themes-heading-7~
++ ~ef-themes-heading-8~
++ ~ef-themes-key-binding~
++ ~ef-themes-mark-delete~
++ ~ef-themes-mark-other~
++ ~ef-themes-mark-select~
++ ~ef-themes-ui-variable-pitch~
++ ~ef-themes-underline-error~
++ ~ef-themes-underline-info~
++ ~ef-themes-underline-warning~
+
 * Supported packages or face groups
 :PROPERTIES:
 :CUSTOM_ID: h:c8d80daf-d039-40c4-bb74-e7814a9b4c79



[nongnu] elpa/projectile 628ef3be70 1/3: [Docs] Document how to ignore certain project buffers

2022-10-28 Thread ELPA Syncer
branch: elpa/projectile
commit 628ef3be704a2738b76c3fd294c08a56ff346b35
Author: Bozhidar Batsov 
Commit: Bozhidar Batsov 

[Docs] Document how to ignore certain project buffers
---
 doc/modules/ROOT/pages/projects.adoc | 36 
 1 file changed, 36 insertions(+)

diff --git a/doc/modules/ROOT/pages/projects.adoc 
b/doc/modules/ROOT/pages/projects.adoc
index 80e86a8e07..1d71517233 100644
--- a/doc/modules/ROOT/pages/projects.adoc
+++ b/doc/modules/ROOT/pages/projects.adoc
@@ -754,6 +754,42 @@ you e.g. test a command-line program with 
`projectile-run-project`.
 (setq projectile-comint-mode t)
 
 
+== Project Buffers
+
+Projectile offers a bunch of operations that are operating on the open buffers
+for some project (e.g. `projectile-kill-buffers`). One tricky part here are
+"special buffers" - basically buffers that are not backed by files
+(e.g. `+*dired*+`, `+*scratch+*` and so on). Projectile determines whether a
+special buffer belongs to a project simply by checking the `default-directory`
+for the special buffer, which admittedly might result in some weird results
+(e.g. if you've created a special buffer that's not related to a project, while
+visiting a file belonging to the project).
+
+That's why Projectile has a couple of configuration options for dealing with
+project buffers - namely `projectile-globally-ignored-buffers` and
+`projectile-globally-ignored-modes`. Both of them take a list of strings or
+regular expressions that will be used to match against a buffer's name or a
+buffer's major mode.
+
+Here are a couple of examples:
+
+[source,elisp]
+
+;; ignoring specific buffers by name
+(setq projectile-globally-ignored-buffers
+  '("*scratch*"
+"*lsp-log*"))
+
+;; ignoring buffers by their major mode
+(setq projectile-globally-ignored-modes
+  '("erc-mode"
+"help-mode"
+"completion-list-mode"
+"Buffer-menu-mode"
+"gnus-.*-mode"
+"occur-mode"))
+
+
 == Configure a Project's Lifecycle Commands and Other Attributes
 
 There are a few variables that are intended to be customized via 
`.dir-locals.el`.



[nongnu] elpa/projectile 68cff05148 2/3: [Docs] Tweak the list of features

2022-10-28 Thread ELPA Syncer
branch: elpa/projectile
commit 68cff05148a87cd872e8691f868c400ede5b4f52
Author: Bozhidar Batsov 
Commit: Bozhidar Batsov 

[Docs] Tweak the list of features
---
 README.md |  6 +-
 doc/modules/ROOT/pages/index.adoc | 12 
 2 files changed, 13 insertions(+), 5 deletions(-)

diff --git a/README.md b/README.md
index f706650655..a00bb2e515 100644
--- a/README.md
+++ b/README.md
@@ -35,10 +35,14 @@ Here are some of Projectile's features:
 * jump to recently visited files in the project
 * switch between projects you have worked on
 * kill (close) all project buffers
-* replace in project
 * grep (search) in project
+* replace in project
+* find references in project (using `xref` internally)
 * run shell commands in a project (e.g. `make`, `lein`)
 * support for multiple minibuffer completion/selection libraries (`ido`, 
`ivy`, `helm` and the default completion system)
+* integration with the built-in `project.el` library
+
+There's also a rich ecosystem of third-party [Projectile 
extensions](https://melpa.org/#/?q=projectile) that add even more features.
 
 ---
 
[![Patreon](https://img.shields.io/badge/patreon-donate-orange.svg)](https://www.patreon.com/bbatsov)
diff --git a/doc/modules/ROOT/pages/index.adoc 
b/doc/modules/ROOT/pages/index.adoc
index 69c7e602d3..3e1e46d084 100644
--- a/doc/modules/ROOT/pages/index.adoc
+++ b/doc/modules/ROOT/pages/index.adoc
@@ -42,15 +42,19 @@ Here are some of Projectile's features in no particular 
order:
 * toggle between code and its test (e.g. `main.service.js` <--> 
`main.service.spec.js`)
 * jump to recently visited files in the project
 * switch between projects you have worked on
-* kill all project buffers
+* kill (close) all project buffers
 * replace in project
 * multi-occur in project buffers
-* grep in project
+* grep (search) in project (this supports multiple back-ends like `ag`, `rg`, 
etc)
+* find references in project (using `xref` internally)
 * regenerate project etags or gtags (requires 
https://github.com/leoliu/ggtags[ggtags]).
-* visit project in dired
-* run make in a project with a single key chord
+* visit project in `dired`
+* run `make` in a project with a single key chord
 * browse dirty version controlled projects
 * support for multiple minibuffer completion/selection libraries (`ido`, 
`ivy`, `helm` and the default completion system)
+* integration with the built-in `project.el` library
+
+There's also a rich ecosystem of third-party xref:extensions[Projectile 
extensions] that add even more features.
 
 == Projectile in Action
 



[nongnu] elpa/projectile 306df876d3 3/3: Fix a typo

2022-10-28 Thread ELPA Syncer
branch: elpa/projectile
commit 306df876d30eef8eb093fe880df9c2a3454d44a5
Author: Bozhidar Batsov 
Commit: Bozhidar Batsov 

Fix a typo
---
 projectile.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/projectile.el b/projectile.el
index 81dc4e5dd6..14cb830a46 100644
--- a/projectile.el
+++ b/projectile.el
@@ -4193,7 +4193,7 @@ installed to work."
 A thin wrapper around `xref-references-in-directory'."
   (interactive)
   (when (and (fboundp 'xref-references-in-directory)
- (fboundp 'xref--show-refs))
+ (fboundp 'xref--show-xrefs))
 (let ((project-root (projectile-acquire-root))
   (symbol (or symbol (read-from-minibuffer "Lookup in project: " 
(projectile-symbol-at-point)
   (xref--show-xrefs (xref-references-in-directory symbol project-root) 
nil



[nongnu] elpa/projectile updated (fc7450cefe -> 306df876d3)

2022-10-28 Thread ELPA Syncer
elpasync pushed a change to branch elpa/projectile.

  from  fc7450cefe [Fix #1804] Add *scratch* and *lsp-log* to 
projectile-globally-ignored-buffers
   new  628ef3be70 [Docs] Document how to ignore certain project buffers
   new  68cff05148 [Docs] Tweak the list of features
   new  306df876d3 Fix a typo


Summary of changes:
 README.md|  6 +-
 doc/modules/ROOT/pages/index.adoc| 12 
 doc/modules/ROOT/pages/projects.adoc | 36 
 projectile.el|  2 +-
 4 files changed, 50 insertions(+), 6 deletions(-)



[elpa] externals/embark 1bacf0b298: Create FUNDING.yml

2022-10-28 Thread ELPA Syncer
branch: externals/embark
commit 1bacf0b298567ad0be2af522ce835d716fb9bd7d
Author: Omar Antolín Camarena 
Commit: GitHub 

Create FUNDING.yml
---
 .github/FUNDING.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml
new file mode 100644
index 00..dd61cdaab7
--- /dev/null
+++ b/.github/FUNDING.yml
@@ -0,0 +1 @@
+github: oantolin



[elpa] externals/embark-consult updated (9796324be8 -> 1bacf0b298)

2022-10-28 Thread ELPA Syncer
elpasync pushed a change to branch externals/embark-consult.

  from  9796324be8 Merge pull request #551 from minad/warning
  adds  1bacf0b298 Create FUNDING.yml

No new revisions were added by this update.

Summary of changes:
 .github/FUNDING.yml | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 .github/FUNDING.yml



[elpa] externals/org efcfaca72d: lisp/ob-clojure.el: Update headers

2022-10-28 Thread ELPA Syncer
branch: externals/org
commit efcfaca72d4b0176e4402a81b726aa2f4434a6a0
Author: Bastien 
Commit: Bastien 

lisp/ob-clojure.el: Update headers
---
 lisp/ob-clojure.el | 13 +++--
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/lisp/ob-clojure.el b/lisp/ob-clojure.el
index 0649469b39..bfbd15f036 100644
--- a/lisp/ob-clojure.el
+++ b/lisp/ob-clojure.el
@@ -25,21 +25,22 @@
 
 ;;; Commentary:
 
-;; Support for evaluating clojure code
+;; Support for evaluating Clojure code
 
 ;; Requirements:
 
-;; - clojure (at least 1.2.0)
+;; - Clojure (at least 1.2.0)
 ;; - clojure-mode
-;; - inf-clojure, cider or SLIME
+;; - inf-clojure, Cider, SLIME, babashka or nbb
 
 ;; For clojure-mode, see https://github.com/clojure-emacs/clojure-mode
-;; For cider, see https://github.com/clojure-emacs/cider
-;; For inf-clojure, see https://github.com/clojure-emacs/cider
+;; For inf-clojure, see https://github.com/clojure-emacs/inf-clojure
+;; For Cider, see https://github.com/clojure-emacs/cider
+;; For SLIME, see https://slime.common-lisp.dev
 ;; For babashka, see https://github.com/babashka/babashka
 ;; For nbb, see https://github.com/babashka/nbb
 
-;; For SLIME, the best way to install these components is by following
+;; For SLIME, the best way to install its components is by following
 ;; the directions as set out by Phil Hagelberg (Technomancy) on the
 ;; web page: https://technomancy.us/126
 



[elpa] externals/org 0e175f11fd: lisp/ob-clojure.el: Fix header argument :var binding

2022-10-28 Thread ELPA Syncer
branch: externals/org
commit 0e175f11fd3deaec25bebc8757855ae753c6d8fc
Author: Daniel Kraus 
Commit: Daniel Kraus 

lisp/ob-clojure.el: Fix header argument :var binding

* lisp/ob-clojure.el (org-babel-expand-body:clojure): Always quote
the variables passed from org-mode in Clojure let binding.
When a variable is a table or list, it's value is "(..data..)"
and without quotes, Clojure would try to execute the first
value as a function.
---
 lisp/ob-clojure.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/ob-clojure.el b/lisp/ob-clojure.el
index bfbd15f036..4c7016927a 100644
--- a/lisp/ob-clojure.el
+++ b/lisp/ob-clojure.el
@@ -133,7 +133,7 @@ or set the `:backend' header argument"
   (format "(let [%s]\n%s)"
   (mapconcat
(lambda (var)
- (format "%S %S" (car var) (cdr var)))
+ (format "%S '%S" (car var) (cdr var)))
vars
"\n  ")
   body))



[nongnu] elpa/cider e9324acf81: Consecutive result overlays can now be seen (#3259)

2022-10-28 Thread ELPA Syncer
branch: elpa/cider
commit e9324acf81391f089932c657b70031ae3c3d0824
Author: Benson Chu 
Commit: GitHub 

Consecutive result overlays can now be seen (#3259)

Previously, if multiple overlays were created one after another that
are meant to last for one command, every second overlay wouldn't show
up.

This is because there's some bad hook management causing the second
overlay in a sequence to be deleted. Whenever we're creating a second
overlay, the first one is automatically removed. But,
`cider--remove-result-overlay' is still in the `post-command-hook',
and thus, right after the second overlay is created, it's immediately
deleted.

Instead, when we're creating a new overlay, we should call remove any
instances of `cider--remove-result-overlay' in the
`post-command-hook', so that the newly created overlay doesn't get
hosed.
---
 CHANGELOG.md|   1 +
 cider-overlays.el   |   7 ++
 test/cider-overlay-tests.el | 193 +++-
 3 files changed, 180 insertions(+), 21 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index caac9cba15..260cb5b216 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -15,6 +15,7 @@
 - Remove needless quotes from the choices of 
`cider-jack-in-auto-inject-clojure`.
 - [#2561](https://github.com/clojure-emacs/cider/issues/2561): Disable undo in 
`*cider-test-report*` buffers.
 - [#3251](https://github.com/clojure-emacs/cider/pull/3251): Disable undo in 
`*cider-stacktrace*` buffers.
+- Consecutive overlays will not be spuriously deleted. 
 
 ## 1.5.0 (2022-08-24)
 
diff --git a/cider-overlays.el b/cider-overlays.el
index 95788ad029..3c56e8060f 100644
--- a/cider-overlays.el
+++ b/cider-overlays.el
@@ -231,6 +231,8 @@ overlay."
;; inherit the face of the following text.
(display-string (format (propertize format 'face 'default) 
value))
(o nil))
+  ;; Remove any overlay at the position we're creating a new one, if it
+  ;; exists.
   (remove-overlays beg end 'category type)
   (funcall (if cider-overlays-use-font-lock
#'font-lock-prepend-text-property
@@ -260,6 +262,11 @@ overlay."
   (pcase duration
 ((pred numberp) (run-at-time duration nil #'cider--delete-overlay 
o))
 (`command
+ ;; Since the previous overlay was already removed above, we should
+ ;; remove the hook to remove all overlays after this function
+ ;; ends. Otherwise, we would inadvertently remove the newly 
created
+ ;; overlay too.
+ (remove-hook 'post-command-hook 'cider--remove-result-overlay 
'local)
  ;; If inside a command-loop, tell `cider--remove-result-overlay'
  ;; to only remove after the *next* command.
  (if this-command
diff --git a/test/cider-overlay-tests.el b/test/cider-overlay-tests.el
index 50aa2f707f..fc59ea73a5 100644
--- a/test/cider-overlay-tests.el
+++ b/test/cider-overlay-tests.el
@@ -18,55 +18,206 @@
 ;; along with this program.  If not, see .
 
 ;;; Code:
-
 (require 'buttercup)
+(require 'cl-lib)
+
 (require 'cider-overlays)
 
+(defmacro cider--overlay-temp-buffer (&rest body)
+  "Run `body' in a temp buffer with some text. Also set `this-command' to
+true by default, as some parts of `cider--make-result-overlay rely on it
+being set that way"
+  (declare (indent 0)
+   (debug (&rest form)))
+  `(with-temp-buffer
+ ;; Will block some tests if this is not set
+ (setq comment-start ";;")
+ (insert "(+ 1 2)")
+ (save-excursion
+   (insert "\n(+ 3 4)")
+   (insert "\n(+ 5 6)")
+   (insert "\n(+ 7 8)")
+   (insert "\n(+ 9 0)"))
+ (let ((this-command t))
+   ,@body)))
+
 (defmacro cider--with-overlay (overlay-args &rest body)
-  "Run BODY in a temp buffer, with overlays created."
+  "Use temp buffer created by `cider--overlay-temp-buffer', and create an 
overlay"
   (declare (indent 1)
(debug (sexp sexp &rest form)))
-  `(with-temp-buffer
- (insert "garbage")
- (save-excursion (insert "\nmore trash"))
- (cider--make-result-overlay ,@overlay-args)
- ,@body))
-
+  `(cider--overlay-temp-buffer
+ (let ((this-command t))
+   (cider--make-result-overlay ,@overlay-args)
+   ,@body)))
+
+(defconst cider-overlay--scale-time 0.01)
+
+(defun cider-overlay--scale-down-time (args)
+  (let ((plist (cdr args)))
+(when-let* ((value (plist-get plist :duration))
+((numberp value)))
+  (setf (plist-get plist :duration)
+(* value cider-overlay--scale-time))
+  (setf (cdr args) plist)))
+  args)
+
+(defun sleep--scale-down-time (args)
+  (list (* cider-overlay--scale-time (car args
+
+(defun cider-overlay--safe-to-speed-up-tests ()
+  (and (<= 28 emacs-major-version)
+   (not (member system-type
+  

[nongnu] elpa/projectile 3e6397941b: Fix broken markup

2022-10-28 Thread ELPA Syncer
branch: elpa/projectile
commit 3e6397941bf3242a31ea0973af9570f20f4ed793
Author: Bozhidar Batsov 
Commit: Bozhidar Batsov 

Fix broken markup
---
 doc/modules/ROOT/pages/usage.adoc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/modules/ROOT/pages/usage.adoc 
b/doc/modules/ROOT/pages/usage.adoc
index a383b393c5..7e63ca9d3f 100644
--- a/doc/modules/ROOT/pages/usage.adoc
+++ b/doc/modules/ROOT/pages/usage.adoc
@@ -391,10 +391,10 @@ Starting with version 2.7 Projectile bundles some 
integration with
 project lookup function (`projectile-project-root`) and project file
 lookup function (`projectile-project-files`).
 
-TIP: You can read more about the integration 
https://github.com/bbatsov/projectile/issues/1591[here].
+TIP: You can read more about the implementation details of the integration 
https://github.com/bbatsov/projectile/issues/1591[here].
 
 That's useful as some packages (e.g. `eglot`) support natively only
-`project.el`'s API for project discovery. Fortunately, `project.el`
+``project.el``'s API for project discovery. Fortunately, `project.el`
 makes it easy to install additional project lookup functions and that's
 exactly what Projectile does.
 



[nongnu] elpa/projectile ea33347283: Fix grammar

2022-10-28 Thread ELPA Syncer
branch: elpa/projectile
commit ea3334728309933e0dfc2f657e93263bdd0211b5
Author: Bozhidar Batsov 
Commit: Bozhidar Batsov 

Fix grammar
---
 doc/modules/ROOT/pages/usage.adoc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/doc/modules/ROOT/pages/usage.adoc 
b/doc/modules/ROOT/pages/usage.adoc
index 7e63ca9d3f..750329e76e 100644
--- a/doc/modules/ROOT/pages/usage.adoc
+++ b/doc/modules/ROOT/pages/usage.adoc
@@ -398,9 +398,9 @@ That's useful as some packages (e.g. `eglot`) support 
natively only
 makes it easy to install additional project lookup functions and that's
 exactly what Projectile does.
 
-The popular `xref` package also relies on `project.el` to infers the project
-for use commands like `xref-find-references` (kbd:[M-?]), so it's useful to 
teach it
-about Projectile's project discovery logic.
+The popular `xref` package also relies on `project.el` to infer the project for
+helpful commands like `xref-find-references` (kbd:[M-?]), so it's useful to 
teach
+it about Projectile's project discovery logic.
 
 TIP: Projectile provides its own alternative to `xref-find-references` that's 
named
 `projectile-find-references` (kbd:[s-p ?] or kbd:[s-p s-x]) and is using 
`xref` internally.



[elpa] elpa-admin b7c9628a4a: (elpaa--section-to-html): Use `markdown2` if available

2022-10-28 Thread Stefan Monnier via
branch: elpa-admin
commit b7c9628a4acf1a77c50c4552223e82f97a5421ab
Author: Stefan Monnier 
Commit: Stefan Monnier 

(elpaa--section-to-html): Use `markdown2` if available

* elpa-admin.el (elpaa-markdown-command): New var.
(elpaa--section-to-html): Use it.
---
 elpa-admin.el | 10 +-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/elpa-admin.el b/elpa-admin.el
index 81eb0b9f91..87803ea701 100644
--- a/elpa-admin.el
+++ b/elpa-admin.el
@@ -1372,6 +1372,13 @@ which see."
  :ext-plist (append '(:html-toplevel-hlevel 3)
 elpaa--org-export-options)))
 
+(defvar elpaa-markdown-command
+  (if (executable-find "markdown2")
+  ;; Presumably https://github.com/trentm/python-markdown2.
+  ;; Stay conservative in the set of extensions we support.
+  '("markdown2" "-x" "code-friendly,tables")
+'("markdown")))
+
 (cl-defmethod elpaa--section-to-html ((section (head text/markdown)))
   (with-temp-buffer
 (let ((input-filename
@@ -1379,7 +1386,8 @@ which see."
   (unwind-protect
   (progn
 (write-region (cdr section) nil input-filename)
-(elpaa--call-sandboxed t "markdown" input-filename))
+(apply #'elpaa--call-sandboxed t
+   `(,@elpaa-markdown-command ,input-filename)))
 (delete-file input-filename)))
 ;; Adjust headings since this HTML fragment will be inserted
 ;; inside an  section.



[elpa] externals/transient be4ffe81bb 3/4: manual: Fix mistake from previous commit

2022-10-28 Thread Jonas Bernoulli
branch: externals/transient
commit be4ffe81bbb4ee2724fc862b51dc9aaf76465033
Author: Jonas Bernoulli 
Commit: Jonas Bernoulli 

manual: Fix mistake from previous commit
---
 docs/transient.org  | 2 +-
 docs/transient.texi | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/transient.org b/docs/transient.org
index ade5955b26..5105e2a8d4 100644
--- a/docs/transient.org
+++ b/docs/transient.org
@@ -954,7 +954,7 @@ constructor of that class.
 - The value of ~:setup-children~, if non-~nil~, is a function that takes
   one argument, a potentially list of children, and must return a list
   of children or an empty list.  This can either be used to somehow
-  transform the prefix's children that were defined the normal way, or
+  transform the group's children that were defined the normal way, or
   to dynamically create the children from scratch.
 
   The returned children must have the same form as stored in the
diff --git a/docs/transient.texi b/docs/transient.texi
index 6527aeb36d..996cd96949 100644
--- a/docs/transient.texi
+++ b/docs/transient.texi
@@ -1145,7 +1145,7 @@ suffixes, which assumes that a predicate like this is 
used:
 The value of @code{:setup-children}, if non-@code{nil}, is a function that 
takes
 one argument, a potentially list of children, and must return a list
 of children or an empty list.  This can either be used to somehow
-transform the prefix's children that were defined the normal way, or
+transform the group's children that were defined the normal way, or
 to dynamically create the children from scratch.
 
 The returned children must have the same form as stored in the



[elpa] externals/transient 277e5f2d27 2/4: transient-prepare-suffix{, es}: New functions

2022-10-28 Thread Jonas Bernoulli
branch: externals/transient
commit 277e5f2d276c3ed48121e361e0807d615187ba77
Author: Jonas Bernoulli 
Commit: Jonas Bernoulli 

transient-prepare-suffix{,es}: New functions
---
 docs/transient.org  | 16 +++-
 docs/transient.texi | 48 +---
 lisp/transient.el   | 16 
 3 files changed, 56 insertions(+), 24 deletions(-)

diff --git a/docs/transient.org b/docs/transient.org
index 27401836f1..ade5955b26 100644
--- a/docs/transient.org
+++ b/docs/transient.org
@@ -952,11 +952,17 @@ constructor of that class.
   #+END_SRC
 
 - The value of ~:setup-children~, if non-~nil~, is a function that takes
-  two arguments the group object itself and a list of children.
-  The children are given as a (potentially empty) list consisting
-  of either group or suffix specifications.  It can make arbitrary
-  changes to the children including constructing new children from
-  scratch.  Also see ~transient-setup-children~.
+  one argument, a potentially list of children, and must return a list
+  of children or an empty list.  This can either be used to somehow
+  transform the prefix's children that were defined the normal way, or
+  to dynamically create the children from scratch.
+
+  The returned children must have the same form as stored in the
+  prefix's ~transient--layout~ property, but it is often more convenient
+  to use the same form as understood by ~transient-define-prefix~,
+  described below.  If you use the latter approach, you can use the
+  ~transient-parse-child~ and ~transient-parse-children~ functions to
+  transform them from the convenient to the expected form.
 
 - The boolean ~:pad-keys~ argument controls whether keys of all suffixes
   contained in a group are right padded, effectively aligning the
diff --git a/docs/transient.texi b/docs/transient.texi
index 78b44f5943..6527aeb36d 100644
--- a/docs/transient.texi
+++ b/docs/transient.texi
@@ -1143,11 +1143,17 @@ suffixes, which assumes that a predicate like this is 
used:
 
 @item
 The value of @code{:setup-children}, if non-@code{nil}, is a function that 
takes
-two arguments the group object itself and a list of children.
-The children are given as a (potentially empty) list consisting
-of either group or suffix specifications.  It can make arbitrary
-changes to the children including constructing new children from
-scratch.  Also see @code{transient-setup-children}.
+one argument, a potentially list of children, and must return a list
+of children or an empty list.  This can either be used to somehow
+transform the prefix's children that were defined the normal way, or
+to dynamically create the children from scratch.
+
+The returned children must have the same form as stored in the
+prefix's @code{transient--layout} property, but it is often more convenient
+to use the same form as understood by @code{transient-define-prefix},
+described below.  If you use the latter approach, you can use the
+@code{transient-parse-child} and @code{transient-parse-children} functions to
+transform them from the convenient to the expected form.
 
 @item
 The boolean @code{:pad-keys} argument controls whether keys of all suffixes
@@ -1155,22 +1161,26 @@ contained in a group are right padded, effectively 
aligning the
 descriptions.
 @end itemize
 
-The @var{ELEMENT}s are either all subgroups (vectors), or all suffixes
-(lists) and strings.  (At least currently no group type exists that
-would allow mixing subgroups with commands at the same level, though
-in principle there is nothing that prevents that.)
+The @var{ELEMENT}s are either all subgroups, or all suffixes and strings.
+(At least currently no group type exists that would allow mixing
+subgroups with commands at the same level, though in principle there
+is nothing that prevents that.)
 
 If the @var{ELEMENT}s are not subgroups, then they can be a mixture of lists
-that specify commands and strings.  Strings are inserted verbatim.
-The empty string can be used to insert gaps between suffixes, which is
-particularly useful if the suffixes are outlined as a table.
-
-Inside group specifications, including contained suffix specifications,
-nothing has to be quoted.  How symbols are treated, depends on context.
-In most places they are expected to name functions.  However if they
-appear in a place where a group vector is expected, then they are
-treated as indirect group specifications. Such a symbol must have an
-associated group specification, created using @code{transient-define-groups}.
+that specify commands and strings.  Strings are inserted verbatim into
+the buffer.  The empty string can be used to insert gaps between
+suffixes, which is particularly useful if the suffixes are outlined as
+a table.
+
+Inside group specifications, including inside contained suffix
+specifications, nothing has to be quoted and quoting anyway is
+invalid.
+
+How symbols are treated, depends on context.  Inside suffix
+specifications they often name 

[elpa] externals/transient updated (afb7b250d4 -> 2143a9585c)

2022-10-28 Thread Jonas Bernoulli
tarsius pushed a change to branch externals/transient.

  from  afb7b250d4 make: Suppress warning about obsolete autoload package
   new  e88f51d692 Quote more carefully while parsing
   new  277e5f2d27 transient-prepare-suffix{,es}: New functions
   new  be4ffe81bb manual: Fix mistake from previous commit
   new  2143a9585c Remove obsolete function aliases


Summary of changes:
 docs/transient.org  | 16 ++-
 docs/transient.texi | 48 ++--
 lisp/transient.el   | 57 +++--
 3 files changed, 65 insertions(+), 56 deletions(-)



[elpa] externals/transient e88f51d692 1/4: Quote more carefully while parsing

2022-10-28 Thread Jonas Bernoulli
branch: externals/transient
commit e88f51d6922b652b9ccb8a786c57ef3475439a94
Author: Jonas Bernoulli 
Commit: Jonas Bernoulli 

Quote more carefully while parsing
---
 lisp/transient.el | 21 +
 1 file changed, 9 insertions(+), 12 deletions(-)

diff --git a/lisp/transient.el b/lisp/transient.el
index b8371d9619..5af5e7bd31 100644
--- a/lisp/transient.el
+++ b/lisp/transient.el
@@ -1049,10 +1049,10 @@ example, sets a variable use `transient-define-infix' 
instead.
 (let ((key pop)
   (val pop))
   (cond ((eq key :class)
- (setq class (list 'quote val)))
+ (setq class (macroexp-quote val)))
 ((or (symbolp val)
  (and (listp val) (not (eq (car val) 'lambda
- (setq args (plist-put args key (list 'quote val
+ (setq args (plist-put args key (macroexp-quote val
 ((setq args (plist-put args key val))
   (list 'vector
 (or level transient--default-child-level)
@@ -1082,12 +1082,12 @@ example, sets a variable use `transient-define-infix' 
instead.
((and (symbolp car)
  (not (commandp car))
  (commandp (cadr spec)))
-(setq args (plist-put args :description (list 'quote pop)
+(setq args (plist-put args :description (macroexp-quote pop)
   (cond
((keywordp car)
 (error "Need command, got %S" car))
((symbolp car)
-(setq args (plist-put args :command (list 'quote pop
+(setq args (plist-put args :command (macroexp-quote pop
((and (commandp car)
  (not (stringp car)))
 (let ((cmd pop)
@@ -1096,7 +1096,7 @@ example, sets a variable use `transient-define-infix' 
instead.
(or (plist-get args :description)
(plist-get args :key))
   (defalias sym cmd)
-  (setq args (plist-put args :command (list 'quote sym)
+  (setq args (plist-put args :command (macroexp-quote sym)
((or (stringp car)
 (and car (listp car)))
 (let ((arg pop))
@@ -1114,10 +1114,7 @@ example, sets a variable use `transient-define-infix' 
instead.
  prefix arg)
   (cond ((and car (not (keywordp car)))
  (setq class 'transient-option)
- (setq args (plist-put args :reader
-   (if (symbolp car)
-   (list 'quote pop)
- pop
+ (setq args (plist-put args :reader (macroexp-quote pop
 ((not (string-suffix-p "=" arg))
  (setq class 'transient-switch))
 (t
@@ -1127,20 +1124,20 @@ example, sets a variable use `transient-define-infix' 
instead.
   (while (keywordp car)
 (let ((key pop)
   (val pop))
-  (cond ((eq key :class) (setq class (list 'quote val)))
+  (cond ((eq key :class) (setq class val))
 ((eq key :level) (setq level val))
 ((eq (car-safe val) '\,)
  (setq args (plist-put args key (cadr val
 ((or (symbolp val)
  (and (listp val) (not (eq (car val) 'lambda
- (setq args (plist-put args key (list 'quote val
+ (setq args (plist-put args key (macroexp-quote val
 ((setq args (plist-put args key val)))
 (unless (plist-get args :key)
   (when-let ((shortarg (plist-get args :shortarg)))
 (setq args (plist-put args :key shortarg
 (list 'list
   (or level transient--default-child-level)
-  (list 'quote (or class 'transient-suffix))
+  (macroexp-quote (or class 'transient-suffix))
   (cons 'list args
 
 (defun transient--default-infix-command ()



[elpa] externals/transient 2143a9585c 4/4: Remove obsolete function aliases

2022-10-28 Thread Jonas Bernoulli
branch: externals/transient
commit 2143a9585cad1da61774a34635b2f50ebaedb0e6
Author: Jonas Bernoulli 
Commit: Jonas Bernoulli 

Remove obsolete function aliases

I have created pull-requests for all known dependants
and all but one of these have been merged by now, see
https://github.com/magit/transient/issues/192.
---
 lisp/transient.el | 20 
 1 file changed, 20 deletions(-)

diff --git a/lisp/transient.el b/lisp/transient.el
index 9f9f81aee0..541065a997 100644
--- a/lisp/transient.el
+++ b/lisp/transient.el
@@ -69,26 +69,6 @@
 (defvar display-line-numbers) ; since Emacs 26.1
 (defvar Man-notify-method)
 
-(define-obsolete-function-alias 'define-transient-command
-  'transient-define-prefix "Transient 0.3.0")
-(define-obsolete-function-alias 'define-suffix-command
-  'transient-define-suffix "Transient 0.3.0")
-(define-obsolete-function-alias 'define-infix-command
-  'transient-define-infix "Transient 0.3.0")
-(define-obsolete-function-alias 'define-infix-argument
-  #'transient-define-argument "Transient 0.3.0")
-
-(define-obsolete-variable-alias 'transient--source-buffer
-  'transient--original-buffer "Transient 0.2.0")
-(define-obsolete-variable-alias 'current-transient-prefix
-  'transient-current-prefix "Transient 0.3.0")
-(define-obsolete-variable-alias 'current-transient-command
-  'transient-current-command "Transient 0.3.0")
-(define-obsolete-variable-alias 'current-transient-suffixes
-  'transient-current-suffixes "Transient 0.3.0")
-(define-obsolete-variable-alias 'post-transient-hook
-  'transient-exit-hook "Transient 0.3.0")
-
 (defmacro transient--with-emergency-exit (&rest body)
   (declare (indent defun))
   `(condition-case err



[elpa] externals/transient f98edf5ab5: Backport commit db2ed9f333 from Emacs

2022-10-28 Thread Jonas Bernoulli
branch: externals/transient
commit f98edf5ab50c3b497bd880a440b62b0f94ab9fa9
Author: Jonas Bernoulli 
Commit: Jonas Bernoulli 

Backport commit db2ed9f333 from Emacs
---
 lisp/transient.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/transient.el b/lisp/transient.el
index 541065a997..2611b13fe4 100644
--- a/lisp/transient.el
+++ b/lisp/transient.el
@@ -3535,7 +3535,7 @@ Optional support for popup buttons is also implemented 
here."
 
 (cl-defmethod transient-format-description ((obj transient-child))
   "The `description' slot may be a function, in which case that is
-called inside the correct buffer (see `transient-insert-group')
+called inside the correct buffer (see `transient--insert-group')
 and its value is returned to the caller."
   (and-let* ((desc (oref obj description)))
 (if (functionp desc)



[nongnu] main b1d7b18ade: * elpa-packages (xml-rpc): Drop :ignored-files.

2022-10-28 Thread Stefan Kangas
branch: main
commit b1d7b18ade583777b12b450e47f0cc763f7f9615
Author: Stefan Kangas 
Commit: Stefan Kangas 

* elpa-packages (xml-rpc): Drop :ignored-files.
---
 elpa-packages | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/elpa-packages b/elpa-packages
index 46bd88aaa4..97cfd24234 100644
--- a/elpa-packages
+++ b/elpa-packages
@@ -662,8 +662,7 @@
   :ignored-files ("*.png"))
 
  ("xml-rpc" :url "https://github.com/xml-rpc-el/xml-rpc-el.git";
-  :readme "README.org"
-  :ignored-files ("LICENSE" ".github"))
+  :readme "README.org")
 
  ("yaml-mode"  :url "https://github.com/yoshiki/yaml-mode";
   :ignored-files ("LICENSE.txt" "test-files" "Makefile")



[elpa] externals/eev 5946c80af6: Rewrote `find-eregionpp' and added `find-eoverlayspp'.

2022-10-28 Thread ELPA Syncer
branch: externals/eev
commit 5946c80af61e84672824baad118f3ae3894d9e91
Author: Eduardo Ochs 
Commit: Eduardo Ochs 

Rewrote `find-eregionpp' and added `find-eoverlayspp'.
---
 ChangeLog | 12 
 VERSION   |  4 ++--
 eev-blinks.el | 55 +++
 3 files changed, 65 insertions(+), 6 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index eaab1ede50..a63f3b81b8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+2022-10-28  Eduardo Ochs  
+
+   * eev-blinks.el (find-eoverlayspp, ee-overlay-pp0): new functions.
+
+2022-10-27  Eduardo Ochs  
+
+   * eev-blinks.el (find-eregionpp): new function.
+   (ee-string-intervals): new function.
+   (ee-eregionpp-preprocess): new function.
+   (find-eregionpp0): I renamed the old function `find-eregionpp' to
+   `find-eregionpp0'.
+
 2022-10-25  Eduardo Ochs  
 
* eev-tlinks.el (ee-1stclassvideos-dlsubs): rewritten.
diff --git a/VERSION b/VERSION
index fbd19101ff..4295b2c648 100644
--- a/VERSION
+++ b/VERSION
@@ -1,2 +1,2 @@
-Tue Oct 25 16:15:54 GMT 2022
-Tue Oct 25 13:15:54 -03 2022
+Fri Oct 28 15:42:59 GMT 2022
+Fri Oct 28 12:42:59 -03 2022
diff --git a/eev-blinks.el b/eev-blinks.el
index f9d343c202..1dfcbf2aa1 100644
--- a/eev-blinks.el
+++ b/eev-blinks.el
@@ -21,7 +21,7 @@
 ;;
 ;; Author: Eduardo Ochs 
 ;; Maintainer: Eduardo Ochs 
-;; Version:20220903
+;; Version:20221028
 ;; Keywords:   e-scripts
 ;;
 ;; Latest version: <http://angg.twu.net/eev-current/eev-blinks.el>
@@ -50,6 +50,7 @@
 ;; «.find-dbsw»(to "find-dbsw")
 ;; «.find-efaces»  (to "find-efaces")
 ;; «.find-eregionpp»   (to "find-eregionpp")
+;; «.find-eoverlayspp» (to "find-eoverlayspp")
 ;; «.find-ebuffercontents» (to "find-ebuffercontents")
 ;; «.find-ebufferandpos»   (to "find-ebufferandpos")
 ;; «.find-ebuffer» (to "find-ebuffer")
@@ -532,21 +533,67 @@ inspecting text proprties."
 ;; Test:
 ;; (eek "2* C-a C-SPC  C-x 1 C-x 3 C-x o <>")
 ;;
-(defun find-eregionpp (b e &optional use-print-circle)
+(defun find-eregionpp (b e &optional arg)
+  "Show the text properties of the text in the region.
+This function pretty-prints the result of `(buffer-substring B
+E)' and shows the result in a temporary buffer; B and E are the
+extremities of the region. The argument ARG is passed to
+`ee-eregionpp-preprocess', that uses it to decide which text
+properties to omit."
+  (interactive "r\nP")
+  (let* ((ee-buffer-name (or ee-buffer-name "*(find-eregionpp)*"))
+(str (buffer-substring b e))
+(intervals0 (ee-string-intervals str))
+(intervals (ee-eregionpp-preprocess intervals0 arg)))
+(find-epp intervals)))
+
+;; See: https://lists.gnu.org/archive/html/help-gnu-emacs/2022-10/msg00729.html
+;;  https://lists.gnu.org/archive/html/help-gnu-emacs/2022-10/msg00745.html
+(defun ee-string-intervals (str)
+  "This is similar to `object-intervals', but uses another output format."
+  (let ((pair< (lambda (pair1 pair2)
+ (string< (symbol-name (car pair1))
+  (symbol-name (car pair2))
+(cl-loop for (b e props) in (object-intervals str)
+ for s = (substring-no-properties str b e)
+ for pairs = (cl-loop for (x y) on props by 'cddr
+  collect (list x y))
+ collect (cons s (sort pairs pair<)
+
+;; This is a stub!
+(defun ee-eregionpp-preprocess (intervals0 arg)
+  "Redefine this if you want ways to omit certain properties."
+  intervals0)
+
+;; Test:
+;; (eek "2* C-a C-SPC  C-x 1 C-x 3 C-x o <>")
+;;
+(defun find-eregionpp0 (b e &optional use-print-circle)
   "Show the text properties of the text in the region.
 This function pretty-prints the result of `(buffer-substring B
 E)' and shows the result in a temporary buffer; B and E are the
 extremities of the region. If this function is called with a
-numeric argument, as in `C-u M-x find-eregionpp', then the
+numeric argument, as in `C-u M-x find-eregionpp0', then the
 pretty-printer is run with the flag `print-circle' turned on, and
 this makes the pretty-printer display copies of shared subobjects
 using a more compact notation. See:
   (find-elnode \"Circular Objects\")"
   (interactive "r\nP")
-  (let ((ee-buffer-name (or ee-buffer-name "*(find-eregionpp)*"))
+  (let ((ee-buffer-name (or ee-buffer-name "*(find-eregionpp0)*"))
(print-circle use-print-circle))
 (find-epp (buffer-substring b e
 
+;; «find-eoverlayspp»  (to ".find-eoverlayspp")
+(defun find-eoverlayspp ()
+  "Show the overlays at point."
+  (interactive)
+ 

[elpa] externals/denote 6605e08c17 1/3: Add "no backlink" user-error 'denote-link-find-backlink'

2022-10-28 Thread ELPA Syncer
branch: externals/denote
commit 6605e08c1775f979887b17c6ad41d4cc78f9
Author: Noboru Ota 
Commit: Protesilaos Stavrou 

Add "no backlink" user-error 'denote-link-find-backlink'

'denote-link-find-backlink' emits a user-error when no backlink is found
for the note.  The same should be done for 'denote-link-find-backlink'.
---
 denote.el | 11 ++-
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/denote.el b/denote.el
index 2b0f7875f2..53ac5f955e 100644
--- a/denote.el
+++ b/denote.el
@@ -2451,14 +2451,15 @@ whitespace-only), insert an ID-ONLY link."
 
 Like `denote-link-find-file', but select backlink to follow."
   (interactive)
-  (when-let* ((file (buffer-file-name))
+  (if-let* ((file (buffer-file-name))
   (id (denote-retrieve-filename-identifier file))
   (files (denote--retrieve-files-in-xrefs
   (denote--retrieve-process-grep id
-(find-file
- (denote-get-path-by-id
-  (denote-extract-id-from-string
-   (denote-link--find-file-prompt files))
+  (find-file
+   (denote-get-path-by-id
+(denote-extract-id-from-string
+ (denote-link--find-file-prompt files
+(user-error "No links found in the current buffer")))
 
 ;;;###autoload
 (defun denote-link-after-creating (&optional id-only)



[elpa] externals/denote updated (392ddc085f -> b1581170c6)

2022-10-28 Thread ELPA Syncer
elpasync pushed a change to branch externals/denote.

  from  392ddc085f Fix denote-keywords-sort symbol in denote command
   new  6605e08c17 Add "no backlink" user-error 'denote-link-find-backlink'
   new  55c092d728 Refactor backlink xref functions
   new  b1581170c6 Make minor tweaks to placate the compiler


Summary of changes:
 denote.el | 118 --
 1 file changed, 46 insertions(+), 72 deletions(-)



[elpa] externals/denote 55c092d728 2/3: Refactor backlink xref functions

2022-10-28 Thread ELPA Syncer
branch: externals/denote
commit 55c092d7283fa0090efd487e0719618f19c10c49
Author: Noboru Ota 
Commit: Protesilaos Stavrou 

Refactor backlink xref functions

The main intent of this change is to remove 'denote-xref--insert-xrefs',
which was meant to be a slight modification to the built-in function
'xref--insert-xrefs'.  This way, it is intended that future maintenance
work for Denote will be lighter and more in line with the changes to the
built-in Xref library.

Additionally, refactoring is done for 'denote--retrieve-xrefs'. The
intent was to fulfill requirements (A) (B) and (1) (2) described below
in a way that avoids duplication of work -- an attempt to follow the DRY
(Don't Repeat Yourself) principle.

The function name 'denote--retrieve-xrefs' indicates that it should be
generic that should return all the xrefs as retrieved by the Xref
function (A); however, the current usage is only to retrieve backlinks
for a specific file, by excluding a relevant element from the xref-alist
(B). This is used by two different commands: (1) 'denote-link-backlinks'
and (2) 'denote-link-find-backlink'; they have different requirements
for the output format: (1) requires relative file names and (2) requires
an absolute file names.

There can be possibly further refactoring.  That is now left to future 
iteration.

More detail of change to each altered function follows.

* denote.el

(denote--retrieve-xrefs): Add an optional argument FILE. It is meant to
cater to the different requirements of (A) and (B) above.

(denote--retrieve-process-grep): This function is now used only by
'denote-link-backlinks' and refactored to transform GROUP from absolute
file name to relative one for `denote-directory`. This is requirement
(1) above for display purposes of the backlinks' buffer As the doc
string of 'xref--insert-xrefs' notes that GROUP in xref-alist is for
"decoration purposes" and it is also processed in the same way in
'xref--analyze', this should not be a problem.

(denote-link-find-backlink): Refactor to avoid function
'(denote--retrieve-process-grep)' to retrieve xref-alist for requirement
(2) above.

(denote-link--prepare-backlinks): Refactor to use 'xref--insert-xrefs'
directly. As GROUP in xref-alist (GROUP is its key) now carries relative
file name for display purposes, the original logic to insert a list of
file names is also refactored to remove the duplicate work of function
'denote-get-file-name-relative-to-denote-directory'.  It is now done
centrally in 'denote--retrieve-process-grep' for the purpose of
backlinks' buffer (with or without the context).

(denote-xref--insert-xrefs): Remove this function completely.
---
 denote.el | 107 +++---
 1 file changed, 40 insertions(+), 67 deletions(-)

diff --git a/denote.el b/denote.el
index 53ac5f955e..8b6abaf110 100644
--- a/denote.el
+++ b/denote.el
@@ -1152,13 +1152,21 @@ Run `denote-desluggify' on title if the extraction is 
sucessful."
   title
 (denote-retrieve-filename-title file)))
 
-(defun denote--retrieve-xrefs (identifier)
+(defun denote--retrieve-xrefs (identifier &optional file)
   "Return xrefs of IDENTIFIER in variable `denote-directory'.
-The xrefs are returned as an alist."
-  (xref--alistify
-   (xref-matches-in-files identifier (denote-directory-text-only-files))
-   (lambda (x)
- (xref-location-group (xref-item-location x)
+The xrefs are returned as an alist of the form:
+
+((GROUP . (XREF ...)) ...)
+
+GROUP is an absolute file name as retrieved by Xref facility.
+
+When FILE is present, remove its GROUP from the alist."
+  (let ((alist
+ (xref--alistify
+  (xref-matches-in-files identifier (denote-directory-text-only-files))
+  (lambda (x)
+(xref-location-group (xref-item-location x))
+(if file (assoc-delete-all file alist) alist)))
 
 (defun denote--retrieve-files-in-xrefs (xref-alist)
   "Return sorted, deduplicated file names from XREF-ALIST."
@@ -1167,9 +1175,26 @@ The xrefs are returned as an alist."
#'string-lessp))
 
 (defun denote--retrieve-process-grep (identifier)
-  "Process lines matching IDENTIFIER and return list of xref-alist."
-  (assoc-delete-all (buffer-file-name)
-(denote--retrieve-xrefs identifier)))
+  "Process lines matching IDENTIFIER and return list of xref-alist.
+
+The alist is of the form ((GROUP . (XREF ...)) ...).
+
+The alist excludes GROUP for the file that current buffer is
+visiting so that only its backlinks are colleced.
+
+In addition, GROUP is a transformed to filename relative to
+`denote-directory', which is the string displayed in the
+backlinks' buffer."
+  ;;; This `mapcar' form is doing what function `xref--analyze' would
+  ;;; do.  `xref--analyze' can be flexibly 

[elpa] externals/denote b1581170c6 3/3: Make minor tweaks to placate the compiler

2022-10-28 Thread ELPA Syncer
branch: externals/denote
commit b1581170c6ccf471a4489b398b6485baf384c98b
Author: Protesilaos Stavrou 
Commit: Protesilaos Stavrou 

Make minor tweaks to placate the compiler

This is a follow-up to commits 6605e08, 55c092d by Noboru Ota.  Those
were shared on the mailing list as patches:

.

They are part of the ongoing work to refactor the backlink-related
code to (i) refine its implementation, (ii) support the optional
display of context.
---
 denote.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/denote.el b/denote.el
index 8b6abaf110..37110a57a7 100644
--- a/denote.el
+++ b/denote.el
@@ -1156,7 +1156,7 @@ Run `denote-desluggify' on title if the extraction is 
sucessful."
   "Return xrefs of IDENTIFIER in variable `denote-directory'.
 The xrefs are returned as an alist of the form:
 
-((GROUP . (XREF ...)) ...)
+((GROUP . (XREF ...)) ...)
 
 GROUP is an absolute file name as retrieved by Xref facility.
 
@@ -1183,7 +1183,7 @@ The alist excludes GROUP for the file that current buffer 
is
 visiting so that only its backlinks are colleced.
 
 In addition, GROUP is a transformed to filename relative to
-`denote-directory', which is the string displayed in the
+variable `denote-directory', which is the string displayed in the
 backlinks' buffer."
   ;;; This `mapcar' form is doing what function `xref--analyze' would
   ;;; do.  `xref--analyze' can be flexibly configured but is not used



[elpa] main 7d74f07514: * html/layout.css (strong, em): New rules

2022-10-28 Thread Stefan Monnier via
branch: main
commit 7d74f07514eabcf2f8a0df2b9a43557d5fde7c62
Author: Stefan Monnier 
Commit: Stefan Monnier 

* html/layout.css (strong, em): New rules
---
 html/layout.css | 4 
 1 file changed, 4 insertions(+)

diff --git a/html/layout.css b/html/layout.css
index df08da8925..ba046883fb 100644
--- a/html/layout.css
+++ b/html/layout.css
@@ -151,6 +151,10 @@ pre .kw {
   color: #4f0f71;
 }
 
+/* Apparently the big "reset" at the beginning makes this necessary.  */
+strong { font-weight: bold; }
+em { font-style: oblique; }
+
 p {
   margin: 1em 0 1em 0;
 }



[elpa] externals/js2-mode 95fe26867d 1/2: Support top-level await

2022-10-28 Thread ELPA Syncer
branch: externals/js2-mode
commit 95fe26867dd36c4eaf03e94e778c5e9876aa9275
Author: Damien Cassou 
Commit: Damien Cassou 

Support top-level await


https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/await#top_level_await

This is part of ECMAScript 2022: 
https://en.wikipedia.org/wiki/ECMAScript#ES2022
---
 NEWS.md | 2 ++
 js2-mode.el | 2 +-
 tests/parser.el | 3 +++
 3 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/NEWS.md b/NEWS.md
index 15b276a867..9f08e01228 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -2,6 +2,8 @@
 
 ## Next
 
+* Support top-level await
+  ([#593](https://github.com/mooz/js2-mode/issues/593)).
 * Fix for escaping inside template literal
   ([#592](https://github.com/mooz/js2-mode/issues/592)).
 
diff --git a/js2-mode.el b/js2-mode.el
index 754c6d15b0..d297c051e7 100644
--- a/js2-mode.el
+++ b/js2-mode.el
@@ -8064,7 +8064,7 @@ string is NAME.  Returns nil and keeps current token 
otherwise."
nil)
;; The parse was successful, so process and return the "await".
(js2-record-face 'font-lock-keyword-face current-token)
-   (unless (js2-inside-async-function)
+   (unless (or (js2-inside-async-function) (equal 
js2-nesting-of-function 0))
  (js2-report-error "msg.bad.await" nil
beg (- end beg)))
pn
diff --git a/tests/parser.el b/tests/parser.el
index 8233d00044..8c2c7d04dd 100644
--- a/tests/parser.el
+++ b/tests/parser.el
@@ -572,6 +572,9 @@ the test."
 (js2-deftest-parse await-inside-array-is-ok
"async function foo() {\n  var results = [await bar(), 
await baz()];\n}")
 
+(js2-deftest-parse await-top-level-is-ok
+   "await bar();")
+
 (js2-deftest-parse await-inside-non-async-function-is-not-ok
"function foo() {\n  await bar();\n}"
:syntax-error "await")



[elpa] externals/js2-mode a297ec2c2d 2/2: Merge pull request #593 from DamienCassou/top-level-await

2022-10-28 Thread ELPA Syncer
branch: externals/js2-mode
commit a297ec2c2d9aa50ddc6c06959bb5a054e17b692a
Merge: 7480c79691 95fe26867d
Author: Dmitry Gutov 
Commit: GitHub 

Merge pull request #593 from DamienCassou/top-level-await

Support top-level await
---
 NEWS.md | 2 ++
 js2-mode.el | 2 +-
 tests/parser.el | 3 +++
 3 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/NEWS.md b/NEWS.md
index 15b276a867..9f08e01228 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -2,6 +2,8 @@
 
 ## Next
 
+* Support top-level await
+  ([#593](https://github.com/mooz/js2-mode/issues/593)).
 * Fix for escaping inside template literal
   ([#592](https://github.com/mooz/js2-mode/issues/592)).
 
diff --git a/js2-mode.el b/js2-mode.el
index 754c6d15b0..d297c051e7 100644
--- a/js2-mode.el
+++ b/js2-mode.el
@@ -8064,7 +8064,7 @@ string is NAME.  Returns nil and keeps current token 
otherwise."
nil)
;; The parse was successful, so process and return the "await".
(js2-record-face 'font-lock-keyword-face current-token)
-   (unless (js2-inside-async-function)
+   (unless (or (js2-inside-async-function) (equal 
js2-nesting-of-function 0))
  (js2-report-error "msg.bad.await" nil
beg (- end beg)))
pn
diff --git a/tests/parser.el b/tests/parser.el
index 8233d00044..8c2c7d04dd 100644
--- a/tests/parser.el
+++ b/tests/parser.el
@@ -572,6 +572,9 @@ the test."
 (js2-deftest-parse await-inside-array-is-ok
"async function foo() {\n  var results = [await bar(), 
await baz()];\n}")
 
+(js2-deftest-parse await-top-level-is-ok
+   "await bar();")
+
 (js2-deftest-parse await-inside-non-async-function-is-not-ok
"function foo() {\n  await bar();\n}"
:syntax-error "await")



[nongnu] elpa/helm 47fc442965: Try to shut up persistent tramp error with adb method

2022-10-28 Thread ELPA Syncer
branch: elpa/helm
commit 47fc44296564c3be8bc7353ecfc6e949b0f60e82
Author: Thierry Volpiatto 
Commit: Thierry Volpiatto 

Try to shut up persistent tramp error with adb method

when adding tilde to path.
---
 helm-files.el | 10 ++
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/helm-files.el b/helm-files.el
index d9a11d3a5a..8def1fb2c9 100644
--- a/helm-files.el
+++ b/helm-files.el
@@ -2810,10 +2810,12 @@ when `helm-pattern' is equal to \"~/\"."
 (let* ((history-p   (string= (assoc-default 'name src)
  "Read File Name History"))
(pat (helm-ff-set-pattern helm-pattern))
-   (completed-p (string= (file-name-as-directory
-  (expand-file-name
-   (substitute-in-file-name pat)))
- helm-ff-default-directory))
+   (tramp-tolerate-tilde (equal (file-remote-p pat 'method)
+   tramp-adb-method))
+   (completed-p (helm-aand (expand-file-name
+(substitute-in-file-name pat))
+   (string= (file-name-as-directory it)
+helm-ff-default-directory)))
(candnum (helm-get-candidate-number))
(lt2-p   (and (<= candnum 2)
  (>= (string-width (helm-basename helm-pattern)) 
2)))



[nongnu] elpa/helm-core updated (612b64b6ca -> 47fc442965)

2022-10-28 Thread ELPA Syncer
elpasync pushed a change to branch elpa/helm-core.

  from  612b64b6ca Fix toggling helm-ff-icon-mode in the 
helm-ff-nohighlight-matches setter
  adds  47fc442965 Try to shut up persistent tramp error with adb method

No new revisions were added by this update.

Summary of changes:
 helm-files.el | 10 ++
 1 file changed, 6 insertions(+), 4 deletions(-)



[elpa] externals/bind-key 4095f1bdae 4/4: Merge pull request #1007 from bhankas/master

2022-10-28 Thread ELPA Syncer
branch: externals/bind-key
commit 4095f1bdae7989981803d25a52384383116e6db6
Merge: 17a049b0f7 c81f9e78fc
Author: John Wiegley 
Commit: GitHub 

Merge pull request #1007 from bhankas/master
---
 .elpaignore |  1 +
 NEWS.md |  2 +-
 bind-key.el |  2 +-
 default.mk  |  4 ++--
 doc/README.org  | 12 
 use-package-core.el |  4 ++--
 use-package.el  |  2 +-
 use-package.org |  2 +-
 8 files changed, 21 insertions(+), 8 deletions(-)

diff --git a/.elpaignore b/.elpaignore
index 2e84c1351d..d9ca1c78a6 100644
--- a/.elpaignore
+++ b/.elpaignore
@@ -1 +1,2 @@
 .travis.yml
+doc/*
diff --git a/NEWS.md b/NEWS.md
index 6e8530ef37..38f5dc70a1 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -1,6 +1,6 @@
 # Changes
 
-## 2.4.2
+## 2.4.3
 
 This release prepares for inclusion to GNU ELPA and includes no other changes
 
diff --git a/bind-key.el b/bind-key.el
index 817ca5efb2..cca5ad8618 100644
--- a/bind-key.el
+++ b/bind-key.el
@@ -6,7 +6,7 @@
 ;; Maintainer: John Wiegley 
 ;; Created: 16 Jun 2012
 ;; Modified: 29 Nov 2017
-;; Version: 2.4
+;; Version: 2.4.1
 ;; Keywords: keys keybinding config dotemacs
 ;; URL: https://github.com/jwiegley/use-package
 
diff --git a/default.mk b/default.mk
index 3204881849..c10bb80853 100644
--- a/default.mk
+++ b/default.mk
@@ -63,9 +63,9 @@ ELGS =
 
 ## Versions ##
 
-VERSION = 2.4.2
+VERSION = 2.4.3
 
-USE_PACKAGE_VERSION = 2.4.2
+USE_PACKAGE_VERSION = 2.4.3
 
 EMACS_VERSION = 24.3
 
diff --git a/doc/README.org b/doc/README.org
new file mode 100644
index 00..f16d19563e
--- /dev/null
+++ b/doc/README.org
@@ -0,0 +1,12 @@
+#+title: use-package Documentation generator
+:PREAMBLE:
+#+author: Payas Relekar
+#+email: relekarpa...@gmail.com
+#+date: 2022-{{{year}}}
+#+language: en
+
+This directory contains necessary scripts and static resources to generate
+online documentation for at 
[[https://jwiegley.github.io/use-package/][use-package]].
+
+The static site generator used is [[https://gohugo.io/][Hugo]] and uses 
org-mode documents from this
+repository via [[https://github.com/kaushalmodi/ox-hugo][ox-hugo]] org-mode to 
markdown converter.
diff --git a/use-package-core.el b/use-package-core.el
index f27d158fc0..52d7abd4cb 100644
--- a/use-package-core.el
+++ b/use-package-core.el
@@ -6,7 +6,7 @@
 ;; Maintainer: John Wiegley 
 ;; Created: 17 Jun 2012
 ;; Modified: 29 Nov 2017
-;; Version: 2.4.2
+;; Version: 2.4.3
 ;; Package-Requires: ((emacs "24.3"))
 ;; Keywords: dotemacs startup speed config package
 ;; URL: https://github.com/jwiegley/use-package
@@ -66,7 +66,7 @@
   "A use-package declaration for simplifying your `.emacs'."
   :group 'startup)
 
-(defconst use-package-version "2.4.2"
+(defconst use-package-version "2.4.3"
   "This version of use-package.")
 
 (defcustom use-package-keywords
diff --git a/use-package.el b/use-package.el
index 574431d80b..240693c118 100644
--- a/use-package.el
+++ b/use-package.el
@@ -6,7 +6,7 @@
 ;; Maintainer: John Wiegley 
 ;; Created: 17 Jun 2012
 ;; Modified: 29 Nov 2017
-;; Version: 2.4.2
+;; Version: 2.4.3
 ;; Package-Requires: ((emacs "24.3") (bind-key "2.4"))
 ;; Keywords: dotemacs startup speed config package
 ;; URL: https://github.com/jwiegley/use-package
diff --git a/use-package.org b/use-package.org
index 1fddd20d31..bfbfa1f94f 100644
--- a/use-package.org
+++ b/use-package.org
@@ -168,7 +168,7 @@ doing so, to make sure you are not using an outdated value 
for ~load-path~.
 should display something like
 
 #+begin_example
-  use-package-version’s value is "2.4.2"
+  use-package-version’s value is "2.4.3"
 #+END_EXAMPLE
 
 If you are completely new to use-package then see {{{link-jump(Getting



[elpa] externals/bind-key cdd59d5a9d 1/4: Add README.org to explain purpose of doc/ directory

2022-10-28 Thread ELPA Syncer
branch: externals/bind-key
commit cdd59d5a9d1e11740af615b6c74afec2046d1861
Author: Payas Relekar 
Commit: Payas Relekar 

Add README.org to explain purpose of doc/ directory

..and add doc/* directory to .elpaignore
---
 .elpaignore|  1 +
 doc/README.org | 12 
 2 files changed, 13 insertions(+)

diff --git a/.elpaignore b/.elpaignore
index 2e84c1351d..d9ca1c78a6 100644
--- a/.elpaignore
+++ b/.elpaignore
@@ -1 +1,2 @@
 .travis.yml
+doc/*
diff --git a/doc/README.org b/doc/README.org
new file mode 100644
index 00..f16d19563e
--- /dev/null
+++ b/doc/README.org
@@ -0,0 +1,12 @@
+#+title: use-package Documentation generator
+:PREAMBLE:
+#+author: Payas Relekar
+#+email: relekarpa...@gmail.com
+#+date: 2022-{{{year}}}
+#+language: en
+
+This directory contains necessary scripts and static resources to generate
+online documentation for at 
[[https://jwiegley.github.io/use-package/][use-package]].
+
+The static site generator used is [[https://gohugo.io/][Hugo]] and uses 
org-mode documents from this
+repository via [[https://github.com/kaushalmodi/ox-hugo][ox-hugo]] org-mode to 
markdown converter.



[elpa] externals/bind-key c81f9e78fc 3/4: Bump version to 2.4.3

2022-10-28 Thread ELPA Syncer
branch: externals/bind-key
commit c81f9e78fcfdb07fb7333fe990f61717cc2f611e
Author: Payas Relekar 
Commit: Payas Relekar 

Bump version to 2.4.3
---
 NEWS.md | 2 +-
 default.mk  | 4 ++--
 use-package-core.el | 4 ++--
 use-package.el  | 2 +-
 use-package.org | 2 +-
 5 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/NEWS.md b/NEWS.md
index 6e8530ef37..38f5dc70a1 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -1,6 +1,6 @@
 # Changes
 
-## 2.4.2
+## 2.4.3
 
 This release prepares for inclusion to GNU ELPA and includes no other changes
 
diff --git a/default.mk b/default.mk
index 3204881849..c10bb80853 100644
--- a/default.mk
+++ b/default.mk
@@ -63,9 +63,9 @@ ELGS =
 
 ## Versions ##
 
-VERSION = 2.4.2
+VERSION = 2.4.3
 
-USE_PACKAGE_VERSION = 2.4.2
+USE_PACKAGE_VERSION = 2.4.3
 
 EMACS_VERSION = 24.3
 
diff --git a/use-package-core.el b/use-package-core.el
index f27d158fc0..52d7abd4cb 100644
--- a/use-package-core.el
+++ b/use-package-core.el
@@ -6,7 +6,7 @@
 ;; Maintainer: John Wiegley 
 ;; Created: 17 Jun 2012
 ;; Modified: 29 Nov 2017
-;; Version: 2.4.2
+;; Version: 2.4.3
 ;; Package-Requires: ((emacs "24.3"))
 ;; Keywords: dotemacs startup speed config package
 ;; URL: https://github.com/jwiegley/use-package
@@ -66,7 +66,7 @@
   "A use-package declaration for simplifying your `.emacs'."
   :group 'startup)
 
-(defconst use-package-version "2.4.2"
+(defconst use-package-version "2.4.3"
   "This version of use-package.")
 
 (defcustom use-package-keywords
diff --git a/use-package.el b/use-package.el
index 574431d80b..240693c118 100644
--- a/use-package.el
+++ b/use-package.el
@@ -6,7 +6,7 @@
 ;; Maintainer: John Wiegley 
 ;; Created: 17 Jun 2012
 ;; Modified: 29 Nov 2017
-;; Version: 2.4.2
+;; Version: 2.4.3
 ;; Package-Requires: ((emacs "24.3") (bind-key "2.4"))
 ;; Keywords: dotemacs startup speed config package
 ;; URL: https://github.com/jwiegley/use-package
diff --git a/use-package.org b/use-package.org
index 1fddd20d31..bfbfa1f94f 100644
--- a/use-package.org
+++ b/use-package.org
@@ -168,7 +168,7 @@ doing so, to make sure you are not using an outdated value 
for ~load-path~.
 should display something like
 
 #+begin_example
-  use-package-version’s value is "2.4.2"
+  use-package-version’s value is "2.4.3"
 #+END_EXAMPLE
 
 If you are completely new to use-package then see {{{link-jump(Getting



[elpa] externals/bind-key 4932ed21d4 2/4: bind-key.el: Bump version for ELPA

2022-10-28 Thread ELPA Syncer
branch: externals/bind-key
commit 4932ed21d40f9e8ad48ad2a1f086fdf9b3847ac9
Author: Payas Relekar 
Commit: Payas Relekar 

bind-key.el: Bump version for ELPA
---
 bind-key.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bind-key.el b/bind-key.el
index 817ca5efb2..cca5ad8618 100644
--- a/bind-key.el
+++ b/bind-key.el
@@ -6,7 +6,7 @@
 ;; Maintainer: John Wiegley 
 ;; Created: 16 Jun 2012
 ;; Modified: 29 Nov 2017
-;; Version: 2.4
+;; Version: 2.4.1
 ;; Keywords: keys keybinding config dotemacs
 ;; URL: https://github.com/jwiegley/use-package
 



[elpa] externals/bind-key updated (17a049b0f7 -> 4095f1bdae)

2022-10-28 Thread ELPA Syncer
elpasync pushed a change to branch externals/bind-key.

  from  17a049b0f7 Merge pull request #1004 from andreyorst/face-spec-set
   new  cdd59d5a9d Add README.org to explain purpose of doc/ directory
   new  4932ed21d4 bind-key.el: Bump version for ELPA
   new  c81f9e78fc Bump version to 2.4.3
   new  4095f1bdae Merge pull request #1007 from bhankas/master


Summary of changes:
 .elpaignore |  1 +
 NEWS.md |  2 +-
 bind-key.el |  2 +-
 default.mk  |  4 ++--
 doc/README.org  | 12 
 use-package-core.el |  4 ++--
 use-package.el  |  2 +-
 use-package.org |  2 +-
 8 files changed, 21 insertions(+), 8 deletions(-)
 create mode 100644 doc/README.org



[elpa] externals/use-package updated (17a049b0f7 -> 4095f1bdae)

2022-10-28 Thread ELPA Syncer
elpasync pushed a change to branch externals/use-package.

  from  17a049b0f7 Merge pull request #1004 from andreyorst/face-spec-set
  adds  cdd59d5a9d Add README.org to explain purpose of doc/ directory
  adds  4932ed21d4 bind-key.el: Bump version for ELPA
  adds  c81f9e78fc Bump version to 2.4.3
  adds  4095f1bdae Merge pull request #1007 from bhankas/master

No new revisions were added by this update.

Summary of changes:
 .elpaignore |  1 +
 NEWS.md |  2 +-
 bind-key.el |  2 +-
 default.mk  |  4 ++--
 doc/README.org  | 12 
 use-package-core.el |  4 ++--
 use-package.el  |  2 +-
 use-package.org |  2 +-
 8 files changed, 21 insertions(+), 8 deletions(-)
 create mode 100644 doc/README.org



[elpa] externals/hyperbole e509025621 2/2: Finish HyRolo movement command update

2022-10-28 Thread ELPA Syncer
branch: externals/hyperbole
commit e509025621585a5e1a4045cfc42b12e9c55c8c54
Author: Bob Weiner 
Commit: Bob Weiner 

Finish HyRolo movement command update
---
 hyrolo.el | 310 +++---
 1 file changed, 155 insertions(+), 155 deletions(-)

diff --git a/hyrolo.el b/hyrolo.el
index 9824a20565..9030002a30 100644
--- a/hyrolo.el
+++ b/hyrolo.el
@@ -3,7 +3,7 @@
 ;; Author:   Bob Weiner
 ;;
 ;; Orig-Date: 7-Jun-89 at 22:08:29
-;; Last-Mod: 25-Oct-22 at 01:28:37 by Bob Weiner
+;; Last-Mod: 25-Oct-22 at 02:06:30 by Bob Weiner
 ;;
 ;; Copyright (C) 1991-2022  Free Software Foundation, Inc.
 ;; See the "HY-COPY" file for license information.
@@ -1303,6 +1303,22 @@ returned to the number given."
 ;;; Public functions
 ;;; 
 
+
+
+(defun hyrolo-back-to-visible-point ()
+  (interactive)
+  (while (and (not (bobp)) (invisible-p (point)))
+;; Move back one character at a time here because using this fails
+;; and ends up at the beginning of buffer every time under Emacs 27.1:
+;; (goto-char (previous-single-char-property-change (point) 'invisible
+(goto-char (1- (point)
+
+(defun hyrolo-backward-same-level (arg)
+  "Move backward to the ARG'th subheading at same level as this one.
+Stop at the first and last subheadings of a superior heading."
+  (interactive "p")
+  (hyrolo-move-backward #'outline-backward-same-level arg))
+
 ;;;###autoload
 (defun hyrolo-fgrep-directories (file-regexp &rest dirs)
   "String/logical HyRolo search over files matching FILE-REGEXP in rest of 
DIRS."
@@ -1322,6 +1338,12 @@ only (first line of entries), rather than entire entries.
 Return number of matching entries found."
   (hyrolo-grep-file hyrolo-file-or-buf (regexp-quote string) max-matches 
count-only headline-only))
 
+(defun hyrolo-forward-same-level (arg)
+  "Move forward to the ARG'th subheading at same level as this one.
+Stop at the first and last subheadings of a superior heading."
+  (interactive "p")
+  (hyrolo-move-forward #'outline-forward-same-level arg))
+
 ;;;###autoload
 (defun hyrolo-grep-directories (file-regexp &rest dirs)
   "Regexp HyRolo search over files matching FILE-REGEXP in rest of DIRS."
@@ -1485,6 +1507,138 @@ Return number of groupings matched."
(funcall func start end)))
 num-found))
 
+(defun hyrolo-mode ()
+  "Major mode for the rolo match buffer.
+Calls the functions given by `hyrolo-mode-hook'.
+\\{hyrolo-mode-map}"
+  (interactive)
+  (unless (eq major-mode 'hyrolo-mode)
+(make-local-variable 'outline-regexp)
+(setq outline-regexp (default-value 'outline-regexp))
+(make-local-variable 'hyrolo-entry-regexp)
+(setq hyrolo-entry-regexp (default-value 'hyrolo-entry-regexp))
+(make-local-variable 'outline-level)
+(setq outline-level #'hyrolo-mode-outline-level)
+(reveal-mode 1)) ;; Expose hidden text as move into it.
+  (setq major-mode 'hyrolo-mode
+   mode-name "HyRolo")
+  (use-local-map hyrolo-mode-map)
+  ;;
+  (set-syntax-table hyrolo-mode-syntax-table)
+  ;;
+  (when (fboundp 'outline-minor-mode)
+(outline-minor-mode 1))
+  (run-hooks 'hyrolo-mode-hook))
+
+(defun hyrolo-next-visible-heading (arg)
+  "Move to the next visible heading line.
+With ARG, repeats or can move backward if negative.
+A heading line is one that starts with a `*' (or that
+`outline-regexp' matches)."
+  (interactive "p")
+  (hyrolo-move-forward #'outline-next-visible-heading arg))
+
+(defun hyrolo-previous-visible-heading (arg)
+  "Move to the previous heading line.
+With ARG, repeats or can move forward if negative.
+A heading line is one that starts with a `*' (or that
+`outline-regexp' matches)."
+  (interactive "p")
+  (hyrolo-move-backward #'outline-previous-visible-heading arg))
+
+(defun hyrolo-to (name &optional file-list)
+  "Move point to entry for NAME within optional FILE-LIST.
+`hyrolo-file-list' is used as default when FILE-LIST is nil.
+Leaves point immediately after match for NAME within entry.
+Switches internal current buffer but does not alter the frame.
+Return point where matching entry begins or nil if not found."
+  (or file-list (setq file-list hyrolo-file-list))
+  (let ((found) file)
+(while (and (not found) file-list)
+  (setq file (car file-list)
+   file-list (cdr file-list))
+  (cond ((and file (or (not (stringp file)) (string-equal file "")))
+(error "(hyrolo-to): Invalid file: `%s'" file))
+   ((and (file-exists-p file) (not (file-readable-p file)))
+(error "(hyrolo-to): File not readable: `%s'" file)))
+  (set-buffer (or (get-file-buffer file) (hyrolo-find-file-noselect file)))
+  (let ((case-fold-search t) (real-name name) (parent "") (level) end)
+   (hyrolo-widen) (goto-char 1)
+   (while (string-match "\\`[^\]\[<>{}\"]*/" name)
+ (setq end (1- (match-end 0))
+   level nil
+   pa

[elpa] externals/hyperbole updated (bc5a11f5b7 -> e509025621)

2022-10-28 Thread ELPA Syncer
elpasync pushed a change to branch externals/hyperbole.

  from  bc5a11f5b7 Silence warning about reference to free variable (#283)
   new  2c5606513f Redo HyRolo movement commands; change {,} and {.} to 
move by entry
   new  e509025621 Finish HyRolo movement command update


Summary of changes:
 ChangeLog|  37 ++
 HY-TALK/HYPB |  22 +++-
 hbut.el  | 101 
 hui-mouse.el |  30 ++---
 hyrolo-logic.el  |  16 +--
 hyrolo.el| 327 ---
 man/hyperbole.html   |  78 +++-
 man/hyperbole.info   | Bin 590690 -> 591066 bytes
 man/hyperbole.pdf| Bin 1341841 -> 1342312 bytes
 man/hyperbole.texi   |  18 ++-
 man/version.texi |   4 +-
 test/hyrolo-tests.el |  19 +--
 12 files changed, 403 insertions(+), 249 deletions(-)



[elpa] externals/hyperbole 2c5606513f 1/2: Redo HyRolo movement commands; change {,} and {.} to move by entry

2022-10-28 Thread ELPA Syncer
branch: externals/hyperbole
commit 2c5606513fe0d7bad18d3ef64b795e1ffdacbe46
Author: Bob Weiner 
Commit: Bob Weiner 

Redo HyRolo movement commands; change {,} and {.} to move by entry
---
 ChangeLog|  37 
 HY-TALK/HYPB |  22 ++-
 hbut.el  | 101 +++
 hui-mouse.el |  30 --
 hyrolo-logic.el  |  16 +
 hyrolo.el| 163 ++-
 man/hyperbole.html   |  78 +++-
 man/hyperbole.info   | Bin 590690 -> 591066 bytes
 man/hyperbole.pdf| Bin 1341841 -> 1342312 bytes
 man/hyperbole.texi   |  18 --
 man/version.texi |   4 +-
 test/hyrolo-tests.el |  19 +++---
 12 files changed, 321 insertions(+), 167 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 39f93c9427..936116dcb0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,40 @@
+2022-10-25  Bob Weiner  
+
+* hyrolo.el (hyrolo-backward-same-level):  Add and bind to {b}.
+   (hyrolo-forward-same-level):   Add and find to {f}.
+(hyrolo-next-visible-heading): Add and bind to {n}.
+(hyrolo-previous-visible-heading): Add and bind to {p}.
+   (hyrolo-up-heading):   Add and bind to {u}.
+
+2022-10-24  Bob Weiner  
+
+* hui-mouse.el (smart-outline-assist, smart-outline,
+(smart-outline-to-entry-end): Remove 2nd arg 'curr-entry-level'
+and simplify logic.
+
+* hyrolo.el, hyrolo-logic.el: Remove 'next-entry-exists' and
+'previous-entry-exists'.
+
+* test/hyrolo-tests.el (hyrolo-demo-move-to-beginning-and-end-of-file):
+Rewrite to match new {,} and {.} bindings.
+
+* hyrolo.el (hyrolo-to-entry-end): Remove 2nd optional arg
+curr-entry-level-len.
+
+2022-10-23  Bob Weiner  
+
+* man/hyperbole.texi (HyRolo Keys):
+  hyrolo.el (hyrolo-to-entry-end): Make interactive and bind to {.}.
+(hyrolo-to-entry-beginning): Add and bind to {,}.
+   Previously, these keys were bound to begin and end of buffer but
+   were mistakenly reversed.  Also, simplify these two commands.
+(previous-entry-exists): Add this free variable and use
+   in 'hyrolo-to-entry-beginning'.
+
+* hbut.el (hbut:get-key-src): Add save-excursion so point does not move.
+  hyrolo.el (hyrolo-edit-entry): Fix so if point is not on an entry
+(src is a buffer, not a string), then raise an error.
+
 2022-10-20  Mats Lidell  
 
 * hload-path.el (hyperb:dir): Use defvar. Thanks to Stefan Monnier.
diff --git a/HY-TALK/HYPB b/HY-TALK/HYPB
index 0fb6510a98..c84a45a1fd 100644
--- a/HY-TALK/HYPB
+++ b/HY-TALK/HYPB
@@ -19,9 +19,23 @@ or interactively after loading Hyperbole:
 
 * Keystroke Display
 
+** interaction-log Package - font-lock highlighted log of keys and commands
+   Used for EmacsConf 2022
+
+  Install:
+  Activate:   
+  Deactivate: 
+
+  Configure:
+
+
 ** Keypression - overlaying parts of buffer (shows trail of keys)
+   Used for EmacsNYC talk
 
-  Install:
+  Install:
   Activate:   
   Deactivate: 
 
@@ -34,6 +48,10 @@ or interactively after loading Hyperbole:
  keypression-combine-same-keystrokes t
  keypression-font-face-attribute '(:width normal :height 200 :weight 
bold)>
 
+* Frame layout
+
+  
+
 
 * Pathname Prefixes
 
@@ -67,4 +85,4 @@ Emacs Yank Bug: bug#5320
 
 
 
-<[PDF Viewer]> == "${hyperb:dir}/man/hyperbole.pdf"
\ No newline at end of file
+<[PDF Viewer]> == "${hyperb:dir}/man/hyperbole.pdf"
diff --git a/hbut.el b/hbut.el
index aa69906760..a4854dbac9 100644
--- a/hbut.el
+++ b/hbut.el
@@ -3,7 +3,7 @@
 ;; Author:   Bob Weiner
 ;;
 ;; Orig-Date:18-Sep-91 at 02:57:09
-;; Last-Mod: 15-Oct-22 at 18:44:48 by Bob Weiner
+;; Last-Mod: 23-Oct-22 at 12:12:32 by Bob Weiner
 ;;
 ;; Copyright (C) 1991-2022  Free Software Foundation, Inc.
 ;; See the "HY-COPY" file for license information.
@@ -1101,55 +1101,56 @@ With optional DIR-FLAG, return the default directory of 
the key source.
 
 Return value may be a directory, filename or a buffer unless DIR-FLAG
 is given."
-  (let ((key-src (cond ((hmail:mode-is-p) (current-buffer))
- ;; If buffer represents the output of a document
- ;; formatter, e.g. an Info document produced from a
- ;; Texinfo source, then return the Texinfo source
- ;; file, for example.
- ((hbut:key-src-fmt))
- ;; Handle directory movement within `make' output.
- ((save-excursion
-(and (re-search-backward
-  "^[a-z]*make[^a-z]+\\(Entering\\|Leaving\\) 
directory `\\([^']+\\)'" nil t)
- (string-equal "Entering" (match-string 1
-  (let ((limit (match-end 2))
-;; Latest working directory that `make' reported
-(wd (match-string 2))
-cd)

[elpa] elpa-admin 320c0cbeb8: * elpa-admin.el (elpaa--html-footer): Add time stamp

2022-10-28 Thread Stefan Monnier via
branch: elpa-admin
commit 320c0cbeb8aca17f7d09a62538c90ca846e0bde6
Author: Stefan Monnier 
Commit: Stefan Monnier 

* elpa-admin.el (elpaa--html-footer): Add time stamp
---
 elpa-admin.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/elpa-admin.el b/elpa-admin.el
index 87803ea701..f89713247b 100644
--- a/elpa-admin.el
+++ b/elpa-admin.el
@@ -1302,6 +1302,7 @@ readme file has an unconventional name"
   (format "\n
 
 
+Last refreshed on %s
 Copyright 2016-%s https://fsf.org\";>Free Software 
Foundation, Inc.
 Design provided by https://nicolas.petton.fr\";>Nicolas Petton
 
@@ -1314,7 +1315,8 @@ readme file has an unconventional name"
 
 
 \n"
-  (format-time-string "%Y")))
+  (format-time-string "%Y-%b-%d %R" nil t)
+  (format-time-string "%Y" nil t)))
 
 (defun elpaa--html-bytes-format (bytes) ;Aka memory-usage-format.
   (if (null bytes)



[nongnu] elpa/geiser d90a08de80: geiser-doc: support for elisp-cooked docstrings

2022-10-28 Thread ELPA Syncer
branch: elpa/geiser
commit d90a08de80ce9d2666fc1fd477a2743c64b45de0
Author: jao 
Commit: jao 

geiser-doc: support for elisp-cooked docstrings
---
 elisp/geiser-doc.el | 15 ++-
 1 file changed, 14 insertions(+), 1 deletion(-)

diff --git a/elisp/geiser-doc.el b/elisp/geiser-doc.el
index 8c70d5f118..123bc6c563 100644
--- a/elisp/geiser-doc.el
+++ b/elisp/geiser-doc.el
@@ -50,6 +50,18 @@ help buffer, after collecting the associated signature and
 docstring. You can provide an alternative function for displaying
 help (e.g. browse an HTML page) implementing this method.")
 
+(geiser-impl--define-caller geiser-doc--display-docstring
+display-docstring (ret)
+  "This method receives the result of calling the geiser scheme
+procedure symbol-documentation and should display it in the
+current buffer.  By default, geiser looks for the value of the
+key docstring in the result, assumed to be an alist, and inserts
+it verbatim at point if it's a string.  Providing an
+implementation of this method may be useful if displaying the
+info returned by the scheme side (display-docstring) needs more
+elaboration on emacs' side.  This method should return a truthy
+value if the default action should be skipped.")
+
 
 ;;; Documentation browser history:
 
@@ -360,7 +372,8 @@ help (e.g. browse an HTML page) implementing this method.")
   (geiser-doc--insert-title
(geiser-autodoc--str* (cdr (assoc "signature" docstring
   (newline)
-  (insert (or (cdr (assoc "docstring" docstring)) ""))
+  (or (geiser-doc--display-docstring impl docstring)
+  (insert (or (cdr (assoc "docstring" docstring)) "")))
   (geiser-doc--buttonize-modules impl)
   (setq geiser-doc--buffer-link
 (geiser-doc--history-push (geiser-doc--make-link symbol



[elpa] main 9b0ad1e838 1/2: * elpa-packages (url-scgi): New package

2022-10-28 Thread Stefan Kangas
branch: main
commit 9b0ad1e83891d7028ac6b0321945b2c52524aad9
Author: Stefan Kangas 
Commit: Stefan Kangas 

* elpa-packages (url-scgi): New package
---
 elpa-packages | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/elpa-packages b/elpa-packages
index 51caacd04f..3bdbb24fab 100644
--- a/elpa-packages
+++ b/elpa-packages
@@ -761,6 +761,9 @@
   :doc "use-package.texi"
   :news "NEWS.md"
   :auto-sync t)
+ ("url-scgi"   :url "https://github.com/skangas/url-scgi";
+  :readme "README.org"
+  :auto-sync t)
  ("validate"   :url "https://github.com/Malabarba/validate.el";)
  ("valign" :url "https://github.com/casouri/valign";)
  ("vc-backup"  :url "https://git.sr.ht/~pkal/vc-backup";



[elpa] main 5a47526ea2 2/2: ; * elpa-packages: Set indent-tabs-mode to nil

2022-10-28 Thread Stefan Kangas
branch: main
commit 5a47526ea2a08529a3e7f6f35a9f1cd8172fd05e
Author: Stefan Kangas 
Commit: Stefan Kangas 

; * elpa-packages: Set indent-tabs-mode to nil
---
 elpa-packages | 4 
 1 file changed, 4 insertions(+)

diff --git a/elpa-packages b/elpa-packages
index 3bdbb24fab..f6c180bb2d 100644
--- a/elpa-packages
+++ b/elpa-packages
@@ -828,3 +828,7 @@
   :readme "README.md"
   :auto-sync t)
  )
+
+;; Local Variables:
+;; indent-tabs-mode: nil
+;; End:



[elpa] main updated (7d74f07514 -> 5a47526ea2)

2022-10-28 Thread Stefan Kangas
skangas pushed a change to branch main.

  from  7d74f07514 * html/layout.css (strong, em): New rules
   new  9b0ad1e838 * elpa-packages (url-scgi): New package
   new  5a47526ea2 ; * elpa-packages: Set indent-tabs-mode to nil


Summary of changes:
 elpa-packages | 7 +++
 1 file changed, 7 insertions(+)



[elpa] elpa-admin c77c027ac8: * elpa-admin.el (elpaa--html-footer): Add timezone to time stamp.

2022-10-28 Thread Stefan Kangas
branch: elpa-admin
commit c77c027ac82dbe912e9c384fcaba35d9b9564f68
Author: Stefan Kangas 
Commit: Stefan Kangas 

* elpa-admin.el (elpaa--html-footer): Add timezone to time stamp.
---
 elpa-admin.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/elpa-admin.el b/elpa-admin.el
index f89713247b..cffa953c5d 100644
--- a/elpa-admin.el
+++ b/elpa-admin.el
@@ -1315,7 +1315,7 @@ readme file has an unconventional name"
 
 
 \n"
-  (format-time-string "%Y-%b-%d %R" nil t)
+  (format-time-string "%Y-%b-%d %R %Z" nil t)
   (format-time-string "%Y" nil t)))
 
 (defun elpaa--html-bytes-format (bytes) ;Aka memory-usage-format.



[elpa] elpa-admin 2914f58cff: * elpa-admin.el (elpaa--html-make-pkg): Fix package page footer.

2022-10-28 Thread Stefan Kangas
branch: elpa-admin
commit 2914f58cffe78832eeb226664508a117f7caecd4
Author: Stefan Kangas 
Commit: Stefan Kangas 

* elpa-admin.el (elpaa--html-make-pkg): Fix package page footer.
---
 elpa-admin.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/elpa-admin.el b/elpa-admin.el
index cffa953c5d..f8f8fcabb6 100644
--- a/elpa-admin.el
+++ b/elpa-admin.el
@@ -1669,7 +1669,7 @@ arbitrary code."
   file (elpaa--html-quote file)
   (format-time-string "%Y-%b-%d" (nth 5 attrs))
   (elpaa--html-bytes-format (nth 7 attrs)))
-(insert "\n"))
+(insert "\n\n"))
   (let ((news (elpaa--get-NEWS pkg-spec srcdir)))
 (when news
   (insert "News\n"



[elpa] externals/org updated (0e175f11fd -> a51bb2c448)

2022-10-28 Thread ELPA Syncer
elpasync pushed a change to branch externals/org.

  from  0e175f11fd lisp/ob-clojure.el: Fix header argument :var binding
   new  b93a61af9c org-latex-line-break-safe: Use safer value of "\\[0pt]"
   new  a51bb2c448 org-x11idle-exists-p: Do not demand X window system at 
load time


Summary of changes:
 lisp/org-clock.el  |  3 +--
 lisp/ox-latex.el   | 12 ++--
 testing/lisp/test-org-table.el |  6 +++---
 testing/lisp/test-ox-latex.el  | 12 ++--
 4 files changed, 16 insertions(+), 17 deletions(-)



[elpa] externals/org b93a61af9c 1/2: org-latex-line-break-safe: Use safer value of "\\[0pt]"

2022-10-28 Thread ELPA Syncer
branch: externals/org
commit b93a61af9c93d21c56cf883630e52f36076e40bd
Author: Ihor Radchenko 
Commit: Ihor Radchenko 

org-latex-line-break-safe: Use safer value of "\\[0pt]"

* lisp/ox-latex.el (org-latex-line-break-safe):
(org-latex-table-row):
Change \empty ending to explicit optional argument.  \empty still has
undesired side effects in some cases.

* testing/lisp/test-org-table.el (test-org-table/to-latex):
* testing/lisp/test-ox-latex.el (test-ox-latex/verse): Update tests.

Reported-by: Juan Manuel Macías 
Link: https://orgmode.org/list/87o7u9rz1a@posteo.net
---
 lisp/ox-latex.el   | 12 ++--
 testing/lisp/test-org-table.el |  6 +++---
 testing/lisp/test-ox-latex.el  | 12 ++--
 3 files changed, 15 insertions(+), 15 deletions(-)

diff --git a/lisp/ox-latex.el b/lisp/ox-latex.el
index 3d18ee7fff..6d72dab700 100644
--- a/lisp/ox-latex.el
+++ b/lisp/ox-latex.el
@@ -278,17 +278,17 @@ list can be:
 
 - `:lang-name' the actual name of the language.")
 
-(defconst org-latex-line-break-safe "\\empty"
+(defconst org-latex-line-break-safe "[0pt]"
   "Linebreak protecting the following [...].
 
-Without \"\\empty\" it would be interpreted as an optional argument to
+Without \"[0pt]\" it would be interpreted as an optional argument to
 the .
 
 This constant, for example, makes the below code not err:
 
 \\begin{tabular}{c|c}
-[t] & s\\empty
-[I] & A\\empty
+[t] & s[0pt]
+[I] & A[0pt]
 [m] & kg
 \\end{tabular}")
 
@@ -4005,9 +4005,9 @@ a communication channel."
  (org-export-get-parent-table table-row) info
   (format "%s
 \\endfirsthead
-\\multicolumn{%d}{l}{%s} \\empty
+\\multicolumn{%d}{l}{%s} [0pt]
 %s
-%s \\empty\n
+%s [0pt]\n
 %s
 \\endhead
 %s\\multicolumn{%d}{r}{%s} 
diff --git a/testing/lisp/test-org-table.el b/testing/lisp/test-org-table.el
index 722c37ea44..5731798783 100644
--- a/testing/lisp/test-org-table.el
+++ b/testing/lisp/test-org-table.el
@@ -1635,11 +1635,11 @@ See also `test-org-table/copy-field'."
 (ert-deftest test-org-table/to-latex ()
   "Test `orgtbl-to-latex' specifications."
   (should
-   (equal "\\begin{tabular}{l}\na\\empty\n\\end{tabular}"
+   (equal "\\begin{tabular}{l}\na[0pt]\n\\end{tabular}"
  (orgtbl-to-latex (org-table-to-lisp "| a |") nil)))
   ;; Test :environment parameter.
   (should
-   (equal "\\begin{tabularx}{l}\na\\empty\n\\end{tabularx}"
+   (equal "\\begin{tabularx}{l}\na[0pt]\n\\end{tabularx}"
  (orgtbl-to-latex (org-table-to-lisp "| a |")
   '(:environment "tabularx"
   ;; Test :booktabs parameter.
@@ -1648,7 +1648,7 @@ See also `test-org-table/copy-field'."
 "\\toprule" (orgtbl-to-latex (org-table-to-lisp "| a |") '(:booktabs t
   ;; Handle LaTeX snippets.
   (should
-   (equal "\\begin{tabular}{l}\n\\(x\\)\\empty\n\\end{tabular}"
+   (equal "\\begin{tabular}{l}\n\\(x\\)[0pt]\n\\end{tabular}"
  (orgtbl-to-latex (org-table-to-lisp "| $x$ |") nil)))
   ;; Test pseudo objects and :raw parameter.
   (should
diff --git a/testing/lisp/test-ox-latex.el b/testing/lisp/test-ox-latex.el
index 4fb9f28886..adb3a60ea3 100644
--- a/testing/lisp/test-ox-latex.el
+++ b/testing/lisp/test-ox-latex.el
@@ -60,14 +60,14 @@ lorem ipsum dolor
 (should
  (search-forward
   "\\begin{verse}
-lorem ipsum dolor\\empty
-lorem ipsum dolor\\empty
+lorem ipsum dolor[0pt]
+lorem ipsum dolor[0pt]
 \\vspace*{1em}
-lorem ipsum dolor\\empty
-lorem ipsum dolor\\empty
+lorem ipsum dolor[0pt]
+lorem ipsum dolor[0pt]
 \\vspace*{1em}
-lorem ipsum dolor\\empty
-lorem ipsum dolor\\empty
+lorem ipsum dolor[0pt]
+lorem ipsum dolor[0pt]
 \\end{verse}"
 
 (provide 'test-ox-latex)



[elpa] externals/org a51bb2c448 2/2: org-x11idle-exists-p: Do not demand X window system at load time

2022-10-28 Thread ELPA Syncer
branch: externals/org
commit a51bb2c448bab7665667471aa227e3e25dbbdced
Author: Ihor Radchenko 
Commit: Ihor Radchenko 

org-x11idle-exists-p: Do not demand X window system at load time

* lisp/org-clock.el (org-x11idle-exists-p): Do not check if load-time
`window-system' is `x'.  Instead, rely on the check in
`org-user-idle-seconds'.

Emacs may start as a daemon and hence `window-system' may not yet be
`x' during startup.

Reported-by: Julien Cubizolles 
Link: https://orgmode.org/list/871qqs6gqs@free.fr
---
 lisp/org-clock.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lisp/org-clock.el b/lisp/org-clock.el
index e98a34f0db..ca026c44fc 100644
--- a/lisp/org-clock.el
+++ b/lisp/org-clock.el
@@ -1201,8 +1201,7 @@ If `only-dangling-p' is non-nil, only ask to resolve 
dangling
 
 (defvar org-x11idle-exists-p
   ;; Check that x11idle exists
-  (and (eq window-system 'x)
-   (eq 0 (call-process-shell-command
+  (and (eq 0 (call-process-shell-command
   (format "command -v %s" org-clock-x11idle-program-name)))
;; Check that x11idle can retrieve the idle time
;; FIXME: Why "..-shell-command" rather than just `call-process'?



[elpa] branch externals/url-scgi created (now ce5e1d5fd1)

2022-10-28 Thread ELPA Syncer
elpasync pushed a change to branch externals/url-scgi.

at  ce5e1d5fd1 Release version 0.7

This branch includes the following new commits:

   new  60154c472f Add COPYING file containing the GPLv3.
   new  2d43fa147c Add url-scgi.el: SCGI Uniform Resource Locator retrieval 
code
   new  103dd508e1 url-scgi.el: Support Emacs 24
   new  3686dad2bd Cleanups in url-scgi.el
   new  f868b8be51 Support using xmlrpc over a file bound socket
   new  1f76fba6a2 Use lexical binding
   new  62a6cf9305 Update documentation and add new doc/ directory
   new  248962b6d6 url-scgi: Fix scgi socket on absolute path
   new  efd8de5ec8 url-scgi: fix compile time warning
   new  8f5564a783 url-scgi: untabify
   new  2b22e6ffa9 url-scgi: Fix naming to not clutter namespace
   new  44ee68353b url-scgi: Add first unit tests
   new  66a7d265ff Fix the workaround for bug in xml-rpc.el
   new  a6ceb9f71d Silence byte compiler warnings
   new  e9e8323d86 Use new 'cl-lib rather than old 'cl
   new  75fc9f0a8d Use lexical binding in url-scgi.el
   new  3677ee8e13 Bump url-scgi.el version to 0.4
   new  0d031d258f Bump copyright year to 2017
   new  63f5304d1f Bump copyright year to 2018
   new  dae60fe387 url-scgi: fix local socket on Emacs 25
   new  a5fa019e7f url-scgi: Fix cl-check-type bug on Emacs 26.1
   new  37f3ce8fa6 Fix some comments and docstrings
   new  9cd54cd963 Bump copyright year to 2019
   new  31faa9cb59 Add make target for tests
   new  9d190583bd Prefer https in documentation
   new  ce841acadd Small cleanups
   new  e8eeb679c6 Update copyright year
   new  6cccb4b222 Bump url-scgi-version version to match header
   new  081bd15dd1 Fix url-scgi description
   new  c5a548ac36 Fix quoting of characters
   new  39c2f00c3d Update copyright years
   new  6a9c5d29e6 Bump version to 0.6
   new  9c9170a7c3 Re-indent
   new  69f4f773a6 Update copyright years
   new  29dd82f35c Add FUNDING.yml
   new  cef4617f2e Add .dir-locals.el
   new  0c75eb1b17 Add .gitignore
   new  b81666ed2b Add README and improve documentation
   new  b77ff8ec77 Add SPDX-License-Identifier library header
   new  75379f6adb Fix Package-Requires and add URL
   new  e812e9dd10 Move tests to repository root
   new  ebd6d8dae1 Simplify url-scgi-add-null-bytes
   new  188ead4516 Add .elpaignore for GNU ELPA
   new  751b95e345 Update copyright and license for GNU ELPA
   new  7d4b072aa6 Comment out stray declare form
   new  a6e5c349e9 Add no-byte-compile cookie to .dir-locals.el
   new  b3826af13f Ignore backup files
   new  ce5e1d5fd1 Release version 0.7




[elpa] externals/url-scgi b3826af13f 47/48: Ignore backup files

2022-10-28 Thread ELPA Syncer
branch: externals/url-scgi
commit b3826af13fb54e4656729ae92cc3c3e244507f57
Author: Stefan Kangas 
Commit: Stefan Kangas 

Ignore backup files
---
 .gitignore | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.gitignore b/.gitignore
index cf76d715e3..62ead281ef 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 \.\#*
 \#*
 *.elc
+*~



[elpa] externals/url-scgi 60154c472f 01/48: Add COPYING file containing the GPLv3.

2022-10-28 Thread ELPA Syncer
branch: externals/url-scgi
commit 60154c472fd2096f06ff8adf6c2adc375f10755d
Author: Stefan Kangas 
Commit: Stefan Kangas 

Add COPYING file containing the GPLv3.
---
 COPYING | 676 
 1 file changed, 676 insertions(+)

diff --git a/COPYING b/COPYING
new file mode 100644
index 00..4432540474
--- /dev/null
+++ b/COPYING
@@ -0,0 +1,676 @@
+
+   GNU GENERAL PUBLIC LICENSE
+  Version 3, 29 June 2007
+
+ Copyright (C) 2007 Free Software Foundation, Inc. 
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+   Preamble
+
+  The GNU General Public License is a free, copyleft license for
+software and other kinds of works.
+
+  The licenses for most software and other practical works are designed
+to take away your freedom to share and change the works.  By contrast,
+the GNU General Public License is intended to guarantee your freedom to
+share and change all versions of a program--to make sure it remains free
+software for all its users.  We, the Free Software Foundation, use the
+GNU General Public License for most of our software; it applies also to
+any other work released this way by its authors.  You can apply it to
+your programs, too.
+
+  When we speak of free software, we are referring to freedom, not
+price.  Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+them if you wish), that you receive source code or can get it if you
+want it, that you can change the software or use pieces of it in new
+free programs, and that you know you can do these things.
+
+  To protect your rights, we need to prevent others from denying you
+these rights or asking you to surrender the rights.  Therefore, you have
+certain responsibilities if you distribute copies of the software, or if
+you modify it: responsibilities to respect the freedom of others.
+
+  For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must pass on to the recipients the same
+freedoms that you received.  You must make sure that they, too, receive
+or can get the source code.  And you must show them these terms so they
+know their rights.
+
+  Developers that use the GNU GPL protect your rights with two steps:
+(1) assert copyright on the software, and (2) offer you this License
+giving you legal permission to copy, distribute and/or modify it.
+
+  For the developers' and authors' protection, the GPL clearly explains
+that there is no warranty for this free software.  For both users' and
+authors' sake, the GPL requires that modified versions be marked as
+changed, so that their problems will not be attributed erroneously to
+authors of previous versions.
+
+  Some devices are designed to deny users access to install or run
+modified versions of the software inside them, although the manufacturer
+can do so.  This is fundamentally incompatible with the aim of
+protecting users' freedom to change the software.  The systematic
+pattern of such abuse occurs in the area of products for individuals to
+use, which is precisely where it is most unacceptable.  Therefore, we
+have designed this version of the GPL to prohibit the practice for those
+products.  If such problems arise substantially in other domains, we
+stand ready to extend this provision to those domains in future versions
+of the GPL, as needed to protect the freedom of users.
+
+  Finally, every program is threatened constantly by software patents.
+States should not allow patents to restrict development and use of
+software on general-purpose computers, but in those that do, we wish to
+avoid the special danger that patents applied to a free program could
+make it effectively proprietary.  To prevent this, the GPL assures that
+patents cannot be used to render the program non-free.
+
+  The precise terms and conditions for copying, distribution and
+modification follow.
+
+  TERMS AND CONDITIONS
+
+  0. Definitions.
+
+  "This License" refers to version 3 of the GNU General Public License.
+
+  "Copyright" also means copyright-like laws that apply to other kinds of
+works, such as semiconductor masks.
+ 
+  "The Program" refers to any copyrightable work licensed under this
+License.  Each licensee is addressed as "you".  "Licensees" and
+"recipients" may be individuals or organizations.
+
+  To "modify" a work means to copy from or adapt all or part of the work
+in a fashion requiring copyright permission, other than the making of an
+exact copy.  The resulting work is called a "modified version" of the
+earlier work or a work "based on" the earlier work.
+
+  A "covered work" means either the unmodified Program or a work based
+on the Program.
+
+  To "propagate" a work means to do anything with it that, without
+permission, w

[elpa] externals/url-scgi 75fc9f0a8d 16/48: Use lexical binding in url-scgi.el

2022-10-28 Thread ELPA Syncer
branch: externals/url-scgi
commit 75fc9f0a8d690dc56738213213f574b7822bcf53
Author: Stefan Kangas 
Commit: Stefan Kangas 

Use lexical binding in url-scgi.el
---
 url-scgi.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/url-scgi.el b/url-scgi.el
index d95a298511..6be702a051 100644
--- a/url-scgi.el
+++ b/url-scgi.el
@@ -1,4 +1,4 @@
-;;; url-scgi.el --- SCGI Uniform Resource Locator retrieval code
+;;; url-scgi.el --- SCGI Uniform Resource Locator retrieval code  -*- 
lexical-binding: t -*-
 
 ;; Copyright (C) 2011-2016 Stefan Kangas.
 



[elpa] externals/url-scgi e812e9dd10 41/48: Move tests to repository root

2022-10-28 Thread ELPA Syncer
branch: externals/url-scgi
commit e812e9dd105907009730884898cb1a03e6711f85
Author: Stefan Kangas 
Commit: Stefan Kangas 

Move tests to repository root
---
 test/url-scgi-tests.el => url-scgi-tests.el | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/test/url-scgi-tests.el b/url-scgi-tests.el
similarity index 100%
rename from test/url-scgi-tests.el
rename to url-scgi-tests.el



[elpa] externals/url-scgi 2d43fa147c 02/48: Add url-scgi.el: SCGI Uniform Resource Locator retrieval code

2022-10-28 Thread ELPA Syncer
branch: externals/url-scgi
commit 2d43fa147c22c6b4c83f21ce1471f56858fe6558
Author: Stefan Kangas 
Commit: Stefan Kangas 

Add url-scgi.el: SCGI Uniform Resource Locator retrieval code
---
 url-scgi.el | 184 
 1 file changed, 184 insertions(+)

diff --git a/url-scgi.el b/url-scgi.el
new file mode 100644
index 00..4d1c45d6fc
--- /dev/null
+++ b/url-scgi.el
@@ -0,0 +1,184 @@
+;;; url-scgi.el --- SCGI Uniform Resource Locator retrieval code
+
+;; Copyright (C) 2011 Stefan Kangas.
+
+;; Author: Stefan Kangas
+;; Version: 0.1
+;; Keywords: comm, data, processes, scgi
+
+;; This file is NOT part of GNU Emacs.
+
+;; 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
+;; the Free Software Foundation, either version 3 of the License, or
+;; (at your option) any later version.
+
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+;; GNU General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with this program.  If not, see .
+
+;;; Commentary:
+
+;; The SCGI specification document can be found at:
+;;
+;; http://python.ca/scgi/protocol.txt
+
+;;; Change Log:
+
+;; 0.1 First public version
+
+;;; Code:
+
+(eval-when-compile (require 'cl))
+
+(defvar url-scgi-content-length)
+(defvar url-scgi-content-type)
+(defvar url-scgi-connection-opened)
+
+(defconst url-scgi-asynchronous-p t "SCGI retrievals are asynchronous.")
+
+(defun scgi-string-to-netstring (str)
+  "Converts a string into a netstring as defined by the SCGI
+specification."
+  (let ((len (length str)))
+(concat (number-to-string len)
+":" str ",")))
+
+(defun scgi-add-null-bytes (&rest args)
+  (apply 'concat (mapcar (lambda (a) (concat a "\000")) args)))
+
+(defmacro scgi-parse-request-header (name desc conv)
+  `(let ((,name (plist-get headers ,(intern
+ (concat ":" (symbol-name name))
+ (when name
+  (scgi-add-null-bytes ,desc
+   ,(if conv
+(list conv name)
+  name)
+
+(defun scgi-make-request-header (headers)
+  (concat
+   (scgi-parse-request-header length "CONTENT_LENGTH" number-to-string)
+   (scgi-add-null-bytes "SCGI" "1")))
+
+(defun url-scgi-create-request ()
+  (declare (special url-request-data))
+  (concat
+   (scgi-string-to-netstring
+(scgi-make-request-header `(:length ,(length url-request-data
+   url-request-data))
+
+(defun url-scgi-activate-callback ()
+  "Activate callback specified when this buffer was created."
+  (declare (special url-callback-function
+   url-callback-arguments))
+  (apply url-callback-function url-callback-arguments))
+
+(defun url-scgi-parse-headers ()
+  (declare (special url-scgi-content-length
+url-scgi-content-type))
+  (save-restriction
+(save-match-data
+  (mail-narrow-to-head)
+  (goto-char (point-min))
+  (while (re-search-forward "\r$" nil t)
+(replace-match ""))
+  (let ((status (mail-fetch-field "status"))
+(content-length (mail-fetch-field "content-length"))
+(content-type (mail-fetch-field "content-type")))
+(when content-length
+  (setq url-scgi-content-length content-length))
+(when content-type
+  (setq url-scgi-content-length content-type))
+(when (and status (not (equal status "200 OK")))
+  (error (message (concat "Got status response: " status)))
+  t)
+
+(defun url-scgi-get-connection (host port)
+  (let ((buf (generate-new-buffer " *url-scgi-temp*")))
+;; `url-open-stream' needs a buffer in which to do things
+;; like authentication.  But we use another buffer afterwards.
+(unwind-protect
+(let ((proc (url-open-stream host buf host port)))
+  ;; url-open-stream might return nil.
+  (when (processp proc)
+;; Drop the temp buffer link before killing the buffer.
+(set-process-buffer proc nil))
+  proc)
+  (kill-buffer buf
+
+;;;###autoload
+(defun url-scgi (url callback cbargs)
+  "Handle SCGI URLs from internal Emacs functions."
+  (check-type url vector "Need a pre-parsed URL.")
+  (declare (special url-scgi-connection-opened
+   url-callback-function
+   url-callback-arguments))
+  (let* ((host (url-host url))
+(port (url-port url))
+(connection (url-scgi-get-connection host port))
+(buffer (generate-new-buffer (format " *scgi %s:%d*" host port
+(if (not connection)
+   ;; Failed to open the connection for some reason
+   (progn
+ (kill-buffe

[elpa] externals/url-scgi a6e5c349e9 46/48: Add no-byte-compile cookie to .dir-locals.el

2022-10-28 Thread ELPA Syncer
branch: externals/url-scgi
commit a6e5c349e9914c540e2cc6bc5d4a063a5e239319
Author: Stefan Kangas 
Commit: Stefan Kangas 

Add no-byte-compile cookie to .dir-locals.el
---
 .dir-locals.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.dir-locals.el b/.dir-locals.el
index 253405bad4..04758adc64 100644
--- a/.dir-locals.el
+++ b/.dir-locals.el
@@ -1,4 +1,4 @@
-;;; Directory Local Variables
+;;; Directory Local Variables -*- no-byte-compile: t; -*-
 ;;; For more information see (info "(emacs) Directory Variables")
 
 ((nil . ((sentence-end-double-space . t)))



[elpa] externals/url-scgi b77ff8ec77 39/48: Add SPDX-License-Identifier library header

2022-10-28 Thread ELPA Syncer
branch: externals/url-scgi
commit b77ff8ec77b0f82010d90c93405674f73a370960
Author: Stefan Kangas 
Commit: Stefan Kangas 

Add SPDX-License-Identifier library header
---
 url-scgi.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/url-scgi.el b/url-scgi.el
index 9cbfc034b3..cb81868826 100644
--- a/url-scgi.el
+++ b/url-scgi.el
@@ -6,6 +6,7 @@
 ;; Version: 0.6
 ;; Keywords: comm, data, processes, scgi
 ;; Package-Requires: ((cl-lib "0.5"))
+;; SPDX-License-Identifier: GPL-3.0-or-later
 
 ;; This file is NOT part of GNU Emacs.
 



[elpa] externals/url-scgi 69f4f773a6 34/48: Update copyright years

2022-10-28 Thread ELPA Syncer
branch: externals/url-scgi
commit 69f4f773a6f5c086a34606b1bb5590471e3c36f3
Author: Stefan Kangas 
Commit: Stefan Kangas 

Update copyright years
---
 test/url-scgi-tests.el | 2 +-
 url-scgi.el| 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/url-scgi-tests.el b/test/url-scgi-tests.el
index f3fde50d34..eafb1a6ed8 100644
--- a/test/url-scgi-tests.el
+++ b/test/url-scgi-tests.el
@@ -1,6 +1,6 @@
 ;;; url-scgi-tests.el --- Test suite for url-scgi.el -*- lexical-binding: t -*-
 
-;; Copyright (C) 2016-2021 Stefan Kangas.
+;; Copyright (C) 2016-2022 Stefan Kangas.
 
 ;; Author: Stefan Kangas 
 
diff --git a/url-scgi.el b/url-scgi.el
index 0b8db8c1f3..bff17ad518 100644
--- a/url-scgi.el
+++ b/url-scgi.el
@@ -1,6 +1,6 @@
 ;;; url-scgi.el --- SCGI Uniform Resource Locator retrieval code  -*- 
lexical-binding: t -*-
 
-;; Copyright (C) 2011-2021 Stefan Kangas.
+;; Copyright (C) 2011-2022 Stefan Kangas.
 
 ;; Author: Stefan Kangas 
 ;; Version: 0.6



[elpa] externals/url-scgi f868b8be51 05/48: Support using xmlrpc over a file bound socket

2022-10-28 Thread ELPA Syncer
branch: externals/url-scgi
commit f868b8be51a0ac4bbb3e14c839b08472d1f7ecbc
Author: Stefan Kangas 
Commit: Stefan Kangas 

Support using xmlrpc over a file bound socket
---
 url-scgi.el | 60 +++-
 1 file changed, 31 insertions(+), 29 deletions(-)

diff --git a/url-scgi.el b/url-scgi.el
index 09dc501d09..4e3f98cfe5 100644
--- a/url-scgi.el
+++ b/url-scgi.el
@@ -64,19 +64,11 @@
url-callback-arguments))
   (apply url-callback-function url-callback-arguments))
 
-(defun url-scgi-get-connection (host port)
-  "Set up a new connection and return it."
-  (let ((buf (generate-new-buffer " *url-scgi-temp*")))
-;; `url-open-stream' needs a buffer in which to do things
-;; like authentication.  But we use another buffer afterwards.
-(unwind-protect
-(let ((proc (url-open-stream host buf host port)))
-  ;; url-open-stream might return nil.
-  (when (processp proc)
-;; Drop the temp buffer link before killing the buffer.
-(set-process-buffer proc nil))
-  proc)
-  (kill-buffer buf
+(defun url-scgi-handle-home-dir (filename)
+  (expand-file-name
+   (if (string-match "^/~" filename)
+   (substring filename 1)
+ filename)))
 
 ;;;###autoload
 (defun url-scgi (url callback cbargs)
@@ -85,32 +77,42 @@
   (declare (special url-scgi-connection-opened
url-callback-function
url-callback-arguments))
+
   (let* ((host (url-host url))
-(port (url-port url))
-(connection (url-scgi-get-connection host port))
-(buffer (generate-new-buffer
-  (format " *scgi %s:%d*" host port
+ (port (url-port url))
+ (filename (url-filename url))
+ (buffer (generate-new-buffer
+  (format " *scgi %s:%d%s*" host port filename)))
+ (connection (cond
+  ((string-match "^/." filename)
+   ;; local socket
+   (let ((filename (url-scgi-handle-home-dir filename)))
+(make-network-process :name "scgi"
+  :buffer buffer
+  :remote filename)))
+  (t
+   ;; networked scgi
+   (url-open-stream host buffer host port)
 (if (not connection)
-   ;; Failed to open the connection for some reason
-   (progn
- (kill-buffer buffer)
- (setq buffer nil)
- (error "Could not create connection to %s:%d" host port))
+;; Failed to open the connection for some reason
+(progn
+  (kill-buffer buffer)
+  (setq buffer nil)
+  (error "Could not create connection to %s:%d" host port))
   (with-current-buffer buffer
-   (setq url-current-object url
- mode-line-format "%b [%s]")
+(setq url-current-object url
+  mode-line-format "%b [%s]")
 
(dolist (var '(url-scgi-connection-opened
   url-callback-function
   url-callback-arguments))
  (set (make-local-variable var) nil))
 
-   (setq url-callback-function callback
- url-callback-arguments cbargs
- url-scgi-connection-opened nil)
+(setq url-callback-function callback
+  url-callback-arguments cbargs
+  url-scgi-connection-opened nil)
 
-   (set-process-buffer connection buffer)
-   (pcase (process-status connection)
+(pcase (process-status connection)
   (`connect
;; Asynchronous connection
(set-process-sentinel connection 'url-scgi-async-sentinel))



[elpa] externals/url-scgi 0d031d258f 18/48: Bump copyright year to 2017

2022-10-28 Thread ELPA Syncer
branch: externals/url-scgi
commit 0d031d258fb2ebc7ba47dfc7bb3e41bb554e0086
Author: Stefan Kangas 
Commit: Stefan Kangas 

Bump copyright year to 2017
---
 url-scgi.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/url-scgi.el b/url-scgi.el
index 2867e40d5c..36792cda27 100644
--- a/url-scgi.el
+++ b/url-scgi.el
@@ -1,6 +1,6 @@
 ;;; url-scgi.el --- SCGI Uniform Resource Locator retrieval code  -*- 
lexical-binding: t -*-
 
-;; Copyright (C) 2011-2016 Stefan Kangas.
+;; Copyright (C) 2011-2017 Stefan Kangas.
 
 ;; Author: Stefan Kangas 
 ;; Version: 0.4



[elpa] externals/url-scgi 8f5564a783 10/48: url-scgi: untabify

2022-10-28 Thread ELPA Syncer
branch: externals/url-scgi
commit 8f5564a78361fdb05e498412f1590a92ed9228cf
Author: Stefan Kangas 
Commit: Stefan Kangas 

url-scgi: untabify
---
 url-scgi.el | 20 ++--
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/url-scgi.el b/url-scgi.el
index 9f3b57d955..18ab03c390 100644
--- a/url-scgi.el
+++ b/url-scgi.el
@@ -70,7 +70,7 @@
 (defun url-scgi-activate-callback ()
   "Activate callback specified when this buffer was created."
   (declare (special url-callback-function
-   url-callback-arguments))
+url-callback-arguments))
   (apply url-callback-function url-callback-arguments))
 
 (defun url-scgi-handle-home-dir (filename)
@@ -84,7 +84,7 @@
   "Handle SCGI URLs from internal Emacs functions."
   (check-type url vector "Need a pre-parsed URL.")
   (declare (special url-scgi-connection-opened
-   url-callback-function
+url-callback-function
 url-callback-arguments
 url-current-object))
 
@@ -114,10 +114,10 @@
 (setq url-current-object url
   mode-line-format "%b [%s]")
 
-   (dolist (var '(url-scgi-connection-opened
-  url-callback-function
-  url-callback-arguments))
- (set (make-local-variable var) nil))
+(dolist (var '(url-scgi-connection-opened
+   url-callback-function
+   url-callback-arguments))
+  (set (make-local-variable var) nil))
 
 (setq url-callback-function callback
   url-callback-arguments cbargs
@@ -149,10 +149,10 @@
   (process-send-string proc (url-scgi-create-request)))
  (t
   (setf (car url-callback-arguments)
-   (nconc (list :error (list 'error 'connection-failed why
- :host (url-host url-current-object)
- :service (url-port url-current-object)))
-  (car url-callback-arguments)))
+(nconc (list :error (list 'error 'connection-failed why
+  :host (url-host url-current-object)
+  :service (url-port url-current-object)))
+   (car url-callback-arguments)))
   (url-scgi-activate-callback)
 
 (provide 'url-scgi)



[elpa] externals/url-scgi ce5e1d5fd1 48/48: Release version 0.7

2022-10-28 Thread ELPA Syncer
branch: externals/url-scgi
commit ce5e1d5fd105ac425857923e7c403915ca436d0a
Author: Stefan Kangas 
Commit: Stefan Kangas 

Release version 0.7
---
 url-scgi.el | 7 +++
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/url-scgi.el b/url-scgi.el
index 8a98d9ba94..d1d83ef1fc 100644
--- a/url-scgi.el
+++ b/url-scgi.el
@@ -3,7 +3,7 @@
 ;; Copyright (C) 2011-2022 Free Software Foundation, Inc.
 
 ;; Author: Stefan Kangas 
-;; Version: 0.6
+;; Version: 0.7
 ;; Keywords: comm, data, processes, scgi
 ;; Package-Requires: ((emacs "25.1"))
 ;; URL: https://github.com/skangas/url-scgi/
@@ -39,6 +39,8 @@
 
 ;;; Change Log:
 
+;; 0.7 - Release on GNU ELPA
+
 ;; 0.6 - Documentation fixes
 
 ;; 0.5 - Fix using file socket on Emacs 25
@@ -57,9 +59,6 @@
 (require 'cl-lib)
 (require 'url-parse)
 
-(defvar url-scgi-version "0.6"
-  "The version of scgi that you're using.")
-
 (defvar url-scgi-connection-opened)
 
 (defconst url-scgi-asynchronous-p t "SCGI retrievals are asynchronous.")



[elpa] externals/url-scgi 37f3ce8fa6 22/48: Fix some comments and docstrings

2022-10-28 Thread ELPA Syncer
branch: externals/url-scgi
commit 37f3ce8fa6ef34d76fa085473e4264201ba9b6b0
Author: Stefan Kangas 
Commit: Stefan Kangas 

Fix some comments and docstrings
---
 url-scgi.el | 11 +--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/url-scgi.el b/url-scgi.el
index 13af761e73..3034b10742 100644
--- a/url-scgi.el
+++ b/url-scgi.el
@@ -24,6 +24,8 @@
 
 ;;; Commentary:
 
+;; This is heavily based on the url-http.el library.
+;;
 ;; The SCGI specification document can be found at:
 ;;
 ;; http://python.ca/scgi/protocol.txt
@@ -60,7 +62,7 @@
 (defvar url-request-data)
 
 (defun url-scgi-string-to-netstring (str)
-  "Converts a string into a SCGI protocol netstring."
+  "Convert string STR into a SCGI protocol netstring."
   (format "%d:%s," (length str) str))
 
 (defun url-scgi-add-null-bytes (&rest args)
@@ -88,7 +90,12 @@
 
 ;;;###autoload
 (defun url-scgi (url callback cbargs)
-  "Handle SCGI URLs from internal Emacs functions."
+  "Handle SCGI URLs from internal Emacs functions.
+
+URL must be a parsed URL.  See `url-generic-parse-url' for details.
+
+When retrieval is completed, execute the function CALLBACK, passing it
+an updated value of CBARGS as arguments."
   (if (>= emacs-major-version 26)
   (cl-check-type url url "Need a pre-parsed URL.")
 (cl-check-type url vector "Need a pre-parsed URL."))



[elpa] externals/url-scgi 29dd82f35c 35/48: Add FUNDING.yml

2022-10-28 Thread ELPA Syncer
branch: externals/url-scgi
commit 29dd82f35ca237b5f824f9596e5287c70dd1865b
Author: Stefan Kangas 
Commit: Stefan Kangas 

Add FUNDING.yml
---
 .github/FUNDING.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml
new file mode 100644
index 00..cf3cdf7230
--- /dev/null
+++ b/.github/FUNDING.yml
@@ -0,0 +1 @@
+custom: ["https://www.paypal.me/StefanKangas";]



[elpa] externals/url-scgi a5fa019e7f 21/48: url-scgi: Fix cl-check-type bug on Emacs 26.1

2022-10-28 Thread ELPA Syncer
branch: externals/url-scgi
commit a5fa019e7f8e7a1e477f40b9aa3fe7f8461fe6b1
Author: Stefan Kangas 
Commit: Stefan Kangas 

url-scgi: Fix cl-check-type bug on Emacs 26.1
---
 url-scgi.el | 7 +--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/url-scgi.el b/url-scgi.el
index 5a82a2088b..13af761e73 100644
--- a/url-scgi.el
+++ b/url-scgi.el
@@ -31,6 +31,7 @@
 ;;; Change Log:
 
 ;; 0.5 - Fix using file socket on Emacs 25
+;;   Fix cl-check-type bug on Emacs 26.1
 
 ;; 0.4 - Significant code cleanups
 
@@ -88,7 +89,9 @@
 ;;;###autoload
 (defun url-scgi (url callback cbargs)
   "Handle SCGI URLs from internal Emacs functions."
-  (cl-check-type url vector "Need a pre-parsed URL.")
+  (if (>= emacs-major-version 26)
+  (cl-check-type url url "Need a pre-parsed URL.")
+(cl-check-type url vector "Need a pre-parsed URL."))
   (declare (special url-scgi-connection-opened
 url-callback-function
 url-callback-arguments
@@ -141,7 +144,7 @@
(process-send-string connection (url-scgi-create-request))
 buffer))
 
-(defun url-scgi-sync-open-sentinel (proc why)
+(defun url-scgi-sync-open-sentinel (proc _)
   (when (buffer-name (process-buffer proc))
 (with-current-buffer (process-buffer proc)
   (url-scgi-activate-callback



[elpa] externals/url-scgi 103dd508e1 03/48: url-scgi.el: Support Emacs 24

2022-10-28 Thread ELPA Syncer
branch: externals/url-scgi
commit 103dd508e12172b07c6548a69820c2a6975bb880
Author: Stefan Kangas 
Commit: Stefan Kangas 

url-scgi.el: Support Emacs 24
---
 url-scgi.el | 23 ---
 1 file changed, 8 insertions(+), 15 deletions(-)

diff --git a/url-scgi.el b/url-scgi.el
index 4d1c45d6fc..27c2e00f7b 100644
--- a/url-scgi.el
+++ b/url-scgi.el
@@ -3,7 +3,7 @@
 ;; Copyright (C) 2011 Stefan Kangas.
 
 ;; Author: Stefan Kangas
-;; Version: 0.1
+;; Version: 0.2
 ;; Keywords: comm, data, processes, scgi
 
 ;; This file is NOT part of GNU Emacs.
@@ -29,6 +29,8 @@
 
 ;;; Change Log:
 
+;; 0.2 Support Emacs 24
+
 ;; 0.1 First public version
 
 ;;; Code:
@@ -51,25 +53,16 @@ specification."
 (defun scgi-add-null-bytes (&rest args)
   (apply 'concat (mapcar (lambda (a) (concat a "\000")) args)))
 
-(defmacro scgi-parse-request-header (name desc conv)
-  `(let ((,name (plist-get headers ,(intern
- (concat ":" (symbol-name name))
- (when name
-  (scgi-add-null-bytes ,desc
-   ,(if conv
-(list conv name)
-  name)
-
-(defun scgi-make-request-header (headers)
-  (concat
-   (scgi-parse-request-header length "CONTENT_LENGTH" number-to-string)
-   (scgi-add-null-bytes "SCGI" "1")))
+(defun scgi-make-request-header (data)
+  (scgi-add-null-bytes "CONTENT_LENGTH"
+   (number-to-string (length data))
+   "SCGI" "1"))
 
 (defun url-scgi-create-request ()
   (declare (special url-request-data))
   (concat
(scgi-string-to-netstring
-(scgi-make-request-header `(:length ,(length url-request-data
+(scgi-make-request-header url-request-data))
url-request-data))
 
 (defun url-scgi-activate-callback ()



[elpa] externals/url-scgi 39c2f00c3d 31/48: Update copyright years

2022-10-28 Thread ELPA Syncer
branch: externals/url-scgi
commit 39c2f00c3dfbbd2974ee14f64e2f03e4a025c799
Author: Stefan Kangas 
Commit: Stefan Kangas 

Update copyright years
---
 test/url-scgi-tests.el | 2 +-
 url-scgi.el| 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/url-scgi-tests.el b/test/url-scgi-tests.el
index d73f4ff07b..f3fde50d34 100644
--- a/test/url-scgi-tests.el
+++ b/test/url-scgi-tests.el
@@ -1,6 +1,6 @@
 ;;; url-scgi-tests.el --- Test suite for url-scgi.el -*- lexical-binding: t -*-
 
-;; Copyright (C) 2016-2020 Stefan Kangas.
+;; Copyright (C) 2016-2021 Stefan Kangas.
 
 ;; Author: Stefan Kangas 
 
diff --git a/url-scgi.el b/url-scgi.el
index f79ed77ca1..67364dcac5 100644
--- a/url-scgi.el
+++ b/url-scgi.el
@@ -1,6 +1,6 @@
 ;;; url-scgi.el --- SCGI Uniform Resource Locator retrieval code  -*- 
lexical-binding: t -*-
 
-;; Copyright (C) 2011-2020 Stefan Kangas.
+;; Copyright (C) 2011-2021 Stefan Kangas.
 
 ;; Author: Stefan Kangas 
 ;; Version: 0.5



[elpa] externals/url-scgi a6ceb9f71d 14/48: Silence byte compiler warnings

2022-10-28 Thread ELPA Syncer
branch: externals/url-scgi
commit a6ceb9f71d91be31450cfb01a24f317fecc7cfed
Author: Stefan Kangas 
Commit: Stefan Kangas 

Silence byte compiler warnings
---
 url-scgi.el | 11 ++-
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/url-scgi.el b/url-scgi.el
index b1f34f4c82..3f97657a19 100644
--- a/url-scgi.el
+++ b/url-scgi.el
@@ -46,6 +46,12 @@
 
 (defconst url-scgi-asynchronous-p t "SCGI retrievals are asynchronous.")
 
+;; Silence byte-compiler
+(defvar url-callback-function)
+(defvar url-callback-arguments)
+(defvar url-current-object)
+(defvar url-request-data)
+
 (defun url-scgi-string-to-netstring (str)
   "Converts a string into a SCGI protocol netstring."
   (format "%d:%s," (length str) str))
@@ -60,14 +66,11 @@
 "SCGI" "1")))
 
 (defun url-scgi-create-request ()
-  (declare (special url-request-data))
   (concat (url-scgi-make-request-header url-request-data)
   url-request-data))
 
 (defun url-scgi-activate-callback ()
   "Activate callback specified when this buffer was created."
-  (declare (special url-callback-function
-url-callback-arguments))
   (apply url-callback-function url-callback-arguments))
 
 (defun url-scgi-handle-home-dir (filename)
@@ -135,8 +138,6 @@
 (defun url-scgi-async-sentinel (proc why)
   ;; We are performing an asynchronous connection, and a status change
   ;; has occurred.
-  (declare (special url-callback-arguments
-url-current-object))
   (with-current-buffer (process-buffer proc)
 (cond
  (url-scgi-connection-opened



[elpa] externals/url-scgi 3677ee8e13 17/48: Bump url-scgi.el version to 0.4

2022-10-28 Thread ELPA Syncer
branch: externals/url-scgi
commit 3677ee8e13f3c099ee0640cd1185406908ee36de
Author: Stefan Kangas 
Commit: Stefan Kangas 

Bump url-scgi.el version to 0.4
---
 url-scgi.el | 6 --
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/url-scgi.el b/url-scgi.el
index 6be702a051..2867e40d5c 100644
--- a/url-scgi.el
+++ b/url-scgi.el
@@ -3,7 +3,7 @@
 ;; Copyright (C) 2011-2016 Stefan Kangas.
 
 ;; Author: Stefan Kangas 
-;; Version: 0.3
+;; Version: 0.4
 ;; Keywords: comm, data, processes, scgi
 ;; Package-Requires: ((cl-lib "0.5"))
 
@@ -30,6 +30,8 @@
 
 ;;; Change Log:
 
+;; 0.4 Significant code cleanups
+
 ;; 0.3 Support scgi over local socket
 
 ;; 0.2 Support Emacs 24
@@ -41,7 +43,7 @@
 (require 'cl-lib)
 (require 'url-parse)
 
-(defvar url-scgi-version "0.3"
+(defvar url-scgi-version "0.4"
   "The version of scgi that you're using.")
 
 (defvar url-scgi-connection-opened)



[elpa] externals/url-scgi dae60fe387 20/48: url-scgi: fix local socket on Emacs 25

2022-10-28 Thread ELPA Syncer
branch: externals/url-scgi
commit dae60fe387bb0c6d7712390a373316eee3a7af3a
Author: Stefan Kangas 
Commit: Stefan Kangas 

url-scgi: fix local socket on Emacs 25
---
 url-scgi.el | 19 +--
 1 file changed, 13 insertions(+), 6 deletions(-)

diff --git a/url-scgi.el b/url-scgi.el
index 1158b6502c..5a82a2088b 100644
--- a/url-scgi.el
+++ b/url-scgi.el
@@ -3,7 +3,7 @@
 ;; Copyright (C) 2011-2018 Stefan Kangas.
 
 ;; Author: Stefan Kangas 
-;; Version: 0.4
+;; Version: 0.5
 ;; Keywords: comm, data, processes, scgi
 ;; Package-Requires: ((cl-lib "0.5"))
 
@@ -30,13 +30,15 @@
 
 ;;; Change Log:
 
-;; 0.4 Significant code cleanups
+;; 0.5 - Fix using file socket on Emacs 25
 
-;; 0.3 Support scgi over local socket
+;; 0.4 - Significant code cleanups
 
-;; 0.2 Support Emacs 24
+;; 0.3 - Support scgi over local socket
 
-;; 0.1 First public version
+;; 0.2 - Support Emacs 24
+
+;; 0.1 - First public version
 
 ;;; Code:
 
@@ -135,10 +137,15 @@
;; Asynchronous connection failed
(error "Could not create connection to %s:%d" host port))
   (_
-   (setq url-scgi-connection-opened t)
+   (set-process-sentinel connection 'url-scgi-sync-open-sentinel)
(process-send-string connection (url-scgi-create-request))
 buffer))
 
+(defun url-scgi-sync-open-sentinel (proc why)
+  (when (buffer-name (process-buffer proc))
+(with-current-buffer (process-buffer proc)
+  (url-scgi-activate-callback
+
 (defun url-scgi-async-sentinel (proc why)
   ;; We are performing an asynchronous connection, and a status change
   ;; has occurred.



[elpa] externals/url-scgi 6a9c5d29e6 32/48: Bump version to 0.6

2022-10-28 Thread ELPA Syncer
branch: externals/url-scgi
commit 6a9c5d29e601aa3f74cc66dc34afffddc0cc7977
Author: Stefan Kangas 
Commit: Stefan Kangas 

Bump version to 0.6
---
 url-scgi.el | 6 --
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/url-scgi.el b/url-scgi.el
index 67364dcac5..fd64d83d58 100644
--- a/url-scgi.el
+++ b/url-scgi.el
@@ -3,7 +3,7 @@
 ;; Copyright (C) 2011-2021 Stefan Kangas.
 
 ;; Author: Stefan Kangas 
-;; Version: 0.5
+;; Version: 0.6
 ;; Keywords: comm, data, processes, scgi
 ;; Package-Requires: ((cl-lib "0.5"))
 
@@ -34,6 +34,8 @@
 
 ;;; Change Log:
 
+;; 0.6 - Documentation fixes
+
 ;; 0.5 - Fix using file socket on Emacs 25
 ;;   Fix cl-check-type bug on Emacs 26.1
 
@@ -50,7 +52,7 @@
 (require 'cl-lib)
 (require 'url-parse)
 
-(defvar url-scgi-version "0.5"
+(defvar url-scgi-version "0.6"
   "The version of scgi that you're using.")
 
 (defvar url-scgi-connection-opened)



[elpa] externals/url-scgi ce841acadd 26/48: Small cleanups

2022-10-28 Thread ELPA Syncer
branch: externals/url-scgi
commit ce841acadd78f854dfce08aad5ddbfe79a1a7b57
Author: Stefan Kangas 
Commit: Stefan Kangas 

Small cleanups
---
 test/url-scgi-tests.el | Bin 1760 -> 1813 bytes
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/test/url-scgi-tests.el b/test/url-scgi-tests.el
index 0184bc2c49..76db309b5f 100644
Binary files a/test/url-scgi-tests.el and b/test/url-scgi-tests.el differ



[elpa] externals/url-scgi 188ead4516 43/48: Add .elpaignore for GNU ELPA

2022-10-28 Thread ELPA Syncer
branch: externals/url-scgi
commit 188ead4516de786175395a5be3b87634569e65ad
Author: Stefan Kangas 
Commit: Stefan Kangas 

Add .elpaignore for GNU ELPA
---
 .elpaignore | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.elpaignore b/.elpaignore
new file mode 100644
index 00..b8d499e0d2
--- /dev/null
+++ b/.elpaignore
@@ -0,0 +1,2 @@
+.github
+COPYING



[elpa] externals/url-scgi 3686dad2bd 04/48: Cleanups in url-scgi.el

2022-10-28 Thread ELPA Syncer
branch: externals/url-scgi
commit 3686dad2bdb72a619381dd1349174c9889b45e31
Author: Stefan Kangas 
Commit: Stefan Kangas 

Cleanups in url-scgi.el
---
 url-scgi.el | 79 +++--
 1 file changed, 24 insertions(+), 55 deletions(-)

diff --git a/url-scgi.el b/url-scgi.el
index 27c2e00f7b..09dc501d09 100644
--- a/url-scgi.el
+++ b/url-scgi.el
@@ -37,33 +37,26 @@
 
 (eval-when-compile (require 'cl))
 
-(defvar url-scgi-content-length)
-(defvar url-scgi-content-type)
 (defvar url-scgi-connection-opened)
-
 (defconst url-scgi-asynchronous-p t "SCGI retrievals are asynchronous.")
 
 (defun scgi-string-to-netstring (str)
-  "Converts a string into a netstring as defined by the SCGI
-specification."
-  (let ((len (length str)))
-(concat (number-to-string len)
-":" str ",")))
+  "Converts a string into a SCGI protocol netstring."
+  (format "%d:%s," (length str) str))
 
 (defun scgi-add-null-bytes (&rest args)
   (apply 'concat (mapcar (lambda (a) (concat a "\000")) args)))
 
 (defun scgi-make-request-header (data)
-  (scgi-add-null-bytes "CONTENT_LENGTH"
-   (number-to-string (length data))
-   "SCGI" "1"))
+  (scgi-string-to-netstring
+   (scgi-add-null-bytes
+"CONTENT_LENGTH" (number-to-string (length data))
+"SCGI" "1")))
 
 (defun url-scgi-create-request ()
   (declare (special url-request-data))
-  (concat
-   (scgi-string-to-netstring
-(scgi-make-request-header url-request-data))
-   url-request-data))
+  (concat (scgi-make-request-header url-request-data)
+  url-request-data))
 
 (defun url-scgi-activate-callback ()
   "Activate callback specified when this buffer was created."
@@ -71,27 +64,8 @@ specification."
url-callback-arguments))
   (apply url-callback-function url-callback-arguments))
 
-(defun url-scgi-parse-headers ()
-  (declare (special url-scgi-content-length
-url-scgi-content-type))
-  (save-restriction
-(save-match-data
-  (mail-narrow-to-head)
-  (goto-char (point-min))
-  (while (re-search-forward "\r$" nil t)
-(replace-match ""))
-  (let ((status (mail-fetch-field "status"))
-(content-length (mail-fetch-field "content-length"))
-(content-type (mail-fetch-field "content-type")))
-(when content-length
-  (setq url-scgi-content-length content-length))
-(when content-type
-  (setq url-scgi-content-length content-type))
-(when (and status (not (equal status "200 OK")))
-  (error (message (concat "Got status response: " status)))
-  t)
-
 (defun url-scgi-get-connection (host port)
+  "Set up a new connection and return it."
   (let ((buf (generate-new-buffer " *url-scgi-temp*")))
 ;; `url-open-stream' needs a buffer in which to do things
 ;; like authentication.  But we use another buffer afterwards.
@@ -114,7 +88,8 @@ specification."
   (let* ((host (url-host url))
 (port (url-port url))
 (connection (url-scgi-get-connection host port))
-(buffer (generate-new-buffer (format " *scgi %s:%d*" host port
+(buffer (generate-new-buffer
+  (format " *scgi %s:%d*" host port
 (if (not connection)
;; Failed to open the connection for some reason
(progn
@@ -122,13 +97,10 @@ specification."
  (setq buffer nil)
  (error "Could not create connection to %s:%d" host port))
   (with-current-buffer buffer
-   (mm-disable-multibyte)
(setq url-current-object url
  mode-line-format "%b [%s]")
 
(dolist (var '(url-scgi-connection-opened
-   url-scgi-content-type
-  url-scgi-content-length
   url-callback-function
   url-callback-arguments))
  (set (make-local-variable var) nil))
@@ -138,23 +110,26 @@ specification."
  url-scgi-connection-opened nil)
 
(set-process-buffer connection buffer)
-   (set-process-filter connection 'url-scgi-filter)
-(set-process-sentinel connection 'url-scgi-async-sentinel)
-   (let ((status (process-status connection)))
-  (cond ((eq status 'failed)
- (error "Could not create connection to %s:%d" host port))  
-((eq status 'open)
- (process-send-string connection (url-scgi-create-request))
- (setq url-scgi-connection-opened t))
+   (pcase (process-status connection)
+  (`connect
+   ;; Asynchronous connection
+   (set-process-sentinel connection 'url-scgi-async-sentinel))
+  (`failed
+   ;; Asynchronous connection failed
+   (error "Could not create connection to %s:%d" host port))
+  (_
+   (setq url-scgi-connection-opened t)
+   (process-send-string connection (url-scgi-create-request))
 buffer))
 
 (defun 

[elpa] externals/url-scgi efd8de5ec8 09/48: url-scgi: fix compile time warning

2022-10-28 Thread ELPA Syncer
branch: externals/url-scgi
commit efd8de5ec892bf66f63314f91cfcbbcb40d4c66f
Author: Stefan Kangas 
Commit: Stefan Kangas 

url-scgi: fix compile time warning
---
 url-scgi.el | 8 +---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/url-scgi.el b/url-scgi.el
index 55c2fae60f..9f3b57d955 100644
--- a/url-scgi.el
+++ b/url-scgi.el
@@ -37,7 +37,7 @@
 
 ;;; Code:
 
-(eval-when-compile (require 'cl))
+(require 'url-parse)
 
 (defvar url-scgi-version "0.3"
   "The version of scgi that you're using.")
@@ -85,7 +85,8 @@
   (check-type url vector "Need a pre-parsed URL.")
   (declare (special url-scgi-connection-opened
url-callback-function
-   url-callback-arguments))
+url-callback-arguments
+url-current-object))
 
   (let* ((host (url-host url))
  (port (url-port url))
@@ -137,7 +138,8 @@
 (defun url-scgi-async-sentinel (proc why)
   ;; We are performing an asynchronous connection, and a status change
   ;; has occurred.
-  (declare (special url-callback-arguments))
+  (declare (special url-callback-arguments
+url-current-object))
   (with-current-buffer (process-buffer proc)
 (cond
  (url-scgi-connection-opened



[elpa] externals/url-scgi 9cd54cd963 23/48: Bump copyright year to 2019

2022-10-28 Thread ELPA Syncer
branch: externals/url-scgi
commit 9cd54cd963062b5446e218f9ad4478f5f921984b
Author: Stefan Kangas 
Commit: Stefan Kangas 

Bump copyright year to 2019
---
 test/url-scgi-tests.el | Bin 1752 -> 1757 bytes
 url-scgi.el|   2 +-
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/url-scgi-tests.el b/test/url-scgi-tests.el
index b39169933a..8177a43984 100644
Binary files a/test/url-scgi-tests.el and b/test/url-scgi-tests.el differ
diff --git a/url-scgi.el b/url-scgi.el
index 3034b10742..f8c0d3c531 100644
--- a/url-scgi.el
+++ b/url-scgi.el
@@ -1,6 +1,6 @@
 ;;; url-scgi.el --- SCGI Uniform Resource Locator retrieval code  -*- 
lexical-binding: t -*-
 
-;; Copyright (C) 2011-2018 Stefan Kangas.
+;; Copyright (C) 2011-2019 Stefan Kangas.
 
 ;; Author: Stefan Kangas 
 ;; Version: 0.5



[elpa] externals/url-scgi 31faa9cb59 24/48: Add make target for tests

2022-10-28 Thread ELPA Syncer
branch: externals/url-scgi
commit 31faa9cb59a128856b08522cc8618fc2ca6955fa
Author: Stefan Kangas 
Commit: Stefan Kangas 

Add make target for tests
---
 test/url-scgi-tests.el | Bin 1757 -> 1777 bytes
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/test/url-scgi-tests.el b/test/url-scgi-tests.el
index 8177a43984..6b9cdafafe 100644
Binary files a/test/url-scgi-tests.el and b/test/url-scgi-tests.el differ



[elpa] externals/url-scgi 44ee68353b 12/48: url-scgi: Add first unit tests

2022-10-28 Thread ELPA Syncer
branch: externals/url-scgi
commit 44ee68353b4ba64b1c01ac04bc74f1ddf61af791
Author: Stefan Kangas 
Commit: Stefan Kangas 

url-scgi: Add first unit tests
---
 test/url-scgi-tests.el | Bin 0 -> 1752 bytes
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/test/url-scgi-tests.el b/test/url-scgi-tests.el
new file mode 100644
index 00..b39169933a
Binary files /dev/null and b/test/url-scgi-tests.el differ



[elpa] externals/url-scgi ebd6d8dae1 42/48: Simplify url-scgi-add-null-bytes

2022-10-28 Thread ELPA Syncer
branch: externals/url-scgi
commit ebd6d8dae18d34ac6b0aab2c63daa633665567be
Author: Stefan Kangas 
Commit: Stefan Kangas 

Simplify url-scgi-add-null-bytes
---
 url-scgi.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/url-scgi.el b/url-scgi.el
index baafc360ba..e1992d18f4 100644
--- a/url-scgi.el
+++ b/url-scgi.el
@@ -77,7 +77,7 @@
   (format "%d:%s," (length str) str))
 
 (defun url-scgi-add-null-bytes (&rest args)
-  (apply 'concat (mapcar (lambda (a) (concat a "\000")) args)))
+  (mapconcat (lambda (a) (concat a "\000")) args))
 
 (defun url-scgi-make-request-header (data)
   (url-scgi-string-to-netstring



[elpa] externals/url-scgi b81666ed2b 38/48: Add README and improve documentation

2022-10-28 Thread ELPA Syncer
branch: externals/url-scgi
commit b81666ed2b6b5a49532996652e8d7af7132bcd58
Author: Stefan Kangas 
Commit: Stefan Kangas 

Add README and improve documentation
---
 README.org  | 32 
 url-scgi.el | 13 +
 2 files changed, 41 insertions(+), 4 deletions(-)

diff --git a/README.org b/README.org
new file mode 100644
index 00..6df5b97f15
--- /dev/null
+++ b/README.org
@@ -0,0 +1,32 @@
+#+TITLE:  url-scgi.el
+#+DATE:   2022-09-22
+#+AUTHOR: Stefan Kangas 
+
+This library add support for SCGI URLs to Emacs.  It is based on url.el, which
+is shipped with Emacs.
+
+The SCGI specification is available 
[[https://python.ca/scgi/protocol.txt][here]].  There is 
[[file:doc/scgi-protocol.txt][a copy]] in this repository.
+
+* Installation
+
+url-scgi.el is available on [[https://elpa.gnu.org/][GNU ELPA]], which is 
enabled by default in Emacs.
+
+Find and install url-sgi.el using this command:
+
+: M-x list-packages
+
+* Usage
+
+ Usage, with xml-rpc.el:
+
+: (require 'url-scgi)
+: (xml-rpc-method-call "scgi://localhost:5000" "some.method")
+
+* Contact
+
+You can find the latest version of url-scgi.el here:
+
+https://www.github.com/skangas/url-scgi
+
+Bug reports, comments, and suggestions are welcome! Send them to Stefan Kangas
+ or report them on GitHub.
diff --git a/url-scgi.el b/url-scgi.el
index bff17ad518..9cbfc034b3 100644
--- a/url-scgi.el
+++ b/url-scgi.el
@@ -1,6 +1,6 @@
-;;; url-scgi.el --- SCGI Uniform Resource Locator retrieval code  -*- 
lexical-binding: t -*-
+;;; url-scgi.el --- SCGI support for url.el  -*- lexical-binding: t -*-
 
-;; Copyright (C) 2011-2022 Stefan Kangas.
+;; Copyright (C) 2011-2022 Stefan Kangas 
 
 ;; Author: Stefan Kangas 
 ;; Version: 0.6
@@ -24,11 +24,16 @@
 
 ;;; Commentary:
 
-;; Support for SCGI URLs.
+;; Support for SCGI URLs in Emacs, with url.el.
 ;;
 ;; The SCGI specification document can be found at:
 ;;
-;; https://python.ca/scgi/protocol.txt
+;; https://python.ca/scgi/protocol.txt
+;;
+;; Usage, with xml-rpc.el:
+;;
+;; (require 'url-scgi)
+;; (xml-rpc-method-call "scgi://localhost:5000" "some.method")
 ;;
 ;; This is heavily based on the url-http.el library.
 



[elpa] externals/url-scgi 081bd15dd1 29/48: Fix url-scgi description

2022-10-28 Thread ELPA Syncer
branch: externals/url-scgi
commit 081bd15dd1875957f7df377605aefa8d80999432
Author: Stefan Kangas 
Commit: Stefan Kangas 

Fix url-scgi description
---
 url-scgi.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/url-scgi.el b/url-scgi.el
index 5e3f5a7ab0..f79ed77ca1 100644
--- a/url-scgi.el
+++ b/url-scgi.el
@@ -24,11 +24,13 @@
 
 ;;; Commentary:
 
-;; This is heavily based on the url-http.el library.
+;; Support for SCGI URLs.
 ;;
 ;; The SCGI specification document can be found at:
 ;;
 ;; https://python.ca/scgi/protocol.txt
+;;
+;; This is heavily based on the url-http.el library.
 
 ;;; Change Log:
 



[elpa] externals/url-scgi 63f5304d1f 19/48: Bump copyright year to 2018

2022-10-28 Thread ELPA Syncer
branch: externals/url-scgi
commit 63f5304d1f7cf82ec7c43f00a8a339b88a2eb4b6
Author: Stefan Kangas 
Commit: Stefan Kangas 

Bump copyright year to 2018
---
 url-scgi.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/url-scgi.el b/url-scgi.el
index 36792cda27..1158b6502c 100644
--- a/url-scgi.el
+++ b/url-scgi.el
@@ -1,6 +1,6 @@
 ;;; url-scgi.el --- SCGI Uniform Resource Locator retrieval code  -*- 
lexical-binding: t -*-
 
-;; Copyright (C) 2011-2017 Stefan Kangas.
+;; Copyright (C) 2011-2018 Stefan Kangas.
 
 ;; Author: Stefan Kangas 
 ;; Version: 0.4



[elpa] externals/url-scgi 66a7d265ff 13/48: Fix the workaround for bug in xml-rpc.el

2022-10-28 Thread ELPA Syncer
branch: externals/url-scgi
commit 66a7d265ffd0501a75ad02d88b27fb2b6462c5c1
Author: Stefan Kangas 
Commit: Stefan Kangas 

Fix the workaround for bug in xml-rpc.el
---
 url-scgi.el | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/url-scgi.el b/url-scgi.el
index 595dca855d..b1f34f4c82 100644
--- a/url-scgi.el
+++ b/url-scgi.el
@@ -44,9 +44,6 @@
 
 (defvar url-scgi-connection-opened)
 
-;; This is a hack to keep xmlrpc.el happy for now.  Ugh.
-(defvar url-http-response-status 200)
-
 (defconst url-scgi-asynchronous-p t "SCGI retrievals are asynchronous.")
 
 (defun url-scgi-string-to-netstring (str)



[elpa] externals/url-scgi 0c75eb1b17 37/48: Add .gitignore

2022-10-28 Thread ELPA Syncer
branch: externals/url-scgi
commit 0c75eb1b17b6f94b181d3448cdfa328d79e59d3f
Author: Stefan Kangas 
Commit: Stefan Kangas 

Add .gitignore
---
 .gitignore | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00..cf76d715e3
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+\.\#*
+\#*
+*.elc



[elpa] externals/url-scgi e8eeb679c6 27/48: Update copyright year

2022-10-28 Thread ELPA Syncer
branch: externals/url-scgi
commit e8eeb679c6f58fca3f6abdb87b43e44147c765b1
Author: Stefan Kangas 
Commit: Stefan Kangas 

Update copyright year
---
 url-scgi.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/url-scgi.el b/url-scgi.el
index f77f2dfc4e..bdee862473 100644
--- a/url-scgi.el
+++ b/url-scgi.el
@@ -1,6 +1,6 @@
 ;;; url-scgi.el --- SCGI Uniform Resource Locator retrieval code  -*- 
lexical-binding: t -*-
 
-;; Copyright (C) 2011-2019 Stefan Kangas.
+;; Copyright (C) 2011-2020 Stefan Kangas.
 
 ;; Author: Stefan Kangas 
 ;; Version: 0.5



[elpa] externals/url-scgi c5a548ac36 30/48: Fix quoting of characters

2022-10-28 Thread ELPA Syncer
branch: externals/url-scgi
commit c5a548ac369b3f629525f3694da168838066bfcb
Author: Stefan Kangas 
Commit: Stefan Kangas 

Fix quoting of characters
---
 test/url-scgi-tests.el | Bin 1813 -> 1835 bytes
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/test/url-scgi-tests.el b/test/url-scgi-tests.el
index 76db309b5f..d73f4ff07b 100644
Binary files a/test/url-scgi-tests.el and b/test/url-scgi-tests.el differ



[elpa] externals/url-scgi 9c9170a7c3 33/48: Re-indent

2022-10-28 Thread ELPA Syncer
branch: externals/url-scgi
commit 9c9170a7c3e806e484417f422dde029d19cdcf7c
Author: Stefan Kangas 
Commit: Stefan Kangas 

Re-indent
---
 url-scgi.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/url-scgi.el b/url-scgi.el
index fd64d83d58..0b8db8c1f3 100644
--- a/url-scgi.el
+++ b/url-scgi.el
@@ -119,9 +119,9 @@ an updated value of CBARGS as arguments."
  (connection (cond
   (is-local-socket
(let ((filename (url-scgi-handle-home-dir filename)))
-(make-network-process :name "scgi"
-  :buffer buffer
-  :remote filename)))
+ (make-network-process :name "scgi"
+   :buffer buffer
+   :remote filename)))
   (t ; scgi over tcp
(url-open-stream host buffer host port)
 (if (not connection)



[elpa] externals/url-scgi 62a6cf9305 07/48: Update documentation and add new doc/ directory

2022-10-28 Thread ELPA Syncer
branch: externals/url-scgi
commit 62a6cf93053cfcfd05357fe86316fc02636e4d2e
Author: Stefan Kangas 
Commit: Stefan Kangas 

Update documentation and add new doc/ directory
---
 doc/scgi-protocol.txt | 101 ++
 1 file changed, 101 insertions(+)

diff --git a/doc/scgi-protocol.txt b/doc/scgi-protocol.txt
new file mode 100644
index 00..34c128005f
--- /dev/null
+++ b/doc/scgi-protocol.txt
@@ -0,0 +1,101 @@
+SCGI: A Simple Common Gateway Interface alternative
+Neil Schemenauer 
+2008-06-23 
+
+1. Introduction
+
+The SCGI protocol is a replacement for the Common Gateway Interface
+(CGI) protocol.  It is a standard for applications to interface with
+HTTP servers.  It is similar to FastCGI but is designed to be easier
+to implement.
+
+In this document, a string of 8-bit bytes may be written in two
+different forms: as a series of hexadecimal numbers between angle
+brackets, or as a sequence of ASCII characters between double quotes.
+For example, <68 65 6c 6c 6f 20 77 6f 72 6c 64 21> is a string of
+length 12; it is the same as the string "hello world!". Note that
+these notations are part of this document, not part of the protocol.
+
+
+2. Protocol
+
+The client connects to a SCGI server over a reliable stream protocol
+allowing transmission of 8-bit bytes.  The client begins by sending a
+request.  See section 3 for the format of the request.  When the SCGI
+server sees the end of the request it sends back a response and closes
+the connection.  The format of the response is not specified by this
+protocol.
+
+
+3. Request Format
+
+A request consists of a number of headers and a body.  The format of
+the headers is:
+
+headers ::= header*
+header ::= name NUL value NUL
+name ::= notnull+
+value ::= notnull*
+notnull ::= <01> | <02> | <03> | ... | 
+NUL = <00>
+
+Duplicate names are not allowed in the headers.  The first header
+must have the name "CONTENT_LENGTH" and a value that is a nonempty
+sequence of ASCII digits giving the of the body length in decimal.
+The "CONTENT_LENGTH" header must always be present, even if its
+value is "0".  There must also always be a header with the name
+"SCGI" and a value of "1".  In order to facilitate the transition
+from CGI, standard CGI environment variables should be provided as
+SCGI headers.  
+
+The headers are sent encoded as a netstring.  Netstring encoding is
+explained in section 4.  The body is sent following the headers and
+its length is specified by the "CONTENT_LENGTH" header.
+
+
+4. Netstrings
+
+Any string of 8-bit bytes may be encoded as [len]":"[string]",".  Here
+[string] is the string and [len] is a nonempty sequence of ASCII
+digits giving the length of [string] in decimal. The ASCII digits are
+<30> for 0, <31> for 1, and so on up through <39> for 9. Extra zeros
+at the front of [len] are prohibited: [len] begins with <30> exactly
+when [string] is empty.
+
+For example, the string "hello world!" is encoded as <31 32 3a 68 65
+6c 6c 6f 20 77 6f 72 6c 64 21 2c>, i.e., "12:hello world!,". The empty
+string is encoded as "0:,".
+
+[len]":"[string]"," is called a netstring. [string] is called the
+interpretation of the netstring.
+
+
+5. Example
+
+The web server (a SCGI client) opens a connection and sends the
+concatenation of the following strings:
+
+"70:"
+"CONTENT_LENGTH" <00> "27" <00>
+"SCGI" <00> "1" <00>
+"REQUEST_METHOD" <00> "POST" <00>
+"REQUEST_URI" <00> "/deepthought" <00>
+","
+"What is the answer to life?"
+
+The SCGI server sends the following response:
+
+"Status: 200 OK" <0d 0a>
+"Content-Type: text/plain" <0d 0a>
+"" <0d 0a>
+"42"
+
+The SCGI server closes the connection. 
+
+
+6. Copyright
+
+This document has been placed in the public domain.
+
+
+/* vim: set ai tw=74 et sw=4 sts=4: */



[elpa] externals/url-scgi 1f76fba6a2 06/48: Use lexical binding

2022-10-28 Thread ELPA Syncer
branch: externals/url-scgi
commit 1f76fba6a2dd322e36ff9d42d3f57f671f7ac9ae
Author: Stefan Kangas 
Commit: Stefan Kangas 

Use lexical binding
---
 url-scgi.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/url-scgi.el b/url-scgi.el
index 4e3f98cfe5..733c96a593 100644
--- a/url-scgi.el
+++ b/url-scgi.el
@@ -1,6 +1,6 @@
 ;;; url-scgi.el --- SCGI Uniform Resource Locator retrieval code
 
-;; Copyright (C) 2011 Stefan Kangas.
+;; Copyright (C) 2011-2016 Stefan Kangas.
 
 ;; Author: Stefan Kangas
 ;; Version: 0.2
@@ -38,6 +38,7 @@
 (eval-when-compile (require 'cl))
 
 (defvar url-scgi-connection-opened)
+(defvar url-http-response-status 200)
 (defconst url-scgi-asynchronous-p t "SCGI retrievals are asynchronous.")
 
 (defun scgi-string-to-netstring (str)



[elpa] externals/url-scgi 2b22e6ffa9 11/48: url-scgi: Fix naming to not clutter namespace

2022-10-28 Thread ELPA Syncer
branch: externals/url-scgi
commit 2b22e6ffa9db2daaa55de85580f91b0d8992e522
Author: Stefan Kangas 
Commit: Stefan Kangas 

url-scgi: Fix naming to not clutter namespace
---
 url-scgi.el | 12 ++--
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/url-scgi.el b/url-scgi.el
index 18ab03c390..595dca855d 100644
--- a/url-scgi.el
+++ b/url-scgi.el
@@ -49,22 +49,22 @@
 
 (defconst url-scgi-asynchronous-p t "SCGI retrievals are asynchronous.")
 
-(defun scgi-string-to-netstring (str)
+(defun url-scgi-string-to-netstring (str)
   "Converts a string into a SCGI protocol netstring."
   (format "%d:%s," (length str) str))
 
-(defun scgi-add-null-bytes (&rest args)
+(defun url-scgi-add-null-bytes (&rest args)
   (apply 'concat (mapcar (lambda (a) (concat a "\000")) args)))
 
-(defun scgi-make-request-header (data)
-  (scgi-string-to-netstring
-   (scgi-add-null-bytes
+(defun url-scgi-make-request-header (data)
+  (url-scgi-string-to-netstring
+   (url-scgi-add-null-bytes
 "CONTENT_LENGTH" (number-to-string (length data))
 "SCGI" "1")))
 
 (defun url-scgi-create-request ()
   (declare (special url-request-data))
-  (concat (scgi-make-request-header url-request-data)
+  (concat (url-scgi-make-request-header url-request-data)
   url-request-data))
 
 (defun url-scgi-activate-callback ()



[elpa] externals/url-scgi cef4617f2e 36/48: Add .dir-locals.el

2022-10-28 Thread ELPA Syncer
branch: externals/url-scgi
commit cef4617f2ea7e02c2cad029dc32aa895fb677c5d
Author: Stefan Kangas 
Commit: Stefan Kangas 

Add .dir-locals.el
---
 .dir-locals.el | 6 ++
 test/url-scgi-tests.el | 3 ---
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/.dir-locals.el b/.dir-locals.el
new file mode 100644
index 00..253405bad4
--- /dev/null
+++ b/.dir-locals.el
@@ -0,0 +1,6 @@
+;;; Directory Local Variables
+;;; For more information see (info "(emacs) Directory Variables")
+
+((nil . ((sentence-end-double-space . t)))
+ (emacs-lisp-mode . ((indent-tabs-mode . nil)))
+ (lisp-data-mode . ((indent-tabs-mode . nil
diff --git a/test/url-scgi-tests.el b/test/url-scgi-tests.el
index eafb1a6ed8..05dca48e5b 100644
--- a/test/url-scgi-tests.el
+++ b/test/url-scgi-tests.el
@@ -47,7 +47,4 @@
  (expand-file-name "~/foo")))
   (should (equal (url-scgi-handle-home-dir "/foo") "/foo")))
 
-;; Local Variables:
-;; indent-tabs-mode: nil
-;; End:
 ;;; url-scgi-tests.el ends here



[elpa] externals/url-scgi 9d190583bd 25/48: Prefer https in documentation

2022-10-28 Thread ELPA Syncer
branch: externals/url-scgi
commit 9d190583bd5bc8a15ce511ea0c0b92aa46a1c0aa
Author: Stefan Kangas 
Commit: Stefan Kangas 

Prefer https in documentation
---
 test/url-scgi-tests.el | Bin 1777 -> 1760 bytes
 url-scgi.el|   4 ++--
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/url-scgi-tests.el b/test/url-scgi-tests.el
index 6b9cdafafe..0184bc2c49 100644
Binary files a/test/url-scgi-tests.el and b/test/url-scgi-tests.el differ
diff --git a/url-scgi.el b/url-scgi.el
index f8c0d3c531..f77f2dfc4e 100644
--- a/url-scgi.el
+++ b/url-scgi.el
@@ -20,7 +20,7 @@
 ;; GNU General Public License for more details.
 
 ;; You should have received a copy of the GNU General Public License
-;; along with this program.  If not, see .
+;; along with this program.  If not, see .
 
 ;;; Commentary:
 
@@ -28,7 +28,7 @@
 ;;
 ;; The SCGI specification document can be found at:
 ;;
-;; http://python.ca/scgi/protocol.txt
+;; https://python.ca/scgi/protocol.txt
 
 ;;; Change Log:
 



[elpa] externals/url-scgi 6cccb4b222 28/48: Bump url-scgi-version version to match header

2022-10-28 Thread ELPA Syncer
branch: externals/url-scgi
commit 6cccb4b222eb5250e7d4b23d615c578c8aeba3ea
Author: Stefan Kangas 
Commit: Stefan Kangas 

Bump url-scgi-version version to match header
---
 url-scgi.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/url-scgi.el b/url-scgi.el
index bdee862473..5e3f5a7ab0 100644
--- a/url-scgi.el
+++ b/url-scgi.el
@@ -48,7 +48,7 @@
 (require 'cl-lib)
 (require 'url-parse)
 
-(defvar url-scgi-version "0.4"
+(defvar url-scgi-version "0.5"
   "The version of scgi that you're using.")
 
 (defvar url-scgi-connection-opened)



[elpa] externals/url-scgi 248962b6d6 08/48: url-scgi: Fix scgi socket on absolute path

2022-10-28 Thread ELPA Syncer
branch: externals/url-scgi
commit 248962b6d68e10106aa70b7bb468821c688f1fcf
Author: Stefan Kangas 
Commit: Stefan Kangas 

url-scgi: Fix scgi socket on absolute path
---
 url-scgi.el | 25 +
 1 file changed, 17 insertions(+), 8 deletions(-)

diff --git a/url-scgi.el b/url-scgi.el
index 733c96a593..55c2fae60f 100644
--- a/url-scgi.el
+++ b/url-scgi.el
@@ -2,8 +2,8 @@
 
 ;; Copyright (C) 2011-2016 Stefan Kangas.
 
-;; Author: Stefan Kangas
-;; Version: 0.2
+;; Author: Stefan Kangas 
+;; Version: 0.3
 ;; Keywords: comm, data, processes, scgi
 
 ;; This file is NOT part of GNU Emacs.
@@ -29,6 +29,8 @@
 
 ;;; Change Log:
 
+;; 0.3 Support scgi over local socket
+
 ;; 0.2 Support Emacs 24
 
 ;; 0.1 First public version
@@ -37,8 +39,14 @@
 
 (eval-when-compile (require 'cl))
 
+(defvar url-scgi-version "0.3"
+  "The version of scgi that you're using.")
+
 (defvar url-scgi-connection-opened)
+
+;; This is a hack to keep xmlrpc.el happy for now.  Ugh.
 (defvar url-http-response-status 200)
+
 (defconst url-scgi-asynchronous-p t "SCGI retrievals are asynchronous.")
 
 (defun scgi-string-to-netstring (str)
@@ -82,17 +90,18 @@
   (let* ((host (url-host url))
  (port (url-port url))
  (filename (url-filename url))
- (buffer (generate-new-buffer
-  (format " *scgi %s:%d%s*" host port filename)))
+ (is-local-socket (string-match "^/." filename))
+ (bufname (format " *scgi %s*" (if is-local-socket
+   filename
+ (format "%s:%d" host port
+ (buffer (generate-new-buffer bufname))
  (connection (cond
-  ((string-match "^/." filename)
-   ;; local socket
+  (is-local-socket
(let ((filename (url-scgi-handle-home-dir filename)))
 (make-network-process :name "scgi"
   :buffer buffer
   :remote filename)))
-  (t
-   ;; networked scgi
+  (t ; scgi over tcp
(url-open-stream host buffer host port)
 (if (not connection)
 ;; Failed to open the connection for some reason



[elpa] externals/url-scgi e9e8323d86 15/48: Use new 'cl-lib rather than old 'cl

2022-10-28 Thread ELPA Syncer
branch: externals/url-scgi
commit e9e8323d861eae85455aab525126725fc7d8a620
Author: Stefan Kangas 
Commit: Stefan Kangas 

Use new 'cl-lib rather than old 'cl
---
 url-scgi.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/url-scgi.el b/url-scgi.el
index 3f97657a19..d95a298511 100644
--- a/url-scgi.el
+++ b/url-scgi.el
@@ -5,6 +5,7 @@
 ;; Author: Stefan Kangas 
 ;; Version: 0.3
 ;; Keywords: comm, data, processes, scgi
+;; Package-Requires: ((cl-lib "0.5"))
 
 ;; This file is NOT part of GNU Emacs.
 
@@ -37,6 +38,7 @@
 
 ;;; Code:
 
+(require 'cl-lib)
 (require 'url-parse)
 
 (defvar url-scgi-version "0.3"
@@ -82,7 +84,7 @@
 ;;;###autoload
 (defun url-scgi (url callback cbargs)
   "Handle SCGI URLs from internal Emacs functions."
-  (check-type url vector "Need a pre-parsed URL.")
+  (cl-check-type url vector "Need a pre-parsed URL.")
   (declare (special url-scgi-connection-opened
 url-callback-function
 url-callback-arguments



[elpa] externals/url-scgi 751b95e345 44/48: Update copyright and license for GNU ELPA

2022-10-28 Thread ELPA Syncer
branch: externals/url-scgi
commit 751b95e345f0dfb08a971b9ebb598335c4b57a48
Author: Stefan Kangas 
Commit: Stefan Kangas 

Update copyright and license for GNU ELPA
---
 url-scgi-tests.el | 10 --
 url-scgi.el   |  6 ++
 2 files changed, 6 insertions(+), 10 deletions(-)

diff --git a/url-scgi-tests.el b/url-scgi-tests.el
index 05dca48e5b..c0131fcf6d 100644
--- a/url-scgi-tests.el
+++ b/url-scgi-tests.el
@@ -1,23 +1,21 @@
 ;;; url-scgi-tests.el --- Test suite for url-scgi.el -*- lexical-binding: t -*-
 
-;; Copyright (C) 2016-2022 Stefan Kangas.
+;; Copyright (C) 2016-2022 Free Software Foundation, Inc.
 
 ;; Author: Stefan Kangas 
 
-;; This file is NOT part of GNU Emacs.
-
-;; Mentor is free software: you can redistribute it and/or modify
+;; 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
 ;; the Free Software Foundation, either version 3 of the License, or
 ;; (at your option) any later version.
 
-;; Mentor is distributed in the hope that it will be useful,
+;; This program is distributed in the hope that it will be useful,
 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 ;; GNU General Public License for more details.
 
 ;; You should have received a copy of the GNU General Public License
-;; along with Mentor.  If not, see .
+;; along with this program.  If not, see .
 
 ;;; Commentary:
 
diff --git a/url-scgi.el b/url-scgi.el
index e1992d18f4..4130159f65 100644
--- a/url-scgi.el
+++ b/url-scgi.el
@@ -1,6 +1,6 @@
 ;;; url-scgi.el --- SCGI support for url.el  -*- lexical-binding: t -*-
 
-;; Copyright (C) 2011-2022 Stefan Kangas 
+;; Copyright (C) 2011-2022 Free Software Foundation, Inc.
 
 ;; Author: Stefan Kangas 
 ;; Version: 0.6
@@ -9,9 +9,7 @@
 ;; URL: https://github.com/skangas/url-scgi/
 ;; SPDX-License-Identifier: GPL-3.0-or-later
 
-;; This file is NOT part of GNU Emacs.
-
-;; This program is free software: you can redistribute it and/or modify
+;; 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
 ;; the Free Software Foundation, either version 3 of the License, or
 ;; (at your option) any later version.



[elpa] externals/url-scgi 7d4b072aa6 45/48: Comment out stray declare form

2022-10-28 Thread ELPA Syncer
branch: externals/url-scgi
commit 7d4b072aa6a994511505d12e321f9c606ecbb357
Author: Stefan Kangas 
Commit: Stefan Kangas 

Comment out stray declare form
---
 url-scgi.el | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/url-scgi.el b/url-scgi.el
index 4130159f65..8a98d9ba94 100644
--- a/url-scgi.el
+++ b/url-scgi.el
@@ -108,10 +108,10 @@ an updated value of CBARGS as arguments."
   (if (>= emacs-major-version 26)
   (cl-check-type url url "Need a pre-parsed URL.")
 (cl-check-type url vector "Need a pre-parsed URL."))
-  (declare (special url-scgi-connection-opened
-url-callback-function
-url-callback-arguments
-url-current-object))
+  ;; (declare (special url-scgi-connection-opened
+  ;;   url-callback-function
+  ;;   url-callback-arguments
+  ;;   url-current-object))
 
   (let* ((host (url-host url))
  (port (url-port url))



[elpa] externals/url-scgi 75379f6adb 40/48: Fix Package-Requires and add URL

2022-10-28 Thread ELPA Syncer
branch: externals/url-scgi
commit 75379f6adb69a2e464368ed7c2df0aeae7888a54
Author: Stefan Kangas 
Commit: Stefan Kangas 

Fix Package-Requires and add URL
---
 url-scgi.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/url-scgi.el b/url-scgi.el
index cb81868826..baafc360ba 100644
--- a/url-scgi.el
+++ b/url-scgi.el
@@ -5,7 +5,8 @@
 ;; Author: Stefan Kangas 
 ;; Version: 0.6
 ;; Keywords: comm, data, processes, scgi
-;; Package-Requires: ((cl-lib "0.5"))
+;; Package-Requires: ((emacs "25.1"))
+;; URL: https://github.com/skangas/url-scgi/
 ;; SPDX-License-Identifier: GPL-3.0-or-later
 
 ;; This file is NOT part of GNU Emacs.



  1   2   >