[elpa] externals/denote e8f9e22892: Remove the custom revert-buffer-function of denote-sort-dired

2025-05-06 Thread ELPA Syncer
branch: externals/denote
commit e8f9e22892e48d2e5bc3ed7be6cb5ef370870049
Author: Protesilaos Stavrou 
Commit: Protesilaos Stavrou 

Remove the custom revert-buffer-function of denote-sort-dired

I think we do not need it anymore and we had a FIXME for it, anyway.

Thanks to mjkalyan for reporting the problem with revert-buffer and
for testing this change: 
.
---
 denote.el | 10 +-
 1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/denote.el b/denote.el
index 5f6d32d717..9a5380218a 100644
--- a/denote.el
+++ b/denote.el
@@ -1726,15 +1726,7 @@ When called from Lisp, the arguments are a string, a 
symbol among
   (buffer-name (funcall denote-sort-dired-buffer-name-function 
files-matching-regexp component reverse-sort exclude-rx)))
   (setq denote-sort--dired-buffer dired-buffer)
   (with-current-buffer dired-buffer
-(rename-buffer buffer-name :unique)
-(setq-local revert-buffer-function
-(lambda (&rest _)
-  ;; FIXME 2025-01-04: Killing the buffer has
-  ;; the unintended side effect of affecting the
-  ;; window configuration when we call
-  ;; `denote-update-dired-buffers'.
-  (kill-buffer dired-buffer)
-  (denote-sort-dired files-matching-regexp component 
reverse-sort exclude-rx
+(rename-buffer buffer-name :unique))
   buffer-name)
   (message "No matching files for: %s" files-matching-regexp
 



[elpa] externals/minuet 8f25ad2538: doc: update README.

2025-05-06 Thread ELPA Syncer
branch: externals/minuet
commit 8f25ad253843cd996a43cc7c3ec1b8788affc47a
Author: Milan Glacier 
Commit: Milan Glacier 

doc: update README.
---
 README.md | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/README.md b/README.md
index 6fe1289050..0e1889048e 100644
--- a/README.md
+++ b/README.md
@@ -293,9 +293,9 @@ For cloud-based providers,
 offers a valuable resource for comparing the speed of both closed-source and
 open-source models hosted by various cloud inference providers.
 
-When assessing model speed via Openrouter, two key metrics are latency (time to
-first token) and throughput (tokens per second). Latency is often a more
-critical factor than throughput.
+When assessing model speed, two key metrics are latency (time to first token)
+and throughput (tokens per second). Latency is often a more critical factor
+than throughput.
 
 Ideally, one would aim for a latency of less than 1 second and a throughput
 exceeding 100 tokens per second.



[elpa] externals/matlab-mode e75ebf5a88: Improvements to matlab-sections

2025-05-06 Thread ELPA Syncer
branch: externals/matlab-mode
commit e75ebf5a88b02833d700bcf9ee4419c5888caf12
Author: John Ciolfi 
Commit: John Ciolfi 

Improvements to matlab-sections

This commit adds default key bindings, C-c C- and C-c M-, which 
means code sections key
bindings work on systems without the super key. The super key bindings can 
be added by customizing
matlab-sections-use-super-key. This commit also adds "MATLAB -> Code 
Sections" menu.

Details:

1. matlab sections is support is now a minor mode, 
matlab-sections-minor-mode (Eric's patch)
   - The matlab sections support is automatically enabled for scripts.
   - A hook fires whenever the type of script in a given buffer changes. 
For example, when a new
 file is opened, and matlab-mode starts, it changes from nil to 'empty. 
If someone types in %%
 new script and then saves, the hook fires and switches to 'script. If 
instead they typed in
 function myfunc then the hook fires and switches to 'function.
2. After entering matlab-mode, we run 
matlab-sections-auto-enable-on-mfile-type-fcn and also run it
   when a matlab-mode file is saved. This ensures that the 
matlab-sections-minor-mode is only
   enabled when in a script.
3. In matlab.el, renamed script-type to mfile-type, e.g. 
matlab-guess-script-type
   matlab-guess-mfile-type.
4. Reduced number of calls to determining the mfile type 
(matlab-guess-mfile-type) which should give
   a little boost.
5. Fix: "comment blocks" like the following are not identified as "%% 
sections"
  #+begin_src matlab
   %
   %% comment %%
   %
  #+end_src
6. Fix "%% section" face handling such that it is only shown when 
matlab-sections-minor-mode
   is true. Also, do not treat "%%%" comment blocks as "%% section" starts.
7. Fix: section comment face so that it is a bolded comment rather than 
blank and white
   by inheriting from font-lock-comment-face.
8. Updated the "%% section" start face to be a little bigger to make it 
standout more.
9. Fix: in matlab-syntax.el, only apply matlab-sections-section-break-face 
if we have
   "%%" and not "%%%". This help prevent comment blocks using lots of '%%%' 
characters
   from being treated as sections.
10. Fix: if point is at the start of the file before a "%% section",
matlab-sections-backward-section generates a lisp error. For example,
if point is in line 1 or 2 in this code, we get an error:
   #+begin_src matlab
 % line 1
 % line 2
 %% section 1
 a = 1;
   #+end_src
11. Fix: if point is at end of the buffer and you run 
matlab-sections-run-till-point
it gets stuck in an infinite loop because (while (>= pt (point)) ...) is
always true when at the end of the buffer.
12. Consolidate help for matlab-sections into matlab-sections-minor-mode
and correctly display the key mappings.
13. Add matlab-sections-run-section keybinding to run current section
14. Added MATLAB -> Code Sections menu
15. Added matlab-sections-help to show basics MATLAB -> Sections -> 
Sections Help
16. Fix: matlab-sections-run-till-point where it would run the
current section if it was the first section. Now it does nothing 
because there's
nothing to run.
17. Fix: matlab-sections-run-till-point where it was not waiting for MATLAB 
to
finish before running the next section. The fix was to tell emacs to 
run all relevant
lines.
18. Renamed matlab-sections-run-till-point to 
matlab-sections-run-prior-sections.
19. In matlab-sections-forward-section, removed optional AGGRESSIVE 
argument which when
true made it behave same as matlab-sections-end-of-section. Did same for
for matlab-sessions-backward-section.
20. In matlab-sections-forward-section removed (not 
(pos-visible-in-window-p endp))
because it cause the tests to not work correctly and it wasn't clear 
why it was there.
I couldn't find a reason for it? Did same for 
matlab-sessions-backward-section.
21. In matlab-sections-beginning-of-section, move to the first code in the 
section.
Previously, it didn't handle multiple blank lines.
22. Cleanup: in matlab.el, for the write-contents-functions, removed the 
unused optional fast
argument.
23. Fixed a few typos and spelling issues in matlab.el
24. Added tests for matlab-sections.el
---
 README.org  |  26 +-
 examples/matlab-sections/tryout_matlabsection.m |  38 +-
 matlab-sections.el  | 415 +-
 matlab-syntax.el|  35 +-
 matlab.el   | 440 
 tests/metest.el |  10 +-
 tests/mstest-sections.el  

[elpa] externals/denote 5f262d0541 2/4: Merge pull request #597 from mjkalyan/prefix

2025-05-06 Thread ELPA Syncer
branch: externals/denote
commit 5f262d054134ca5f018da15c675f6f869cc864ce
Merge: e8f9e22892 8e1341d946
Author: Protesilaos Stavrou 
Commit: GitHub 

Merge pull request #597 from mjkalyan/prefix

Implement ‘denote-buffer-name-prefix’ discussed as an aside in #595
---
 denote.el | 47 ++-
 1 file changed, 34 insertions(+), 13 deletions(-)

diff --git a/denote.el b/denote.el
index 9a5380218a..7f6884fb7a 100644
--- a/denote.el
+++ b/denote.el
@@ -1677,12 +1677,14 @@ must return a string that is appropriate for a buffer 
name.")
 The FILES-MATCHING-REGEXP, SORT-BY-COMPONENT, REVERSE, and
 EXCLUDE-REGEXP all have the same meaning as `denote-sort-dired'.
 Process them to return the buffer name."
-  (format-message
-   "*denote-dired: regexp `%s'; sort `%s'%s%s*"
-   files-matching-regexp
-   sort-by-component
-   (if reverse "; reverse t" "")
-   (if exclude-regexp (format-message "; exclude-regexp `%s'" exclude-regexp) 
"")))
+  (denote-buffer-name
+   (format-message
+"regexp `%s'; sort `%s'%s%s"
+files-matching-regexp
+sort-by-component
+(if reverse "; reverse t" "")
+(if exclude-regexp (format-message "; exclude-regexp `%s'" exclude-regexp) 
""))
+   t))
 
 ;;;###autoload
 (defun denote-sort-dired (files-matching-regexp sort-by-component reverse 
exclude-regexp)
@@ -5253,7 +5255,9 @@ Optional DISPLAY-BUFFER-ACTION is a `display-buffer' 
action and
 concomitant alist, such as `denote-backlinks-display-buffer-action'."
   (let* ((inhibit-read-only t)
  (file buffer-file-name)
- (buffer (or buffer-name (format-message "*Denote query for `%s'*" 
query)))
+ (buffer (or buffer-name (denote-buffer-name
+  (format-message "query for `%s'" query)
+  t)))
  ;; We retrieve results in absolute form and change the
  ;; absolute path to a relative path below. We could add a
  ;; suitable function and the results would be automatically
@@ -5561,10 +5565,12 @@ file listings such as those of `dired' and the 
command-line `ls' program."
   "Format a buffer name for `denote-backlinks'.
 Use FILE to detect a suitable title with which to name the buffer.  Else
 use the ID."
-  (if-let* ((type (denote-filetype-heuristics file))
-(title (denote-retrieve-front-matter-title-value file type)))
-  (format "*Denote FILE backlinks for %S*" title)
-(format "*Denote FILE backlinks for %s*" id)))
+  (denote-buffer-name
+   (if-let* ((type (denote-filetype-heuristics file))
+ (title (denote-retrieve-front-matter-title-value file type)))
+   (format "FILE backlinks for %S" title)
+ (format "FILE backlinks for %s" id))
+   t))
 
 ;;;###autoload
 (defun denote-backlinks ()
@@ -6483,7 +6489,22 @@ option `denote-templates'."
   :package-version '(denote . "3.1.0")
   :group 'denote-rename-buffer)
 
-(defcustom denote-rename-buffer-format "[D] %D%b"
+(defcustom denote-buffer-name-prefix "[D] "
+  "A string used as a buffer name prefix to indicate that a buffer is a
+Denote buffer of any kind."
+  :type 'string
+  :package-version '(denote . "TODO") ; what version will this be included in?
+  :group 'denote)
+
+(defun denote-buffer-name (string &optional special?)
+  "Return a Denote buffer name based on STRING. That means prefixing
+‘denote-buffer-name-prefix’ to STRING (indicating the buffer is a Denote
+buffer) and surrounding the string with asterisks when the buffer is
+special/temporary (i.e. when SPECIAL? is non-nil)."
+  (let ((maybe-asterisk (if special? "*" "")))
+(concat maybe-asterisk denote-buffer-name-prefix string maybe-asterisk)))
+
+(defcustom denote-rename-buffer-format "%D%b"
   "The format of the buffer name `denote-rename-buffer' should use.
 The value is a string that treats specially the following specifiers:
 
@@ -6581,7 +6602,7 @@ option `denote-rename-buffer-function' and is thus used 
by the
   ((denote-file-has-identifier-p file))
   (new-name (denote-rename-buffer--format (or buffer 
(current-buffer
   ((not (string-blank-p new-name
-(rename-buffer new-name :unique)))
+(rename-buffer (denote-buffer-name new-name) :unique)))
 
 (defun denote-rename-buffer--fallback (&optional buffer)
   "Fallback to rename BUFFER or `current-buffer'.



[elpa] externals/denote ffb65405e7 4/4: Acknowledge James Kalyan for commit 8e1341d

2025-05-06 Thread ELPA Syncer
branch: externals/denote
commit ffb65405e7109b05d5bcbb3b3b58f6331d90c8de
Author: Protesilaos Stavrou 
Commit: Protesilaos Stavrou 

Acknowledge James Kalyan for commit 8e1341d

This is related to pull request 597: 
.
James is in the process of assigning copyright to the Free Software
Foundation.
---
 README.org | 14 +++---
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/README.org b/README.org
index b60e60cfb4..bc9345fdf7 100644
--- a/README.org
+++ b/README.org
@@ -6349,13 +6349,13 @@ Denote is meant to be a collective effort.  Every bit 
of help matters.
   Claudio Migliorelli, Clemens Radermacher, Colin McLear, Damien
   Cassou, Eduardo Grajeda, Elias Storms, Eshel Yaron, Florian, Glenna
   D., Graham Marlow, Hilde Rhyne, Ivan Sokolov, Jack Baty, Jakub
-  Szczerbowski, Jean-Charles Bagneris, Jean-Philippe Gagné Guay,
-  Jianwei Hou, Joseph Turner, Jürgen Hötzel, Kaushal Modi, Kai von
-  Fintel, Kierin Bell, Kostas Andreadis, Kristoffer Balintona, Kyle
-  Meyer, Laurent Gatto, Lucas Quintana, Maikol Solis, Marc Fargas,
-  Matthew Lemon, Noboru Ota (nobiot), Norwid Behrnd, Octavian, Peter
-  Prevos, Philip Kaludercic, Quiliro Ordóñez, Stephen R. Kifer, Stefan
-  Monnier, Stefan Thesing, Thibaut Benjamin, Tomasz Hołubowicz,
+  Szczerbowski, James Kalyan, Jean-Charles Bagneris, Jean-Philippe
+  Gagné Guay, Jianwei Hou, Joseph Turner, Jürgen Hötzel, Kaushal Modi,
+  Kai von Fintel, Kierin Bell, Kostas Andreadis, Kristoffer Balintona,
+  Kyle Meyer, Laurent Gatto, Lucas Quintana, Maikol Solis, Marc
+  Fargas, Matthew Lemon, Noboru Ota (nobiot), Norwid Behrnd, Octavian,
+  Peter Prevos, Philip Kaludercic, Quiliro Ordóñez, Stephen R. Kifer,
+  Stefan Monnier, Stefan Thesing, Thibaut Benjamin, Tomasz Hołubowicz,
   TomoeMami , Vedang Manerikar, Wesley Harvey, Zhenxu Xu, arsaber101,
   bryanrinders, eum3l, experimental-code-86, ezchi, jarofromel,
   leinfink (Henrik), l-o-l-h (Lincoln), mattyonweb, maxbrieiev,



[elpa] externals/denote 8e1341d946 1/4: Implement ‘denote-buffer-name-prefix’ discussed as an aside in #595

2025-05-06 Thread ELPA Syncer
branch: externals/denote
commit 8e1341d94615b7b788bed60587f6f55f543ab6a5
Author: James Kalyan 
Commit: James Kalyan 

Implement ‘denote-buffer-name-prefix’ discussed as an aside in #595

This approach defines ‘denote-buffer-name-prefix’ as a customizable variable
defaulting to "[D] ".

Then I define ‘denote-buffer-name’ as a function to wrap buffer names in 
such
that they use ‘denote-buffer-name-prefix’. ‘denote-buffer-name’ also takes 
the
opportunity to allow designating buffers as "special/temporary" or not which
adds surrounding asterisks.

Lastly, I have wrapped all the Denote-related buffer names with
‘denote-buffer-name’ so commands like ‘denote-sort-dired’, 
‘denote-backlinks’,
and ‘denote-grep’ will all use ‘denote-buffer-name-prefix’.

BEFORE MERGING:

- Fix my placement of the definitions inside denote.el. I'm not sure what 
makes
most sense to you.

- decide on a package-version for the introduction of
‘denote-buffer-name-prefix’. I have it set to "TODO" at the moment.
---
 denote.el | 47 ++-
 1 file changed, 34 insertions(+), 13 deletions(-)

diff --git a/denote.el b/denote.el
index 9a5380218a..7f6884fb7a 100644
--- a/denote.el
+++ b/denote.el
@@ -1677,12 +1677,14 @@ must return a string that is appropriate for a buffer 
name.")
 The FILES-MATCHING-REGEXP, SORT-BY-COMPONENT, REVERSE, and
 EXCLUDE-REGEXP all have the same meaning as `denote-sort-dired'.
 Process them to return the buffer name."
-  (format-message
-   "*denote-dired: regexp `%s'; sort `%s'%s%s*"
-   files-matching-regexp
-   sort-by-component
-   (if reverse "; reverse t" "")
-   (if exclude-regexp (format-message "; exclude-regexp `%s'" exclude-regexp) 
"")))
+  (denote-buffer-name
+   (format-message
+"regexp `%s'; sort `%s'%s%s"
+files-matching-regexp
+sort-by-component
+(if reverse "; reverse t" "")
+(if exclude-regexp (format-message "; exclude-regexp `%s'" exclude-regexp) 
""))
+   t))
 
 ;;;###autoload
 (defun denote-sort-dired (files-matching-regexp sort-by-component reverse 
exclude-regexp)
@@ -5253,7 +5255,9 @@ Optional DISPLAY-BUFFER-ACTION is a `display-buffer' 
action and
 concomitant alist, such as `denote-backlinks-display-buffer-action'."
   (let* ((inhibit-read-only t)
  (file buffer-file-name)
- (buffer (or buffer-name (format-message "*Denote query for `%s'*" 
query)))
+ (buffer (or buffer-name (denote-buffer-name
+  (format-message "query for `%s'" query)
+  t)))
  ;; We retrieve results in absolute form and change the
  ;; absolute path to a relative path below. We could add a
  ;; suitable function and the results would be automatically
@@ -5561,10 +5565,12 @@ file listings such as those of `dired' and the 
command-line `ls' program."
   "Format a buffer name for `denote-backlinks'.
 Use FILE to detect a suitable title with which to name the buffer.  Else
 use the ID."
-  (if-let* ((type (denote-filetype-heuristics file))
-(title (denote-retrieve-front-matter-title-value file type)))
-  (format "*Denote FILE backlinks for %S*" title)
-(format "*Denote FILE backlinks for %s*" id)))
+  (denote-buffer-name
+   (if-let* ((type (denote-filetype-heuristics file))
+ (title (denote-retrieve-front-matter-title-value file type)))
+   (format "FILE backlinks for %S" title)
+ (format "FILE backlinks for %s" id))
+   t))
 
 ;;;###autoload
 (defun denote-backlinks ()
@@ -6483,7 +6489,22 @@ option `denote-templates'."
   :package-version '(denote . "3.1.0")
   :group 'denote-rename-buffer)
 
-(defcustom denote-rename-buffer-format "[D] %D%b"
+(defcustom denote-buffer-name-prefix "[D] "
+  "A string used as a buffer name prefix to indicate that a buffer is a
+Denote buffer of any kind."
+  :type 'string
+  :package-version '(denote . "TODO") ; what version will this be included in?
+  :group 'denote)
+
+(defun denote-buffer-name (string &optional special?)
+  "Return a Denote buffer name based on STRING. That means prefixing
+‘denote-buffer-name-prefix’ to STRING (indicating the buffer is a Denote
+buffer) and surrounding the string with asterisks when the buffer is
+special/temporary (i.e. when SPECIAL? is non-nil)."
+  (let ((maybe-asterisk (if special? "*" "")))
+(concat maybe-asterisk denote-buffer-name-prefix string maybe-asterisk)))
+
+(defcustom denote-rename-buffer-format "%D%b"
   "The format of the buffer name `denote-rename-buffer' should use.
 The value is a string that treats specially the following specifiers:
 
@@ -6581,7 +6602,7 @@ option `denote-rename-buffer-function' and is thus used 
by the
   ((denote-file-has-identifier-p file))
   (new-name (denote-rename-buffer--format (or buffer 
(current-buffer
   ((not (string-blank-p new-name
-(rename-buffer new-nam

[elpa] externals/denote 0150e8ed94 3/4: Make stylistic changes to how denote-buffer-name-prefix is used

2025-05-06 Thread ELPA Syncer
branch: externals/denote
commit 0150e8ed94f1f8961f3571667dbca720d948f1c8
Author: Protesilaos Stavrou 
Commit: Protesilaos Stavrou 

Make stylistic changes to how denote-buffer-name-prefix is used

This builds on top of commit 8e1341d by James Kalyan, which was done
in pull request 597: .

James is in the process of assigning copyright to the Free Software
Foundation.
---
 denote.el | 58 +++---
 1 file changed, 31 insertions(+), 27 deletions(-)

diff --git a/denote.el b/denote.el
index 7f6884fb7a..ffe0396d0a 100644
--- a/denote.el
+++ b/denote.el
@@ -773,6 +773,16 @@ and `denote-link-after-creating-with-command'."
   :link '(info-link "(denote) Choose which commands to prompt for")
   :type '(repeat symbol))
 
+(defcustom denote-buffer-name-prefix "[D] "
+  "String used as the prefix of all buffer names produced by Denote.
+This includes the query links, backlinks, `denote-grep', `denote-dired'
+buffers, as well as all the regular Denote files whose buffer name gets
+updated when `denote-rename-buffer-mode' is enabled (that mode uses the
+`denote-rename-buffer-format')."
+  :type 'string
+  :package-version '(denote . "4.1.0")
+  :group 'denote)
+
 (defcustom denote-file-name-slug-functions
   '((title . denote-sluggify-title)
 (signature . denote-sluggify-signature)
@@ -1397,6 +1407,14 @@ Return the absolute path to the matching file."
 ;; appropriately.
 absolute-file))
 
+(defun denote-format-buffer-name (string &optional special)
+  "Use STRING to return a Denote buffer name with `denote-buffer-name-prefix'.
+With optional SPECIAL, wrap the name in asterisks, signifying that this
+is a special buffer."
+  (if special
+  (format "*%s%s*" denote-buffer-name-prefix string)
+(format "%s%s" denote-buffer-name-prefix string)))
+
  The sort mechanism
 
 (defgroup denote-sort nil
@@ -1677,14 +1695,14 @@ must return a string that is appropriate for a buffer 
name.")
 The FILES-MATCHING-REGEXP, SORT-BY-COMPONENT, REVERSE, and
 EXCLUDE-REGEXP all have the same meaning as `denote-sort-dired'.
 Process them to return the buffer name."
-  (denote-buffer-name
+  (denote-format-buffer-name
(format-message
 "regexp `%s'; sort `%s'%s%s"
 files-matching-regexp
 sort-by-component
 (if reverse "; reverse t" "")
 (if exclude-regexp (format-message "; exclude-regexp `%s'" exclude-regexp) 
""))
-   t))
+   :special-buffer))
 
 ;;;###autoload
 (defun denote-sort-dired (files-matching-regexp sort-by-component reverse 
exclude-regexp)
@@ -5255,9 +5273,8 @@ Optional DISPLAY-BUFFER-ACTION is a `display-buffer' 
action and
 concomitant alist, such as `denote-backlinks-display-buffer-action'."
   (let* ((inhibit-read-only t)
  (file buffer-file-name)
- (buffer (or buffer-name (denote-buffer-name
-  (format-message "query for `%s'" query)
-  t)))
+ (buffer (or buffer-name
+ (denote-format-buffer-name (format-message "query for 
`%s'" query) :special-buffer)))
  ;; We retrieve results in absolute form and change the
  ;; absolute path to a relative path below. We could add a
  ;; suitable function and the results would be automatically
@@ -5565,12 +5582,12 @@ file listings such as those of `dired' and the 
command-line `ls' program."
   "Format a buffer name for `denote-backlinks'.
 Use FILE to detect a suitable title with which to name the buffer.  Else
 use the ID."
-  (denote-buffer-name
+  (denote-format-buffer-name
(if-let* ((type (denote-filetype-heuristics file))
  (title (denote-retrieve-front-matter-title-value file type)))
(format "FILE backlinks for %S" title)
  (format "FILE backlinks for %s" id))
-   t))
+   :special-buffer))
 
 ;;;###autoload
 (defun denote-backlinks ()
@@ -6489,24 +6506,13 @@ option `denote-templates'."
   :package-version '(denote . "3.1.0")
   :group 'denote-rename-buffer)
 
-(defcustom denote-buffer-name-prefix "[D] "
-  "A string used as a buffer name prefix to indicate that a buffer is a
-Denote buffer of any kind."
-  :type 'string
-  :package-version '(denote . "TODO") ; what version will this be included in?
-  :group 'denote)
-
-(defun denote-buffer-name (string &optional special?)
-  "Return a Denote buffer name based on STRING. That means prefixing
-‘denote-buffer-name-prefix’ to STRING (indicating the buffer is a Denote
-buffer) and surrounding the string with asterisks when the buffer is
-special/temporary (i.e. when SPECIAL? is non-nil)."
-  (let ((maybe-asterisk (if special? "*" "")))
-(concat maybe-asterisk denote-buffer-name-prefix string maybe-asterisk)))
-
 (defcustom denote-rename-buffer-format "%D%b"
   "The format of the buffer name `denote-rename-buffer' should use.
-The value is a string that treats specially the following specifiers:
+This also c

[elpa] externals/denote updated (e8f9e22892 -> ffb65405e7)

2025-05-06 Thread ELPA Syncer
elpasync pushed a change to branch externals/denote.

  from  e8f9e22892 Remove the custom revert-buffer-function of 
denote-sort-dired
   new  8e1341d946 Implement ‘denote-buffer-name-prefix’ discussed as an 
aside in #595
   new  5f262d0541 Merge pull request #597 from mjkalyan/prefix
   new  0150e8ed94 Make stylistic changes to how denote-buffer-name-prefix 
is used
   new  ffb65405e7 Acknowledge James Kalyan for commit 8e1341d


Summary of changes:
 README.org | 14 +++---
 denote.el  | 59 ++-
 2 files changed, 49 insertions(+), 24 deletions(-)



[nongnu] elpa/helm 2a647d7f35 1/2: Allow specifying helm-ff-drag-and-drop-default-directories as a cons cell

2025-05-06 Thread ELPA Syncer
branch: elpa/helm
commit 2a647d7f3553ff0dadc2c00fb4eb7c508c308474
Author: Thierry Volpiatto 
Commit: Thierry Volpiatto 

Allow specifying helm-ff-drag-and-drop-default-directories as a cons cell
---
 helm-files.el | 19 ---
 helm-help.el  |  8 +---
 2 files changed, 21 insertions(+), 6 deletions(-)

diff --git a/helm-files.el b/helm-files.el
index a6a24a6de4..d67672bef9 100644
--- a/helm-files.el
+++ b/helm-files.el
@@ -958,11 +958,17 @@ You want generally to set this to your home desktop 
directory.")
 'helm-ff-drag-and-drop-default-directories
 "4.0.3")
 
-(defcustom helm-ff-drag-and-drop-default-directories nil
-  "A list of directories where to drop files on a drag-and-drop action.
+(defcustom helm-ff-drag-and-drop-default-directories '(history . 10)
+  "Directories where to drop files on a drag-and-drop action.
+Can be a list of directories, or a cons cell (history . ) where  is the
+first  directories of `helm-ff-history'.
 It is used when no suitable directory is found at drop place,
 generally when dropping outside of an emacs frame."
-  :type '(repeat (choice string)))
+  :type '(choice
+  (cons
+   (const :tag "History" history)
+   integer)
+  (repeat string)))
 
 (defcustom helm-ff-drag-mouse-1-default-action 'copy
   "Default action when dragging files.
@@ -5642,6 +5648,13 @@ When no suitable place to drop is found ask to drop to
helm-current-buffer)
   (or helm-ff-drag-and-drop-default-directories
   helm-ff-drag-and-drop-default-directory))
+ (when (and (eq (car it) 'history)
+(numberp (cdr it)))
+   (setq it (helm-take
+ (remove helm-ff-default-directory
+ (helm-fast-remove-dups
+  helm-ff-history :test 'equal))
+ (cdr it
  (x-popup-menu
   t (list "Choose target"
   (cons ""
diff --git a/helm-help.el b/helm-help.el
index 2278c681ad..294c58ca84 100644
--- a/helm-help.el
+++ b/helm-help.el
@@ -888,9 +888,11 @@ When mouse support is enabled in Helm (which is the 
default, see
 of the buffer you drag-and-drop in.  When you drag and drop outside of
 an emacs frame, the target directory is defined by the variable
 `helm-ff-drag-and-drop-default-directories' which is a list of
-directories you can choose from, it is nil by default, customize it to
-your needs.  Tip: To trigger this from an Emacs full frame, drag to the
-border of the Emacs frame.
+directories you can choose from or the first  elements of
+`helm-ff-history' you specify with a cons cell where the first element
+is the symbol =history= and the second an integer, it is '(history . 10)
+by default, customize it to your needs.  Tip: To trigger this from an
+Emacs full frame, drag to the border of the Emacs frame.
 
 By default Helm copy files when using drag-and-drop, you can customize
 `helm-ff-drag-mouse-1-default-action' to modify this.



[nongnu] elpa/helm updated (921c24362e -> fde69a9a38)

2025-05-06 Thread ELPA Syncer
elpasync pushed a change to branch elpa/helm.

  from  921c24362e Disable message in adb
   new  2a647d7f35 Allow specifying 
helm-ff-drag-and-drop-default-directories as a cons cell
   new  fde69a9a38 Retrieve minibuffer focus after dropping


Summary of changes:
 helm-files.el | 27 ++-
 helm-help.el  |  8 +---
 2 files changed, 27 insertions(+), 8 deletions(-)



[nongnu] elpa/helm fde69a9a38 2/2: Retrieve minibuffer focus after dropping

2025-05-06 Thread ELPA Syncer
branch: elpa/helm
commit fde69a9a38072eb00d2ad57168ed9c8d7ac084d6
Author: Thierry Volpiatto 
Commit: Thierry Volpiatto 

Retrieve minibuffer focus after dropping
---
 helm-files.el | 8 ++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/helm-files.el b/helm-files.el
index d67672bef9..d8cca64ade 100644
--- a/helm-files.el
+++ b/helm-files.el
@@ -5667,8 +5667,12 @@ When no suitable place to drop is found ask to drop to
 ((car windows)
  (with-selected-window it default-directory)
 (if (memq helm-ff-drag-mouse-1-default-action '(copy rsync))
-(helm-find-files-do-action
- helm-ff-drag-mouse-1-default-action target)
+(progn
+  (helm-find-files-do-action
+   helm-ff-drag-mouse-1-default-action target)
+  ;; Retrieve focus after dropping
+  (with-selected-frame helm-initial-frame
+(select-window (minibuffer-window
   (helm-run-after-exit
#'helm-find-files-do-action
helm-ff-drag-mouse-1-default-action target



[elpa] externals/gtags-mode a3d29799ac 3/3: Merge branch 'repair-gtagslibpath' very thanks @aagon

2025-05-06 Thread ELPA Syncer
branch: externals/gtags-mode
commit a3d29799acc6ebdbf81684bfac45fff2c8a9f975
Merge: d9893f4932 0d2bfb63dc
Author: Jimmy Aguilar Mena 
Commit: Jimmy Aguilar Mena 

Merge branch 'repair-gtagslibpath' very thanks @aagon

Closes: #8
---
 gtags-mode.el | 10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/gtags-mode.el b/gtags-mode.el
index 0c253f173f..4123d460da 100644
--- a/gtags-mode.el
+++ b/gtags-mode.el
@@ -5,7 +5,7 @@
 ;; Author: Jimmy Aguilar Mena
 ;; URL: https://github.com/Ergus/gtags-mode
 ;; Keywords: xref, project, imenu, gtags, global
-;; Version: 1.8.3
+;; Version: 1.8.4
 ;; Package-Requires: ((emacs "28"))
 
 ;; This program is free software: you can redistribute it and/or modify
@@ -104,7 +104,7 @@ The address is absolute for remote hosts.")
   "Regex to filter the output with `gtags-mode--output-format-options'.")
 
 (defconst gtags-mode--output-format-options
-  '("--result=cscope" "--path-style=through" "--color=never")
+  '("--result=cscope" "--path-style=relative" "--color=never")
   "Command line options to use with `gtags-mode--output-format-regex'.")
 
 (defsubst gtags-mode--message (level format-string &rest args)
@@ -278,11 +278,11 @@ name, code, file, line."
   (funcall creator
(match-string-no-properties 2 line)   ;; name
(match-string-no-properties 4 line)   ;; code
-   (concat root (substring-no-properties
- line (1+ (match-beginning 1)) 
(match-end 1))) ;; file
+   (concat root (match-string-no-properties 1 
line)) ;; file
(string-to-number (match-string-no-properties 3 
line) ;; line
   (apply #'gtags-mode--exec-sync
-   (append gtags-mode--output-format-options args `(,symbol)) 
)))
+ (append gtags-mode--output-format-options args
+ `("--directory" ,(file-local-name root) 
,symbol)
 (error "Calling gtags-mode--filter-find-symbol without GTAGSROOT")
 nil))
 



[elpa] externals/gtags-mode 0d2bfb63dc 2/3: Simplify last change

2025-05-06 Thread ELPA Syncer
branch: externals/gtags-mode
commit 0d2bfb63dc90c406a27a003d41b0520cd64ff6eb
Author: Jimmy Aguilar Mena 
Commit: Jimmy Aguilar Mena 

Simplify last change
---
 gtags-mode.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gtags-mode.el b/gtags-mode.el
index a6b969d9b1..7e23dfb6cc 100644
--- a/gtags-mode.el
+++ b/gtags-mode.el
@@ -281,8 +281,8 @@ name, code, file, line."
(concat root (match-string-no-properties 1 
line)) ;; file
(string-to-number (match-string-no-properties 3 
line) ;; line
   (apply #'gtags-mode--exec-sync
- (append '("--directory") `(,(file-local-name root))
- gtags-mode--output-format-options args 
`(,symbol)
+ (append gtags-mode--output-format-options args
+ `("--directory" ,(file-local-name root) 
,symbol)
 (error "Calling gtags-mode--filter-find-symbol without GTAGSROOT")
 nil))
 



[elpa] externals/matlab-mode 2111fe1752: add mailing list to faq

2025-05-06 Thread ELPA Syncer
branch: externals/matlab-mode
commit 2111fe1752a887b73943c6a48ca847cd1f145e65
Author: John Ciolfi 
Commit: John Ciolfi 

add mailing list to faq
---
 README.org | 4 
 1 file changed, 4 insertions(+)

diff --git a/README.org b/README.org
index 39057840f7..c499f6a076 100644
--- a/README.org
+++ b/README.org
@@ -152,6 +152,10 @@ In this case, add the following hook to your config:
 Ensure that this is included after matlab-mode as well as your syntax
 highlighter are initialized in your config.
 
+** Mailing list?
+
+https://sourceforge.net/projects/matlab-emacs/
+
 * History
 
 matlab-mode has a history dating back many years. Older contributions can be 
found in



[elpa] externals/gtags-mode 87245a0bb0 1/3: Correct path to file when definition is found in GTAGSLIBPATH

2025-05-06 Thread ELPA Syncer
branch: externals/gtags-mode
commit 87245a0bb075f37b9e82fd2a5f799e4636392a1e
Author: Aymeric Agon-Rambosson 
Commit: Aymeric Agon-Rambosson 

Correct path to file when definition is found in GTAGSLIBPATH

--path-style=through always prints the path as it is found in the GPATH 
file,
which is not necessarily equivalent to "relative from the project root".

See https://lists.gnu.org/archive/html/bug-global/2025-05/msg0.html and
https://lists.gnu.org/archive/html/bug-global/2025-05/msg1.html

If you want to always print the path as relative to the root of the 
project, it
is better to use --path-style=relative (which can be omitted, being 
default) in
conjunction with -C or --directory pointing to the project root.
---
 gtags-mode.el | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/gtags-mode.el b/gtags-mode.el
index 0c253f173f..a6b969d9b1 100644
--- a/gtags-mode.el
+++ b/gtags-mode.el
@@ -104,7 +104,7 @@ The address is absolute for remote hosts.")
   "Regex to filter the output with `gtags-mode--output-format-options'.")
 
 (defconst gtags-mode--output-format-options
-  '("--result=cscope" "--path-style=through" "--color=never")
+  '("--result=cscope" "--path-style=relative" "--color=never")
   "Command line options to use with `gtags-mode--output-format-regex'.")
 
 (defsubst gtags-mode--message (level format-string &rest args)
@@ -278,11 +278,11 @@ name, code, file, line."
   (funcall creator
(match-string-no-properties 2 line)   ;; name
(match-string-no-properties 4 line)   ;; code
-   (concat root (substring-no-properties
- line (1+ (match-beginning 1)) 
(match-end 1))) ;; file
+   (concat root (match-string-no-properties 1 
line)) ;; file
(string-to-number (match-string-no-properties 3 
line) ;; line
   (apply #'gtags-mode--exec-sync
-   (append gtags-mode--output-format-options args `(,symbol)) 
)))
+ (append '("--directory") `(,(file-local-name root))
+ gtags-mode--output-format-options args 
`(,symbol)
 (error "Calling gtags-mode--filter-find-symbol without GTAGSROOT")
 nil))
 



[elpa] externals/gtags-mode updated (d9893f4932 -> a3d29799ac)

2025-05-06 Thread ELPA Syncer
elpasync pushed a change to branch externals/gtags-mode.

  from  d9893f4932 Small update version and comment
   new  87245a0bb0 Correct path to file when definition is found in 
GTAGSLIBPATH
   new  0d2bfb63dc Simplify last change
   new  a3d29799ac Merge branch 'repair-gtagslibpath' very thanks @aagon


Summary of changes:
 gtags-mode.el | 10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)



[elpa] externals/auctex 7a55c3cf93: ; Pacify compiler warning

2025-05-06 Thread ELPA Syncer
branch: externals/auctex
commit 7a55c3cf93a0c7669880d76cedcabd4df698d9f1
Author: Arash Esbati 
Commit: Arash Esbati 

; Pacify compiler warning

* style/dcolumn.el: Silence the warning for reference to free
variable `LaTeX-array-column-letters'.
---
 style/dcolumn.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/style/dcolumn.el b/style/dcolumn.el
index 2af900836f..d6bb1f24ba 100644
--- a/style/dcolumn.el
+++ b/style/dcolumn.el
@@ -1,6 +1,6 @@
 ;;; dcolumn.el --- AUCTeX style for `dcolumn.sty' (v1.06)  -*- 
lexical-binding: t; -*-
 
-;; Copyright (C) 2016--2024 Free Software Foundation, Inc.
+;; Copyright (C) 2016--2025 Free Software Foundation, Inc.
 
 ;; Author: Arash Esbati 
 ;; Maintainer: auctex-de...@gnu.org
@@ -30,6 +30,7 @@
 ;;; Code:
 
 (require 'tex)
+(require 'latex)
 
 (TeX-add-style-hook
  "dcolumn"