Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package maildir-utils for openSUSE:Factory 
checked in at 2023-07-10 16:40:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/maildir-utils (Old)
 and      /work/SRC/openSUSE:Factory/.maildir-utils.new.23466 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "maildir-utils"

Mon Jul 10 16:40:13 2023 rev:45 rq:1097858 version:1.10.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/maildir-utils/maildir-utils.changes      
2023-06-23 21:52:51.610702808 +0200
+++ /work/SRC/openSUSE:Factory/.maildir-utils.new.23466/maildir-utils.changes   
2023-07-10 16:40:17.094680252 +0200
@@ -1,0 +2,8 @@
+Mon Jul 10 05:26:12 UTC 2023 - Michael Vetter <mvet...@suse.com>
+
+- Update to 1.10.5:
+  * in single-window mode, restore point after quitting headers-mode
+  * check the part-type in Multipart (avoids an error in verifying
+    unsigned messages with a signed attachment)
+
+-------------------------------------------------------------------

Old:
----
  mu-1.10.4.tar.xz

New:
----
  mu-1.10.5.tar.xz

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

Other differences:
------------------
++++++ maildir-utils.spec ++++++
--- /var/tmp/diff_new_pack.BUE20G/_old  2023-07-10 16:40:18.582689121 +0200
+++ /var/tmp/diff_new_pack.BUE20G/_new  2023-07-10 16:40:18.586689145 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           maildir-utils
-Version:        1.10.4
+Version:        1.10.5
 Release:        0
 Summary:        Maildir indexer and searcher
 License:        GPL-3.0-or-later

++++++ mu-1.10.4.tar.xz -> mu-1.10.5.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mu-1.10.4/lib/message/mu-mime-object.hh 
new/mu-1.10.5/lib/message/mu-mime-object.hh
--- old/mu-1.10.4/lib/message/mu-mime-object.hh 2023-06-22 22:43:38.000000000 
+0200
+++ new/mu-1.10.5/lib/message/mu-mime-object.hh 2023-07-08 09:33:43.000000000 
+0200
@@ -1291,12 +1291,15 @@
        void for_each(const ForEachFunc& func) const noexcept;
 
 private:
-
+       // Note: the part may not be available if the message was marked as
+       // _signed_ or _encrypted_ because it contained a forwarded signed or
+       // encrypted message.
        Option<MimePart> part(int index) const {
-               if (MimeObject mobj{g_mime_multipart_get_part(self(),index)}; 
!mobj)
+               if (auto&& p{g_mime_multipart_get_part(self() ,index)};
+                   !GMIME_IS_PART(p))
                        return Nothing;
                else
-                       return mobj;
+                       return Some(MimeObject{p});
        }
 
        GMimeMultipart* self() const {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mu-1.10.4/meson.build new/mu-1.10.5/meson.build
--- old/mu-1.10.4/meson.build   2023-06-22 22:43:38.000000000 +0200
+++ new/mu-1.10.5/meson.build   2023-07-08 09:33:43.000000000 +0200
@@ -17,7 +17,7 @@
 
################################################################################
 # project setup
 project('mu', ['c', 'cpp'],
-        version: '1.10.4',
+        version: '1.10.5',
         meson_version: '>= 0.56.0',
         license: 'GPL-3.0-or-later',
         default_options : [
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mu-1.10.4/mu4e/mu4e-view.el 
new/mu-1.10.5/mu4e/mu4e-view.el
--- old/mu-1.10.4/mu4e/mu4e-view.el     2023-06-22 22:43:38.000000000 +0200
+++ new/mu-1.10.5/mu4e/mu4e-view.el     2023-07-08 09:33:43.000000000 +0200
@@ -872,12 +872,17 @@
       (ignore-errors ;; try, don't error out.
         (kill-buffer-and-window))
     ;; single-window case
-    (when mu4e-linked-headers-buffer ;; re-use mu4e-view-detach?
-      (with-current-buffer mu4e-linked-headers-buffer
-        (when (eq (selected-window) mu4e~headers-view-win)
-          (setq mu4e~headers-view-win nil)))
-      (setq mu4e-linked-headers-buffer nil)
-      (kill-buffer))))
+    (let ((docid (mu4e-field-at-point :docid)))
+      (when mu4e-linked-headers-buffer ;; re-use mu4e-view-detach?
+        (with-current-buffer mu4e-linked-headers-buffer
+          (when (eq (selected-window) mu4e~headers-view-win)
+            (setq mu4e~headers-view-win nil)))
+        (setq mu4e-linked-headers-buffer nil)
+        (kill-buffer)
+        ;; attempt to move point to just-viewed message.
+        (when docid
+          (ignore-errors
+            (mu4e~headers-goto-docid docid)))))))
 
 (defvar mu4e-view-mode-map
   (let ((map (make-keymap)))

Reply via email to