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 2024-08-05 17:21:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/emacs-jinx (Old)
 and      /work/SRC/openSUSE:Factory/.emacs-jinx.new.7232 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "emacs-jinx"

Mon Aug  5 17:21:14 2024 rev:7 rq:1191443 version:1.10

Changes:
--------
--- /work/SRC/openSUSE:Factory/emacs-jinx/emacs-jinx.changes    2024-07-08 
19:08:36.719511897 +0200
+++ /work/SRC/openSUSE:Factory/.emacs-jinx.new.7232/emacs-jinx.changes  
2024-08-05 17:21:41.376142664 +0200
@@ -1,0 +2,8 @@
+Sat Aug 03 16:43:27 UTC 2024 - Björn Bidar <bjorn.bi...@thaodan.de>
+
+- Rebase p0001-Only-export-necessary-symbols.-Fixes-105.patch
+  against version 1.10
+- Update to version 1.10:
+  * Add jinx--syntax-overrides to override syntax table
+
+-------------------------------------------------------------------

Old:
----
  jinx-1.9.tar.gz

New:
----
  jinx-1.10.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ emacs-jinx.spec ++++++
--- /var/tmp/diff_new_pack.4l5qQ8/_old  2024-08-05 17:21:42.908205436 +0200
+++ /var/tmp/diff_new_pack.4l5qQ8/_new  2024-08-05 17:21:42.924206091 +0200
@@ -20,7 +20,7 @@
 %global _name    jinx
 
 Name:           emacs-%{_name}
-Version:        1.9
+Version:        1.10
 Release:        0
 Summary:        Enchanted Spell Checker for Emacs
 License:        GPL-3.0-or-later

++++++ 0001-Only-export-necessary-symbols.-Fixes-105.patch ++++++
--- /var/tmp/diff_new_pack.4l5qQ8/_old  2024-08-05 17:21:43.136214778 +0200
+++ /var/tmp/diff_new_pack.4l5qQ8/_new  2024-08-05 17:21:43.168216089 +0200
@@ -56,10 +56,10 @@
          return 1; // Require Emacs binary compatibility
      emacs_env* env = runtime->get_environment(runtime);
 diff --git a/jinx.el b/jinx.el
-index 
c03aabdf6ea7f12a110d62324e35fa68b56e30af..55965d59082e19f5e14f2ba703e8572eb4fcad66
 100644
+index 
f44192d69eee3ca323fcf0f7564f1f2409e25874..b9e1fba234731c5d03895fe7acd60784dfb701f4
 100644
 --- a/jinx.el
 +++ b/jinx.el
-@@ -592,7 +592,7 @@ If CHECK is non-nil, always check first."
+@@ -601,7 +601,7 @@ If CHECK is non-nil, always check first."
                                     (or (locate-library c-name t)
                                         (error "Jinx: %s not found" c-name))))
                 (command

++++++ jinx-1.9.tar.gz -> jinx-1.10.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jinx-1.9/CHANGELOG.org new/jinx-1.10/CHANGELOG.org
--- old/jinx-1.9/CHANGELOG.org  2024-06-29 10:58:29.000000000 +0200
+++ new/jinx-1.10/CHANGELOG.org 2024-07-24 11:17:09.000000000 +0200
@@ -2,6 +2,12 @@
 #+author: Daniel Mendler
 #+language: en
 
+* Version 1.10 (2024-07-23)
+
+- Bump Compat dependency to Compat 30.
+- Add include and linkpaths from FreeBSD for compilation.
+- Add ~jinx--syntax-overrides~ to override syntax table.
+
 * Version 1.9 (2024-06-29)
 
 - Bugfix: In some rare scenarios, Jinx could hang when checking pending 
regions.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jinx-1.9/jinx.el new/jinx-1.10/jinx.el
--- old/jinx-1.9/jinx.el        2024-06-29 10:58:29.000000000 +0200
+++ new/jinx-1.10/jinx.el       2024-07-24 11:17:09.000000000 +0200
@@ -5,8 +5,8 @@
 ;; Author: Daniel Mendler <m...@daniel-mendler.de>
 ;; Maintainer: Daniel Mendler <m...@daniel-mendler.de>
 ;; Created: 2023
-;; Version: 1.9
-;; Package-Requires: ((emacs "27.1") (compat "29.1.4.4"))
+;; Version: 1.10
+;; Package-Requires: ((emacs "27.1") (compat "30"))
 ;; Homepage: https://github.com/minad/jinx
 ;; Keywords: convenience, text
 
@@ -291,7 +291,13 @@
     (modify-syntax-entry '(#x1cf00 . #x1d7ff) "_" st)  ;; Znamenny Musical - 
Math. Alpha.
     (modify-syntax-entry '(#x1ee00 . #x1fbff) "_" st)  ;; Arabic Math. - 
Legacy Computing
     st)
-  "Base syntax table for spell checking.")
+  "Parent syntax table of `jinx--syntax-table'.")
+
+(defvar jinx--syntax-overrides
+  '((?' . "w")
+    (?’ . "w")
+    (?. . "."))
+  "Syntax table overrides used for `jinx--syntax-table'.")
 
 (defvar jinx--select-keys
   "123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
@@ -319,7 +325,10 @@
   "List of dictionaries.")
 
 (defvar-local jinx--syntax-table nil
-  "Syntax table used during checking.")
+  "Syntax table used during checking.
+The table inherits from `jinx--base-syntax-table'.  The table is
+configured according to the word characters defined by the local
+dictionaries.  Afterwards `jinx--syntax-overrides' are applied.")
 
 (defvar-local jinx--session-words nil
   "List of words accepted in this session.")
@@ -597,7 +606,7 @@
                   ,@(split-string-and-unquote
                      (condition-case nil
                          (car (process-lines "pkg-config" "--cflags" "--libs" 
"enchant-2"))
-                       (error "-I/usr/include/enchant-2 -lenchant-2"))))))
+                       (error "-I/usr/include/enchant-2 
-I/usr/local/include/enchant-2 -L/usr/local/lib -lenchant-2"))))))
           (with-current-buffer (get-buffer-create "*jinx module compilation*")
             (let ((inhibit-read-only t))
               (erase-buffer)
@@ -864,9 +873,8 @@
   (dolist (dict jinx--dicts)
     (cl-loop for c across (jinx--mod-wordchars dict) do
              (modify-syntax-entry c "w" jinx--syntax-table)))
-  (modify-syntax-entry ?' "w" jinx--syntax-table)
-  (modify-syntax-entry ?’ "w" jinx--syntax-table)
-  (modify-syntax-entry ?. "." jinx--syntax-table))
+  (cl-loop for (k . v) in jinx--syntax-overrides do
+           (modify-syntax-entry k v jinx--syntax-table)))
 
 (defun jinx--bounds-of-word ()
   "Return bounds of word at point using `jinx--syntax-table'."

Reply via email to