Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package emacs-jinx for openSUSE:Factory checked in at 2026-05-24 19:35:07 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/emacs-jinx (Old) and /work/SRC/openSUSE:Factory/.emacs-jinx.new.2084 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "emacs-jinx" Sun May 24 19:35:07 2026 rev:12 rq:1354879 version:2.8 Changes: -------- --- /work/SRC/openSUSE:Factory/emacs-jinx/emacs-jinx.changes 2026-02-04 21:08:52.871595189 +0100 +++ /work/SRC/openSUSE:Factory/.emacs-jinx.new.2084/emacs-jinx.changes 2026-05-24 19:36:13.052661490 +0200 @@ -1,0 +2,11 @@ +Sat May 23 19:41:48 UTC 2026 - Björn Kettunen <[email protected]> + +- Update to version 2.8: + * Require Compat 31 + * Exclude the appropriate faces/properties in git-commit-mode + * Add support for minor modes to jinx-include-* and jinx-exclude-* variables. + +- Changes from version 2.7: + * Improve mouse menu. + +------------------------------------------------------------------- Old: ---- jinx-2.6.obscpio New: ---- jinx-2.8.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ emacs-jinx.spec ++++++ --- /var/tmp/diff_new_pack.aJE8U8/_old 2026-05-24 19:36:14.640726595 +0200 +++ /var/tmp/diff_new_pack.aJE8U8/_new 2026-05-24 19:36:14.640726595 +0200 @@ -20,7 +20,7 @@ %global _name jinx Name: emacs-%{_name} -Version: 2.6 +Version: 2.8 Release: 0 Summary: Enchanted Spell Checker for Emacs License: GPL-3.0-or-later @@ -31,13 +31,13 @@ Patch1: 0001-Only-export-necessary-symbols.-Fixes-105.patch # PATCH-FEATURE-UPSTREAM install targets PR 102 Patch2: 0002-Add-makefile-to-build-and-install-jinx.patch -BuildRequires: emacs-compat +BuildRequires: emacs-compat >= 31 BuildRequires: emacs-devel BuildRequires: emacs-nox BuildRequires: make BuildRequires: pkgconfig(enchant-2) Requires: emacs -Requires: emacs-compat +Requires: emacs-compat >= 31 Supplements: emacs %description ++++++ _service ++++++ --- /var/tmp/diff_new_pack.aJE8U8/_old 2026-05-24 19:36:14.692728727 +0200 +++ /var/tmp/diff_new_pack.aJE8U8/_new 2026-05-24 19:36:14.696728891 +0200 @@ -7,7 +7,7 @@ <param name="scm">git</param> <param name="revision">@PARENT_TAG@</param> <param name="changesgenerate">enable</param> - <param name="changesauthor">Björn Bidar <[email protected]></param> + <param name="changesauthor">Björn Kettunen <[email protected]></param> </service> <service mode="buildtime" name="tar" /> <service mode="buildtime" name="recompress"> ++++++ jinx-2.6.obscpio -> jinx-2.8.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jinx-2.6/CHANGELOG.org new/jinx-2.8/CHANGELOG.org --- old/jinx-2.6/CHANGELOG.org 2026-01-17 17:50:00.000000000 +0100 +++ new/jinx-2.8/CHANGELOG.org 2026-05-19 12:41:55.000000000 +0200 @@ -2,6 +2,15 @@ #+author: Daniel Mendler #+language: en +* Version 2.8 (2026-05-19) + +- Add support for minor modes to ~jinx-include-*~ and ~jinx-exclude-*~ variables. +- Require Compat 31. + +* Version 2.7 (2026-03-09) + +- Improve mouse menu. + * Version 2.6 (2026-01-17) - Use =when-let*= instead of =when-let=. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jinx-2.6/README.org new/jinx-2.8/README.org --- old/jinx-2.6/README.org 2026-01-17 17:50:00.000000000 +0100 +++ new/jinx-2.8/README.org 2026-05-19 12:41:55.000000000 +0200 @@ -42,7 +42,7 @@ * Installation -Jinx can be installed from GNU ELPA or MELPA directly with =package-install=. +Jinx can be installed from [[https://elpa.gnu.org/packages/jinx.html][ELPA]] or [[https://melpa.org/#/jinx][MELPA]] directly with =package-install=. Your Emacs must be compiled with dynamic module support. Furthermore a C compiler must be available on your system (=gcc= or =clang=). Jinx requires @@ -197,8 +197,3 @@ other hand, is more effective because it automatically checks for misspellings in the entire visible text of the buffer at once. Flyspell can check the entire buffer but must be instructed to do so via the command =flyspell-buffer=. - -* Contributions - -Since this package is part of [[https://elpa.gnu.org/packages/jinx.html][GNU ELPA]] contributions require a copyright -assignment to the FSF. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jinx-2.6/jinx-mod.c new/jinx-2.8/jinx-mod.c --- old/jinx-2.6/jinx-mod.c 2026-01-17 17:50:00.000000000 +0100 +++ new/jinx-2.8/jinx-mod.c 2026-05-19 12:41:55.000000000 +0200 @@ -2,6 +2,8 @@ Copyright (C) 2023-2026 Free Software Foundation, Inc. +This file is part of GNU Emacs. + GNU Emacs 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 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jinx-2.6/jinx.el new/jinx-2.8/jinx.el --- old/jinx-2.6/jinx.el 2026-01-17 17:50:00.000000000 +0100 +++ new/jinx-2.8/jinx.el 2026-05-19 12:41:55.000000000 +0200 @@ -5,8 +5,8 @@ ;; Author: Daniel Mendler <[email protected]> ;; Maintainer: Daniel Mendler <[email protected]> ;; Created: 2023 -;; Version: 2.6 -;; Package-Requires: ((emacs "29.1") (compat "30")) +;; Version: 2.8 +;; Package-Requires: ((emacs "29.1") (compat "31")) ;; URL: https://github.com/minad/jinx ;; Keywords: convenience, text @@ -102,7 +102,7 @@ ;; while they should better be conf- or prog-modes. (yaml-mode . conf-mode) (yaml-ts-mode . conf-mode)) - "Alist of faces per major mode. + "Alist of faces per mode (major or minor). These faces mark regions which should be included in spell checking." :type '(alist :key-type symbol :value-type (choice symbol (repeat face)))) @@ -149,15 +149,21 @@ message-header-xheader message-cited-text-1 message-cited-text-2 message-cited-text-3 message-cited-text-4 gnus-cite-1 gnus-cite-2 gnus-cite-3 gnus-cite-4 gnus-cite-5 gnus-cite-6 gnus-cite-7 gnus-cite-8 - gnus-cite-9 gnus-cite-10 gnus-cite-11)) - "Alist of faces per major mode. + gnus-cite-9 gnus-cite-10 gnus-cite-11) + (git-commit-mode + git-commit-keyword + git-commit-comment-branch-local git-commit-comment-branch-remote + git-commit-comment-button git-commit-comment-file + git-commit-comment-action)) + "Alist of faces per mode (major or minor). These faces mark regions which should be excluded in spell checking." :type '(alist :key-type symbol :value-type (choice symbol (repeat face)))) (defcustom jinx-exclude-properties - '((t read-only)) - "Alist of properties per major mode. + '((t read-only) + (git-commit-mode invisible)) + "Alist of properties per mode (major or minor). These properties mark regions which should be excluded in spell checking." :type '(alist :key-type symbol :value-type (choice symbol (repeat symbol)))) @@ -171,7 +177,7 @@ "<?[-+_.~a-zA-Z][-+_.~:a-zA-Z0-9]*@[-.a-zA-Z0-9]+>?" ;; Email "\\(?:Local Variables\\|End\\):\\s-*$" ;; Local variable indicator "jinx-\\(?:languages\\|local-words\\):\\s-+.*$")) ;; Local variables - "List of excluded regexps per major mode. + "List of excluded regexps per mode (major or minor). The regexp must match at the beginning of the spell-checked word. Therefore `jinx-exclude-regexps' cannot be used to exclude larger parts of a buffer. Write a custom predicate instead, see `jinx--predicates'." @@ -496,11 +502,11 @@ (while (and (< word-start word-end) (let ((c (char-after word-start))) (or (= c ?') (= c ?’)))) - (cl-incf word-start)) + (incf word-start)) (while (and (< word-start word-end) (let ((c (char-before word-end))) (or (= c ?') (= c ?’)))) - (cl-decf word-end)) + (decf word-end)) (while (< word-start word-end) (let ((subword-end word-end)) (when jinx--camel @@ -572,9 +578,9 @@ nil) (defun jinx--mode-list (list) - "Lookup by major mode in LIST." + "Lookup by mode (major or minor) in LIST." (cl-loop for (mode . vals) in list - if (or (eq mode t) (derived-mode-p mode)) + if (or (and (boundp mode) (symbol-value mode)) (derived-mode-p mode)) append (if (symbolp vals) (alist-get vals list) vals))) (defun jinx--get-org-language () @@ -786,14 +792,6 @@ word (get-text-property 0 'jinx--group word))) -;; TODO: Use `completion-table-with-metadata' -(defun jinx--table-with-metadata (table metadata) - "Return new completion TABLE with METADATA." - (lambda (string pred action) - (if (eq action 'metadata) - `(metadata . ,metadata) - (complete-with-action action table string pred)))) - (cl-defun jinx--correct-overlay (overlay &key info initial) "Correct word at OVERLAY. Optionally show prompt INFO and insert INITIAL input." @@ -809,7 +807,7 @@ #'jinx--correct-setup (or (completing-read (format "Correct ‘%s’%s: " word (or info "")) - (jinx--table-with-metadata + (completion-table-with-metadata (jinx--correct-suggestions word) `((category . jinx) (eager-display . t) @@ -857,15 +855,16 @@ (push ["── Session ──" :active nil] menu) (cl-loop for w in suggestions repeat jinx-menu-suggestions do (push `[,w (jinx--correct-replace ,ov ,w)] menu))) - (push ["── Accept and save ──" :active nil] menu) - (cl-loop for (key . fun) in jinx--save-keys - for actions = (funcall fun nil key word) do - (unless (consp (car actions)) (setq actions (list actions))) - (cl-loop for (k w a) in actions do - (push `[,a (jinx-correct-word - ,(overlay-start ov) ,(overlay-end ov) - ,(concat (if (stringp k) k (char-to-string k)) w))] - menu))) + (let ((submenu (list "Accept and save"))) + (cl-loop for (key . fun) in jinx--save-keys + for actions = (funcall fun nil key word) do + (unless (consp (car actions)) (setq actions (list actions))) + (cl-loop for (k w a) in actions do + (push `[,a (jinx-correct-word + ,(overlay-start ov) ,(overlay-end ov) + ,(concat (if (stringp k) k (char-to-string k)) w))] + submenu))) + (push (nreverse submenu) menu)) (easy-menu-create-menu (format "Correct \"%s\"" word) (delete-dups (nreverse menu)))))) @@ -900,7 +899,8 @@ (or (completing-read-multiple (format "Change languages (%s): " (string-join (split-string jinx-languages) ", ")) - (jinx--table-with-metadata langs `((group-function . ,#'jinx--group))) + (completion-table-with-metadata + langs `((group-function . ,#'jinx--group))) nil t) (user-error "No languages selected")) " "))) @@ -1015,7 +1015,7 @@ (if-let* (((overlay-buffer ov)) (skip (jinx--correct-overlay ov :info (format " (%d of %d)" (1+ idx) count)))) (setq idx (mod (+ idx skip) count)) - (cl-incf idx))))))) + (incf idx))))))) ;;;###autoload (defun jinx-correct-nearest () @@ -1031,7 +1031,7 @@ (if (overlay-buffer ov) (when-let* ((skip (jinx--correct-overlay ov))) (setq idx (mod (+ idx skip) count))) - (cl-incf idx)))))))) ;; Skip deleted overlay + (incf idx)))))))) ;; Skip deleted overlay ;;;###autoload (defun jinx-correct-word (&optional start end initial) @@ -1094,7 +1094,7 @@ (throw 'jinx--goto n) (let ((ov (jinx--force-overlays (point-min) (point-max)))) (unless (or (> n 0) (<= (overlay-start (car ov)) (point) (overlay-end (car ov)))) - (cl-incf n)) + (incf n)) (goto-char (overlay-end (nth (mod n (length ov)) ov))) (jinx--invisible-open-permanently))))) ++++++ jinx.obsinfo ++++++ --- /var/tmp/diff_new_pack.aJE8U8/_old 2026-05-24 19:36:14.836734631 +0200 +++ /var/tmp/diff_new_pack.aJE8U8/_new 2026-05-24 19:36:14.840734795 +0200 @@ -1,5 +1,5 @@ name: jinx -version: 2.6 -mtime: 1768668600 -commit: b412673dec759131fe0abb346998b55225fbe771 +version: 2.8 +mtime: 1779187315 +commit: 987b9f90eb10df53c34c0f4972469875c1e93203
