commit emacs for openSUSE:Factory
Hello community, here is the log from the commit of package emacs for openSUSE:Factory checked in at 2018-11-06 13:58:31 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/emacs (Old) and /work/SRC/openSUSE:Factory/.emacs.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "emacs" Tue Nov 6 13:58:31 2018 rev:141 rq:643901 version:26.1 Changes: -------- --- /work/SRC/openSUSE:Factory/emacs/emacs.changes 2018-07-23 17:57:15.597210628 +0200 +++ /work/SRC/openSUSE:Factory/.emacs.new/emacs.changes 2018-11-06 13:58:34.783908886 +0100 @@ -1,0 +2,19 @@ +Tue Oct 23 08:25:39 UTC 2018 - Dr. Werner Fink <werner@suse.de> + +- Let ispell.el perform even on older systems without default + hunspell dictionary as otherwise this leades to wrong type + error as nil is not a pointer to a string + +------------------------------------------------------------------- +Tue Oct 23 06:37:33 UTC 2018 - Dr. Werner Fink <werner@suse.de> + +- Let site-start.el also seek for hunspell to load the ispell + lisp library (boo#1110387) + +------------------------------------------------------------------- +Mon Oct 22 13:56:16 UTC 2018 - Dr. Werner Fink <werner@suse.de> + +- Help ispell(.el) to find and provide the usable dictionaries + even for hunspell (boo#1110387) + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ emacs.spec ++++++ --- /var/tmp/diff_new_pack.04Kv3H/_old 2018-11-06 13:58:36.679906290 +0100 +++ /var/tmp/diff_new_pack.04Kv3H/_new 2018-11-06 13:58:36.687906278 +0100 @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # ++++++ emacs-26.1.dif ++++++ --- /var/tmp/diff_new_pack.04Kv3H/_old 2018-11-06 13:58:36.815906103 +0100 +++ /var/tmp/diff_new_pack.04Kv3H/_new 2018-11-06 13:58:36.815906103 +0100 @@ -11,13 +11,13 @@ lisp/net/ange-ftp.el | 8 +-- lisp/site-load.el | 41 ++++++++++++++++ lisp/speedbar.el | 1 - lisp/textmodes/ispell.el | 60 +++++++++++++++++++++++- + lisp/textmodes/ispell.el | 85 ++++++++++++++++++++++++++++++++--- site-lisp/term/func-keys.el | 33 +++++++++++++ site-lisp/term/gnome.el | 97 ++++++++++++++++++++++++++++++++++++++++ site-lisp/term/kvt.el | 97 ++++++++++++++++++++++++++++++++++++++++ site-lisp/term/linux.el | 79 ++++++++++++++++++++++++++++++++ site-lisp/term/locale.el | 13 +++++ - 18 files changed, 449 insertions(+), 32 deletions(-) + 18 files changed, 473 insertions(+), 33 deletions(-) --- Makefile.in +++ Makefile.in 2018-05-29 13:07:53.479965338 +0000 @@ -346,7 +346,17 @@ "Program invoked by \\[ispell-word] and \\[ispell-region] commands." :type 'string :set (lambda (symbol value) -@@ -1414,6 +1416,56 @@ The variable `ispell-library-directory' +@@ -1179,7 +1181,8 @@ dictionary from that list was found." + (setq hunspell-default-dict (or hunspell-multi-dict + (car hunspell-default-dict))) + (setq hunspell-default-dict-entry +- (ispell-parse-hunspell-affix-file hunspell-default-dict)) ++ (if hunspell-default-dict ++ (ispell-parse-hunspell-affix-file hunspell-default-dict) nil)) + ;; Create an alist of found dicts with only names, except for default dict. + (setq ispell-hunspell-dictionary-alist + (list (cons nil (cdr hunspell-default-dict-entry)))) +@@ -1414,6 +1417,78 @@ The variable `ispell-library-directory' (if ispell-menu-map-needed (progn (setq ispell-menu-map (make-sparse-keymap "Spell")) @@ -398,7 +408,29 @@ + (define-key ispell-menu-map (vector (intern name)) + (cons (concat "Select " (capitalize name) " Dict") + (list 'lambda () '(interactive) -+ (list 'ispell-change-dictionary name))))))))))) ++ (list 'ispell-change-dictionary name))))))))) ++ (if (and (functionp 'ispell-find-hunspell-dictionaries) ++ (symbolp 'ispell-program-name) ++ (string-match "hunspell" ispell-program-name)) ++ (progn ++ (ispell-find-hunspell-dictionaries) ++ (let ((dicts (reverse (cons (cons "default" nil) ++ (append ispell-local-dictionary-alist ispell-hunspell-dictionary-alist)))) ++ name load-dict) ++ (dolist (dict dicts) ++ (setq name (car dict)) ++ (cond ((not (stringp name)) ++ (define-key ispell-menu-map (vector 'default) ++ (cons "Select Default Dict" ++ (cons "Dictionary for which Hunspell was configured" ++ (list 'lambda () '(interactive) ++ (list 'ispell-change-dictionary "default")))))) ++ ((stringp name) ++ (define-key ispell-menu-map (vector (intern name)) ++ (cons (concat "Select " (capitalize name) " Dict") ++ (list 'lambda () '(interactive) ++ (list 'ispell-change-dictionary name) ++ ))))))))))) + ;; End adding list for ispell dictonaries installed on SuSE (define-key ispell-menu-map [ispell-change-dictionary] `(menu-item ,(purecopy "Change Dictionary...") ispell-change-dictionary ++++++ site-lisp.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/site-lisp/site-start.el new/site-lisp/site-start.el --- old/site-lisp/site-start.el 2010-11-18 11:07:01.000000000 +0100 +++ new/site-lisp/site-start.el 2018-10-23 08:35:02.530700872 +0200 @@ -65,11 +65,10 @@ ;; Preload dynamic (i)Spell menu ;; ----------------------------- (if (not (load "/usr/lib/ispell/ispell-emacs-menu.el" t t)) - (let ((aspells (file-expand-wildcards "/usr/lib/aspell*"))) - (dolist (aspell aspells) - (if (and (stringp aspell) - (file-exists-p aspell)) - (load "ispell" nil t))))) + (cond ((or (executable-find "aspell") + (executable-find "hunspell") + (executable-find "ispell")) + (load "ispell" t t)))) ;; ;; Load some package startups ;; --------------------------
participants (1)
-
root