[elpa] externals/llm updated (6c6ef8270e -> 5fb10b9bdb)

2024-03-17 Thread ELPA Syncer
elpasync pushed a change to branch externals/llm.

  from  6c6ef8270e Add the ability to have a delay between tests, for 
rate-limiting
   new  faaa5ba71b Make Claude streaming more reslient to whitespace changes
   new  5fb10b9bdb Bump version to 0.12.0


Summary of changes:
 NEWS.org  | 2 ++
 llm-claude.el | 7 ---
 llm.el| 2 +-
 3 files changed, 7 insertions(+), 4 deletions(-)



[elpa] externals/llm faaa5ba71b 1/2: Make Claude streaming more reslient to whitespace changes

2024-03-17 Thread ELPA Syncer
branch: externals/llm
commit faaa5ba71be54590b3c025d51914bfd6b944a23b
Author: Andrew Hyatt 
Commit: Andrew Hyatt 

Make Claude streaming more reslient to whitespace changes

Also, add Claude addition to the NEWS file
---
 NEWS.org  | 2 ++
 llm-claude.el | 7 ---
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/NEWS.org b/NEWS.org
index 3132d70bb9..3593d304ee 100644
--- a/NEWS.org
+++ b/NEWS.org
@@ -1,3 +1,5 @@
+* Version 0.12.0
+- Add provider =llm-claude=, for Anthropic's Claude.
 * Version 0.11.0
 - Introduce function calling, now available only in Open AI and Gemini.
 - Introduce =llm-capabilities=, which returns a list of extra capabilities for 
each backend.
diff --git a/llm-claude.el b/llm-claude.el
index 21af406c2d..15a50484de 100644
--- a/llm-claude.el
+++ b/llm-claude.el
@@ -72,7 +72,7 @@ STREAM is a boolean indicating whether the response should be 
streamed."
 (defun llm-claude-get-partial-response (response)
   "Return the partial response from text RESPONSE."
   (let ((regex (rx (seq "\"text\":" (0+ whitespace)
-(group-n 1 ?\" (* anychar) ?\") "}}"
+(group-n 1 ?\" (0+ anychar) ?\") (0+ whitespace) ?} 
(0+ whitespace) ?}
 (with-temp-buffer
   (insert response)
   ;; We use the quick and dirty solution of just looking for any line that
@@ -85,8 +85,9 @@ STREAM is a boolean indicating whether the response should be 
streamed."
  (line-end-position))
 matched-lines))
 (mapconcat (lambda (line)
- (string-match regex line)
- (read (match-string 1 line)))
+ (if (string-match regex line)
+ (read (match-string 1 line))
+   (warn "Could not parse streaming response: %s" line)))
(nreverse matched-lines) "")
 
 (cl-defmethod llm-chat ((provider llm-claude) prompt)



[elpa] externals/listen 257cca8879 2/4: Fix: (listen-queue-revert-track) Set metadata slot

2024-03-17 Thread ELPA Syncer
branch: externals/listen
commit 257cca887938cb7e155b8eab2db58951fb1b6c18
Author: Adam Porter 
Commit: Adam Porter 

Fix: (listen-queue-revert-track) Set metadata slot
---
 README.org  | 1 +
 docs/README.org | 1 +
 listen-queue.el | 1 +
 3 files changed, 3 insertions(+)

diff --git a/README.org b/README.org
index 61b9d22d11..43aff9f4ce 100644
--- a/README.org
+++ b/README.org
@@ -233,6 +233,7 @@ The ~listen-mode~ minor mode runs a timer which plays the 
next track in the curr
 *Fixes*
 - Command ~listen-queue-add-from-mpd~.
 - Indication of currently playing queue in queue list.
+- Set metadata slot when reverting track from disk.
 
 ** v0.7
 
diff --git a/docs/README.org b/docs/README.org
index 44dde46bbd..955e09010d 100644
--- a/docs/README.org
+++ b/docs/README.org
@@ -245,6 +245,7 @@ The ~listen-mode~ minor mode runs a timer which plays the 
next track in the curr
 *Fixes*
 + Command ~listen-queue-add-from-mpd~.
 + Indication of currently playing queue in queue list.
++ Set metadata slot when reverting track from disk.
 
 ** v0.7
 
diff --git a/listen-queue.el b/listen-queue.el
index 38c846510b..c12432352c 100644
--- a/listen-queue.el
+++ b/listen-queue.el
@@ -552,6 +552,7 @@ with \"ffprobe\"."
 ;; by MPD).
 (dolist (slot '(artist title album number date genre etc))
   ;; FIXME: Store metadata in its own slot and don't misuse etc slot.
+  (setf (listen-track-metadata track) (listen-track-etc new-track))
   (setf (cl-struct-slot-value 'listen-track slot track)
 (cl-struct-slot-value 'listen-track slot new-track)
 



[elpa] externals/modus-themes updated (7384dbf264 -> 51466b1355)

2024-03-17 Thread ELPA Syncer
elpasync pushed a change to branch externals/modus-themes.

  from  7384dbf264 Tweak the modus-operandi-tinted cursor colour
   new  d33c545153 Add semantic mappings for inline code backgrounds in 
addition to foregrounds; plus docs
   new  0cde97e94b Document some sections in the manual as part of the 
current dev target
   new  74119b87c8 Add missing modus-vivendi-tritanopia mappings from 
commit d33c545
   new  51466b1355 Cover the org-dispatcher-highlight face


Summary of changes:
 doc/modus-themes.info| 229 ++-
 doc/modus-themes.org |  70 ++-
 modus-operandi-deuteranopia-theme.el |  17 ++-
 modus-operandi-theme.el  |  17 ++-
 modus-operandi-tinted-theme.el   |  17 ++-
 modus-operandi-tritanopia-theme.el   |  19 ++-
 modus-themes.el  |  30 +++--
 modus-vivendi-deuteranopia-theme.el  |  19 ++-
 modus-vivendi-theme.el   |  17 ++-
 modus-vivendi-tinted-theme.el|  17 ++-
 modus-vivendi-tritanopia-theme.el|  19 ++-
 11 files changed, 281 insertions(+), 190 deletions(-)



[elpa] externals/listen 6b86be0c38 1/4: Add: (listen-info--id3v2-frame-to-info) Read mood tag

2024-03-17 Thread ELPA Syncer
branch: externals/listen
commit 6b86be0c38338161803b32441d31511946b22364
Author: Adam Porter 
Commit: Adam Porter 

Add: (listen-info--id3v2-frame-to-info) Read mood tag
---
 README.org  | 1 +
 docs/README.org | 1 +
 listen-info.el  | 1 +
 3 files changed, 3 insertions(+)

diff --git a/README.org b/README.org
index e47c40c877..61b9d22d11 100644
--- a/README.org
+++ b/README.org
@@ -228,6 +228,7 @@ The ~listen-mode~ minor mode runs a timer which plays the 
next track in the curr
 *Additions*
 - The ~listen-queue-list~ buffer can be bookmarked.
 - Queue buffers showing the currently playing queue indicate so in the mode 
line.
+- Support for ~mood~ metadata tag in MP3 files (added in ID3v2.4; other 
filetypes need no specific support).
 
 *Fixes*
 - Command ~listen-queue-add-from-mpd~.
diff --git a/docs/README.org b/docs/README.org
index 45efd3063e..44dde46bbd 100644
--- a/docs/README.org
+++ b/docs/README.org
@@ -240,6 +240,7 @@ The ~listen-mode~ minor mode runs a timer which plays the 
next track in the curr
 *Additions*
 + The ~listen-queue-list~ buffer can be bookmarked.
 + Queue buffers showing the currently playing queue indicate so in the mode 
line.
++ Support for ~mood~ metadata tag in MP3 files (added in ID3v2.4; other 
filetypes need no specific support).
 
 *Fixes*
 + Command ~listen-queue-add-from-mpd~.
diff --git a/listen-info.el b/listen-info.el
index d66c7c..75eea5d697 100644
--- a/listen-info.el
+++ b/listen-info.el
@@ -541,6 +541,7 @@ Return the comment block data in a vector."
 ("TPA"  . "discnumber")
 ("TPOS" . "discnumber")
 ("TCON" . genre)
+("TMOO" . "mood")
 ("TPUB" . "label")
 ("TDOR" . "originaldate")
 ("TOR"  . "originalyear")



[elpa] externals/listen 5204bbacbc 4/4: Fix: (listen-queue) Don't highlight track in non-playing queues

2024-03-17 Thread ELPA Syncer
branch: externals/listen
commit 5204bbacbc2937c46bce69ad2dedfa1351fa65ee
Author: Adam Porter 
Commit: Adam Porter 

Fix: (listen-queue) Don't highlight track in non-playing queues
---
 README.org  | 1 +
 docs/README.org | 1 +
 listen-queue.el | 4 +++-
 3 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/README.org b/README.org
index 43aff9f4ce..54a5833416 100644
--- a/README.org
+++ b/README.org
@@ -234,6 +234,7 @@ The ~listen-mode~ minor mode runs a timer which plays the 
next track in the curr
 - Command ~listen-queue-add-from-mpd~.
 - Indication of currently playing queue in queue list.
 - Set metadata slot when reverting track from disk.
+- Don't highlight current track in non-playing queues.
 
 ** v0.7
 
diff --git a/docs/README.org b/docs/README.org
index 955e09010d..1ab5bfc0dc 100644
--- a/docs/README.org
+++ b/docs/README.org
@@ -246,6 +246,7 @@ The ~listen-mode~ minor mode runs a timer which plays the 
next track in the curr
 + Command ~listen-queue-add-from-mpd~.
 + Indication of currently playing queue in queue list.
 + Set metadata slot when reverting track from disk.
++ Don't highlight current track in non-playing queues.
 
 ** v0.7
 
diff --git a/listen-queue.el b/listen-queue.el
index c12432352c..1a4cb5a3aa 100644
--- a/listen-queue.el
+++ b/listen-queue.el
@@ -147,7 +147,9 @@ Useful for when `save-excursion' does not preserve point."
  ;; We compare filenames in case the queue's files
  ;; have been refreshed from disk, in which case
  ;; the track objects would no longer be `eq'.
- (if-let ((current-track (listen-queue-current queue))
+ (if-let ((player listen-player)
+  ((eq queue (alist-get :queue 
(listen-player-etc player
+  (current-track (listen-queue-current queue))
   ((equal (listen-track-filename track)
   (listen-track-filename 
current-track
  (progn



[elpa] externals/llm 5fb10b9bdb 2/2: Bump version to 0.12.0

2024-03-17 Thread ELPA Syncer
branch: externals/llm
commit 5fb10b9bdbfc6bb384c14fbfc8caf09fdb4b99e8
Author: Andrew Hyatt 
Commit: Andrew Hyatt 

Bump version to 0.12.0

Version 0.11.0 seems to have been skipped
---
 llm.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/llm.el b/llm.el
index 677ad34e2e..3afb31d1c8 100644
--- a/llm.el
+++ b/llm.el
@@ -5,7 +5,7 @@
 ;; Author: Andrew Hyatt 
 ;; Homepage: https://github.com/ahyatt/llm
 ;; Package-Requires: ((emacs "28.1"))
-;; Package-Version: 0.10.0
+;; Package-Version: 0.12.0
 ;; SPDX-License-Identifier: GPL-3.0-or-later
 ;;
 ;; This program is free software; you can redistribute it and/or



[elpa] externals/listen updated (2357aadce6 -> 5204bbacbc)

2024-03-17 Thread ELPA Syncer
elpasync pushed a change to branch externals/listen.

  from  2357aadce6 Fix: (listen-queue-play) Workaround vtable limitations
   new  6b86be0c38 Add: (listen-info--id3v2-frame-to-info) Read mood tag
   new  257cca8879 Fix: (listen-queue-revert-track) Set metadata slot
   new  b2d0b92bd3 Add: (listen-track-metadata-get)
   new  5204bbacbc Fix: (listen-queue) Don't highlight track in non-playing 
queues


Summary of changes:
 README.org  |  3 +++
 docs/README.org |  3 +++
 listen-info.el  |  1 +
 listen-lib.el   | 18 ++
 listen-queue.el |  5 -
 5 files changed, 29 insertions(+), 1 deletion(-)



[elpa] externals/listen b2d0b92bd3 3/4: Add: (listen-track-metadata-get)

2024-03-17 Thread ELPA Syncer
branch: externals/listen
commit b2d0b92bd34c165c7a8789e055512df671c343c1
Author: Adam Porter 
Commit: Adam Porter 

Add: (listen-track-metadata-get)

Not used anywhere yet, but makes sense.
---
 listen-lib.el | 18 ++
 1 file changed, 18 insertions(+)

diff --git a/listen-lib.el b/listen-lib.el
index a63c708424..9dc14e087a 100644
--- a/listen-lib.el
+++ b/listen-lib.el
@@ -58,6 +58,24 @@
   ;; NOTE: All of the metadata values are stored as strings, except for 
duration.
   filename artist title album number genre (duration 0) date rating etc 
metadata)
 
+(defun listen-track-metadata-get (key track)
+  "Return value of KEY in TRACK's metadata.
+If KEY appears in metadata multiple times (as multiple instances
+of the key, or as a single instance with null-separated values),
+return a list of values; otherwise return the sole value."
+  ;; Don't use the null character directly, because it makes Git think it's a 
binary file.
+  (cl-macrolet ((null-byte-string () (char-to-string #x0)))
+(let ((values (cl-loop for (k . v) in (listen-track-metadata track)
+   when (equal k key)
+   collect v)))
+  (pcase (length values)
+(0 nil)
+(1 (let ((values (split-string (car values) (null-byte-string
+ (pcase-exhaustive (length values)
+   (1 (car values))
+   (_ values
+(_ values)
+
  Variables
 
 (defvar listen-player nil)



[elpa] externals/modus-themes 74119b87c8 3/4: Add missing modus-vivendi-tritanopia mappings from commit d33c545

2024-03-17 Thread ELPA Syncer
branch: externals/modus-themes
commit 74119b87c8370675bd18ed874f1333919fe585f6
Author: Protesilaos Stavrou 
Commit: Protesilaos Stavrou 

Add missing modus-vivendi-tritanopia mappings from commit d33c545
---
 modus-vivendi-tritanopia-theme.el | 19 ++-
 1 file changed, 14 insertions(+), 5 deletions(-)

diff --git a/modus-vivendi-tritanopia-theme.el 
b/modus-vivendi-tritanopia-theme.el
index b55a86bb0f..2327a1e9c9 100644
--- a/modus-vivendi-tritanopia-theme.el
+++ b/modus-vivendi-tritanopia-theme.el
@@ -352,16 +352,25 @@ standard)."
   (fg-prose-block-delimiter fg-dim)
   (bg-prose-block-contents bg-dim)
 
-  (prose-code cyan)
+  (bg-prose-code unspecified)
+  (fg-prose-code cyan)
+
+  (bg-prose-macro unspecified)
+  (fg-prose-macro red-warmer)
+
+  (bg-prose-verbatim unspecified)
+  (fg-prose-verbatim magenta-warmer)
+
   (prose-done cyan)
-  (prose-macro red-warmer)
+  (prose-todo red)
+
   (prose-metadata fg-dim)
   (prose-metadata-value fg-alt)
+
   (prose-table fg-alt)
   (prose-table-formula red-cooler)
-  (prose-tag fg-alt)
-  (prose-todo red)
-  (prose-verbatim magenta-warmer)
+
+  (prose-tag magenta-faint)
 
  Rainbow mappings
 



[elpa] externals/modus-themes d33c545153 1/4: Add semantic mappings for inline code backgrounds in addition to foregrounds; plus docs

2024-03-17 Thread ELPA Syncer
branch: externals/modus-themes
commit d33c5451536353f53cfc7d8fea2760a88afaca83
Author: Protesilaos Stavrou 
Commit: Protesilaos Stavrou 

Add semantic mappings for inline code backgrounds in addition to 
foregrounds; plus docs
---
 doc/modus-themes.info| 213 ++-
 doc/modus-themes.org |  66 +--
 modus-operandi-deuteranopia-theme.el |  17 ++-
 modus-operandi-theme.el  |  17 ++-
 modus-operandi-tinted-theme.el   |  17 ++-
 modus-operandi-tritanopia-theme.el   |  19 +++-
 modus-themes.el  |  25 ++--
 modus-vivendi-deuteranopia-theme.el  |  19 +++-
 modus-vivendi-theme.el   |  17 ++-
 modus-vivendi-tinted-theme.el|  17 ++-
 10 files changed, 248 insertions(+), 179 deletions(-)

diff --git a/doc/modus-themes.info b/doc/modus-themes.info
index d33636d09d..dd149c2152 100644
--- a/doc/modus-themes.info
+++ b/doc/modus-themes.info
@@ -2289,6 +2289,9 @@ contents and for the delimiter lines (the ‘#+begin_’ and 
‘#+end_’
 parts).  The text of the delimiter lines is a subtle gray foreground
 color.
 
+   *note Make inline code in prose use alternative styles: DIY Make
+inline code in prose use alternative styles.
+
  ;; Make code blocks (in Org, for example) use a more colorful style
  ;; for their delimiter lines as well as their contents.  Give this a
  ;; purple feel.  Make the delimiter lines distinct from the contents.
@@ -2447,42 +2450,42 @@ macro entries.  We also provide mappings for tables, 
property drawers,
 tags, and code block delimiters, though we do not show every possible
 permutation.
 
-   *note Make TODO and DONE more or less intense: DIY Make TODO and DONE
-more or less intense.
+   • *note Make TODO and DONE more or less intense: DIY Make TODO and
+ DONE more or less intense.
+   • *note DIY Make Org block colors more or less colorful::.
 
- ;; These are all the mappings at their default values for didactic
- ;; purposes
+ ;; A nuanced accented background, combined with a suitable foreground.
  (setq modus-themes-common-palette-overrides
-   '((prose-block fg-dim)
- (prose-code green-cooler)
- (prose-done green)
- (prose-macro magenta-cooler)
- (prose-metadata fg-dim)
- (prose-metadata-value fg-alt)
- (prose-table fg-alt)
- (prose-tag magenta-faint)
- (prose-todo red)
- (prose-verbatim magenta-warmer)))
-
- ;; Make code block delimiters use a shade of red, tone down verbatim,
- ;; code, and macro, and amplify the style of property drawers
+   '((bg-prose-code bg-green-nuanced)
+ (fg-prose-code green-cooler)
+
+ (bg-prose-verbatim bg-magenta-nuanced)
+ (fg-prose-verbatim magenta-warmer)
+
+ (bg-prose-macro bg-blue-nuanced)
+ (fg-prose-macro magenta-cooler)))
+
+ ;; A more noticeable accented background, combined with a suitable 
foreground.
  (setq modus-themes-common-palette-overrides
-   '((prose-block red-faint)
- (prose-code fg-dim)
- (prose-macro magenta-faint)
- (prose-metadata cyan)
- (prose-metadata-value green-warmer)
- (prose-verbatim fg-dim)))
-
- ;; Like the above but with more color variety for the inline code
- ;; elements
+   '((bg-prose-code bg-sage)
+ (fg-prose-code green-faint)
+
+ (bg-prose-verbatim bg-ochre)
+ (fg-prose-verbatim red-faint)
+
+ (bg-prose-macro bg-lavender)
+ (fg-prose-macro blue-faint)))
+
+ ;; Leave the backgrounds without a color and simply make the foregrounds 
more intense.
  (setq modus-themes-common-palette-overrides
-   '((prose-block red-faint)
- (prose-code blue-cooler)
- (prose-macro yellow-warmer)
- (prose-metadata cyan)
- (prose-metadata-value green-warmer)
- (prose-verbatim red-warmer)))
+   '((bg-prose-code unspecified)
+ (fg-prose-code green-intense)
+
+ (bg-prose-verbatim unspecified)
+ (fg-prose-verbatim magenta-intense)
+
+ (bg-prose-macro unspecified)
+ (fg-prose-macro cyan-intense)))
 
Reload the theme for changes to take effect.
 
@@ -6326,79 +6329,79 @@ Node: DIY Make box buttons more or less gray87569
 Node: DIY Make TODO and DONE more or less intense88582
 Node: DIY Make headings more or less colorful90083
 Node: DIY Make Org block colors more or less colorful92200
-Node: DIY Make Org agenda more or less colorful96460
-Node: DIY Make inline code in prose use alternative styles99635
-Node: DIY Make mail citations and headers more or less colorful101925
-Node: DIY Make the region preserve text colors plus other styles104325
-Node: DIY Make mouse highlights more or less colorful105881
-Node: 

[elpa] externals/modus-themes 51466b1355 4/4: Cover the org-dispatcher-highlight face

2024-03-17 Thread ELPA Syncer
branch: externals/modus-themes
commit 51466b1355d73d90523ca6df81e18c786da85e96
Author: Protesilaos Stavrou 
Commit: Protesilaos Stavrou 

Cover the org-dispatcher-highlight face
---
 modus-themes.el | 5 +
 1 file changed, 5 insertions(+)

diff --git a/modus-themes.el b/modus-themes.el
index fc72fe8cb6..829f723ede 100644
--- a/modus-themes.el
+++ b/modus-themes.el
@@ -3208,6 +3208,11 @@ FG and BG are the main colors."
 `(org-column-title ((,c :inherit (bold default) :underline t :background 
,bg-dim)))
 `(org-date ((,c :inherit modus-themes-fixed-pitch :foreground 
,date-common)))
 `(org-date-selected ((,c :foreground ,date-common :inverse-video t)))
+;; NOTE 2024-03-17: Normally we do not want to add this padding
+;; with the :box, but I do it here because the keys are otherwise
+;; very hard to read.  The square brackets around them are not
+;; colored, which is what is causing the problem.
+`(org-dispatcher-highlight ((,c :inherit modus-themes-bold :box 
(:line-width 2 :color ,bg-hover-secondary) :background ,bg-hover-secondary 
:foreground ,fg-main)))
 `(org-document-info ((,c :foreground ,prose-metadata-value)))
 `(org-document-info-keyword ((,c :inherit modus-themes-fixed-pitch 
:foreground ,prose-metadata)))
 `(org-document-title ((,c :inherit modus-themes-heading-0)))



[elpa] externals/modus-themes 0cde97e94b 2/4: Document some sections in the manual as part of the current dev target

2024-03-17 Thread ELPA Syncer
branch: externals/modus-themes
commit 0cde97e94bf74604256422277c341d06d08450aa
Author: Protesilaos Stavrou 
Commit: Protesilaos Stavrou 

Document some sections in the manual as part of the current dev target
---
 doc/modus-themes.info | 162 ++
 doc/modus-themes.org  |   4 ++
 2 files changed, 87 insertions(+), 79 deletions(-)

diff --git a/doc/modus-themes.info b/doc/modus-themes.info
index dd149c2152..72780fefbf 100644
--- a/doc/modus-themes.info
+++ b/doc/modus-themes.info
@@ -2277,9 +2277,11 @@ File: modus-themes.info,  Node: DIY Make Org block 
colors more or less colorful,
 7.2.15 DIY Make Org block colors more or less colorful
 --
 
-This is one of our practical examples to override the semantic colors of
-the Modus themes (*note Stylistic variants using palette overrides: DIY
-Stylistic variants using palette overrides.).  Here we show how to
+[ Expanded as part of 4.4.0-dev.  ]
+
+   This is one of our practical examples to override the semantic colors
+of the Modus themes (*note Stylistic variants using palette overrides:
+DIY Stylistic variants using palette overrides.).  Here we show how to
 change the presentation of Org blocks (and other such blocks like
 Markdown fenced code sections, though the exact presentation depends on
 each major mode).
@@ -2442,9 +2444,11 @@ File: modus-themes.info,  Node: DIY Make inline code in 
prose use alternative st
 7.2.17 DIY Make inline code in prose use alternative styles
 ---
 
-This is one of our practical examples to override the semantic colors of
-the Modus themes (*note Stylistic variants using palette overrides: DIY
-Stylistic variants using palette overrides.).  In the following code
+[ Expanded as part of 4.4.0-dev.  ]
+
+   This is one of our practical examples to override the semantic colors
+of the Modus themes (*note Stylistic variants using palette overrides:
+DIY Stylistic variants using palette overrides.).  In the following code
 block we show how to affect constructs such as Org’s verbatim, code, and
 macro entries.  We also provide mappings for tables, property drawers,
 tags, and code block delimiters, though we do not show every possible
@@ -6329,79 +6333,79 @@ Node: DIY Make box buttons more or less gray87569
 Node: DIY Make TODO and DONE more or less intense88582
 Node: DIY Make headings more or less colorful90083
 Node: DIY Make Org block colors more or less colorful92200
-Node: DIY Make Org agenda more or less colorful96574
-Node: DIY Make inline code in prose use alternative styles99749
-Node: DIY Make mail citations and headers more or less colorful101991
-Node: DIY Make the region preserve text colors plus other styles104391
-Node: DIY Make mouse highlights more or less colorful105947
-Node: DIY Make language underlines less colorful106960
-Node: DIY Make line numbers use alternative styles108112
-Node: DIY Make diffs use only a foreground109755
-Node: DIY Make deuteranopia diffs red and blue instead of yellow and 
blue112646
-Node: DIY More accurate colors in terminal emulators115126
-Node: DIY Range of color with terminal emulators116438
-Node: DIY Per-theme customization settings119231
-Node: DIY Do not extend the region background120664
-Node: DIY Add padding to the mode line121468
-Node: DIY Remap face with local value124401
-Node: DIY Font configurations for Org and others126949
-Ref: DIY Font configurations for Org and others-Footnote-1129932
-Node: DIY Configure bold and italic faces130119
-Node: DIY Custom Org todo keyword and priority faces134741
-Node: DIY Custom Org emphasis faces138484
-Node: DIY Use colored Org source blocks per language143365
-Node: DIY Measure color contrast148005
-Node: DIY Load theme depending on time of day150725
-Node: DIY Backdrop for pdf-tools151755
-Node: DIY Toggle themes without reloading them154924
-Node: DIY Use more spacious margins or padding in Emacs frames156233
-Node: DIY Custom hl-todo colors160490
-Node: DIY Add support for solaire-mode162307
-Node: DIY Use a hook at the post-load-theme phase165433
-Node: DIY A theme-agnostic hook for theme loading167557
-Node: Face coverage170188
-Node: Supported packages170640
-Node: Indirectly covered packages176350
-Node: Notes on individual packages177719
-Node: Note on calendarel weekday and weekend colors178819
-Node: Note on git-gutter in Doom Emacs179967
-Node: Note on php-mode multiline comments182467
-Node: Note on underlines in compilation buffers183227
-Node: Note on inline Latex in Org buffers184099
-Node: Note on dimmerel184709
-Node: Note on display-fill-column-indicator-mode186194
-Node: Note on highlight-parenthesesel187647
-Node: Note on mmm-modeel background colors193730
-Node: Note for prism196084
-Node: Note on company-mode overlay pop-up199306
-Ref: Note on company-mode overlay pop-up-Footnote-1200036
-Ref: Note on co

[nongnu] elpa/flycheck c51775592a 3/6: fix(stylelint): remove support for older versions of stylelint

2024-03-17 Thread ELPA Syncer
branch: elpa/flycheck
commit c51775592aa34e6129a15f05d0b07c09ce0bd0e2
Author: Justin Barclay 
Commit: Bozhidar Batsov 

fix(stylelint): remove support for older versions of stylelint
---
 flycheck.el | 10 +-
 1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/flycheck.el b/flycheck.el
index 387dd34aa4..9dc8374058 100644
--- a/flycheck.el
+++ b/flycheck.el
@@ -9934,10 +9934,6 @@ See URL `https://lesscss.org'."
 See URL `https://stylelint.io/'."
   :command ("stylelint"
 (eval flycheck-stylelint-args)
-(eval (when (< (flycheck-stylelint-get-major-version
-'less-stylelint)
-   14)
-(list "--syntax" "less")))
 (option-flag "--quiet" flycheck-stylelint-quiet)
 (config-file "--config" flycheck-stylelintrc))
   :standard-input t
@@ -12061,10 +12057,6 @@ See URL `https://github.com/brigade/scss-lint'."
 See URL `https://stylelint.io/'."
   :command ("stylelint"
 (eval flycheck-stylelint-args)
-(eval (when (< (flycheck-stylelint-get-major-version
-'scss-stylelint)
-   14)
-(list "--syntax" "scss")))
 (option-flag "--quiet" flycheck-stylelint-quiet)
 (config-file "--config" flycheck-stylelintrc))
   :standard-input t
@@ -12079,10 +12071,10 @@ See URL `https://stylelint.io/'."
 See URL `https://stylelint.io/'."
   :command ("stylelint"
 (eval flycheck-stylelint-args)
-"--syntax" "sass"
 (option-flag "--quiet" flycheck-stylelint-quiet)
 (config-file "--config" flycheck-stylelintrc))
   :standard-input t
+  :verify (lambda (_) (flycheck--stylelint-verify 'sass-stylelint))
   :error-parser flycheck-parse-stylelint
   :predicate flycheck-buffer-nonempty-p
   :modes (sass-mode))



[nongnu] elpa/flycheck ab0c69d10e 1/6: fix(stylelint): stylelint v14 uses incompatible cli arguments

2024-03-17 Thread ELPA Syncer
branch: elpa/flycheck
commit ab0c69d10e590059524bf9bd3a4cb26a050b1083
Author: Matus Goljer 
Commit: Bozhidar Batsov 

fix(stylelint): stylelint v14 uses incompatible cli arguments

Detect the major version of stylelint, and for verion 14 don't pass
the --syntax argument.
---
 flycheck.el | 20 ++--
 1 file changed, 18 insertions(+), 2 deletions(-)

diff --git a/flycheck.el b/flycheck.el
index 7ed21b0bc7..1f9e8f1335 100644
--- a/flycheck.el
+++ b/flycheck.el
@@ -9933,7 +9933,10 @@ See URL `https://lesscss.org'."
 See URL `https://stylelint.io/'."
   :command ("stylelint"
 (eval flycheck-stylelint-args)
-"--syntax" "less"
+(eval (when (< (flycheck-stylelint-get-major-version
+'less-stylelint)
+   14)
+(list "--syntax" "less")))
 (option-flag "--quiet" flycheck-stylelint-quiet)
 (config-file "--config" flycheck-stylelintrc))
   :standard-input t
@@ -12021,13 +12024,26 @@ See URL `https://github.com/brigade/scss-lint'."
 '(bold error)
   'success)))
 
+(defun flycheck-stylelint-get-major-version (checker)
+  "Return major version of stylelint."
+  (let ((cb (current-buffer)))
+(with-temp-buffer
+  (let ((temp-buffer (current-buffer)))
+(with-current-buffer cb
+  (flycheck-call-checker-process
+   checker nil temp-buffer nil "--version"))
+(string-to-number (car (split-string (buffer-string) "\\.")))
+
 (flycheck-define-checker scss-stylelint
   "A SCSS syntax and style checker using stylelint.
 
 See URL `https://stylelint.io/'."
   :command ("stylelint"
 (eval flycheck-stylelint-args)
-"--syntax" "scss"
+(eval (when (< (flycheck-stylelint-get-major-version
+'scss-stylelint)
+   14)
+(list "--syntax" "scss")))
 (option-flag "--quiet" flycheck-stylelint-quiet)
 (config-file "--config" flycheck-stylelintrc))
   :standard-input t



[nongnu] elpa/flycheck 0c8de6de03 5/6: Reorganize flycheck--stylelints to be above all stylelint checkers

2024-03-17 Thread ELPA Syncer
branch: elpa/flycheck
commit 0c8de6de03bb1639552007f70a9c66ebdd382496
Author: Justin Barclay 
Commit: Bozhidar Batsov 

Reorganize flycheck--stylelints to be above all stylelint checkers
---
 flycheck.el | 58 +-
 1 file changed, 29 insertions(+), 29 deletions(-)

diff --git a/flycheck.el b/flycheck.el
index 51ff3876d7..9f5d1eaa82 100644
--- a/flycheck.el
+++ b/flycheck.el
@@ -8225,6 +8225,35 @@ about the JSON format of stylelint."
   ;; Return the combined errors (deprecations, invalid options, warnings)
   (append deprecations invalid-options warnings
 
+(defun flycheck--stylelint-config-exists-p (checker)
+  "Whether there is a valid stylelint CHECKER config for the current buffer."
+  (eql 0 (flycheck-call-checker-process
+  checker nil nil nil
+  "--print-config" (or buffer-file-name "index.js"
+
+(defun flycheck--stylelint-get-major-version (checker)
+  "Return major version of stylelint CHECKER."
+  (let ((cb (current-buffer)))
+(with-temp-buffer
+  (let ((temp-buffer (current-buffer)))
+(with-current-buffer cb
+  (flycheck-call-checker-process
+   checker nil temp-buffer nil "--version"))
+(string-to-number (car (split-string (buffer-string) "\\.")))
+
+(defun flycheck--stylelint-verify (checker)
+  "Verify stylelint setup for CHECKER."
+  (let ((have-config (flycheck--stylelint-config-exists-p checker)))
+(list
+ (flycheck-verification-result-new
+  :label "configuration available"
+  :message (if have-config "yes" "no config file found")
+  :face (if have-config 'success '(bold error)))
+ (flycheck-verification-result-new
+  :label "stylecheck version"
+  :message (number-to-string (flycheck--stylelint-get-major-version 
checker))
+  :face 'success
+
 (flycheck-define-checker css-stylelint
   "A CSS syntax and style checker using stylelint.
 
@@ -12022,35 +12051,6 @@ See URL `https://github.com/brigade/scss-lint'."
 '(bold error)
   'success)))
 
-(defun flycheck--stylelint-config-exists-p (checker)
-  "Whether there is a valid stylelint config for the current buffer."
-  (eql 0 (flycheck-call-checker-process
-  checker nil nil nil
-  "--print-config" (or buffer-file-name "index.js"
-
-(defun flycheck--stylelint-verify (checker)
-  "Verify stylelint setup for CHECKER."
-  (let ((have-config (flycheck--stylelint-config-exists-p checker)))
-(list
- (flycheck-verification-result-new
-  :label "configuration available"
-  :message (if have-config "yes" "no config file found")
-  :face (if have-config 'success '(bold error)))
- (flycheck-verification-result-new
-  :label "stylecheck version"
-  :message (number-to-string (flycheck--stylelint-get-major-version 
checker))
-  :face 'success
-
-(defun flycheck--stylelint-get-major-version (checker)
-  "Return major version of stylelint."
-  (let ((cb (current-buffer)))
-(with-temp-buffer
-  (let ((temp-buffer (current-buffer)))
-(with-current-buffer cb
-  (flycheck-call-checker-process
-   checker nil temp-buffer nil "--version"))
-(string-to-number (car (split-string (buffer-string) "\\.")))
-
 (flycheck-define-checker scss-stylelint
   "A SCSS syntax and style checker using stylelint.
 



[nongnu] elpa/flycheck bf11b2a3eb 6/6: Add changelog entry

2024-03-17 Thread ELPA Syncer
branch: elpa/flycheck
commit bf11b2a3eb2f9dc0eb07cc8fb6b5be606e6a698a
Author: Justin Barclay 
Commit: Bozhidar Batsov 

Add changelog entry
---
 CHANGES.rst | 6 ++
 1 file changed, 6 insertions(+)

diff --git a/CHANGES.rst b/CHANGES.rst
index f0211fc00a..5f82d5ddd4 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -15,6 +15,12 @@ Bugs fixed
 
 - [#2057]: Revert the extraction of ``flycheck-version`` with ``lm-version``.
 
+--
+Changes
+--
+
+- **(Breaking)** [#2066]: Remove support for versions of ``stylelint`` older 
than v14.
+
 34.1 (2024-02-18)
 ==
 



[nongnu] elpa/flycheck 85a8cb133f 4/6: Switch new functions to use Emacs private function prefix

2024-03-17 Thread ELPA Syncer
branch: elpa/flycheck
commit 85a8cb133fcb0e67e79a287a5cb1521e6bd1c0d0
Author: Justin Barclay 
Commit: Bozhidar Batsov 

Switch new functions to use Emacs private function prefix
---
 flycheck.el | 16 
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/flycheck.el b/flycheck.el
index 9dc8374058..51ff3876d7 100644
--- a/flycheck.el
+++ b/flycheck.el
@@ -8235,7 +8235,7 @@ See URL `https://stylelint.io/'."
 (config-file "--config" flycheck-stylelintrc)
 "--stdin-filename" (eval (or (buffer-file-name) "style.css")))
   :standard-input t
-  :verify (lambda (_) (flycheck-stylelint-verify 'css-stylelint))
+  :verify (lambda (_) (flycheck--stylelint-verify 'css-stylelint))
   :error-parser flycheck-parse-stylelint
   :predicate flycheck-buffer-nonempty-p
   :modes (css-mode css-ts-mode)
@@ -9937,7 +9937,7 @@ See URL `https://stylelint.io/'."
 (option-flag "--quiet" flycheck-stylelint-quiet)
 (config-file "--config" flycheck-stylelintrc))
   :standard-input t
-  :verify (lambda (_) (flycheck-stylelint-verify 'less-stylelint))
+  :verify (lambda (_) (flycheck--stylelint-verify 'less-stylelint))
   :error-parser flycheck-parse-stylelint
   :predicate flycheck-buffer-nonempty-p
   :modes (less-css-mode))
@@ -12022,15 +12022,15 @@ See URL `https://github.com/brigade/scss-lint'."
 '(bold error)
   'success)))
 
-(defun flycheck-stylelint-config-exists-p (checker)
+(defun flycheck--stylelint-config-exists-p (checker)
   "Whether there is a valid stylelint config for the current buffer."
   (eql 0 (flycheck-call-checker-process
   checker nil nil nil
   "--print-config" (or buffer-file-name "index.js"
 
-(defun flycheck-stylelint-verify (checker)
+(defun flycheck--stylelint-verify (checker)
   "Verify stylelint setup for CHECKER."
-  (let ((have-config (flycheck-stylelint-config-exists-p checker)))
+  (let ((have-config (flycheck--stylelint-config-exists-p checker)))
 (list
  (flycheck-verification-result-new
   :label "configuration available"
@@ -12038,10 +12038,10 @@ See URL `https://github.com/brigade/scss-lint'."
   :face (if have-config 'success '(bold error)))
  (flycheck-verification-result-new
   :label "stylecheck version"
-  :message (number-to-string (flycheck-stylelint-get-major-version 
checker))
+  :message (number-to-string (flycheck--stylelint-get-major-version 
checker))
   :face 'success
 
-(defun flycheck-stylelint-get-major-version (checker)
+(defun flycheck--stylelint-get-major-version (checker)
   "Return major version of stylelint."
   (let ((cb (current-buffer)))
 (with-temp-buffer
@@ -12060,7 +12060,7 @@ See URL `https://stylelint.io/'."
 (option-flag "--quiet" flycheck-stylelint-quiet)
 (config-file "--config" flycheck-stylelintrc))
   :standard-input t
-  :verify (lambda (_) (flycheck-stylelint-verify 'scss-stylelint))
+  :verify (lambda (_) (flycheck--stylelint-verify 'scss-stylelint))
   :error-parser flycheck-parse-stylelint
   :predicate flycheck-buffer-nonempty-p
   :modes (scss-mode))



[nongnu] elpa/flycheck updated (79d20bf37a -> bf11b2a3eb)

2024-03-17 Thread ELPA Syncer
elpasync pushed a change to branch elpa/flycheck.

  from  79d20bf37a Add a comment to explain the print-length requirement
   new  ab0c69d10e fix(stylelint): stylelint v14 uses incompatible cli 
arguments
   new  a0944f17d6 feat(stylelint): add verify setup for stylelint
   new  c51775592a fix(stylelint): remove support for older versions of 
stylelint
   new  85a8cb133f Switch new functions to use Emacs private function prefix
   new  0c8de6de03 Reorganize flycheck--stylelints to be above all 
stylelint checkers
   new  bf11b2a3eb Add changelog entry


Summary of changes:
 CHANGES.rst |  6 ++
 flycheck.el | 36 +---
 2 files changed, 39 insertions(+), 3 deletions(-)



[nongnu] elpa/flycheck a0944f17d6 2/6: feat(stylelint): add verify setup for stylelint

2024-03-17 Thread ELPA Syncer
branch: elpa/flycheck
commit a0944f17d68ac484bb639715ee3454c3b5546db7
Author: Matus Goljer 
Commit: Bozhidar Batsov 

feat(stylelint): add verify setup for stylelint
---
 flycheck.el | 22 ++
 1 file changed, 22 insertions(+)

diff --git a/flycheck.el b/flycheck.el
index 1f9e8f1335..387dd34aa4 100644
--- a/flycheck.el
+++ b/flycheck.el
@@ -8235,6 +8235,7 @@ See URL `https://stylelint.io/'."
 (config-file "--config" flycheck-stylelintrc)
 "--stdin-filename" (eval (or (buffer-file-name) "style.css")))
   :standard-input t
+  :verify (lambda (_) (flycheck-stylelint-verify 'css-stylelint))
   :error-parser flycheck-parse-stylelint
   :predicate flycheck-buffer-nonempty-p
   :modes (css-mode css-ts-mode)
@@ -9940,6 +9941,7 @@ See URL `https://stylelint.io/'."
 (option-flag "--quiet" flycheck-stylelint-quiet)
 (config-file "--config" flycheck-stylelintrc))
   :standard-input t
+  :verify (lambda (_) (flycheck-stylelint-verify 'less-stylelint))
   :error-parser flycheck-parse-stylelint
   :predicate flycheck-buffer-nonempty-p
   :modes (less-css-mode))
@@ -12024,6 +12026,25 @@ See URL `https://github.com/brigade/scss-lint'."
 '(bold error)
   'success)))
 
+(defun flycheck-stylelint-config-exists-p (checker)
+  "Whether there is a valid stylelint config for the current buffer."
+  (eql 0 (flycheck-call-checker-process
+  checker nil nil nil
+  "--print-config" (or buffer-file-name "index.js"
+
+(defun flycheck-stylelint-verify (checker)
+  "Verify stylelint setup for CHECKER."
+  (let ((have-config (flycheck-stylelint-config-exists-p checker)))
+(list
+ (flycheck-verification-result-new
+  :label "configuration available"
+  :message (if have-config "yes" "no config file found")
+  :face (if have-config 'success '(bold error)))
+ (flycheck-verification-result-new
+  :label "stylecheck version"
+  :message (number-to-string (flycheck-stylelint-get-major-version 
checker))
+  :face 'success
+
 (defun flycheck-stylelint-get-major-version (checker)
   "Return major version of stylelint."
   (let ((cb (current-buffer)))
@@ -12047,6 +12068,7 @@ See URL `https://stylelint.io/'."
 (option-flag "--quiet" flycheck-stylelint-quiet)
 (config-file "--config" flycheck-stylelintrc))
   :standard-input t
+  :verify (lambda (_) (flycheck-stylelint-verify 'scss-stylelint))
   :error-parser flycheck-parse-stylelint
   :predicate flycheck-buffer-nonempty-p
   :modes (scss-mode))



[elpa] externals/listen updated (5204bbacbc -> a21fd86e0f)

2024-03-17 Thread ELPA Syncer
elpasync pushed a change to branch externals/listen.

  from  5204bbacbc Fix: (listen-queue) Don't highlight track in non-playing 
queues
   new  af7079b5a1 Add: (listen-current-track)
   new  a21fd86e0f Tidy: Compilation warning


Summary of changes:
 listen-lib.el | 10 ++
 listen-mpd.el |  1 +
 2 files changed, 11 insertions(+)



[elpa] externals/listen a21fd86e0f 2/2: Tidy: Compilation warning

2024-03-17 Thread ELPA Syncer
branch: externals/listen
commit a21fd86e0fe8adc33370159a7c687eea735c7e01
Author: Adam Porter 
Commit: Adam Porter 

Tidy: Compilation warning
---
 listen-mpd.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/listen-mpd.el b/listen-mpd.el
index 9556479899..26ce171a6e 100644
--- a/listen-mpd.el
+++ b/listen-mpd.el
@@ -69,6 +69,7 @@ applied to the buffer."
  (queue (listen-queue-complete :prompt "Add to queue" :allow-new-p t)))
  (list tracks queue)))
   (require 'listen-mpd)
+  (declare-function listen-queue-add-tracks "listen-queue")
   (listen-queue-add-tracks tracks queue))
 
 (cl-defun listen-mpd-read-query (&key (tag 'file) select-tag-p)



[elpa] externals/org d545ad6068: lisp/ol.el: Make `org-link-get-parameter' a valid PLACE for `setf'

2024-03-17 Thread ELPA Syncer
branch: externals/org
commit d545ad60686de3cec6a2626b7761e3abde9acafd
Author: Ihor Radchenko 
Commit: Ihor Radchenko 

lisp/ol.el: Make `org-link-get-parameter' a valid PLACE for `setf'

* lisp/ol.el (org-link-get-parameter): Define setter.  This allows
modifying link parameters with `setf' and altering them via
`add-function'.

Link: 
https://orgmode.org/list/a123389c-8f86-4836-a4fe-1e3f4281d...@app.fastmail.com
---
 lisp/ol.el | 7 +++
 1 file changed, 7 insertions(+)

diff --git a/lisp/ol.el b/lisp/ol.el
index fa16b59200..1a6a844475 100644
--- a/lisp/ol.el
+++ b/lisp/ol.el
@@ -923,6 +923,13 @@ PARAMETERS should be keyword value pairs.  See
   (org-link-make-regexps)
   (when (featurep 'org-element) (org-element-update-syntax)
 
+;; This way, one can add multiple functions as, say, :follow parameter.
+;; For example,
+;; (add-function :before-until (org-link-get-parameter "id" :follow) 
#'my-function)
+;; See 
https://orgmode.org/list/a123389c-8f86-4836-a4fe-1e3f4281d...@app.fastmail.com
+(gv-define-setter org-link-get-parameter (value type key)
+  `(org-link-set-parameters ,type ,key ,value))
+
 (defun org-link-make-regexps ()
   "Update the link regular expressions.
 This should be called after the variable `org-link-parameters' has changed."



[elpa] externals/listen af7079b5a1 1/2: Add: (listen-current-track)

2024-03-17 Thread ELPA Syncer
branch: externals/listen
commit af7079b5a17ad96c5fb50d7696ad10ee8bb944d7
Author: Adam Porter 
Commit: Adam Porter 

Add: (listen-current-track)
---
 listen-lib.el | 10 ++
 1 file changed, 10 insertions(+)

diff --git a/listen-lib.el b/listen-lib.el
index 9dc14e087a..be9a7e7331 100644
--- a/listen-lib.el
+++ b/listen-lib.el
@@ -116,6 +116,13 @@ return a list of values; otherwise return the sole value."
   (or listen-player
   (setf listen-player (make-listen-player-vlc
 
+(cl-defun listen-current-track (&optional (player listen-player))
+  "Return track playing on PLAYER, if any."
+  ;; TODO: Use this where appropriate.
+  (when-let ((player)
+ (queue (alist-get :queue (listen-player-etc player
+(listen-queue-current queue)))
+
 (defun listen-format-seconds (seconds)
   "Return SECONDS formatted as an hour:minute:second-style duration."
   (format-seconds "%h:%z%.2m:%.2s" seconds))
@@ -128,6 +135,9 @@ return a list of values; otherwise return the sole value."
 (cl-defgeneric listen--length (player)
   "Return duration in seconds of PLAYER's current track.")
 
+(cl-defgeneric listen--playing-p (player)
+  "Return non-nil if PLAYER is playing.")
+
 (cl-defmethod listen--running-p ((player listen-player))
   "Return non-nil if PLAYER is running."
   (process-live-p (listen-player-process player)))



[nongnu] elpa/helm 39e955def5 1/7: Docstring only

2024-03-17 Thread ELPA Syncer
branch: elpa/helm
commit 39e955def53553f4475f4e897b0e55dc3f13c70a
Author: Thierry Volpiatto 
Commit: Thierry Volpiatto 

Docstring only
---
 helm-files.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/helm-files.el b/helm-files.el
index 97472e20c5..858fdc1f81 100644
--- a/helm-files.el
+++ b/helm-files.el
@@ -5978,7 +5978,7 @@ and `dired-compress-files-alist'."
 (dired-compress-file file)))
 
 (defun helm-ff-quick-compress (_candidate)
-  "Compress or uncompress file CANDIDATE without quitting."
+  "Compress or uncompress marked files without quitting."
   (with-helm-window
 (let (cfile)
   (unwind-protect



[nongnu] elpa/helm f38a6f3c2e 4/7: reduced is-action-compress conditions and cleaned code

2024-03-17 Thread ELPA Syncer
branch: elpa/helm
commit f38a6f3c2e8891f484ae92bbdd34ad1d5cf0b950
Author: Kiso Katsuyuki 
Commit: Kiso Katsuyuki 

reduced is-action-compress conditions and cleaned code
---
 helm-files.el | 64 +++
 1 file changed, 38 insertions(+), 26 deletions(-)

diff --git a/helm-files.el b/helm-files.el
index ef8dff2915..c03eac7649 100644
--- a/helm-files.el
+++ b/helm-files.el
@@ -1239,32 +1239,44 @@ ACTION can be `rsync' or any action supported by 
`helm-dired-action'."
  (helm-actions-inherit-frame-settings t)
  helm-use-frame-when-more-than-two-windows
  (dest (or target
-   (with-helm-display-marked-candidates
- helm-marked-buffer-name
- (if (eq action 'compress)
- (mapcar
-  (lambda (f)
-(file-relative-name f (helm-common-dir ifiles)))
-  ifiles)
-   (helm-ff--count-and-collect-dups ifiles))
- (with-helm-current-buffer
-   (helm-read-file-name
-prompt
-:preselect (when cand
- (format 
helm-ff-last-expanded-candidate-regexp
- (regexp-quote
-  (if 
helm-ff-transformer-show-only-basename
-  (helm-basename cand) cand
-:initial-input (if (eq action 'compress)
-   (helm-common-dir ifiles)
-   (helm-dwim-target-directory))
-:default (when (eq action 'compress)
-   (expand-file-name
-(format "%s.tar.gz" (if cand
-(helm-basename 
cand)
-  "new_archive"))
-(helm-common-dir ifiles)))
-:history (helm-find-files-history nil :comp-read 
nil))
+   (if (eq action 'compress)
+   (let ((cdir (helm-common-dir ifiles)))
+ (with-helm-display-marked-candidates
+   helm-marked-buffer-name
+   (mapcar
+(lambda (f)
+  (file-relative-name f cdir))
+ifiles)
+   (with-helm-current-buffer
+ (helm-read-file-name
+  prompt
+  :preselect
+  (when cand
+(format helm-ff-last-expanded-candidate-regexp
+(regexp-quote
+ (if 
helm-ff-transformer-show-only-basename
+ (helm-basename cand) cand
+  :initial-input cdir
+  :default (expand-file-name
+(format "%s.tar.gz" (if cand
+(helm-basename 
cand)
+  "new_archive"))
+cdir)
+  :history (helm-find-files-history nil :comp-read 
nil)
+ (with-helm-display-marked-candidates
+   helm-marked-buffer-name
+   (helm-ff--count-and-collect-dups ifiles)
+   (with-helm-current-buffer
+ (helm-read-file-name
+  prompt
+  :preselect
+  (when cand
+(format helm-ff-last-expanded-candidate-regexp
+(regexp-quote
+ (if helm-ff-transformer-show-only-basename
+ (helm-basename cand) cand
+  :initial-input (helm-dwim-target-directory)
+  :history (helm-find-files-history nil :comp-read 
nil)))
  (dest-dir-p (file-directory-p dest))
  (dest-dir   (if dest-dir-p dest (helm-basedir dest
 ;; We still need to handle directory creation for Emacs version < 27.1 that



[nongnu] elpa/helm 4e0b2f12a9 6/7: Merge branch 'devel'

2024-03-17 Thread ELPA Syncer
branch: elpa/helm
commit 4e0b2f12a93e5f4e5e981fd3c3692e333e290914
Merge: 320a22e33d 5370e6c6b4
Author: Thierry Volpiatto 
Commit: Thierry Volpiatto 

Merge branch 'devel'
---
 helm-files.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/helm-files.el b/helm-files.el
index 46c7d01a4e..6d50473b77 100644
--- a/helm-files.el
+++ b/helm-files.el
@@ -5904,7 +5904,7 @@ files to destination."
 "Notify mode-line that an async process run."
   :group 'dired-async
   :global t
-  :lighter (:eval (propertize (format " [%s async job Compressing file(s)]"
+  :lighter (:eval (propertize (format " [%s async job (Un)compressing file(s)]"
   (length (dired-async-processes
'helm-async-compress)))
   'face 'helm-delete-async-message))
@@ -5992,7 +5992,7 @@ and `dired-compress-files-alist'."
 (dired-compress-file file)))
 
 (defun helm-ff-quick-compress (_candidate)
-  "Compress or uncompress file CANDIDATE without quitting."
+  "Compress or uncompress marked files without quitting."
   (with-helm-window
 (let (cfile)
   (unwind-protect



[nongnu] elpa/helm 320a22e33d 5/7: Merge pull request #2645 from kkatsuyuki/where-to-compress

2024-03-17 Thread ELPA Syncer
branch: elpa/helm
commit 320a22e33d76fe4d86b0f4dba38b296393d7d9f2
Merge: e93335b0b9 f38a6f3c2e
Author: Thierry Volpiatto 
Commit: GitHub 

Merge pull request #2645 from kkatsuyuki/where-to-compress

Where to compress input files to
---
 helm-files.el | 62 ---
 1 file changed, 38 insertions(+), 24 deletions(-)

diff --git a/helm-files.el b/helm-files.el
index 97472e20c5..46c7d01a4e 100644
--- a/helm-files.el
+++ b/helm-files.el
@@ -1239,30 +1239,44 @@ ACTION can be `rsync' or any action supported by 
`helm-dired-action'."
  (helm-actions-inherit-frame-settings t)
  helm-use-frame-when-more-than-two-windows
  (dest (or target
-   (with-helm-display-marked-candidates
- helm-marked-buffer-name
- (if (eq action 'compress)
- (mapcar
-  (lambda (f)
-(file-relative-name f (helm-common-dir ifiles)))
-  ifiles)
-   (helm-ff--count-and-collect-dups ifiles))
- (with-helm-current-buffer
-   (helm-read-file-name
-prompt
-:preselect (when cand
- (format 
helm-ff-last-expanded-candidate-regexp
- (regexp-quote
-  (if 
helm-ff-transformer-show-only-basename
-  (helm-basename cand) cand
-:initial-input (helm-dwim-target-directory)
-:default (when (eq action 'compress)
-   (expand-file-name
-(format "%s.tar.gz" (if cand
-(helm-basename 
cand)
-  "new_archive"))
-helm-ff-default-directory))
-:history (helm-find-files-history nil :comp-read 
nil))
+   (if (eq action 'compress)
+   (let ((cdir (helm-common-dir ifiles)))
+ (with-helm-display-marked-candidates
+   helm-marked-buffer-name
+   (mapcar
+(lambda (f)
+  (file-relative-name f cdir))
+ifiles)
+   (with-helm-current-buffer
+ (helm-read-file-name
+  prompt
+  :preselect
+  (when cand
+(format helm-ff-last-expanded-candidate-regexp
+(regexp-quote
+ (if 
helm-ff-transformer-show-only-basename
+ (helm-basename cand) cand
+  :initial-input cdir
+  :default (expand-file-name
+(format "%s.tar.gz" (if cand
+(helm-basename 
cand)
+  "new_archive"))
+cdir)
+  :history (helm-find-files-history nil :comp-read 
nil)
+ (with-helm-display-marked-candidates
+   helm-marked-buffer-name
+   (helm-ff--count-and-collect-dups ifiles)
+   (with-helm-current-buffer
+ (helm-read-file-name
+  prompt
+  :preselect
+  (when cand
+(format helm-ff-last-expanded-candidate-regexp
+(regexp-quote
+ (if helm-ff-transformer-show-only-basename
+ (helm-basename cand) cand
+  :initial-input (helm-dwim-target-directory)
+  :history (helm-find-files-history nil :comp-read 
nil)))
  (dest-dir-p (file-directory-p dest))
  (dest-dir   (if dest-dir-p dest (helm-basedir dest
 ;; We still need to handle directory creation for Emacs version < 27.1 that



[nongnu] elpa/helm 75a1f4d709 7/7: Avoid duplicate code in previous commit

2024-03-17 Thread ELPA Syncer
branch: elpa/helm
commit 75a1f4d70908766b1dab323242144d661464f498
Author: Thierry Volpiatto 
Commit: Thierry Volpiatto 

Avoid duplicate code in previous commit
---
 helm-files.el | 64 ---
 1 file changed, 26 insertions(+), 38 deletions(-)

diff --git a/helm-files.el b/helm-files.el
index 6d50473b77..2699cfc57b 100644
--- a/helm-files.el
+++ b/helm-files.el
@@ -1229,6 +1229,8 @@ ACTION can be `rsync' or any action supported by 
`helm-dired-action'."
  (length ifiles)
  (if (memq action '(symlink relsymlink hardlink))
  "from" "to")))
+ (cdir (and (eq action 'compress)
+(helm-common-dir ifiles)))
  helm-ff--move-to-first-real-candidate
  helm-display-source-at-screen-top ; prevent setting window-start.
  helm-ff-auto-update-initial-value
@@ -1239,44 +1241,30 @@ ACTION can be `rsync' or any action supported by 
`helm-dired-action'."
  (helm-actions-inherit-frame-settings t)
  helm-use-frame-when-more-than-two-windows
  (dest (or target
-   (if (eq action 'compress)
-   (let ((cdir (helm-common-dir ifiles)))
- (with-helm-display-marked-candidates
-   helm-marked-buffer-name
-   (mapcar
-(lambda (f)
-  (file-relative-name f cdir))
-ifiles)
-   (with-helm-current-buffer
- (helm-read-file-name
-  prompt
-  :preselect
-  (when cand
-(format helm-ff-last-expanded-candidate-regexp
-(regexp-quote
- (if 
helm-ff-transformer-show-only-basename
- (helm-basename cand) cand
-  :initial-input cdir
-  :default (expand-file-name
-(format "%s.tar.gz" (if cand
-(helm-basename 
cand)
-  "new_archive"))
-cdir)
-  :history (helm-find-files-history nil :comp-read 
nil)
- (with-helm-display-marked-candidates
-   helm-marked-buffer-name
-   (helm-ff--count-and-collect-dups ifiles)
-   (with-helm-current-buffer
- (helm-read-file-name
-  prompt
-  :preselect
-  (when cand
-(format helm-ff-last-expanded-candidate-regexp
-(regexp-quote
- (if helm-ff-transformer-show-only-basename
- (helm-basename cand) cand
-  :initial-input (helm-dwim-target-directory)
-  :history (helm-find-files-history nil :comp-read 
nil)))
+   (with-helm-display-marked-candidates
+ helm-marked-buffer-name
+ (if cdir
+ (mapcar (lambda (f)
+   (file-relative-name f cdir))
+ ifiles)
+   (helm-ff--count-and-collect-dups ifiles))
+ (with-helm-current-buffer
+   (helm-read-file-name
+prompt
+:preselect
+(when cand
+  (format helm-ff-last-expanded-candidate-regexp
+  (regexp-quote
+   (if helm-ff-transformer-show-only-basename
+   (helm-basename cand) cand
+:default (and cdir
+  (expand-file-name
+   (format "%s.tar.gz" (if cand
+   (helm-basename 
cand)
+ "new_archive"))
+   cdir))
+:initial-input (or cdir (helm-dwim-target-directory))
+:history (helm-find-files-history nil :comp-read 
nil))
  (dest-dir-p (file-directory-p dest))
  (dest-dir   (if dest-dir-p dest (helm-basedir dest
 ;; We still need to handle directory creation for Emacs version < 27.1 that



[nongnu] elpa/helm 5370e6c6b4 2/7: Fix mode-line message

2024-03-17 Thread ELPA Syncer
branch: elpa/helm
commit 5370e6c6b46c1b674d0f09df13861faa4a7c6d7a
Author: Thierry Volpiatto 
Commit: Thierry Volpiatto 

Fix mode-line message
---
 helm-files.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/helm-files.el b/helm-files.el
index 858fdc1f81..50085b62bd 100644
--- a/helm-files.el
+++ b/helm-files.el
@@ -5890,7 +5890,7 @@ files to destination."
 "Notify mode-line that an async process run."
   :group 'dired-async
   :global t
-  :lighter (:eval (propertize (format " [%s async job Compressing file(s)]"
+  :lighter (:eval (propertize (format " [%s async job (Un)compressing file(s)]"
   (length (dired-async-processes
'helm-async-compress)))
   'face 'helm-delete-async-message))



[nongnu] elpa/helm 1dd0bbd8b8 3/7: compress to common directory of input files

2024-03-17 Thread ELPA Syncer
branch: elpa/helm
commit 1dd0bbd8b8e5d71aa3959c7bc053c277c66c5077
Author: Kiso Katsuyuki 
Commit: Kiso Katsuyuki 

compress to common directory of input files
---
 helm-files.el | 6 --
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/helm-files.el b/helm-files.el
index 0c3be6a4cc..ef8dff2915 100644
--- a/helm-files.el
+++ b/helm-files.el
@@ -1255,13 +1255,15 @@ ACTION can be `rsync' or any action supported by 
`helm-dired-action'."
  (regexp-quote
   (if 
helm-ff-transformer-show-only-basename
   (helm-basename cand) cand
-:initial-input (helm-dwim-target-directory)
+:initial-input (if (eq action 'compress)
+   (helm-common-dir ifiles)
+   (helm-dwim-target-directory))
 :default (when (eq action 'compress)
(expand-file-name
 (format "%s.tar.gz" (if cand
 (helm-basename 
cand)
   "new_archive"))
-helm-ff-default-directory))
+(helm-common-dir ifiles)))
 :history (helm-find-files-history nil :comp-read 
nil))
  (dest-dir-p (file-directory-p dest))
  (dest-dir   (if dest-dir-p dest (helm-basedir dest



[nongnu] elpa/helm updated (e93335b0b9 -> 75a1f4d709)

2024-03-17 Thread ELPA Syncer
elpasync pushed a change to branch elpa/helm.

  from  e93335b0b9 Fix long lines
   new  1dd0bbd8b8 compress to common directory of input files
   new  f38a6f3c2e reduced is-action-compress conditions and cleaned code
   new  320a22e33d Merge pull request #2645 from 
kkatsuyuki/where-to-compress
   new  39e955def5 Docstring only
   new  5370e6c6b4 Fix mode-line message
   new  4e0b2f12a9 Merge branch 'devel'
   new  75a1f4d709 Avoid duplicate code in previous commit


Summary of changes:
 helm-files.el | 40 +---
 1 file changed, 21 insertions(+), 19 deletions(-)



[nongnu] elpa/helm-core updated (e93335b0b9 -> 75a1f4d709)

2024-03-17 Thread ELPA Syncer
elpasync pushed a change to branch elpa/helm-core.

  from  e93335b0b9 Fix long lines
  adds  1dd0bbd8b8 compress to common directory of input files
  adds  f38a6f3c2e reduced is-action-compress conditions and cleaned code
  adds  320a22e33d Merge pull request #2645 from 
kkatsuyuki/where-to-compress
  adds  39e955def5 Docstring only
  adds  5370e6c6b4 Fix mode-line message
  adds  4e0b2f12a9 Merge branch 'devel'
  adds  75a1f4d709 Avoid duplicate code in previous commit

No new revisions were added by this update.

Summary of changes:
 helm-files.el | 40 +---
 1 file changed, 21 insertions(+), 19 deletions(-)



[nongnu] elpa/pdf-tools 93e7492451: Fix pdf-loader-install calling pdf-tools-install with wrong args

2024-03-17 Thread ELPA Syncer
branch: elpa/pdf-tools
commit 93e74924517d39483b432d6c3c9b8f8b8f0eb50c
Author: Aaron L. Zeng 
Commit: Vedang Manerikar 

Fix pdf-loader-install calling pdf-tools-install with wrong args
---
 lisp/pdf-loader.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/pdf-loader.el b/lisp/pdf-loader.el
index b1eab34a4f..6b4634e398 100644
--- a/lisp/pdf-loader.el
+++ b/lisp/pdf-loader.el
@@ -57,7 +57,7 @@ see."
 (defun pdf-loader--load (&rest args)
   (pdf-loader--uninstall)
   (save-selected-window
-(pdf-tools-install args)))
+(apply #'pdf-tools-install args)))
 
 (defun pdf-loader--install (loader)
   (pdf-loader--uninstall)



[elpa] externals/auctex 0f8901dc5d 01/18: Set up outline mode variables early (bug#69254)

2024-03-17 Thread Tassilo Horn
branch: externals/auctex
commit 0f8901dc5dff4687def1250983ff1a66d2322db5
Author: Ikumi Keita 
Commit: Ikumi Keita 

Set up outline mode variables early (bug#69254)

* latex.el (LaTeX-mode-cleanup):
(LaTeX-common-initialization):
Revert the fix for bug#65750 partially so that call to outline mode in
`LaTeX-mode-hook' works.
* context.el (ConTeXt-mode-common-initialization):
(ConTeXt-mode-cleanup):
* tex-info.el: (Texinfo-mode):
(Texinfo-mode-cleanup):
Follow the above change for LaTeX mode.
---
 context.el  | 10 +++---
 latex.el| 23 ++-
 tex-info.el | 26 ++
 3 files changed, 15 insertions(+), 44 deletions(-)

diff --git a/context.el b/context.el
index 5ee0217d91..86991ccf93 100644
--- a/context.el
+++ b/context.el
@@ -1875,9 +1875,8 @@ that is, you do _not_ have to cater for this yourself by 
adding \\=' or $."
   ;; Outline support
   (require 'outline)
   (set (make-local-variable 'outline-level) #'ConTeXt-outline-level)
-  ;; Moved after `run-mode-hooks'. (bug#65750)
-  ;; (set (make-local-variable 'outline-regexp) (ConTeXt-outline-regexp t))
-  ;;(make-local-variable 'outline-heading-end-regexp)
+  (set (make-local-variable 'outline-regexp) (ConTeXt-outline-regexp t))
+  (make-local-variable 'outline-heading-end-regexp)
   (setq TeX-header-end (ConTeXt-header-end)
 TeX-trailer-start (ConTeXt-trailer-start))
 
@@ -1913,10 +1912,7 @@ Run after mode hooks and file local variables 
application."
  "[ \t]*\\("
  (ConTeXt-paragraph-commands-regexp) "\\|"
  "\\$\\$\\|" ; Plain TeX display math
- "$\\)"))
-
-  (or (local-variable-p 'outline-regexp)
-  (setq-local outline-regexp (ConTeXt-outline-regexp t
+ "$\\)")))
 
 (defun context-guess-current-interface ()
   "Guess what ConTeXt interface the current buffer is using."
diff --git a/latex.el b/latex.el
index 83de0e84f4..de70c7f57d 100644
--- a/latex.el
+++ b/latex.el
@@ -8268,16 +8268,6 @@ Run after mode hooks and file local variables 
application."
   (if (bound-and-true-p filladapt-mode)
   (turn-off-filladapt-mode))
 
-  ;; Don't overwrite the value the user set by hooks or file
-  ;; (directory) local variables.
-  (or (local-variable-p 'outline-regexp)
-  (setq-local outline-regexp (LaTeX-outline-regexp t)))
-  (or (local-variable-p 'outline-heading-alist)
-  (setq outline-heading-alist
-(mapcar (lambda (x)
-  (cons (concat "\\" (nth 0 x)) (nth 1 x)))
-LaTeX-section-list)))
-
   ;; Keep `LaTeX-paragraph-commands-regexp' in sync with
   ;; `LaTeX-paragraph-commands' in case the latter is updated by
   ;; hooks or file (directory) local variables.
@@ -8441,13 +8431,12 @@ function would return non-nil and `(match-string 1)' 
would return
 
   (require 'outline)
   (set (make-local-variable 'outline-level) #'LaTeX-outline-level)
-  ;; Moved after `run-mode-hooks'. (bug#65750)
-  ;; (set (make-local-variable 'outline-regexp) (LaTeX-outline-regexp t))
-  ;; (when (boundp 'outline-heading-alist)
-  ;;   (setq outline-heading-alist
-  ;; (mapcar (lambda (x)
-  ;;   (cons (concat "\\" (nth 0 x)) (nth 1 x)))
-  ;; LaTeX-section-list)))
+  (set (make-local-variable 'outline-regexp) (LaTeX-outline-regexp t))
+  (when (boundp 'outline-heading-alist)
+(setq outline-heading-alist
+  (mapcar (lambda (x)
+(cons (concat "\\" (nth 0 x)) (nth 1 x)))
+  LaTeX-section-list)))
 
   (setq-local TeX-auto-full-regexp-list
   (delete-dups (append LaTeX-auto-regexp-list
diff --git a/tex-info.el b/tex-info.el
index fc10f0184f..9f919ee309 100644
--- a/tex-info.el
+++ b/tex-info.el
@@ -31,9 +31,6 @@
 
 (require 'texinfo)
 
-;; Silence the compiler for variables:
-(defvar outline-heading-alist)
-
 ;;; Environments:
 (defvar Texinfo-environment-list
   '(("cartouche") ("command") ("copying") ("defcv") ("deffn") ("defivar")
@@ -672,13 +669,12 @@ value of `Texinfo-mode-hook'."
   (set (make-local-variable 'syntax-propertize-function)
texinfo-syntax-propertize-function)
 
-  ;; Moved after `run-mode-hooks'. (bug#65750)
-  ;; (setq-local outline-heading-alist
-  ;; (mapcar (lambda (x) (cons (concat "@" (car x)) (cadr x)))
-  ;; texinfo-section-list))
-  ;; (setq-local outline-regexp
-  ;; (concat (regexp-opt (mapcar #'car outline-heading-alist) t)
-  ;; "\\>"))
+  (setq-local outline-heading-alist
+  (mapcar (lambda (x) (cons (concat "@" (car x)) (cadr x)))
+ texinfo-section-list))
+  (setq-local outline-regexp
+  (concat (regexp-opt (mapcar #'car outline-heading-alist) t)
+ "\\>"))
 
   ;; Mostly AUCTeX stuff
   (set (make-local-variable 'TeX-command-current) #'TeX-command-master)
@@ -873,16 +869,6 @@ Run after mode hooks and file local variables appl

[elpa] externals/auctex updated (f124fe7d28 -> 0a477ebe9e)

2024-03-17 Thread Tassilo Horn
tsdh pushed a change to branch externals/auctex.

  from  f124fe7d28 Release GNU AUCTeX 14.0.3
   new  0f8901dc5d Set up outline mode variables early (bug#69254)
   new  8d34ef21e6 Track the latest version of clsguide.tex
   new  e2d2827e39 ; * style/ltx-base.el ("ltx-base"): Fix last change.
   new  cfc3d68ccc Add some missing macros
   new  b47a44611f * style/ltx-base.el ("ltx-base"): Add macros from 
fntguide.pdf.
   new  04814a0ea5 Track the latest version of usrguide.tex
   new  ff03bccb38 Add an entry about previewing of TikZ pictures
   new  03a5aac0d7 Improve guessing a name for the current header line
   new  806bdb01ca Improve usage of texmathp.el outside AUCTeX
   new  91073c6b79 Add new custom option `LaTeX-flymake-chktex-options'
   new  212bb3a3a1 ; * tex.el (TeX-process-check): Fix typo (bug#34645).
   new  89df2bbf59 ; * doc/changes.texi: Announce 
`LaTeX-flymake-chktex-options'.
   new  406eb61fc1 Make user query before killing a process optional
   new  1e39768287 Robustify in-buffer completion for surrounding comments
   new  074e1c9fd1 * tex.el: Delete Emacs<27 compat code from commit 
087b030001.
   new  509a71b436 Revert "Mark options as buffer-local with the :local 
keyword"
   new  2ee39c4e26 ; * latex.el: Fix copyright year after last revert.
   new  0a477ebe9e Merge remote-tracking branch 'origin/master' into 
externals/auctex


Summary of changes:
 context.el   |  18 ++-
 doc/auctex.texi  |  32 +++--
 doc/changes.texi |  12 +-
 doc/preview-faq.texi |  33 +-
 font-latex.el|  11 +-
 latex-flymake.el |  22 +++-
 latex.el | 160 +++--
 style/ltx-base.el| 325 ---
 style/xparse.el  |  17 ++-
 tex-info.el  |  26 +
 tex.el   | 101 
 texmathp.el  |   8 +-
 12 files changed, 560 insertions(+), 205 deletions(-)



[elpa] externals/auctex 406eb61fc1 13/18: Make user query before killing a process optional

2024-03-17 Thread Tassilo Horn
branch: externals/auctex
commit 406eb61fc156d2c4f76a1cfc75330299fcca18c4
Author: Arash Esbati 
Commit: Arash Esbati 

Make user query before killing a process optional

* doc/auctex.texi (Starting a Command):
* doc/changes.texi: Announce and document the new variable.

* tex.el (TeX-kill-process-without-query): New custom variable.
(TeX-process-check): Use it.  (bug#34645)
---
 doc/auctex.texi  |  6 ++
 doc/changes.texi |  5 +
 tex.el   | 23 ---
 3 files changed, 27 insertions(+), 7 deletions(-)

diff --git a/doc/auctex.texi b/doc/auctex.texi
index 91b8c40ab9..b499c63bef 100644
--- a/doc/auctex.texi
+++ b/doc/auctex.texi
@@ -3085,6 +3085,12 @@ The name of the file for temporarily storing the text 
when formatting
 the current region.
 @end defopt
 
+@defopt TeX-kill-process-without-query
+This boolean option controls whether @AUCTeX{} should ask user before
+aborting a running process for a @TeX{} document.  It can be set as a
+file-local variable.
+@end defopt
+
 @defopt TeX-header-end
 A regular expression matching the end of the header.  By default, this
 is @samp{\begin@{document@}} in @LaTeX{} mode and @samp{%**end of
diff --git a/doc/changes.texi b/doc/changes.texi
index 7fdf5d4669..2ac2ee056f 100644
--- a/doc/changes.texi
+++ b/doc/changes.texi
@@ -177,6 +177,11 @@ New custom variable @code{LaTeX-flymake-chktex-options} is 
provided to
 enable or disable specific warnings of @code{chktex} backend used by
 Flymake.
 
+@item
+The boolean custom variable @code{TeX-kill-process-without-query} can be
+used to disable the user query before aborting a running process for a
+@TeX{} document.  Default is @code{nil}.
+
 @item
 @AUCTeX{} now requires GNU Emacs 27.1 or higher.
 @end itemize
diff --git a/tex.el b/tex.el
index d53ef39be2..da2f91fe43 100644
--- a/tex.el
+++ b/tex.el
@@ -8769,22 +8769,31 @@ Return nil only if no process buffer exists."
   t)
   nil)))
 
+(defcustom TeX-kill-process-without-query nil
+  "If non-nil, abort a running document process without user query."
+  :type 'boolean
+  :local t
+  :safe #'booleanp
+  :group 'TeX-command)
+
 (defun TeX-process-check (name)
   "Check if a process for the TeX document NAME already exists.
 If so, give the user the choice of aborting the process or the current
-command."
+command.  If the value of `TeX-kill-process-without-query' is non-nil,
+user query is skipped and the process is aborted right away."
   (let (process)
 (while (and (setq process (TeX-process name))
 (eq (process-status process) 'run))
   (cond
-   ((yes-or-no-p (concat "Process `"
- (process-name process)
- "' for document `"
- name
- "' running, kill it? "))
+   ((or TeX-kill-process-without-query
+(yes-or-no-p (concat "Process `"
+ (process-name process)
+ "' for document `"
+ name
+ "' running, kill it? ")))
 (delete-process process))
((eq (process-status process) 'run)
-   (error "Cannot have two processes for the same document"))
+(error "Cannot have two processes for the same document"))
 
 (defun TeX-process-buffer-name (name)
   "Return name of AUCTeX buffer associated with the document NAME."



[elpa] externals/auctex 8d34ef21e6 02/18: Track the latest version of clsguide.tex

2024-03-17 Thread Tassilo Horn
branch: externals/auctex
commit 8d34ef21e671c3b89ce3906d335b9804b5e09757
Author: Arash Esbati 
Commit: Arash Esbati 

Track the latest version of clsguide.tex

* latex.el (LaTeX-common-initialization): Add "MakeTitlecase".

* style/ltx-base.el (LaTeX-property-list): New variable.
("ltx-base"): Update and rearrange the macros provided.
---
 latex.el  |   1 +
 style/ltx-base.el | 141 --
 2 files changed, 96 insertions(+), 46 deletions(-)

diff --git a/latex.el b/latex.el
index de70c7f57d..b4b27de9b4 100644
--- a/latex.el
+++ b/latex.el
@@ -8762,6 +8762,7 @@ function would return non-nil and `(match-string 1)' 
would return
  '("mathring" t)
  '("MakeUppercase" t)
  '("MakeLowercase" t)
+ '("MakeTitlecase" t)
  '("chaptermark" "Text")
  '("sectionmark" "Text")
  '("subsectionmark" "Text")
diff --git a/style/ltx-base.el b/style/ltx-base.el
index 693308a378..67e1f6b41c 100644
--- a/style/ltx-base.el
+++ b/style/ltx-base.el
@@ -1,6 +1,6 @@
 ;;; ltx-base.el --- AUCTeX style for basic LaTeX commands.  -*- 
lexical-binding: t; -*-
 
-;; Copyright (C) 2004--2022 Free Software Foundation, Inc.
+;; Copyright (C) 2004--2024 Free Software Foundation, Inc.
 
 ;; Author: Frank Küster 
 ;; Maintainer: auctex-de...@gnu.org
@@ -32,12 +32,18 @@
 ;;; Code:
 
 (require 'tex)
+(require 'latex)
 
 ;; Silence the compiler:
 (declare-function font-latex-add-keywords
   "font-latex"
   (keywords class))
 
+(defvar LaTeX-property-list '("abspage" "page" "pagenum" "label"
+  "title" "target" "pagetarget"
+  "counter" "xpos" "ypos")
+  "List of properties predefined in LaTeX kernel.")
+
 (TeX-add-style-hook
  "ltx-base"
  (lambda ()
@@ -54,35 +60,31 @@
 '("LoadClass" [ "Options" ] "Class" [ "Release information" ])
 '("LoadClassWithOptions""Class" [ "Release information" ])
 
-;; 4.3 Option declaration
-'("DeclareOption" "Option" t)
-'("DeclareOption*" t)
-
-;; 4.4 Commands within option code
-'("CurrentOption" 0)
-'("OptionNotUsed" 0)
-
-;; 4.5 Moving options around
-'("PassOptionsToPackage" "Option(s) list" "Package")
-'("PassOptionsToClass" "Option(s) list" "Class")
-
-;; 4.6 Delaying code
+;; 4.3 Delaying code
 '("AtEndOfPackage" t)
 '("AtEndOfClass" t)
 '("AtBeginDocument" t)
 '("AtEndDocument" t)
-'("AtBeginDvi" t)
+;; Marked as legacy LaTeX code:
+;; '("AtBeginDvi" t)
 
-;; 4.7 Option processing
-'("ProcessOptions" (TeX-arg-literal "\\relax"))
-"ProcessOptions*"
-'("ExecuteOptions" "Option list")
 
-;; 4.8 Safe file commands
+;; 4.4 Creating and using keyval option:
+'("DeclareKeys" ["Family"] t)
+'("DeclareUnknownKeyHandler" ["Family"] t)
+'("ProcessKeyOptions" ["Family"])
+'("SetKeys" ["Family"] t)
+
+;; 4.5 Passing options around
+'("PassOptionsToPackage" "Option(s) list" "Package")
+'("PassOptionsToClass" "Option(s) list" "Class")
+
+;; 4.6 Safe file commands
 '("IfFileExists" "File" 2)
 '("InputIfFileExists" "File" 2)
 
-;; 4.9 Reporting errors, etc
+
+;; 4.7 Reporting errors, etc
 '("ClassError" "Class name" "Error text" t)
 '("PackageError" "Package name" "Error text" t)
 
@@ -97,7 +99,48 @@
 '("MessageBreak" 0)
 '("message" "Log Message")
 
-;; 4.10 Defining commands
+;; 5.1 Layout parameters
+;; \paperheight & \paperwidth are in latex.el
+
+;; 5.2 Case changing
+;; \MakeUppercase, \MakeLowercase & \MakeTitlecase are in latex.el
+
+;; 5.4 Better user-defined math display environments
+"ignorespacesafterend"
+
+;; 5.5 Normalising spacing
+"normalsfcodes"
+
+;; 5.3 Better user-defined math display environments
+'("ignorespacesafterend")
+
+;; 5.4 Normalising spacing
+'("normalsfcodes")
+
+;; 5.6 Extended and expandable references of properties
+'("RecordProperties" "Label"
+  (TeX-arg-completing-read-multiple LaTeX-property-list "Property"))
+'("RefProperty" "Label"
+  (TeX-arg-completing-read LaTeX-property-list "Property"))
+'("RefUndefinedWarn" "Label"
+  (TeX-arg-completing-read LaTeX-property-list "Property"))
+
+'("NewProperty" "Name"
+  (TeX-arg-completing-read ("now" "shipout") "Setpoint")
+  "Default" t)
+'("SetProperty" "Name"
+  (TeX-arg-completing-read ("now" "shipout") "Setpoint")
+  "Default" t)
+
+;; 5.7 Preparing link targets
+'("MakeLinkTarget" ["Prefix"] TeX-arg-counter)
+'("MakeLinkTarget*" "Target name")
+
+'("LinkTargetOn" 0)
+'("LinkTargetOff" 0)
+'("NextLinkTarget" "Target name")
+
+;; 6.1 Defining commands
 '("DeclareRobustCommand"
   TeX-arg-define-macro [ TeX-arg-define-macro-arguments ] t)
 '("DeclareRobustCommand*"
@@ -106,30 +149,25 @@
 '("CheckCommand" TeX-arg-macro [ TeX-arg-define-

[elpa] externals/auctex 04814a0ea5 06/18: Track the latest version of usrguide.tex

2024-03-17 Thread Tassilo Horn
branch: externals/auctex
commit 04814a0ea5c5623d16245d7fd109cd5b9b5972a8
Author: Arash Esbati 
Commit: Arash Esbati 

Track the latest version of usrguide.tex

* font-latex.el (font-latex-built-in-keyword-classes): Add
fontification support for new macros.

* latex.el (LaTeX-common-initialization): Support new macros.
Rearrange acc. to usrguide.tex.

* style/xparse.el ("xparse"): Move deprecated macros from latex.el
to xparse.el.
---
 font-latex.el   | 11 -
 latex.el| 70 +
 style/xparse.el | 17 --
 3 files changed, 71 insertions(+), 27 deletions(-)

diff --git a/font-latex.el b/font-latex.el
index ab33b4dbc7..ccddd8b128 100644
--- a/font-latex.el
+++ b/font-latex.el
@@ -373,7 +373,16 @@ variable `font-latex-fontify-sectioning'." ',num)
   ("DeclareDocumentEnvironment" "")
   ("NewDocumentEnvironment" "")
   ("ProvideDocumentEnvironment" "")
-  ("RenewDocumentEnvironment"   ""))
+  ("RenewDocumentEnvironment"   "")
+  ("NewCommandCopy" "|{\\|{\\")
+  ("RenewCommandCopy"   "|{\\|{\\")
+  ("DeclareCommandCopy" "|{\\|{\\")
+  ("ShowCommand""|{\\")
+  ("NewEnvironmentCopy" "{{")
+  ("RenewEnvironmentCopy"   "{{")
+  ("DeclareEnvironmentCopy" "{{")
+  ("ShowEnvironment""{")
+  ("listfiles" "["))
  font-lock-function-name-face 2 command)
 ("function-noarg"
  ("enspace" "enskip" "quad" "qquad" "nonumber"
diff --git a/latex.el b/latex.el
index c57192d106..3e3452a4d3 100644
--- a/latex.el
+++ b/latex.el
@@ -8761,9 +8761,6 @@ function would return non-nil and `(match-string 1)' 
would return
  '("textsubscript" "Text")
  '("textcircled" "Text")
  '("mathring" t)
- '("MakeUppercase" t)
- '("MakeLowercase" t)
- '("MakeTitlecase" t)
  '("chaptermark" "Text")
  '("sectionmark" "Text")
  '("subsectionmark" "Text")
@@ -8772,7 +8769,7 @@ function would return non-nil and `(match-string 1)' 
would return
  '("subparagraphmark" "Text")
 
  "LaTeXe"
- "listfiles" "frontmatter" "mainmatter" "backmatter"
+ "frontmatter" "mainmatter" "backmatter"
  "leftmark" "rightmark"
  "textcompwordmark" "textvisiblespace" "textemdash" "textendash"
  "textexclamdown" "textquestiondown" "textquotedblleft"
@@ -8944,25 +8941,25 @@ function would return non-nil and `(match-string 1)' 
would return
  '("mathversion" (TeX-arg-completing-read ("normal" "bold") "Version"))
 
  ;; Macros for document-command parser, aka xparse added to LaTeX
- ;; kernel with 2020-10-01 release:
- '("DeclareDocumentCommand"
-   TeX-arg-define-macro "Argument specification" t)
+ ;; kernel with 2020-10-01 release and documented in usrguide.pdf
  '("NewDocumentCommand"
TeX-arg-define-macro "Argument specification" t)
  '("RenewDocumentCommand"
TeX-arg-macro "Argument specification" t)
  '("ProvideDocumentCommand"
TeX-arg-define-macro "Argument specification" t)
+ '("DeclareDocumentCommand"
+   TeX-arg-define-macro "Argument specification" t)
 
  ;; Declaring environments
- '("DeclareDocumentEnvironment" TeX-arg-define-environment
-   "Argument specification" t t)
  '("NewDocumentEnvironment" TeX-arg-define-environment
"Argument specification" t t)
  '("RenewDocumentEnvironment" TeX-arg-environment
"Argument specification" t t)
  '("ProvideDocumentEnvironment" TeX-arg-define-environment
"Argument specification" t t)
+ '("DeclareDocumentEnvironment" TeX-arg-define-environment
+   "Argument specification" t t)
 
  ;; Fully-expandable document commands
  '("DeclareExpandableDocumentCommand"
@@ -8975,9 +8972,6 @@ function would return non-nil and `(match-string 1)' 
would return
TeX-arg-define-macro "Argument specification" t)
 
  ;; Testing special values
- '("IfBooleanTF" 3)
- '("IfBooleanT" 2)
- '("IfBooleanF" 2)
  '("IfNoValueTF" 3)
  '("IfNoValueT" 2)
  '("IfNoValueF" 2)
@@ -8989,18 +8983,49 @@ function would return non-nil and `(match-string 1)' 
would return
  '("IfBlankF" 2)
  "BooleanTrue"
  "BooleanFalse"
+ '("IfBooleanTF" 3)
+ '("IfBooleanT" 2)
+ '("IfBooleanF" 2)
+
  ;; Argument processors
- "ProcessedArgument"
- "ReverseBoolean"
  '("SplitArgument" "Number" "Token")
  '("SplitList" "Token")
- "TrimSpaces"
  '("ProcessList" "List" "Function")
- ;; Access to the argument specification
- '("GetDocumentCommandArgSpec" TeX-arg-macro)
- '("GetDocumentEnvironmmentArgSpec" TeX-arg-environment)
- '("ShowDocumentCommandArgSpec" TeX-arg-macro)
- '("ShowDocumentEnvironmentArgSpec" TeX-arg-environment)
+ "ReverseBoolean"
+ "TrimSpaces"
+ "ProcessedArgument"
+
+ ;; Copying and showing (robust) commands and environments
+ '("

[elpa] externals/auctex b47a44611f 05/18: * style/ltx-base.el ("ltx-base"): Add macros from fntguide.pdf.

2024-03-17 Thread Tassilo Horn
branch: externals/auctex
commit b47a44611fc6127385ea023cda299b4ee2d4b137
Author: Arash Esbati 
Commit: Arash Esbati 

* style/ltx-base.el ("ltx-base"): Add macros from fntguide.pdf.
---
 style/ltx-base.el | 196 +-
 1 file changed, 194 insertions(+), 2 deletions(-)

diff --git a/style/ltx-base.el b/style/ltx-base.el
index 19a1da1771..472a99376f 100644
--- a/style/ltx-base.el
+++ b/style/ltx-base.el
@@ -27,7 +27,8 @@
 
 ;; This file adds general support for basic LaTeX commands used for
 ;; writing LaTeX class files (.cls), style files (.sty) and package
-;; files (.dtx).  Most of the macros are taken from clsguide.pdf.
+;; files (.dtx).  Most of the macros are taken from clsguide.pdf and
+;; fntguide.pdf
 
 ;;; Code:
 
@@ -47,6 +48,8 @@
 (TeX-add-style-hook
  "ltx-base"
  (lambda ()
+
+   ;; Macros from clsguide.pdf
(TeX-add-symbols
 
 ;; 4.1 Identification.  Other '\Provide*' macros are available in
@@ -165,6 +168,145 @@
 '("@ifnextchar" (TeX-arg-literal " ") (TeX-arg-free "Character") 2)
 '("expandafter" 0) )
 
+   ;; Run the style hook so we can use `LaTeX-fontenc-package-options':
+   (TeX-run-style-hooks "fontenc")
+
+   ;; Macros from fntguide.pdf
+   (TeX-add-symbols
+
+;; 2.5 Special font declaration commands
+'("DeclareFixedFont" TeX-arg-define-macro
+  (TeX-arg-completing-read LaTeX-fontenc-package-options "Encoding")
+  4)
+'("DeclareTextFontCommand" TeX-arg-define-macro t)
+'("DeclareOldFontCommand" TeX-arg-define-macro 2)
+
+;; 3.3 Declaring math versions
+'("DeclareMathVersion" "Version")
+
+;; 3.4 Declaring math alphabets
+'("DeclareMathAlphabet" TeX-arg-define-macro
+  (TeX-arg-completing-read LaTeX-fontenc-package-options "Encoding")
+  3)
+'("SetMathAlphabet" TeX-arg-define-macro
+  "Version"
+  (TeX-arg-completing-read LaTeX-fontenc-package-options "Encoding")
+  3)
+
+;; 3.5 Declaring symbol fonts
+'("DeclareSymbolFont" "Symbol font"
+  (TeX-arg-completing-read LaTeX-fontenc-package-options "Encoding")
+  3)
+'("SetSymbolFont" "Symbol font" "Version"
+  (TeX-arg-completing-read LaTeX-fontenc-package-options "Encoding")
+  3)
+'("DeclareSymbolFontAlphabet" TeX-arg-define-macro "Symbol font")
+
+;; 3.6 Declaring math symbols
+'("DeclareMathSymbol" "Symbol"
+  (TeX-arg-completing-read ("0" "1" "2" "3" "4" "5" "6" "7"
+"\\marthord" "\\mathop" "\\mathbin"
+"\\mathrel" "\\mathopen" "\\mathclose"
+"\\mathpunct" "\\mathalph")
+   "Type")
+  2)
+'("DeclareMathDelimiter" "Symbol"
+  (TeX-arg-completing-read ("0" "1" "2" "3" "4" "5" "6" "7"
+"\\marthord" "\\mathop" "\\mathbin"
+"\\mathrel" "\\mathopen" "\\mathclose"
+"\\mathpunct" "\\mathalph")
+   "Type")
+  4)
+'("DeclareMathAccent" TeX-arg-define-macro
+  (TeX-arg-completing-read ("0" "1" "2" "3" "4" "5" "6" "7"
+"\\marthord" "\\mathop" "\\mathbin"
+"\\mathrel" "\\mathopen" "\\mathclose"
+"\\mathpunct" "\\mathalph")
+   "Type")
+  2)
+'("DeclareMathRadical" TeX-arg-define-macro 4)
+
+;; 3.7 Declaring math sizes
+'("DeclareMathSizes" 4)
+
+;; 4.2 Font definition file commands
+'("DeclareFontFamily"
+  (TeX-arg-completing-read LaTeX-fontenc-package-options "Encoding")
+  2)
+'("DeclareFontShape"
+  (TeX-arg-completing-read LaTeX-fontenc-package-options "Encoding")
+  5)
+'("DeclareSizeFunction" 2)
+
+;; 5.2 Encoding definition file commands
+'("DeclareFontEncoding" "Encoding" 2)
+'("DeclareTextCommand" TeX-arg-define-macro
+  (TeX-arg-completing-read LaTeX-fontenc-package-options "Encoding")
+  [TeX-arg-define-macro-arguments] t)
+'("ProvideTextCommand" TeX-arg-define-macro
+  (TeX-arg-completing-read LaTeX-fontenc-package-options "Encoding")
+  [TeX-arg-define-macro-arguments] t)
+'("DeclareTextSymbol" TeX-arg-define-macro
+  (TeX-arg-completing-read LaTeX-fontenc-package-options "Encoding")
+  "Slot")
+'("DeclareTextAccent" TeX-arg-define-macro
+  (TeX-arg-completing-read LaTeX-fontenc-package-options "Encoding")
+  "Slot")
+'("DeclareTextComposite" TeX-arg-define-macro
+  (TeX-arg-completing-read LaTeX-fontenc-package-options "Encoding")
+  2)
+'("DeclareTextCompositeCommand" TeX-arg-define-macro
+  (TeX-arg-completing-read LaTeX-fontenc-package-options "Encoding")
+  2)
+"LastDeclaredEncoding"
+
+;; 5.3 Default definitions
+'("DeclareTextCommandDefault" TeX-arg-define-macro t)
+'("DeclareTextAccentDefault" TeX-arg-define-macro
+  (Te

[elpa] externals/auctex cfc3d68ccc 04/18: Add some missing macros

2024-03-17 Thread Tassilo Horn
branch: externals/auctex
commit cfc3d68ccc283f597f5320da74cc39ca8b38fa74
Author: Arash Esbati 
Commit: Arash Esbati 

Add some missing macros

* latex.el (LaTeX-auto-class-regexp-list): Add "DeclareFixedFont".
(LaTeX-common-initialization): Add font related selection macros.
---
 latex.el | 16 
 1 file changed, 16 insertions(+)

diff --git a/latex.el b/latex.el
index b4b27de9b4..c57192d106 100644
--- a/latex.el
+++ b/latex.el
@@ -1789,6 +1789,7 @@ This is necessary since index entries may contain 
commands and stuff.")
 "DeclareTextAccent"  "DeclareTextComposite"
 "ProvideTextCommand" "ProvideTextSymbol"
 "ProvideTextAccent"  "ProvideTextComposite"
+"DeclareFixedFont"
 "DeclareTextFontCommand"
 "DeclareOldFontCommand"))
   "{?\\([A-Za-z]+\\)}?")
@@ -8917,6 +8918,10 @@ function would return non-nil and `(match-string 1)' 
would return
  ;; The next 3 were added to LaTeX kernel with 2020-02-02 release:
  '("sscshape" -1) '("swshape"  -1) '("ulcshape" -1)
  ;; These are for the default settings:
+ "encodingdefault" "familydefault" "seriesdefault" "shapedefault"
+ "rmdefault" "sfdefault" "ttdefault"
+ "bfdefault" "mddefault"
+ "itdefault" "sldefault" "scdefault" "updefault"
  "sscdefault" "swdefault" "ulcdefault"
  ;; This macro is for `spaced small caps'.  Currently, only some
  ;; commercial fonts offer this.  It should be moved into
@@ -8925,8 +8930,19 @@ function would return non-nil and `(match-string 1)' 
would return
  ;; User level reset macros:
  '("normalfont" -1) '("normalshape" -1)
 
+ ;; Low level commands for selecting a font:
+ '("fontencoding" "Encoding")
+ '("fontfamily" "Family")
+ '("fontseries" "Series")
+ '("fontshape" "Shape")
+ '("fontsize" "Size" "Baselineskip")
+ "selectfont"
+ '("usefont" "Encoding" "Family" "Series" "Shape")
  '("linespread" "Factor")
 
+ ;; This one only be used outside math mode:
+ '("mathversion" (TeX-arg-completing-read ("normal" "bold") "Version"))
+
  ;; Macros for document-command parser, aka xparse added to LaTeX
  ;; kernel with 2020-10-01 release:
  '("DeclareDocumentCommand"



[elpa] externals/auctex ff03bccb38 07/18: Add an entry about previewing of TikZ pictures

2024-03-17 Thread Tassilo Horn
branch: externals/auctex
commit ff03bccb3814d34a6ada3e1d1f7b2a75418514fd
Author: Arash Esbati 
Commit: Arash Esbati 

Add an entry about previewing of TikZ pictures

* doc/preview-faq.texi (Requirements): Adjust the name of macOS.
(Customization): Add an entry about preview and the TikZ package.
(bug#41089)
---
 doc/preview-faq.texi | 33 +++--
 1 file changed, 31 insertions(+), 2 deletions(-)

diff --git a/doc/preview-faq.texi b/doc/preview-faq.texi
index 95d70f05de..38044af6a9 100644
--- a/doc/preview-faq.texi
+++ b/doc/preview-faq.texi
@@ -78,8 +78,8 @@ Emacs.
 It is known to work under the X Window System for Linux and for several
 flavors of Unix: we have reports for HP and Solaris.
 
-There are several development versions of Emacs around for native MacOS
-Carbon, and @previewlatex{} is working with them, too.
+There are several versions of Emacs around for macOS, and @previewlatex{}
+is working with them, too.
 
 With Windows, both native Emacs and Cygwin Emacs should work.  However, it
 is known that @url{https://miktex.org/,MiK@TeX{}} sometimes doesn't work
@@ -210,6 +210,35 @@ facilities of @file{preview.sty} to tell it how to resolve 
this, whether
 you want no previews, previews of whole slides or previews of inner
 material.
 
+@subsection Does @previewlatex{} work with the TikZ package?
+
+@previewlatex{} doesn't have support for the @code{tikzpicture}
+environment built-in.  It can be included manually by adding the lines:
+@example
+\usepackage[displaymath,sections,graphics,floats,textmath]@{preview@}
+\PreviewEnvironment[@{[]@}]@{tikzpicture@}
+@end example
+
+@noindent
+to the document preamble.
+
+Things get more complicated when the code inside the @code{tikzpicture}
+environment contains @code{$ $} for inserting inline math and
+@previewlatex{} is instructed to insert previews for it into the buffer.
+In this case, you can disable previews for inline math by changing the
+lines above to:
+@example
+\usepackage[displaymath,sections,graphics,floats
+  % textmath   %% Don't preview inline math
+]@{preview@}
+\PreviewEnvironment[@{[]@}]@{tikzpicture@}
+@end example
+
+Another solution is to source out the TikZ pictures into an external file
+which uses the @code{standalone} class, process them and insert them back
+into the main file as figures with the @code{\includegraphics} macro.  In
+this case, previewing of inline math will work as usual.
+
 @node Troubleshooting, Other formats, Customization, Frequently Asked Questions
 @section Troubleshooting
 



[elpa] externals/auctex 2ee39c4e26 17/18: ; * latex.el: Fix copyright year after last revert.

2024-03-17 Thread Tassilo Horn
branch: externals/auctex
commit 2ee39c4e2652bed94e230abdbdd129bec6b5c883
Author: Arash Esbati 
Commit: Arash Esbati 

; * latex.el: Fix copyright year after last revert.
---
 latex.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/latex.el b/latex.el
index 8dfbf4fe86..cd87bd9931 100644
--- a/latex.el
+++ b/latex.el
@@ -1,6 +1,6 @@
 ;;; latex.el --- Support for LaTeX documents.  -*- lexical-binding: t; -*-
 
-;; Copyright (C) 1991, 1993-2023 Free Software Foundation, Inc.
+;; Copyright (C) 1991, 1993-2024 Free Software Foundation, Inc.
 
 ;; Maintainer: auctex-de...@gnu.org
 ;; Keywords: tex



[elpa] externals/auctex 03a5aac0d7 08/18: Improve guessing a name for the current header line

2024-03-17 Thread Tassilo Horn
branch: externals/auctex
commit 03a5aac0d7843b8e89701d73b29eb02d5654db28
Author: Arash Esbati 
Commit: Arash Esbati 

Improve guessing a name for the current header line

* latex.el (LaTeX-outline-name): Handle long titles and the ones
with balanced braces correctly.  (bug#32062)

Co-authored-by: Omar Antolin Camarena 
---
 latex.el | 13 ++---
 1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/latex.el b/latex.el
index 3e3452a4d3..36177c4847 100644
--- a/latex.el
+++ b/latex.el
@@ -366,9 +366,16 @@ If so, return the second element, otherwise return nil."
 (defun LaTeX-outline-name ()
   "Guess a name for the current header line."
   (save-excursion
-(if (re-search-forward "{\\([^}]*\\)}" (+ (point) fill-column 10) t)
-(match-string 1)
-  (buffer-substring (point) (min (point-max) (+ 20 (point)))
+(search-forward "{" nil t)
+(let ((beg (point)))
+  (backward-char)
+  (condition-case nil
+  (with-syntax-table (TeX-search-syntax-table ?\{ ?\})
+(forward-sexp)
+(backward-char))
+(error (forward-sentence)))
+  (replace-regexp-in-string "[\n\r][ ]*" " "
+(buffer-substring beg (point))
 
 (add-hook 'TeX-remove-style-hook
   (lambda () (setq LaTeX-largest-level nil)))



[elpa] externals/auctex e2d2827e39 03/18: ; * style/ltx-base.el ("ltx-base"): Fix last change.

2024-03-17 Thread Tassilo Horn
branch: externals/auctex
commit e2d2827e391144ac6273854ea6eb24514ce48b18
Author: Arash Esbati 
Commit: Arash Esbati 

; * style/ltx-base.el ("ltx-base"): Fix last change.
---
 style/ltx-base.el | 10 +++---
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/style/ltx-base.el b/style/ltx-base.el
index 67e1f6b41c..19a1da1771 100644
--- a/style/ltx-base.el
+++ b/style/ltx-base.el
@@ -105,17 +105,13 @@
 ;; 5.2 Case changing
 ;; \MakeUppercase, \MakeLowercase & \MakeTitlecase are in latex.el
 
-;; 5.4 Better user-defined math display environments
+;; 5.3 Better user-defined math display environments
 "ignorespacesafterend"
 
-;; 5.5 Normalising spacing
+;; 5.4 Normalising spacing
 "normalsfcodes"
 
-;; 5.3 Better user-defined math display environments
-'("ignorespacesafterend")
-
-;; 5.4 Normalising spacing
-'("normalsfcodes")
+;; 5.5 Querying localisation: TBD
 
 ;; 5.6 Extended and expandable references of properties
 '("RecordProperties" "Label"



[elpa] externals/auctex 509a71b436 16/18: Revert "Mark options as buffer-local with the :local keyword"

2024-03-17 Thread Tassilo Horn
branch: externals/auctex
commit 509a71b4369c9913401791344fdd6ec3d9b3e79f
Author: Arash Esbati 
Commit: Arash Esbati 

Revert "Mark options as buffer-local with the :local keyword"

This reverts commit 77a02f837a0d32e2f7b47764d6e7f64ad76001ba.

The defcustom :local tag isn't handled correctly in Emacs 27.1.
This issue was fixed with commit dea3d6aa18 and is available with
Emacs 27.2.  AUCTeX can't use this tag until Emacs 28 the minimum
required version.

* tex.el (TeX-kill-process-without-query): Don't use :local
keyword as well.
---
 context.el |  8 +++
 latex.el   | 32 +++-
 tex.el | 72 --
 3 files changed, 58 insertions(+), 54 deletions(-)

diff --git a/context.el b/context.el
index 86991ccf93..29bbccd66a 100644
--- a/context.el
+++ b/context.el
@@ -496,8 +496,8 @@ in your init file such as .emacs.d/init.el or .emacs."
   "ConTeXt Mark version used for running ConTeXt."
   :type 'string
   :group 'TeX-command
-  :safe #'stringp
-  :local t)
+  :safe #'stringp)
+(make-variable-buffer-local 'ConTeXt-Mark-version)
 
 (defun ConTeXt-numbered-section-heading ()
   "Hook to prompt for ConTeXt section name.
@@ -626,8 +626,8 @@ for a label to be inserted after the sectioning command."
 (defcustom ConTeXt-default-environment "itemize"
   "The default environment when creating new ones with `ConTeXt-environment'."
   :group 'ConTeXt-environment
-  :type 'string
-  :local t)
+  :type 'string)
+(make-variable-buffer-local 'ConTeXt-default-environment)
 
 (TeX-auto-add-type "environment" "ConTeXt")
 
diff --git a/latex.el b/latex.el
index 1f84598d4e..8dfbf4fe86 100644
--- a/latex.el
+++ b/latex.el
@@ -1,6 +1,6 @@
 ;;; latex.el --- Support for LaTeX documents.  -*- lexical-binding: t; -*-
 
-;; Copyright (C) 1991, 1993-2024 Free Software Foundation, Inc.
+;; Copyright (C) 1991, 1993-2023 Free Software Foundation, Inc.
 
 ;; Maintainer: auctex-de...@gnu.org
 ;; Keywords: tex
@@ -69,8 +69,9 @@
   "Default options to documentclass.
 A comma-seperated list of strings."
   :group 'LaTeX-environment
-  :type '(repeat (string :format "%v"))
-  :local t)
+  :type '(repeat (string :format "%v")))
+
+(make-variable-buffer-local 'LaTeX-default-options)
 
 (defcustom LaTeX-insert-into-comments t
   "Whether insertion commands stay in comments.
@@ -560,8 +561,8 @@ The behaviour of this hook is controlled by variable 
`LaTeX-section-label'."
 It is overridden by `LaTeX-default-document-environment' when it
 is non-nil and the current environment is \"document\"."
   :group 'LaTeX-environment
-  :type 'string
-  :local t)
+  :type 'string)
+(make-variable-buffer-local 'LaTeX-default-environment)
 
 (defvar-local LaTeX-default-document-environment nil
   "The default environment when creating new ones with
@@ -1008,8 +1009,8 @@ optional argument is omitted.)"
   :group 'LaTeX-environment
   :type '(choice (const :tag "Do not prompt" nil)
  (const :tag "Empty" "")
- (string :format "%v"))
-  :local t)
+ (string :format "%v")))
+(make-variable-buffer-local 'LaTeX-float)
 
 (defcustom LaTeX-top-caption-list nil
   "List of float environments with top caption."
@@ -1053,14 +1054,14 @@ code listings and take a caption and label."
 (defcustom LaTeX-default-format ""
   "Default format for array and tabular environments."
   :group 'LaTeX-environment
-  :type 'string
-  :local t)
+  :type 'string)
+(make-variable-buffer-local 'LaTeX-default-format)
 
 (defcustom LaTeX-default-width "1.0\\linewidth"
   "Default width for minipage and tabular* environments."
   :group 'LaTeX-environment
-  :type 'string
-  :local t)
+  :type 'string)
+(make-variable-buffer-local 'LaTeX-default-width)
 
 (defcustom LaTeX-default-position ""
   "Default position for array and tabular environments.
@@ -1068,8 +1069,8 @@ If nil, act like the empty string is given, but do not 
prompt."
   :group 'LaTeX-environment
   :type '(choice (const :tag "Do not prompt" nil)
  (const :tag "Empty" "")
- string)
-  :local t)
+ string))
+(make-variable-buffer-local 'LaTeX-default-position)
 
 (defcustom LaTeX-equation-label "eq:"
   "Default prefix to equation labels."
@@ -1154,8 +1155,9 @@ corresponding entry."
   :group 'LaTeX-label
   :type '(repeat (cons (string :tag "Environment")
(choice (string :tag "Label prefix")
-   (symbol :tag "Label prefix symbol"
-  :local t)
+   (symbol :tag "Label prefix symbol")
+
+(make-variable-buffer-local 'LaTeX-label-alist)
 
 (defvar TeX-read-label-prefix nil
   "Initial input for the label in `TeX-read-label'.")
diff --git a/tex.el b/tex.el
index f24752b75d..053a0ade6d 100644
--- a/tex.el
+++ b/tex.el
@@ -526,8 +526,8 @@ string."
 
 (defcustom TeX-command-extra-options ""
   "String with the extra options to be given to th

[elpa] externals/auctex 1e39768287 14/18: Robustify in-buffer completion for surrounding comments

2024-03-17 Thread Tassilo Horn
branch: externals/auctex
commit 1e397682876ff9ff2bfe393fcd36480e46019992
Author: Arash Esbati 
Commit: Arash Esbati 

Robustify in-buffer completion for surrounding comments

* latex.el (LaTeX-completion-find-argument-boundaries): Fix the
function name.
Ignore comments when finding possible boundaries of an argument.
(LaTeX--arguments-completion-at-point): Use the new name.
---
 latex.el | 9 +
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/latex.el b/latex.el
index 36177c4847..1f84598d4e 100644
--- a/latex.el
+++ b/latex.el
@@ -8079,8 +8079,8 @@ ARG is the entry for the current argument in buffer 
stored in
 
 (t nil)
 
-(defun LaTeX-completion-find-argument-boundries (&rest args)
-  "Find the boundries of the current LaTeX argument.
+(defun LaTeX-completion-find-argument-boundaries (&rest args)
+  "Find the boundaries of the current LaTeX argument.
 ARGS are characters passed to the function
 `TeX-search-syntax-table'.  If ARGS are omitted, all characters
 defined in the variable `LaTeX-completion-macro-delimiters' are
@@ -8088,7 +8088,8 @@ taken."
   (save-restriction
 (narrow-to-region (line-beginning-position -40)
   (line-beginning-position  40))
-(let ((args (or args (LaTeX-completion-macro-delimiters
+(let ((args (or args (LaTeX-completion-macro-delimiters)))
+  (parse-sexp-ignore-comments t))
   (condition-case nil
   (with-syntax-table (apply #'TeX-search-syntax-table args)
 (scan-lists (point) 1 1))
@@ -8100,7 +8101,7 @@ Completion for macros starting with `\\' is provided by 
the
 function `TeX--completion-at-point' which should come first in
 `completion-at-point-functions'."
   ;; Exit if not inside an argument or in a comment:
-  (when (and (LaTeX-completion-find-argument-boundries)
+  (when (and (LaTeX-completion-find-argument-boundaries)
  (not (nth 4 (syntax-ppss
 (let ((entry (LaTeX-what-macro)))
   (cond ((and entry



[elpa] externals/auctex 212bb3a3a1 11/18: ; * tex.el (TeX-process-check): Fix typo (bug#34645).

2024-03-17 Thread Tassilo Horn
branch: externals/auctex
commit 212bb3a3a1bb549d953e0df211c6ebda9cb6dd25
Author: Arash Esbati 
Commit: Arash Esbati 

; * tex.el (TeX-process-check): Fix typo (bug#34645).
---
 tex.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tex.el b/tex.el
index 9987937a0b..d53ef39be2 100644
--- a/tex.el
+++ b/tex.el
@@ -8770,7 +8770,7 @@ Return nil only if no process buffer exists."
   nil)))
 
 (defun TeX-process-check (name)
-  "Check if a process for the TeX document NAME already exist.
+  "Check if a process for the TeX document NAME already exists.
 If so, give the user the choice of aborting the process or the current
 command."
   (let (process)



[elpa] externals/auctex 806bdb01ca 09/18: Improve usage of texmathp.el outside AUCTeX

2024-03-17 Thread Tassilo Horn
branch: externals/auctex
commit 806bdb01ca76c96e1d152b2c2cdfeee19ca32fe8
Author: Arash Esbati 
Commit: Arash Esbati 

Improve usage of texmathp.el outside AUCTeX

* texmathp.el (texmathp): Add a check if the current major mode
derives from `TeX-mode'.  (bug#69681)
---
 texmathp.el | 8 +---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/texmathp.el b/texmathp.el
index 3316c461e9..b4ccf7ce4a 100644
--- a/texmathp.el
+++ b/texmathp.el
@@ -1,6 +1,6 @@
 ;;; texmathp.el -- Code to check if point is inside LaTeX math environment  
-*- lexical-binding: t; -*-
 
-;; Copyright (C) 1998-2022  Free Software Foundation, Inc.
+;; Copyright (C) 1998-2024  Free Software Foundation, Inc.
 
 ;; Author: Carsten Dominik 
 ;; Maintainer: auctex-de...@gnu.org
@@ -325,8 +325,10 @@ See the variable `texmathp-tex-commands' about which 
commands are checked."
 ;; return immediately nil.  This relies on the function
 ;; `LaTeX-verbatim-p'.  We add a check here in case this library
 ;; is used stand-alone without latex.el provided by AUCTeX
-;; (bug#61410):
-(if (and (fboundp 'LaTeX-verbatim-p)
+;; (bug#61410) and the `major-mode' doesn't derive from `TeX-mode'
+;; (bug#69681):
+(if (and (derived-mode-p 'TeX-mode)
+ (fboundp 'LaTeX-verbatim-p)
  (LaTeX-verbatim-p (cdr match)))
 (progn
   (setq texmathp-why `(nil . ,(cdr match)))



[elpa] externals/auctex 89df2bbf59 12/18: ; * doc/changes.texi: Announce `LaTeX-flymake-chktex-options'.

2024-03-17 Thread Tassilo Horn
branch: externals/auctex
commit 89df2bbf597ef6449bc275ee4a073e895e3f9a88
Author: Arash Esbati 
Commit: Arash Esbati 

; * doc/changes.texi: Announce `LaTeX-flymake-chktex-options'.
---
 doc/changes.texi | 7 ++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/doc/changes.texi b/doc/changes.texi
index f2a3a3ae97..7fdf5d4669 100644
--- a/doc/changes.texi
+++ b/doc/changes.texi
@@ -1,5 +1,5 @@
 @c This is part of the AUCTeX manual.
-@c Copyright (C) 1994-2002, 2004-2010, 2012-2023 Free Software
+@c Copyright (C) 1994-2002, 2004-2010, 2012-2024 Free Software
 @c Foundation, Inc.
 @c See file auctex.texi for copying conditions.
 @include macros.texi
@@ -172,6 +172,11 @@ There are new keymaps, hooks and abbrev tables:
 @code{japanese-LaTeX-mode-abbrev-table}
 @end itemize
 
+@item
+New custom variable @code{LaTeX-flymake-chktex-options} is provided to
+enable or disable specific warnings of @code{chktex} backend used by
+Flymake.
+
 @item
 @AUCTeX{} now requires GNU Emacs 27.1 or higher.
 @end itemize



[elpa] externals/auctex 91073c6b79 10/18: Add new custom option `LaTeX-flymake-chktex-options'

2024-03-17 Thread Tassilo Horn
branch: externals/auctex
commit 91073c6b790aca0d5bf8beb1d2d78f772e526ba7
Author: Arash Esbati 
Commit: Arash Esbati 

Add new custom option `LaTeX-flymake-chktex-options'

* doc/auctex.texi (Checking): Document the new option.

* latex-flymake.el (LaTeX-flymake-chktex-options): New custom
option.
(LaTeX-flymake): Use it.  (bug#30980)
---
 doc/auctex.texi  | 26 --
 latex-flymake.el | 22 --
 2 files changed, 36 insertions(+), 12 deletions(-)

diff --git a/doc/auctex.texi b/doc/auctex.texi
index dce723a3f8..91b8c40ab9 100644
--- a/doc/auctex.texi
+++ b/doc/auctex.texi
@@ -4073,16 +4073,22 @@ buffers by adding this to your init file:
 (add-hook 'LaTeX-mode-hook #'flymake-mode)
 @end lisp
 Note that @AUCTeX{} currently only provides support for using
-@code{chktex} as the flymake backend.
-
-Each of the two utilities @code{lacheck} and @code{chktex} will find
-some errors the other doesn't, but @code{chktex} is more configurable,
-allowing you to create your own errors.  You may need to install the
-programs before using them.  You can get @code{lacheck} from
-URL:@url{https://www.ctan.org/pkg/lacheck} and
-@code{chktex} from
-URL:@url{https://www.ctan.org/pkg/chktex}.  @w{@TeX{} Live} contains
-both.
+@code{chktex} as the flymake backend.  Error messages produced by
+@code{chktex} can be controlled by setting the variable
+@code{LaTeX-flymake-chktex-options}.
+
+@defopt LaTeX-flymake-chktex-options
+List of strings passed to @code{chktex} program as additonal options.
+This option can be used to pass a specific warning number to @code{chktex}
+like @option{-w41}.
+@end defopt
+
+Each of the two utilities @code{lacheck} and @code{chktex} will find some
+errors the other doesn't, but @code{chktex} is more configurable, allowing
+you to create your own errors.  You may need to install the programs
+before using them.  You can get @code{lacheck} from
+@url{https://www.ctan.org/pkg/lacheck} and @code{chktex} from
+@url{https://www.ctan.org/pkg/chktex}.  @w{@TeX{} Live} contains both.
 
 @node Control
 @section Controlling the output
diff --git a/latex-flymake.el b/latex-flymake.el
index 2a86ebed6e..5cffc92412 100644
--- a/latex-flymake.el
+++ b/latex-flymake.el
@@ -1,6 +1,6 @@
 ;;; latex-flymake.el --- Flymake integration  -*- lexical-binding: t; -*-
 
-;; Copyright (C), 2018 Free Software Foundation, Inc.
+;; Copyright (C), 2018--2024 Free Software Foundation, Inc.
 
 ;; Author: Alex Branham 
 ;; Maintainer: auctex-de...@gnu.org
@@ -40,6 +40,23 @@
 
 (defvar-local LaTeX--flymake-proc nil)
 
+(defcustom LaTeX-flymake-chktex-options nil
+  "A list of strings passed as options to the chktex backend.
+You can use this to enable or disable specific warnings by setting it to
+something like:
+
+  \\='(\"-n12\" \"-w41\")
+
+Which would disable warning 12 (\"interword spacing should perhaps be
+used\") and enable 41 (\"you ought not to use primitive TeX in LaTeX
+code\").
+
+See the chktex manual for warning numbers and details about how to use
+flags."
+  :type '(choice (const :tag "Use chktex defaults" nil)
+ (repeat :tag "Custom chktex options" string))
+  :group 'LaTeX)
+
 (defun LaTeX-flymake (report-fn &rest _args)
   "Setup flymake integration.
 
@@ -56,7 +73,8 @@ REPORT-FN is flymake's callback function."
(make-process
 :name "LaTeX-flymake" :noquery t :connection-type 'pipe
 :buffer (generate-new-buffer " *LaTeX-flymake*")
-:command '("chktex" "--verbosity=0" "--quiet" "--inputfiles")
+:command `("chktex" "--verbosity=0" "--quiet" "--inputfiles"
+   ,@LaTeX-flymake-chktex-options)
 :sentinel
 (lambda (proc _event)
   (when (eq 'exit (process-status proc))



[elpa] externals/auctex 0a477ebe9e 18/18: Merge remote-tracking branch 'origin/master' into externals/auctex

2024-03-17 Thread Tassilo Horn
branch: externals/auctex
commit 0a477ebe9e9c91e7d966d4b76ca0b78b78e430e6
Merge: f124fe7d28 2ee39c4e26
Author: Tassilo Horn 
Commit: Tassilo Horn 

Merge remote-tracking branch 'origin/master' into externals/auctex
---
 context.el   |  18 ++-
 doc/auctex.texi  |  32 +++--
 doc/changes.texi |  12 +-
 doc/preview-faq.texi |  33 +-
 font-latex.el|  11 +-
 latex-flymake.el |  22 +++-
 latex.el | 160 +++--
 style/ltx-base.el| 325 ---
 style/xparse.el  |  17 ++-
 tex-info.el  |  26 +
 tex.el   | 101 
 texmathp.el  |   8 +-
 12 files changed, 560 insertions(+), 205 deletions(-)

diff --git a/context.el b/context.el
index 5ee0217d91..29bbccd66a 100644
--- a/context.el
+++ b/context.el
@@ -496,8 +496,8 @@ in your init file such as .emacs.d/init.el or .emacs."
   "ConTeXt Mark version used for running ConTeXt."
   :type 'string
   :group 'TeX-command
-  :safe #'stringp
-  :local t)
+  :safe #'stringp)
+(make-variable-buffer-local 'ConTeXt-Mark-version)
 
 (defun ConTeXt-numbered-section-heading ()
   "Hook to prompt for ConTeXt section name.
@@ -626,8 +626,8 @@ for a label to be inserted after the sectioning command."
 (defcustom ConTeXt-default-environment "itemize"
   "The default environment when creating new ones with `ConTeXt-environment'."
   :group 'ConTeXt-environment
-  :type 'string
-  :local t)
+  :type 'string)
+(make-variable-buffer-local 'ConTeXt-default-environment)
 
 (TeX-auto-add-type "environment" "ConTeXt")
 
@@ -1875,9 +1875,8 @@ that is, you do _not_ have to cater for this yourself by 
adding \\=' or $."
   ;; Outline support
   (require 'outline)
   (set (make-local-variable 'outline-level) #'ConTeXt-outline-level)
-  ;; Moved after `run-mode-hooks'. (bug#65750)
-  ;; (set (make-local-variable 'outline-regexp) (ConTeXt-outline-regexp t))
-  ;;(make-local-variable 'outline-heading-end-regexp)
+  (set (make-local-variable 'outline-regexp) (ConTeXt-outline-regexp t))
+  (make-local-variable 'outline-heading-end-regexp)
   (setq TeX-header-end (ConTeXt-header-end)
 TeX-trailer-start (ConTeXt-trailer-start))
 
@@ -1913,10 +1912,7 @@ Run after mode hooks and file local variables 
application."
  "[ \t]*\\("
  (ConTeXt-paragraph-commands-regexp) "\\|"
  "\\$\\$\\|" ; Plain TeX display math
- "$\\)"))
-
-  (or (local-variable-p 'outline-regexp)
-  (setq-local outline-regexp (ConTeXt-outline-regexp t
+ "$\\)")))
 
 (defun context-guess-current-interface ()
   "Guess what ConTeXt interface the current buffer is using."
diff --git a/doc/auctex.texi b/doc/auctex.texi
index dce723a3f8..b499c63bef 100644
--- a/doc/auctex.texi
+++ b/doc/auctex.texi
@@ -3085,6 +3085,12 @@ The name of the file for temporarily storing the text 
when formatting
 the current region.
 @end defopt
 
+@defopt TeX-kill-process-without-query
+This boolean option controls whether @AUCTeX{} should ask user before
+aborting a running process for a @TeX{} document.  It can be set as a
+file-local variable.
+@end defopt
+
 @defopt TeX-header-end
 A regular expression matching the end of the header.  By default, this
 is @samp{\begin@{document@}} in @LaTeX{} mode and @samp{%**end of
@@ -4073,16 +4079,22 @@ buffers by adding this to your init file:
 (add-hook 'LaTeX-mode-hook #'flymake-mode)
 @end lisp
 Note that @AUCTeX{} currently only provides support for using
-@code{chktex} as the flymake backend.
-
-Each of the two utilities @code{lacheck} and @code{chktex} will find
-some errors the other doesn't, but @code{chktex} is more configurable,
-allowing you to create your own errors.  You may need to install the
-programs before using them.  You can get @code{lacheck} from
-URL:@url{https://www.ctan.org/pkg/lacheck} and
-@code{chktex} from
-URL:@url{https://www.ctan.org/pkg/chktex}.  @w{@TeX{} Live} contains
-both.
+@code{chktex} as the flymake backend.  Error messages produced by
+@code{chktex} can be controlled by setting the variable
+@code{LaTeX-flymake-chktex-options}.
+
+@defopt LaTeX-flymake-chktex-options
+List of strings passed to @code{chktex} program as additonal options.
+This option can be used to pass a specific warning number to @code{chktex}
+like @option{-w41}.
+@end defopt
+
+Each of the two utilities @code{lacheck} and @code{chktex} will find some
+errors the other doesn't, but @code{chktex} is more configurable, allowing
+you to create your own errors.  You may need to install the programs
+before using them.  You can get @code{lacheck} from
+@url{https://www.ctan.org/pkg/lacheck} and @code{chktex} from
+@url{https://www.ctan.org/pkg/chktex}.  @w{@TeX{} Live} contains both.
 
 @node Control
 @section Controlling the output
diff --git a/doc/changes.texi b/doc/changes.texi
index f2a3a3ae97..2ac2ee056f 100644
--- a/doc/changes.texi
+++ b/doc/changes.texi
@@ -1,5 +1,5 @@
 @c This is part of the AUCT

[elpa] externals/auctex 074e1c9fd1 15/18: * tex.el: Delete Emacs<27 compat code from commit 087b030001.

2024-03-17 Thread Tassilo Horn
branch: externals/auctex
commit 074e1c9fd16602cd5fe6cf2e66a24ad28d9138bf
Author: Arash Esbati 
Commit: Arash Esbati 

* tex.el: Delete Emacs<27 compat code from commit 087b030001.
---
 tex.el | 6 --
 1 file changed, 6 deletions(-)

diff --git a/tex.el b/tex.el
index da2f91fe43..f24752b75d 100644
--- a/tex.el
+++ b/tex.el
@@ -8741,12 +8741,6 @@ variable is nil."
 
 ;;; Process Control
 
-;; COMPATIBILITY for emacs < 27
-(if (< emacs-major-version 27)
-(or (assq 'compilation-in-progress minor-mode-alist)
-(setq minor-mode-alist (cons '(compilation-in-progress " Compiling")
- minor-mode-alist
-
 (defun TeX-process-get-variable (name symbol &optional default)
   "Return the value in the process buffer for NAME of SYMBOL.
 



[elpa] externals/auctex 44d5423605: Release GNU AUCTeX 14.0.4

2024-03-17 Thread Tassilo Horn
branch: externals/auctex
commit 44d54236056fccc32a0b26d6df2ceda5716b7df1
Author: Tassilo Horn 
Commit: Tassilo Horn 

Release GNU AUCTeX 14.0.4

* GNU AUCTeX Version 14.0.4 released.
---
 auctex.el  |   2 +-
 auctex.info| 243 +
 preview-latex.info | 108 +++-
 tex-site.el|   4 +-
 4 files changed, 201 insertions(+), 156 deletions(-)

diff --git a/auctex.el b/auctex.el
index f9087b28f7..7971867f0d 100644
--- a/auctex.el
+++ b/auctex.el
@@ -2,7 +2,7 @@
 
 ;; Copyright (C) 2014-2024 Free Software Foundation, Inc.
 
-;; Version: 14.0.3
+;; Version: 14.0.4
 ;; URL: https://www.gnu.org/software/auctex/
 ;; Maintainer: auctex-de...@gnu.org
 ;; Notifications-To: auctex-di...@gnu.org
diff --git a/auctex.info b/auctex.info
index 44671fece5..7ea64273c4 100644
--- a/auctex.info
+++ b/auctex.info
@@ -1,6 +1,6 @@
 This is auctex.info, produced by makeinfo version 7.1 from auctex.texi.
 
-This manual is for AUCTeX (version 14.0.3 from 2024-02-20), a
+This manual is for AUCTeX (version 14.0.3.2024-03-17 from 2024-03-17), a
 sophisticated TeX environment for Emacs.
 
Copyright © 1992-1995, 2001, 2002, 2004-2024 Free Software
@@ -3732,6 +3732,11 @@ it is ready with a single command: ‘TeX-command-run-all’.
  The name of the file for temporarily storing the text when
  formatting the current region.
 
+ -- User Option: TeX-kill-process-without-query
+ This boolean option controls whether AUCTeX should ask user before
+ aborting a running process for a TeX document.  It can be set as a
+ file-local variable.
+
  -- User Option: TeX-header-end
  A regular expression matching the end of the header.  By default,
  this is ‘\begin{document}’ in LaTeX mode and ‘%**end of header’ in
@@ -4585,14 +4590,20 @@ flymake-mode ’ in the buffer or enable it in all 
buffers by adding
 this to your init file:
  (add-hook 'LaTeX-mode-hook #'flymake-mode)
Note that AUCTeX currently only provides support for using ‘chktex’
-as the flymake backend.
+as the flymake backend.  Error messages produced by ‘chktex’ can be
+controlled by setting the variable ‘LaTeX-flymake-chktex-options’.
+
+ -- User Option: LaTeX-flymake-chktex-options
+ List of strings passed to ‘chktex’ program as additonal options.
+ This option can be used to pass a specific warning number to
+ ‘chktex’ like ‘-w41’.
 
Each of the two utilities ‘lacheck’ and ‘chktex’ will find some
 errors the other doesn't, but ‘chktex’ is more configurable, allowing
 you to create your own errors.  You may need to install the programs
 before using them.  You can get ‘lacheck’ from
-URL: and ‘chktex’ from
-URL:.  TeX Live contains both.
+ and ‘chktex’ from
+.  TeX Live contains both.
 
 
 File: auctex.info,  Node: Control,  Next: Cleaning,  Prev: Checking,  Up: 
Processing
@@ -6265,8 +6276,8 @@ A.1 Copying this Manual
 
 The copyright notice for this manual is:
 
-   This manual is for AUCTeX (version 14.0.3 from 2024-02-20), a
-sophisticated TeX environment for Emacs.
+   This manual is for AUCTeX (version 14.0.3.2024-03-17 from
+2024-03-17), a sophisticated TeX environment for Emacs.
 
Copyright © 1992-1995, 2001, 2002, 2004-2024 Free Software
 Foundation, Inc.
@@ -6913,6 +6924,14 @@ News in 14.1
   ‘japanese-plain-TeX-mode-abbrev-table’,
   ‘japanese-LaTeX-mode-abbrev-table’
 
+   • New custom variable ‘LaTeX-flymake-chktex-options’ is provided to
+ enable or disable specific warnings of ‘chktex’ backend used by
+ Flymake.
+
+   • The boolean custom variable ‘TeX-kill-process-without-query’ can be
+ used to disable the user query before aborting a running process
+ for a TeX document.  Default is ‘nil’.
+
• AUCTeX now requires GNU Emacs 27.1 or higher.
 
 News in 13.3
@@ -8995,7 +9014,7 @@ Key Index
 * C-c C-t C-p:   Processing Facilities.
   (line  50)
 * C-c C-t C-p <1>:   Processor Options.   (line  16)
-* C-c C-t C-r:   Starting a Command.  (line  85)
+* C-c C-t C-r:   Starting a Command.  (line  90)
 * C-c C-t C-s:   Processing Facilities.
   (line  56)
 * C-c C-t C-s <1>:   Processor Options.   (line  37)
@@ -9176,7 +9195,7 @@ Function Index
 * TeX-next-error:Debugging.   (line  11)
 * TeX-normal-mode:   Parsing Files.   (line  44)
 * TeX-PDF-mode:  Processor Options.   (line  15)
-* TeX-pin-region:Starting a Command.  (line  84)
+* TeX-pin-region:Starting a Command.  (line  89)
 *

[elpa] externals/auctex 79c984e1a5: Release GNU AUCTeX 14.0.4

2024-03-17 Thread Tassilo Horn
branch: externals/auctex
commit 79c984e1a51efe72e2cc48552216ff59125970c3
Author: Tassilo Horn 
Commit: Tassilo Horn 

Release GNU AUCTeX 14.0.4

* GNU AUCTeX Version 14.0.4 released.

(Now for real; forgot to squash before push...)
---
 auctex.info| 204 ++---
 preview-latex.info |  80 ++---
 tex-site.el|   2 +-
 3 files changed, 143 insertions(+), 143 deletions(-)

diff --git a/auctex.info b/auctex.info
index 7ea64273c4..f853e416a4 100644
--- a/auctex.info
+++ b/auctex.info
@@ -1,6 +1,6 @@
 This is auctex.info, produced by makeinfo version 7.1 from auctex.texi.
 
-This manual is for AUCTeX (version 14.0.3.2024-03-17 from 2024-03-17), a
+This manual is for AUCTeX (version 14.0.4 from 2024-03-17), a
 sophisticated TeX environment for Emacs.
 
Copyright © 1992-1995, 2001, 2002, 2004-2024 Free Software
@@ -6276,8 +6276,8 @@ A.1 Copying this Manual
 
 The copyright notice for this manual is:
 
-   This manual is for AUCTeX (version 14.0.3.2024-03-17 from
-2024-03-17), a sophisticated TeX environment for Emacs.
+   This manual is for AUCTeX (version 14.0.4 from 2024-03-17), a
+sophisticated TeX environment for Emacs.
 
Copyright © 1992-1995, 2001, 2002, 2004-2024 Free Software
 Foundation, Inc.
@@ -9991,105 +9991,105 @@ Concept Index
 
 
 Tag Table:
-Node: Top927
-Node: Copying7395
-Node: Introduction9344
-Node: Summary9614
-Node: Installation12351
-Node: Prerequisites14360
-Node: Configure16581
-Node: Build/install and uninstall21316
-Node: Loading the package22073
-Node: Advice for package providers24737
-Node: Advice for non-privileged users27606
-Node: Installation under MS Windows33104
-Node: Customizing46990
-Node: Quick Start48595
-Ref: Quick Start-Footnote-150728
-Node: Editing Facilities50830
-Node: Processing Facilities55711
-Node: Editing60592
-Node: Quotes61930
-Node: Font Specifiers71494
-Node: Sectioning73702
-Node: Environments78433
-Node: Equations84121
-Node: Floats84741
-Node: Itemize-like86777
-Node: Tabular-like87641
-Node: Customizing Environments89531
-Node: Mathematics89771
-Node: Completion93313
-Node: Marking101634
-Node: Marking (LaTeX)102270
-Node: Marking (Texinfo)103226
-Node: Commenting104875
-Node: Indenting106260
-Node: Filling114985
-Node: Display121003
-Node: Font Locking123514
-Node: Fontification of macros125613
-Node: Fontification of quotes135620
-Node: Fontification of math137164
-Node: Verbatim content140945
-Node: Faces141735
-Node: Known problems142240
-Node: Folding143249
-Node: Outline154398
-Node: Narrowing155721
-Node: Prettifying156798
-Node: Processing158085
-Node: Commands159445
-Node: Starting a Command160009
-Node: Selecting a Command165384
-Node: Processor Options174795
-Node: Viewing186071
-Node: Starting Viewers186445
-Node: I/O Correlation192255
-Ref: I/O Correlation-Footnote-1198011
-Node: Debugging198273
-Node: Ignoring warnings200975
-Node: Error overview203094
-Node: Checking205036
-Node: Control207057
-Node: Cleaning209208
-Node: Documentation210661
-Node: Customization211782
-Node: Modes and Hooks212275
-Node: Multifile214424
-Node: Parsing Files219268
-Node: Internationalization224305
-Node: European225658
-Node: Japanese233607
-Node: Automatic238880
-Node: Automatic Global241419
-Node: Automatic Private242561
-Node: Automatic Local243925
-Node: Style Files245199
-Node: Simple Style246013
-Node: Adding Macros249806
-Node: Adding Environments259623
-Node: Adding Other265085
-Node: Hacking the Parser269771
-Node: Appendices273783
-Node: Copying this Manual274079
-Node: GNU Free Documentation License274972
-Node: Changes300095
-Node: Development367545
-Node: Mid-term Goals368191
-Node: Wishlist371086
-Node: Bugs377275
-Node: FAQ378411
-Node: Texinfo mode386103
-Node: Exploiting387237
-Node: Superseding388059
-Node: Mapping392874
-Node: Unbinding394817
-Node: Indices395365
-Node: Key Index395528
-Node: Function Index403422
-Node: Variable Index415984
-Node: Concept Index441927
+Node: Top916
+Node: Copying7384
+Node: Introduction9333
+Node: Summary9603
+Node: Installation12340
+Node: Prerequisites14349
+Node: Configure16570
+Node: Build/install and uninstall21305
+Node: Loading the package22062
+Node: Advice for package providers24726
+Node: Advice for non-privileged users27595
+Node: Installation under MS Windows33093
+Node: Customizing46979
+Node: Quick Start48584
+Ref: Quick Start-Footnote-150717
+Node: Editing Facilities50819
+Node: Processing Facilities55700
+Node: Editing60581
+Node: Quotes61919
+Node: Font Specifiers71483
+Node: Sectioning73691
+Node: Environments78422
+Node: Equations84110
+Node: Floats84730
+Node: Itemize-like86766
+Node: Tabular-like87630
+Node: Customizing Environments89520
+Node: Mathematics89760
+Node: Completion93302
+Node: Marking101623
+Node: Marking (LaTeX)102259
+Node: Marking (Texinfo)

[elpa] externals/listen 3c2b5e7b5f: Fix: (listen-queue-track) Also set rating and metadata slots

2024-03-17 Thread ELPA Syncer
branch: externals/listen
commit 3c2b5e7b5f03c2b7fb1cba6ea42a89f07fb147b5
Author: Adam Porter 
Commit: Adam Porter 

Fix: (listen-queue-track) Also set rating and metadata slots
---
 listen-queue.el | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/listen-queue.el b/listen-queue.el
index 1a4cb5a3aa..8a03c8ca75 100644
--- a/listen-queue.el
+++ b/listen-queue.el
@@ -530,10 +530,10 @@ buffer, if any)."
  :number (map-elt metadata "tracknumber")
  :date (map-elt metadata "date")
  :genre (map-elt metadata "genre")
- ;; TODO: Since we're storing all of the metadata in the etc slot,
- ;; consider whether to consolidate there or add slots for,
- ;; e.g. rating.
- :etc metadata)))
+ :rating (map-elt metadata "fmps_rating")
+ ;; TODO: Stop also storing metadata in etc slot.
+ :etc metadata
+ :metadata metadata)))
 
 (defun listen-queue-tracks-for (filenames)
   "Return tracks for FILENAMES.



[elpa] externals/modus-themes d28a6af77b: Fix the value of fg-prose-code which I changed by accident

2024-03-17 Thread ELPA Syncer
branch: externals/modus-themes
commit d28a6af77b3fc33ac8df3abfa0700a05d9ff9b58
Author: Protesilaos Stavrou 
Commit: Protesilaos Stavrou 

Fix the value of fg-prose-code which I changed by accident
---
 modus-operandi-theme.el| 2 +-
 modus-operandi-tinted-theme.el | 2 +-
 modus-vivendi-theme.el | 2 +-
 modus-vivendi-tinted-theme.el  | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/modus-operandi-theme.el b/modus-operandi-theme.el
index 9d13e0fda7..fb2ff99a74 100644
--- a/modus-operandi-theme.el
+++ b/modus-operandi-theme.el
@@ -351,7 +351,7 @@ which corresponds to a minimum contrast in relative 
luminance of
   (bg-prose-block-contents bg-dim)
 
   (bg-prose-code unspecified)
-  (fg-prose-code green-cooler)
+  (fg-prose-code cyan-cooler)
 
   (bg-prose-macro unspecified)
   (fg-prose-macro magenta-cooler)
diff --git a/modus-operandi-tinted-theme.el b/modus-operandi-tinted-theme.el
index 24a35fab08..f112456034 100644
--- a/modus-operandi-tinted-theme.el
+++ b/modus-operandi-tinted-theme.el
@@ -351,7 +351,7 @@ which corresponds to a minimum contrast in relative 
luminance of
   (bg-prose-block-contents bg-dim)
 
   (bg-prose-code unspecified)
-  (fg-prose-code green-cooler)
+  (fg-prose-code cyan-cooler)
 
   (bg-prose-macro unspecified)
   (fg-prose-macro magenta-cooler)
diff --git a/modus-vivendi-theme.el b/modus-vivendi-theme.el
index 49e90cdc21..8b822974c1 100644
--- a/modus-vivendi-theme.el
+++ b/modus-vivendi-theme.el
@@ -351,7 +351,7 @@ which corresponds to a minimum contrast in relative 
luminance of
   (bg-prose-block-contents bg-dim)
 
   (bg-prose-code unspecified)
-  (fg-prose-code green-cooler)
+  (fg-prose-code cyan-cooler)
 
   (bg-prose-macro unspecified)
   (fg-prose-macro magenta-cooler)
diff --git a/modus-vivendi-tinted-theme.el b/modus-vivendi-tinted-theme.el
index 65cf9fc09c..5aa44304ee 100644
--- a/modus-vivendi-tinted-theme.el
+++ b/modus-vivendi-tinted-theme.el
@@ -351,7 +351,7 @@ which corresponds to a minimum contrast in relative 
luminance of
   (bg-prose-block-contents bg-dim)
 
   (bg-prose-code unspecified)
-  (fg-prose-code green-cooler)
+  (fg-prose-code cyan-cooler)
 
   (bg-prose-macro unspecified)
   (fg-prose-macro magenta-cooler)



[elpa] externals/org cb80019c28 1/2: Revert "lisp/ob-shell.el: Initialize explicit-shell-file-name"

2024-03-17 Thread ELPA Syncer
branch: externals/org
commit cb80019c28810b0794e4c42620db7fb700b078f8
Author: Matthew Trzcinski 
Commit: Matthew Trzcinski 

Revert "lisp/ob-shell.el: Initialize explicit-shell-file-name"

This reverts commit 0e2a9524dc6da8b4d60672e85aba74076baac211.
---
 lisp/ob-shell.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lisp/ob-shell.el b/lisp/ob-shell.el
index 35d9e93761..551c3785d8 100644
--- a/lisp/ob-shell.el
+++ b/lisp/ob-shell.el
@@ -81,8 +81,7 @@ is modified outside the Customize interface."
 (lambda (body params)
  (:documentation
(format "Execute a block of %s commands with Babel." name))
- (let ((explicit-shell-file-name name)
-(shell-file-name name))
+ (let ((shell-file-name name))
(org-babel-execute:shell body params
   (put fname 'definition-name 'org-babel-shell-initialize))
 (defalias (intern (concat "org-babel-variable-assignments:" name))



[elpa] externals/org 37cd00bb12 2/2: lisp/ob-shell.el: Initialize explicit-shell-file-name

2024-03-17 Thread ELPA Syncer
branch: externals/org
commit 37cd00bb1207bfe5f50493ee48390a516b9b07b5
Author: Aaron L. Zeng 
Commit: Matthew Trzcinski 

lisp/ob-shell.el: Initialize explicit-shell-file-name

* lisp/ob-shell.el (org-babel-shell-initialize): force blocks to
always use the specified shell language

Sessions are initialized using `shell'.  The `shell' command checks
`explicit-shell-file-name' for file to use before checking other
variables, like `shell-file-name'.  Previously, only `shell-file-name'
was set.  So, if the user had set the `explicit-shell-file-name',
session blocks would use that whereas non-session blocks would use
`shell-file-name', resulting in inconsistent behavior.  This change
sets both variables so that even if the user changes the
`explicit-shell-file-name' or `shell-file-name', blocks will only use
the shell language specified by the block.

TINYCHANGE
---
 check.sh |  6 ++
 lisp/ob-shell.el |  3 ++-
 nohup.out| 21 +
 setup.sh | 16 
 4 files changed, 45 insertions(+), 1 deletion(-)

diff --git a/check.sh b/check.sh
new file mode 100755
index 00..a1083fbe10
--- /dev/null
+++ b/check.sh
@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+
+set -Eeuo pipefail
+
+make autoloads
+emacs -q --eval="(add-to-list 'load-path 
\"/home/ahab/Projects/org-mode/lisp\")"
diff --git a/lisp/ob-shell.el b/lisp/ob-shell.el
index 551c3785d8..35d9e93761 100644
--- a/lisp/ob-shell.el
+++ b/lisp/ob-shell.el
@@ -81,7 +81,8 @@ is modified outside the Customize interface."
 (lambda (body params)
  (:documentation
(format "Execute a block of %s commands with Babel." name))
- (let ((shell-file-name name))
+ (let ((explicit-shell-file-name name)
+(shell-file-name name))
(org-babel-execute:shell body params
   (put fname 'definition-name 'org-babel-shell-initialize))
 (defalias (intern (concat "org-babel-variable-assignments:" name))
diff --git a/nohup.out b/nohup.out
new file mode 100644
index 00..b110156b6c
--- /dev/null
+++ b/nohup.out
@@ -0,0 +1,21 @@
+/home/ahab/.guix-profile/bin/emacsclient: can't find socket; have you started 
the server?
+/home/ahab/.guix-profile/bin/emacsclient: To start the server in Emacs, type 
"M-x server-start".
+/home/ahab/.guix-profile/bin/emacsclient: No socket or alternate editor.  
Please use:
+
+   --socket-name
+   --server-file  (or environment variable EMACS_SERVER_FILE)
+   --alternate-editor (or environment variable ALTERNATE_EDITOR)
+/home/ahab/.guix-profile/bin/emacsclient: can't find socket; have you started 
the server?
+/home/ahab/.guix-profile/bin/emacsclient: To start the server in Emacs, type 
"M-x server-start".
+/home/ahab/.guix-profile/bin/emacsclient: No socket or alternate editor.  
Please use:
+
+   --socket-name
+   --server-file  (or environment variable EMACS_SERVER_FILE)
+   --alternate-editor (or environment variable ALTERNATE_EDITOR)
+/home/ahab/.guix-profile/bin/emacsclient: can't find socket; have you started 
the server?
+/home/ahab/.guix-profile/bin/emacsclient: To start the server in Emacs, type 
"M-x server-start".
+/home/ahab/.guix-profile/bin/emacsclient: No socket or alternate editor.  
Please use:
+
+   --socket-name
+   --server-file  (or environment variable EMACS_SERVER_FILE)
+   --alternate-editor (or environment variable ALTERNATE_EDITOR)
diff --git a/setup.sh b/setup.sh
new file mode 100755
index 00..c5de9c8a54
--- /dev/null
+++ b/setup.sh
@@ -0,0 +1,16 @@
+#!/usr/bin/env bash
+
+set -Eeuo pipefail
+
+echo "[DEV] Setting up ssh..."
+eval "$(ssh-agent)"
+ssh-add /home/ahab/.ssh/id_org
+echo "[DEV] SSH setup complete"
+
+echo "[DEV] Rebuilding..."
+make
+echo "[DEV] Rebuilt"
+
+echo "[DEV] Restarting emacsd..."
+herd restart emacsd
+echo "[DEV] emacsd restarted"



[elpa] externals/org updated (d545ad6068 -> 37cd00bb12)

2024-03-17 Thread ELPA Syncer
elpasync pushed a change to branch externals/org.

  from  d545ad6068 lisp/ol.el: Make `org-link-get-parameter' a valid PLACE 
for `setf'
   new  cb80019c28 Revert "lisp/ob-shell.el: Initialize 
explicit-shell-file-name"
   new  37cd00bb12 lisp/ob-shell.el: Initialize explicit-shell-file-name


Summary of changes:
 check.sh  |  6 ++
 nohup.out | 21 +
 setup.sh  | 16 
 3 files changed, 43 insertions(+)
 create mode 100755 check.sh
 create mode 100644 nohup.out
 create mode 100755 setup.sh



[elpa] externals/modus-themes a082d7739f: Update to modus-themes version 4.4.0

2024-03-17 Thread ELPA Syncer
branch: externals/modus-themes
commit a082d7739f627523c6d9098c869cf143fa60b014
Author: Protesilaos Stavrou 
Commit: Protesilaos Stavrou 

Update to modus-themes version 4.4.0
---
 CHANGELOG.org | 422 ++
 doc/modus-themes.info | 184 +++---
 doc/modus-themes.org  |  20 +--
 modus-themes.el   |   2 +-
 4 files changed, 519 insertions(+), 109 deletions(-)

diff --git a/CHANGELOG.org b/CHANGELOG.org
index 1eadc99ab7..17b4c7cf22 100644
--- a/CHANGELOG.org
+++ b/CHANGELOG.org
@@ -15,6 +15,428 @@ For further details, please consult these additional 
resources:
 + Manual :: 
 + Screenshots :: 
 
+* 4.4.0
+:PROPERTIES:
+:CUSTOM_ID: h:4025f2f4-8524-49d9-9ee5-627361ff9875
+:END:
+
+Before I cover the changes, a brief note about the canonical source of
+the ~modus-themes~ source code and corresponding documentation.
+
+The ~modus-themes~ are built into Emacs, as of version 28, but they
+are not developed in =emacs.git=: I maintain my own Git repository
+() and sync with
+=emacs.git= whenever I publish a new version, such as this one. This
+means that my code is often ahead of the one in the Emacs tree
+(including the =master= branch). Similarly, the official manual, which
+is hosted on my website (),
+covers topics not found in the corresponding =gnu.org= web pages.
+
+In the opening section of the manual I include references to the
+canonical sources, but I still get comments about GNU web pages that I
+do not control. Please check those links before reporting issues that
+I can do nothing about.
+
+** No more SourceHut
+:PROPERTIES:
+:CUSTOM_ID: h:56191859-93e5-444a-9356-f393343619a5
+:END:
+
+Development continues on GitHub with GitLab as a mirror. I explained
+my reasons here: 
.
+
+This is a change that affects all my Emacs packages.
+
+** Code blocks now have a background by default
+:PROPERTIES:
+:CUSTOM_ID: h:6b40d5f3-ae0a-4ec5-ab23-20ec64e37773
+:END:
+
+The user option ~modus-themes-org-blocks~ is obsolete. All code blocks
+now have a subtle grey background out-of-the-box. The block delimiter
+lines, such as the =#+begin_src= in Org mode, use the same background
+as the block's contents. This produces a style that (i) is easy to
+notice and (ii) employs minimal colouration. Furthermore, we no longer
+have any discrepancy between Org and similar modes like Markdown.
+
+Every theme has relevant semantic palette mappings to affect the
+underlying faces:
+
+- =bg-prose-block-delimiter=
+- =fg-prose-block-delimiter=
+- =bg-prose-block-contents=
+
+The old =prose-block= is now renamed to =fg-prose-block-delimiter=.
+Please update any such references in your configuration file.
+
+Users can customise those either for all themes via the user option
+~modus-themes-common-palette-overrides~  or on a per-theme basis with
+something like ~modus-operandi-palette-overrides~. The manual includes
+ready-to-use code samples that showcases the numerous permutations made
+possible by these new mappings: 
.
+
+The old option to affect the user option ~org-src-block-faces~ as to
+have a different background for each specified programming language is
+no longer available. The previous design was inflexible, as I was
+hardcoding values for a few languages. Whereas it is better to empower
+the user with the choice of =language->colour= association. The manual
+shows how to do this:
+.
+
+** More semantic mappings more inline code in prose-centric modes
+:PROPERTIES:
+:CUSTOM_ID: h:1d6ae039-cc19-479f-b16f-839481f3080a
+:END:
+
+For Org, Markdown, and related we have semantic palette mappings that
+target inline code constructs. For example, in Org we can have text
+inside of tilde signs to mark it up as code. In prior versions, the
+mappings were limited to just a foreground, but now they cover
+background values as well. By default, these background do not have a
+colour associated with them, meaning that the out-of-the-box aesthetic
+is the same as before. Users simply have more power at their disposal
+to tweak the theme to their liking.
+
+Here are the names of those mappings:
+
+- =bg-prose-code=
+- =fg-prose-code=
+- =bg-prose-macro=
+- =fg-prose-macro=
+- =bg-prose-verbatim=
+- =fg-prose-verbatim=
+
+The old =prose-code=, =prose-macro=, and =prose-verbatim= are named
+=fg-prose-code=, =fg-prose-macro=, =fg-prose-verbatim=. Please
+update any such references in your configuration file.
+
+The manual shows lots of examples on how to benefit from these
+optional backgrounds: 


[elpa] externals/org 80615195c4 2/3: lisp/ox-beamer.el: constrain use of org-beamer-frame-environment

2024-03-17 Thread ELPA Syncer
branch: externals/org
commit 80615195c4ff6ee79638e4006487fafb48e815eb
Author: Leo Butler 
Commit: Ihor Radchenko 

lisp/ox-beamer.el: constrain use of org-beamer-frame-environment

* lisp/ox-beamer.el (org-beamer--format-frame, org-beamer-template):
Only use `org-beamer-frame-environment' when a frame is marked as
fragile and the frame's contents include either \begin{frame} or
\end{frame}.  When `org-beamer-frame-environment' is used and not
equal to "frame", add the property :beamer-define-frame to INFO and
set it to t.  When that property is t, `org-beamer-template' emits a
definition of the alternative frame environment.

Refs: https://list.orgmode.org/orgmode/87bk7jeik8.fsf@localhost/
https://list.orgmode.org/87a5nux3zr@t14.reltub.ca/T/
---
 lisp/ox-beamer.el | 21 +
 1 file changed, 17 insertions(+), 4 deletions(-)

diff --git a/lisp/ox-beamer.el b/lisp/ox-beamer.el
index 4fad37b59f..8bae93c11d 100644
--- a/lisp/ox-beamer.el
+++ b/lisp/ox-beamer.el
@@ -429,8 +429,21 @@ used as a communication channel."
  ;; among `org-beamer-verbatim-elements'.
  (org-element-map headline org-beamer-verbatim-elements 'identity
   info 'first-match))
- (frame (or (and fragilep org-beamer-frame-environment)
-"frame")))
+ ;; If FRAGILEP is non-nil and CONTENTS contains an occurrence
+ ;; of \begin{frame} or \end{frame}, then set the FRAME
+ ;; environment to be `org-beamer-frame-environment';
+ ;; otherwise, use "frame". If the selected environment is not
+ ;; "frame", then add the property :beamer-define-frame to
+ ;; INFO and set it to t.
+ (frame (let ((selection
+   (or (and fragilep
+(or (string-match-p "begin{frame}" 
contents)
+(string-match-p "end{frame}" contents))
+org-beamer-frame-environment)
+   "frame")))
+  (unless (string= selection "frame")
+(setq info (plist-put info :beamer-define-frame t)))
+  selection)))
 (concat "\\begin{" frame "}"
;; Overlay specification, if any. When surrounded by
;; square brackets, consider it as a default
@@ -851,8 +864,8 @@ holding export options."
  (org-latex--insert-compiler info)
  ;; Document class and packages.
  (org-latex-make-preamble info)
- ;; Define the alternative frame environment.
- (unless (equal "frame" org-beamer-frame-environment)
+ ;; Define the alternative frame environment, if needed.
+ (when (plist-get info :beamer-define-frame)
(format 
"\\newenvironment<>{%s}[1][]{\\begin{frame}#2[environment=%1$s,#1]}{\\end{frame}}\n"
org-beamer-frame-environment))
  ;; Insert themes.



[elpa] externals/org updated (37cd00bb12 -> 46909a54e1)

2024-03-17 Thread ELPA Syncer
elpasync pushed a change to branch externals/org.

  from  37cd00bb12 lisp/ob-shell.el: Initialize explicit-shell-file-name
   new  aa241ffd0b Makefile: List make native in make help output
   new  80615195c4 lisp/ox-beamer.el: constrain use of 
org-beamer-frame-environment
   new  46909a54e1 testing/lisp/test-ox-beamer.el: New regression tests for 
ox-beamer.


Summary of changes:
 Makefile   |   1 +
 lisp/ox-beamer.el  |  21 ++--
 testing/lisp/test-ox-beamer.el | 110 +
 3 files changed, 128 insertions(+), 4 deletions(-)
 create mode 100644 testing/lisp/test-ox-beamer.el



[elpa] externals/org aa241ffd0b 1/3: Makefile: List make native in make help output

2024-03-17 Thread ELPA Syncer
branch: externals/org
commit aa241ffd0b33e117be3c618424f7f527d1f0a2de
Author: Ihor Radchenko 
Commit: Ihor Radchenko 

Makefile: List make native in make help output
---
 Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Makefile b/Makefile
index f476a3ea75..b3a167ecb5 100644
--- a/Makefile
+++ b/Makefile
@@ -27,6 +27,7 @@ help helpall::
$(info make all- ditto)
$(info make compile- build Org ELisp files)
$(info make single - build Org ELisp files, single Emacs per 
source)
+   $(info make native - build Org natively compiled Elisp files)
$(info make autoloads  - create org-loaddefs.el to load Org 
in-place)
$(info make test   - build Org ELisp files and run test suite)
$(info make vanilla- run Emacs with this Org-mode and no 
personal config)



[elpa] externals/org 46909a54e1 3/3: testing/lisp/test-ox-beamer.el: New regression tests for ox-beamer.

2024-03-17 Thread ELPA Syncer
branch: externals/org
commit 46909a54e1a2ce0d948e94e0e19ff64af1a39eb9
Author: Leo Butler 
Commit: Ihor Radchenko 

testing/lisp/test-ox-beamer.el: New regression tests for ox-beamer.

* testing/lisp/test-ox-beamer.el (ox-beamer/orgframe,
ox-beamer/orgframe-in-example, ox-beamer/orgframe-in-one-example): New
file.  Regression tests for ox-beamer.  Test that the
`org-beamer-frame-environment' is defined only when used.
---
 testing/lisp/test-ox-beamer.el | 110 +
 1 file changed, 110 insertions(+)

diff --git a/testing/lisp/test-ox-beamer.el b/testing/lisp/test-ox-beamer.el
new file mode 100644
index 00..be83b12e03
--- /dev/null
+++ b/testing/lisp/test-ox-beamer.el
@@ -0,0 +1,110 @@
+;;; test-ox-beamer.el --- tests for ox-beamer.el   -*- lexical-binding: t; 
-*-
+
+;; Copyright (C) 2024  Leo Butler
+
+;; Author: Leo Butler 
+
+;; 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:
+
+;; Tests checking validity of Org Beamer export output.
+
+;;; Code:
+
+(require 'ox-beamer nil t)
+(unless (featurep 'ox-beamer)
+  (signal 'missing-test-dependency "org-export-beamer"))
+
+
+
+(ert-deftest ox-beamer/orgframe ()
+  "Test that `org-beamer-frame-environment' is defined and used."
+  (org-test-with-exported-text
+  'beamer
+  "#+OPTIONS: toc:nil
+* A frame
+Here is an example:
+#+begin_example
+\\begin{frame}
+...
+\\end{frame}
+#+end_example
+"
+(goto-char (point-min))
+(should (search-forward (concat "\\newenvironment<>{" 
org-beamer-frame-environment "}") nil t))
+(should (search-forward (concat "\\begin{" org-beamer-frame-environment 
"}") nil t))
+(should (search-forward (concat "\\end{" org-beamer-frame-environment "}") 
nil t
+
+(ert-deftest ox-beamer/orgframe-in-example ()
+  "Test that `org-beamer-frame-environment' is not defined."
+  (org-test-with-exported-text
+  'beamer
+  (concat "#+OPTIONS: toc:nil
+* A frame
+Here is an example:
+#+begin_example
+\\begin{" org-beamer-frame-environment "}
+...
+\\end{" org-beamer-frame-environment "}
+#+end_example
+")
+(goto-char (point-min))
+(should-not (search-forward
+ (concat "\\newenvironment<>{" org-beamer-frame-environment 
"}") nil t))
+(forward-line)
+(should (search-forward (concat "\\begin{frame}") nil t))
+(should (search-forward (concat "\\begin{" org-beamer-frame-environment 
"}")))
+(should (search-forward (concat "\\end{" org-beamer-frame-environment 
"}")))
+(should (search-forward (concat "\\end{frame}") nil t
+
+(ert-deftest ox-beamer/orgframe-in-one-example ()
+  "Test that `org-beamer-frame-environment' is defined.
+First frame should use \"frame\" environment, the second uses
+`org-beamer-frame-environment'."
+  (org-test-with-exported-text
+  'beamer
+  (concat "#+OPTIONS: toc:nil
+* A frame
+Here is an example:
+#+begin_example
+\\begin{" org-beamer-frame-environment "}
+...
+\\end{" org-beamer-frame-environment "}
+#+end_example
+
+* A second frame
+Here is a second example:
+#+begin_example
+\\begin{frame}
+...
+\\end{frame}
+#+end_example
+")
+(goto-char (point-min))
+(should (search-forward
+ (concat "\\newenvironment<>{" org-beamer-frame-environment "}") 
nil t))
+(forward-line)
+(org-test-ignore-duplicate
+ (should (search-forward (concat "\\begin{frame}") nil t))
+ (should (search-forward (concat "\\begin{" org-beamer-frame-environment 
"}")))
+ (should (search-forward (concat "\\end{" org-beamer-frame-environment 
"}")))
+ (should (search-forward (concat "\\end{frame}") nil t))
+ (should (search-forward (concat "\\begin{" org-beamer-frame-environment 
"}")))
+ (should (search-forward (concat "\\begin{frame}") nil t))
+ (should (search-forward (concat "\\end{frame}") nil t))
+ (should (search-forward (concat "\\end{" org-beamer-frame-environment 
"}"))
+
+(provide 'test-ox-beamer)
+;;; test-ox-beamer.el ends here



[nongnu] elpa/yaml-mode 7b5ce294fb: Set `comment-end' to make hide-show heuristic work

2024-03-17 Thread ELPA Syncer
branch: elpa/yaml-mode
commit 7b5ce294fb15c2c8926fa476d7218aa415550a2a
Author: Vasilij Schneidermann 
Commit: Vasilij Schneidermann 

Set `comment-end' to make hide-show heuristic work
---
 yaml-mode.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/yaml-mode.el b/yaml-mode.el
index 990493f6f3..9706f6bdff 100644
--- a/yaml-mode.el
+++ b/yaml-mode.el
@@ -222,6 +222,7 @@ that key is pressed to begin a block literal."
   :syntax-table yaml-mode-syntax-table
   (set (make-local-variable 'comment-start) "# ")
   (set (make-local-variable 'comment-start-skip) "#+ *")
+  (set (make-local-variable 'comment-end) "")
   (set (make-local-variable 'indent-line-function) 'yaml-indent-line)
   (set (make-local-variable 'indent-tabs-mode) nil)
   (set (make-local-variable 'fill-paragraph-function) 'yaml-fill-paragraph)



[elpa] externals/dape 8eb9fbd2db 1/2: Add help text to mode line showing active connections

2024-03-17 Thread ELPA Syncer
branch: externals/dape
commit 8eb9fbd2dbf5c460e326643a35400603e2b462fe
Author: Daniel Pettersson 
Commit: Daniel Pettersson 

Add help text to mode line showing active connections
---
 dape.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dape.el b/dape.el
index 5e7144c33b..ba4e5caf4a 100644
--- a/dape.el
+++ b/dape.el
@@ -4724,7 +4724,9 @@ See `eldoc-documentation-functions', for more infomation."
 (nof-conns
  (length (cl-remove-if-not 'dape--threads conns)))
 ((> nof-conns 1)))
-  (propertize (format "(%s)" nof-conns) 'face 'shadow)
+  (propertize (format "(%s)" nof-conns)
+  'face 'shadow
+  'help-echo "Active child connections")
 
 (add-to-list 'mode-line-misc-info
  `(dape-active-mode



[elpa] externals/dape updated (f43be7877b -> 623fb82ccf)

2024-03-17 Thread ELPA Syncer
elpasync pushed a change to branch externals/dape.

  from  f43be7877b Add fixme for completion
   new  8eb9fbd2db Add help text to mode line showing active connections
   new  623fb82ccf Bump version to 0.9.0


Summary of changes:
 CHANGELOG.org | 7 +++
 dape.el   | 6 --
 2 files changed, 11 insertions(+), 2 deletions(-)



[elpa] externals/dape 623fb82ccf 2/2: Bump version to 0.9.0

2024-03-17 Thread ELPA Syncer
branch: externals/dape
commit 623fb82ccf680400f897a36646b0ea6ee6436137
Author: Daniel Pettersson 
Commit: Daniel Pettersson 

Bump version to 0.9.0
---
 CHANGELOG.org | 7 +++
 dape.el   | 2 +-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/CHANGELOG.org b/CHANGELOG.org
index 85665e3189..8b7a20498d 100644
--- a/CHANGELOG.org
+++ b/CHANGELOG.org
@@ -2,6 +2,13 @@
 #+author: Daniel Pettersson
 #+language: en
 
+* Version 0.9.0
+- Enhanced support for multi-connection adapters
+- Threads buffer shows all threads across connections
+- Thread selection works across all connections
+- Modeline indicates active child connections
+- Threads buffer displays names of non-stopped threads
+
 * Version 0.8.1
 - Revert =debugpy= connection changes, breaks process debugging
 
diff --git a/dape.el b/dape.el
index ba4e5caf4a..cc05768175 100644
--- a/dape.el
+++ b/dape.el
@@ -6,7 +6,7 @@
 ;; Maintainer: Daniel Pettersson 
 ;; Created: 2023
 ;; License: GPL-3.0-or-later
-;; Version: 0.8.1
+;; Version: 0.9.0
 ;; Homepage: https://github.com/svaante/dape
 ;; Package-Requires: ((emacs "29.1") (jsonrpc "1.0.25"))
 



[nongnu] elpa/helm fd478e2ddf 2/2: Update FUNDING.yml

2024-03-17 Thread ELPA Syncer
branch: elpa/helm
commit fd478e2ddfe61c35b3f38a687671eae200b59e84
Author: Thierry Volpiatto 
Commit: GitHub 

Update FUNDING.yml
---
 .github/FUNDING.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml
index 081c9ec8f3..9011b13939 100644
--- a/.github/FUNDING.yml
+++ b/.github/FUNDING.yml
@@ -1,3 +1,3 @@
 # These are supported funding model platforms
-github: thierryvolpiatto
+# github: thierryvolpiatto
 custom: https://www.patreon.com/user?u=86324343 



[nongnu] elpa/helm b9713829a4 1/2: Update FUNDING.yml

2024-03-17 Thread ELPA Syncer
branch: elpa/helm
commit b9713829a47100d6a3305dbd298a40a8d65adf1d
Author: Thierry Volpiatto 
Commit: GitHub 

Update FUNDING.yml
---
 .github/FUNDING.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml
index cece690af9..081c9ec8f3 100644
--- a/.github/FUNDING.yml
+++ b/.github/FUNDING.yml
@@ -1,3 +1,3 @@
 # These are supported funding model platforms
-
+github: thierryvolpiatto
 custom: https://www.patreon.com/user?u=86324343 



[nongnu] elpa/helm updated (75a1f4d709 -> fd478e2ddf)

2024-03-17 Thread ELPA Syncer
elpasync pushed a change to branch elpa/helm.

  from  75a1f4d709 Avoid duplicate code in previous commit
   new  b9713829a4 Update FUNDING.yml
   new  fd478e2ddf Update FUNDING.yml


Summary of changes:
 .github/FUNDING.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)



[nongnu] elpa/helm-core updated (75a1f4d709 -> fd478e2ddf)

2024-03-17 Thread ELPA Syncer
elpasync pushed a change to branch elpa/helm-core.

  from  75a1f4d709 Avoid duplicate code in previous commit
  adds  b9713829a4 Update FUNDING.yml
  adds  fd478e2ddf Update FUNDING.yml

No new revisions were added by this update.

Summary of changes:
 .github/FUNDING.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)



[nongnu] elpa/smartparens ce1b3b9ff8 7/7: feat(org): code marker should prevent nested pairs

2024-03-17 Thread ELPA Syncer
branch: elpa/smartparens
commit ce1b3b9ff83e7eef0da3d2e0e08c8b9e43a08d9a
Author: Matus Goljer 
Commit: Matus Goljer 

feat(org): code marker should prevent nested pairs

Fixes #1031
---
 smartparens-org.el   | 20 +---
 test/smartparens-org-test.el | 37 +
 2 files changed, 54 insertions(+), 3 deletions(-)

diff --git a/smartparens-org.el b/smartparens-org.el
index 8b864b1dcf..0bd51404db 100644
--- a/smartparens-org.el
+++ b/smartparens-org.el
@@ -58,12 +58,26 @@ This predicate is only tested on \"insert\" action."
   (when (eq action 'insert)
 (sp--looking-back-p (concat "\\[" (regexp-quote id)
 
+(defun sp-org-inside-inline-code (_id action _context)
+  (when (eq action 'insert)
+(when-let ((expr (sp-get-stringlike-expression)))
+  (sp-get expr (member :op '("~" "="))
+
 (sp-with-modes 'org-mode
   (sp-local-pair "*" "*"
- :unless '(sp-point-after-word-p sp-point-at-bol-p)
+ :unless '(sp-point-after-word-p
+   sp-point-at-bol-p
+   sp-org-inside-inline-code
+   )
  :skip-match 'sp--org-skip-asterisk)
-  (sp-local-pair "_" "_" :unless '(sp-point-after-word-p))
-  (sp-local-pair "/" "/" :unless '(sp-point-after-word-p 
sp-org-point-after-left-square-bracket-p) :post-handlers '(("[d1]" "SPC")))
+  (sp-local-pair "_" "_" :unless '(sp-point-after-word-p
+   sp-org-inside-inline-code
+   ))
+  (sp-local-pair "/" "/" :unless '(sp-point-after-word-p
+   sp-org-point-after-left-square-bracket-p
+   sp-org-inside-inline-code
+   )
+ :post-handlers '(("[d1]" "SPC")))
   (sp-local-pair "~" "~" :unless '(sp-point-after-word-p) :post-handlers 
'(("[d1]" "SPC")))
   (sp-local-pair "=" "=" :unless '(sp-point-after-word-p) :post-handlers 
'(("[d1]" "SPC")))
   (sp-local-pair "«" "»"))
diff --git a/test/smartparens-org-test.el b/test/smartparens-org-test.el
index 0f6cbfe29c..1be6d5a2e7 100644
--- a/test/smartparens-org-test.el
+++ b/test/smartparens-org-test.el
@@ -165,3 +165,40 @@
 'asd|
 #+end_src
 ")))
+
+;; 1031
+(ert-deftest sp-test-org-no-text-pairs-inside-code--slash ()
+  (sp-test-with-temp-buffer "hello ~code|~"
+  (org-mode)
+(execute-kbd-macro "/")
+(sp-buffer-equals "hello ~code/|~")))
+
+(ert-deftest sp-test-org-no-text-pairs-inside-code--star ()
+  (sp-test-with-temp-buffer "hello ~code|~"
+  (org-mode)
+(execute-kbd-macro "/")
+(sp-buffer-equals "hello ~code/|~")))
+
+(ert-deftest sp-test-org-no-text-pairs-inside-code--underscore ()
+  (sp-test-with-temp-buffer "hello ~code|~"
+  (org-mode)
+(execute-kbd-macro "/")
+(sp-buffer-equals "hello ~code/|~")))
+
+(ert-deftest sp-test-org-no-text-pairs-inside-code-equal--slash ()
+  (sp-test-with-temp-buffer "hello =code|="
+  (org-mode)
+(execute-kbd-macro "/")
+(sp-buffer-equals "hello =code/|=")))
+
+(ert-deftest sp-test-org-no-text-pairs-inside-code-equal--star ()
+  (sp-test-with-temp-buffer "hello =code|="
+  (org-mode)
+(execute-kbd-macro "/")
+(sp-buffer-equals "hello =code/|=")))
+
+(ert-deftest sp-test-org-no-text-pairs-inside-code-equal--underscore ()
+  (sp-test-with-temp-buffer "hello =code|="
+  (org-mode)
+(execute-kbd-macro "/")
+(sp-buffer-equals "hello =code/|=")))



[nongnu] elpa/smartparens a9e058a977 1/7: fix: don't indent after kill in python-ts-mode

2024-03-17 Thread ELPA Syncer
branch: elpa/smartparens
commit a9e058a977e4d07c19d9c07d759a125567175f24
Author: Massimiliano Mirra 
Commit: Massimiliano Mirra 

fix: don't indent after kill in python-ts-mode
---
 smartparens.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/smartparens.el b/smartparens.el
index bf99f5f724..4ebd9ed4cd 100644
--- a/smartparens.el
+++ b/smartparens.el
@@ -613,6 +613,7 @@ Symbol is defined as a chunk of text recognized by
 
 (defcustom sp-no-reindent-after-kill-modes '(
  python-mode
+ python-ts-mode
  coffee-mode
  asm-mode
  makefile-gmake-mode



[nongnu] elpa/smartparens d01e107ceb 4/7: Merge pull request #1183 from dpassen/support-lua-ts-mode

2024-03-17 Thread ELPA Syncer
branch: elpa/smartparens
commit d01e107cebc7b05569080a5a52b185505ed1b761
Merge: 07169605dc f4ae234fab
Author: Matus Goljer 
Commit: GitHub 

Merge pull request #1183 from dpassen/support-lua-ts-mode

Add support for lua-ts-mode
---
 smartparens-config.el | 1 +
 smartparens-lua.el| 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/smartparens-config.el b/smartparens-config.el
index d354d11255..c639e5e998 100644
--- a/smartparens-config.el
+++ b/smartparens-config.el
@@ -131,6 +131,7 @@ ID, ACTION, CONTEXT."
   (eval-after-load it  '(require 'smartparens-html)))
 (eval-after-load 'latex'(require 'smartparens-latex))
 (eval-after-load 'lua-mode '(require 'smartparens-lua))
+(eval-after-load 'lua-ts-mode  '(require 'smartparens-lua))
 (eval-after-load 'markdown-mode'(require 'smartparens-markdown))
 (--each '(python-mode python-ts-mode python)
   (eval-after-load it  '(require 'smartparens-python)))
diff --git a/smartparens-lua.el b/smartparens-lua.el
index 0b7512a3ef..e6b4c90caa 100644
--- a/smartparens-lua.el
+++ b/smartparens-lua.el
@@ -66,7 +66,7 @@
 
 ;; all the pairs are expanded only if followed by "SPC" event.  This
 ;; will reduce false positives like 'dIFficult' to trigger.
-(sp-with-modes '(lua-mode)
+(sp-with-modes '(lua-mode lua-ts-mode)
   (sp-local-pair "if" "end"
  :when '(("SPC"))
  :unless '(sp-in-comment-p sp-in-string-p)



[nongnu] elpa/smartparens f4ae234fab 2/7: Add support for lua-ts-mode

2024-03-17 Thread ELPA Syncer
branch: elpa/smartparens
commit f4ae234fabb9e2173b3ab88b019ae18b4cfe852a
Author: Derek Passen 
Commit: Derek Passen 

Add support for lua-ts-mode
---
 smartparens-config.el | 1 +
 smartparens-lua.el| 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/smartparens-config.el b/smartparens-config.el
index d354d11255..c639e5e998 100644
--- a/smartparens-config.el
+++ b/smartparens-config.el
@@ -131,6 +131,7 @@ ID, ACTION, CONTEXT."
   (eval-after-load it  '(require 'smartparens-html)))
 (eval-after-load 'latex'(require 'smartparens-latex))
 (eval-after-load 'lua-mode '(require 'smartparens-lua))
+(eval-after-load 'lua-ts-mode  '(require 'smartparens-lua))
 (eval-after-load 'markdown-mode'(require 'smartparens-markdown))
 (--each '(python-mode python-ts-mode python)
   (eval-after-load it  '(require 'smartparens-python)))
diff --git a/smartparens-lua.el b/smartparens-lua.el
index 0b7512a3ef..e6b4c90caa 100644
--- a/smartparens-lua.el
+++ b/smartparens-lua.el
@@ -66,7 +66,7 @@
 
 ;; all the pairs are expanded only if followed by "SPC" event.  This
 ;; will reduce false positives like 'dIFficult' to trigger.
-(sp-with-modes '(lua-mode)
+(sp-with-modes '(lua-mode lua-ts-mode)
   (sp-local-pair "if" "end"
  :when '(("SPC"))
  :unless '(sp-in-comment-p sp-in-string-p)



[nongnu] elpa/smartparens 07169605dc 3/7: feat: do not reindent after kill in yaml-mode

2024-03-17 Thread ELPA Syncer
branch: elpa/smartparens
commit 07169605dc93405a6aa9f5aab387613447519692
Author: Matus Goljer 
Commit: Matus Goljer 

feat: do not reindent after kill in yaml-mode

Fixes #1188
---
 smartparens.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/smartparens.el b/smartparens.el
index cc720d97f7..b698254230 100644
--- a/smartparens.el
+++ b/smartparens.el
@@ -617,6 +617,7 @@ Symbol is defined as a chunk of text recognized by
  asm-mode
  makefile-gmake-mode
  haml-mode
+ yaml-mode
  )
   "List of modes that should not reindent after kill."
   :type '(repeat symbol)



[nongnu] elpa/smartparens 24af0fb8ab 5/7: Merge pull request #1170 from bard/master

2024-03-17 Thread ELPA Syncer
branch: elpa/smartparens
commit 24af0fb8ab76438f6a8dd199b16578fc16124abf
Merge: d01e107ceb a9e058a977
Author: Matus Goljer 
Commit: GitHub 

Merge pull request #1170 from bard/master

fix: don't indent after kill in python-ts-mode
---
 smartparens.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/smartparens.el b/smartparens.el
index b698254230..ccdafceb14 100644
--- a/smartparens.el
+++ b/smartparens.el
@@ -613,6 +613,7 @@ Symbol is defined as a chunk of text recognized by
 
 (defcustom sp-no-reindent-after-kill-modes '(
  python-mode
+ python-ts-mode
  coffee-mode
  asm-mode
  makefile-gmake-mode



[nongnu] elpa/smartparens updated (0778a8a840 -> ce1b3b9ff8)

2024-03-17 Thread ELPA Syncer
elpasync pushed a change to branch elpa/smartparens.

  from  0778a8a840 Merge pull request #1174 from 
akreisher/add-js-typescript-ts-modes
   new  07169605dc feat: do not reindent after kill in yaml-mode
   new  f4ae234fab Add support for lua-ts-mode
   new  d01e107ceb Merge pull request #1183 from dpassen/support-lua-ts-mode
   new  a9e058a977 fix: don't indent after kill in python-ts-mode
   new  24af0fb8ab Merge pull request #1170 from bard/master
   new  6901461344 fix(ruby): load config for legacy ruby-mode as well
   new  ce1b3b9ff8 feat(org): code marker should prevent nested pairs


Summary of changes:
 smartparens-config.el|  1 +
 smartparens-lua.el   |  2 +-
 smartparens-org.el   | 20 +---
 smartparens-ruby.el  |  2 +-
 smartparens.el   |  2 ++
 test/smartparens-org-test.el | 37 +
 6 files changed, 59 insertions(+), 5 deletions(-)



[nongnu] elpa/smartparens 6901461344 6/7: fix(ruby): load config for legacy ruby-mode as well

2024-03-17 Thread ELPA Syncer
branch: elpa/smartparens
commit 69014613446baf9b199aa09cc023e165d5fc1976
Author: Matus Goljer 
Commit: Matus Goljer 

fix(ruby): load config for legacy ruby-mode as well

Fixes #1176
---
 smartparens-ruby.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/smartparens-ruby.el b/smartparens-ruby.el
index 65ba9efeb9..bc906d1d84 100644
--- a/smartparens-ruby.el
+++ b/smartparens-ruby.el
@@ -298,7 +298,7 @@ MS, ME, MB."
 (dolist (mode '(ruby-mode ruby-ts-mode motion-mode))
   (add-to-list 'sp-sexp-suffix `(,mode syntax "")))
 
-(sp-with-modes '(ruby-base-mode enh-ruby-mode motion-mode)
+(sp-with-modes '(ruby-mode ruby-ts-mode enh-ruby-mode motion-mode)
   (sp-local-pair "do" "end"
  :when '(("SPC" "RET" ""))
  :unless '(sp-ruby-in-string-or-word-p sp-in-comment-p)



[nongnu] elpa/dockerfile-mode f619672634: Add s to Package-Requires list

2024-03-17 Thread ELPA Syncer
branch: elpa/dockerfile-mode
commit f6196726342b44081933597a343805db6366e7ac
Author: Roi Martin 
Commit: Drew Csillag 

Add s to Package-Requires list

After afcd418, dockerfile-mode fails to load with:

File mode specification error: (file-missing Cannot open load file 
No such file or directory s)

This is because dockerfile-mode depends now on the function s-replace,
which is provided by the s package. This commit adds s to the list of
dependencies of dockerfile-mode.

Fixes #83.
---
 dockerfile-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dockerfile-mode.el b/dockerfile-mode.el
index 43e47cf3db..ea90ea902a 100644
--- a/dockerfile-mode.el
+++ b/dockerfile-mode.el
@@ -1,7 +1,7 @@
 ;;; dockerfile-mode.el --- Major mode for editing Docker's Dockerfiles -*- 
lexical-binding: t -*-
 
 ;; Copyright (c) 2013 Spotify AB
-;; Package-Requires: ((emacs "24"))
+;; Package-Requires: ((emacs "24") (s "1.2.0"))
 ;; Homepage: https://github.com/spotify/dockerfile-mode
 ;; URL: https://github.com/spotify/dockerfile-mode
 ;; Version: 1.7