GNU bug report logs - #68893
30.0.50; pixel-fill-region errors when folding message headers in Gnus

Previous Next

Package: emacs;

Reported by: Stephen Berman <stephen.berman <at> gmx.net>

Date: Fri, 2 Feb 2024 15:34:01 UTC

Severity: normal

Merged with 67791, 68884

Found in version 30.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#68884: closed (30.0.50; error in process filter:
 pixel-fill-region: The indentation (947) is wider than the fill width
 (919))
Date: Sat, 03 Feb 2024 09:13:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sat, 03 Feb 2024 11:11:54 +0200
with message-id <86bk8x52ud.fsf <at> gnu.org>
and subject line Re: bug#68893: 30.0.50; pixel-fill-region errors when folding message headers in Gnus
has caused the debbugs.gnu.org bug report #68893,
regarding 30.0.50; error in process filter: pixel-fill-region: The indentation (947) is wider than the fill width (919)
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
68893: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=68893
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: No Wayman <iarchivedmywholelife <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 30.0.50; error in process filter: pixel-fill-region: The
 indentation (947) is wider than the fill width (919)
Date: Fri, 02 Feb 2024 01:36:10 -0500
I've been seeing the following error when mu4e attempts to render 
views:

error in process filter: pixel-fill-region: The indentation (947) 
is wider than the fill width (919)

I reported it upstream to mu4e's maintainer who referred me here 
due to the fact that mu4e uses gnus to render email.
However, I am unable to reproduce by using gnus alone to view the 
same messages.
The error only occurs when the Emacs frame is <= one half the 
width of my laptop's 1920x1080 monitor.
The error does not occur on Emacs 29.2.
Git bisect points to the following commit:

33b6de7acec0536290939303855947c0c2af57d2 is the first bad commit
commit 33b6de7acec0536290939303855947c0c2af57d2
Author: Eli Zaretskii <eliz <at> gnu.org>
Date:   Sun Dec 3 18:29:09 2023 +0200

   Improve 'window-text-pixel-size' when buffer includes images
   
   * src/xdisp.c (window_text_pixel_size): Fix computation of Y 
   when
   IGNORE_LINE_AT_END is non-nil and there's a 'display' property 
   at
   TO.  Improve movement to beginning of screen line at start. 
   Fix
   computation of Y when lines are truncated and a line begins 
   with a
   'display' property at TO.
   (produce_image_glyph): Don't crop image glyph when word-wrap 
   is in
   effect.  (Bug#67533)

src/xdisp.c | 33 +++++++++++++++++++++++++++------

Here's a full backtrace from an errant attempt at displaying an 
email:

Debugger entered--Lisp error: (error "The indentation (947) is 
wider than the fill width (919)")
 error("The indentation (%s) is wider than the fill width (%s)" 
 947 919)
 pixel-fill-region(145 193 919)
 gnus-article-treat-fold-headers()
 gnus-treat-article(head)
 gnus-display-mime(nil)
 (closure
     ((msg :path
           "/home/n/Documents/emails/iarchivedmywholelife-gmail/github/cur/1706283491.27109_1.laptop,U=6349:2,S"
           :size 8759 :list-post
           ((:email
             "reply+AKP67P2AJCX6OPNAS73RAYWDYD7NBEVBNHHH2SCZV4 <at> reply.github.com"))
           :reply-to
           ((:email
             "reply+AKP67P2AJCX6OPNAS73RAYWDYD7NBEVBNHHH2SCZV4 <at> reply.github.com"
             :name "progfolio/elpaca"))
           :cc
           ((:email "iarchivedmywholelife <at> gmail.com" :name 
           "Nicholas Vollmer")
            (:email "comment <at> noreply.github.com" :name 
            "Comment"))
           :changed (26035 53731 0) :date (26035 52304 0) :from
           ((:email "notifications <at> github.com" :name "drcxd")) 
           :list
           "elpaca.progfolio.github.com" :message-id
           "progfolio/elpaca/issues/247/1912229603 <at> github.com" 
           :priority low
           :references ("progfolio/elpaca/issues/247 <at> github.com") 
           :subject
           "Re: [progfolio/elpaca] [Bug/Support]: Unable to find 
           main elisp file for vertico (Issue #247)"
           :to ((:email "elpaca <at> noreply.github.com" :name 
           "progfolio/elpaca"))
           :maildir "/iarchivedmywholelife-gmail/github" :flags
           (seen list personal) :docid 10667 :meta
           (:path "06:ff:z" :level 1 :date "n65b3cc50" 
           :data-tstamp (0 0 0)
                  :first-child t)))
     (&optional ihandles)
   (gnus-display-mime ihandles)
   (if ihandles nil
     (save-restriction
       (article-goto-body) (forward-line -1) (narrow-to-region 
       (point) (point))
       (let ((tail mu4e-view-fields))
         (while tail
           (let ((field (car tail)))
             (let ((fieldval (mu4e-message-field msg field)))
               (cond
                ((memq field '(:list :maildir :path))
                 (let nil (mu4e--view-gnus-insert-header field 
                 fieldval)))
                ((eq field :message-id)
                 (let nil
                   (let* ((msgid (and t (plist-get msg 
                   :message-id))))
                     (if msgid
                         (mu4e--view-gnus-insert-header field
                                                        (format 
                                                        "<%s>" 
                                                        msgid))
                       nil))))
                ((eq field :mailing-list)
                 (let nil
                   (let ((list (plist-get msg :list)))
                     (if list (mu4e-get-mailing-list-shortname 
                     list) ""))))
                ((memq field '(:tags :flags))
                 (let nil
                   (let ((flags (mapconcat #'(lambda (flag) (if 
                   (symbolp flag) (symbol-name flag) flag)) 
                   fieldval ", ")))
                     (mu4e--view-gnus-insert-header field 
                     flags))))
                ((eq field :size)
                 (let nil
                   (mu4e--view-gnus-insert-header field
                                                  (mu4e-display-size 
                                                  fieldval))))
                ((memq field
                       '(:decryption :signature :attachments 
                       :date :user-agent
                                     :from-or-to :bcc :cc :from 
                                     :to :subject))
                 'nil)
                (t (let nil (mu4e--view-gnus-insert-header-custom 
                msg field)))))
             (setq tail (cdr tail)))))
       (let
           ((gnus-treatment-function-alist
             '((gnus-treat-highlight-headers 
             gnus-article-highlight-headers))))
         (gnus-treat-article 'head)))))()
 gnus-article-prepare-display()
 mu4e--view-render-buffer((:path
                           "/home/n/Documents/emails/iarchivedmywholelife-gmail/github/cur/1706283491.27109_1.laptop,U=6349:2,S"
                           :size 8759 :list-post
                           ((:email 
                           "reply+AKP67P2AJCX6OPNAS73RAYWDYD7NBEVBNHHH2SCZV4 <at> reply.github.com"))
                           :reply-to
                           ((:email 
                           "reply+AKP67P2AJCX6OPNAS73RAYWDYD7NBEVBNHHH2SCZV4 <at> reply.github.com"
                                    :name "progfolio/elpaca"))
                           :cc
                           ((:email 
                           "iarchivedmywholelife <at> gmail.com" :name 
                           "Nicholas Vollmer")
                            (:email "comment <at> noreply.github.com" 
                            :name "Comment"))
                           :changed (26035 53731 0) :date (26035 
                           52304 0) :from
                           ((:email "notifications <at> github.com" 
                           :name "drcxd")) :list
                           "elpaca.progfolio.github.com" 
                           :message-id
                           "progfolio/elpaca/issues/247/1912229603 <at> github.com" 
                           :priority low :references
                           ("progfolio/elpaca/issues/247 <at> github.com") 
                           :subject
                           "Re: [progfolio/elpaca] [Bug/Support]: 
                           Unable to find main elisp file for 
                           vertico (Issue #247)"
                           :to ((:email 
                           "elpaca <at> noreply.github.com" :name 
                           "progfolio/elpaca")) :maildir
                           "/iarchivedmywholelife-gmail/github" 
                           :flags (seen list personal) :docid 
                           10667
                           :meta
                           (:path "06:ff:z" :level 1 :date 
                           "n65b3cc50" :data-tstamp (0 0 0) 
                           :first-child
                                  t)))
 mu4e-view((:path
            "/home/n/Documents/emails/iarchivedmywholelife-gmail/github/cur/1706283491.27109_1.laptop,U=6349:2,S"
            :size 8759 :list-post
            ((:email 
            "reply+AKP67P2AJCX6OPNAS73RAYWDYD7NBEVBNHHH2SCZV4 <at> reply.github.com"))
            :reply-to
            ((:email 
            "reply+AKP67P2AJCX6OPNAS73RAYWDYD7NBEVBNHHH2SCZV4 <at> reply.github.com"
                     :name "progfolio/elpaca"))
            :cc
            ((:email "iarchivedmywholelife <at> gmail.com" :name 
            "Nicholas Vollmer")
             (:email "comment <at> noreply.github.com" :name 
             "Comment"))
            :changed (26035 53731 0) :date (26035 52304 0) :from
            ((:email "notifications <at> github.com" :name "drcxd")) 
            :list
            "elpaca.progfolio.github.com" :message-id
            "progfolio/elpaca/issues/247/1912229603 <at> github.com" 
            :priority low :references
            ("progfolio/elpaca/issues/247 <at> github.com") :subject
            "Re: [progfolio/elpaca] [Bug/Support]: Unable to find 
            main elisp file for vertico (Issue #247)"
            :to ((:email "elpaca <at> noreply.github.com" :name 
            "progfolio/elpaca")) :maildir
            "/iarchivedmywholelife-gmail/github" :flags (seen 
            list personal) :docid 10667
            :meta
            (:path "06:ff:z" :level 1 :date "n65b3cc50" 
            :data-tstamp (0 0 0) :first-child
                   t)))
 mu4e~headers-view-handler((:path
                            "/home/n/Documents/emails/iarchivedmywholelife-gmail/github/cur/1706283491.27109_1.laptop,U=6349:2,S"
                            :size 8759 :list-post
                            ((:email 
                            "reply+AKP67P2AJCX6OPNAS73RAYWDYD7NBEVBNHHH2SCZV4 <at> reply.github.com"))
                            :reply-to
                            ((:email 
                            "reply+AKP67P2AJCX6OPNAS73RAYWDYD7NBEVBNHHH2SCZV4 <at> reply.github.com"
                                     :name "progfolio/elpaca"))
                            :cc
                            ((:email 
                            "iarchivedmywholelife <at> gmail.com" 
                            :name "Nicholas Vollmer")
                             (:email "comment <at> noreply.github.com" 
                             :name "Comment"))
                            :changed (26035 53731 0) :date (26035 
                            52304 0) :from
                            ((:email "notifications <at> github.com" 
                            :name "drcxd")) :list
                            "elpaca.progfolio.github.com" 
                            :message-id
                            "progfolio/elpaca/issues/247/1912229603 <at> github.com" 
                            :priority low :references
                            ("progfolio/elpaca/issues/247 <at> github.com") 
                            :subject
                            "Re: [progfolio/elpaca] 
                            [Bug/Support]: Unable to find main 
                            elisp file for vertico (Issue #247)"
                            :to ((:email 
                            "elpaca <at> noreply.github.com" :name 
                            "progfolio/elpaca")) :maildir
                            "/iarchivedmywholelife-gmail/github" 
                            :flags (seen list personal) :docid 
                            10667
                            :meta
                            (:path "06:ff:z" :level 1 :date 
                            "n65b3cc50" :data-tstamp (0 0 0) 
                            :first-child
                                   t)))
 mu4e--server-filter(#<process  *mu4e-server*>
                                "\3763e2\377(:view (:path 
                                \"/home/n/Documents/emails/iarchivedmywholelife-gmail/github/cur/1706283491.27109_1.laptop,U=6349:2,S\" 
                                :size 8759 :list-post ((:email 
                                \"reply+AKP67P2AJCX6OPNAS73RAYWDYD7NBEVBNHHH2SCZV4 <at> reply.github.com\")) 
                                :reply-to ((:email 
                                \"reply+AKP67P2AJCX6OPNAS73RAYWDYD7NBEVBNHHH2SCZV4 <at> reply.github.com\" 
                                :name \"progfolio/elpaca\")) :cc 
                                ((:email 
                                \"iarchivedmywholelife <at> gmail.com\" 
                                :name \"Nicholas Vollmer\") 
                                (:email 
                                \"comment <at> noreply.github.com\" 
                                :name \"Comment\")) :changed 
                                (26035 53731 0) :date (26035 
                                52304 0) :from ((:email 
                                \"notifications <at> github.com\" 
                                :name \"drcxd\")) :list 
                                \"elpaca.progfolio.github.com\" 
                                :message-id 
                                \"progfolio/elpaca/issues/247/1912229603 <at> github.com\" 
                                :priority low :references 
                                (\"progfolio/elpaca/issues/247 <at> github.com\") 
                                :subject \"Re: [progfolio/elpaca] 
                                [Bug/Support]: Unable to find 
                                main elisp file for vertico 
                                (Issue #247)\" :to ((:email 
                                \"elpaca <at> noreply.github.com\" 
                                :name \"progfolio/elpaca\")) 
                                :maildir 
                                \"/iarchivedmywholelife-gmail/github\" 
                                :flags (seen list personal) 
                                :docid 10667))\n;; mu> ")


In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version
3.24.41, cairo version 1.18.0) of 2024-01-27 built on laptop
Repository revision: 744a10a4d722a361bc21561b4162045e4ec97ed6
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 
11.0.12101011
System Description: Arch Linux



[Message part 3 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: No Wayman <iarchivedmywholelife <at> gmail.com>
Cc: stephen.berman <at> gmx.net, 68893-done <at> debbugs.gnu.org
Subject: Re: bug#68893: 30.0.50; pixel-fill-region errors when folding
 message headers in Gnus
Date: Sat, 03 Feb 2024 11:11:54 +0200
> From: No Wayman <iarchivedmywholelife <at> gmail.com>
> Cc: Stephen Berman <stephen.berman <at> gmx.net>,  68893 <at> debbugs.gnu.org
> Date: Fri, 02 Feb 2024 16:37:46 -0500
> 
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> > No Wayman, does the above fix the problem for you as well?
> >
> > Thanks.
> 
> Yes. That also fixes the issue.

Thanks, I installed on the emacs-29 branch a somewhat different patch,
which uses save-window-excursion _and_ save-excursion, because we also
need to preserve point position in the current buffer.

Let me know if the change causes any further problem.  For now, I'm
closing this bug.


This bug report was last modified 1 year and 112 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.