GNU bug report logs - #68884
30.0.50; error in process filter: pixel-fill-region: The indentation (947) is wider than the fill width (919)

Previous Next

Package: emacs;

Reported by: No Wayman <iarchivedmywholelife <at> gmail.com>

Date: Fri, 2 Feb 2024 06:36:02 UTC

Severity: normal

Merged with 67791, 68893

Found in version 30.0.50

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

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 68884 in the body.
You can then email your comments to 68884 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#68884; Package emacs. (Fri, 02 Feb 2024 06:36:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to No Wayman <iarchivedmywholelife <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 02 Feb 2024 06:36:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

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





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#68884; Package emacs. (Fri, 02 Feb 2024 07:32:01 GMT) Full text and rfc822 format available.

Message #8 received at 68884 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: No Wayman <iarchivedmywholelife <at> gmail.com>
Cc: 68884 <at> debbugs.gnu.org
Subject: Re: bug#68884: 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 09:30:57 +0200
unarchive 67791
reopen 67791
merge 68884 67791
thanks

> From: No Wayman <iarchivedmywholelife <at> gmail.com>
> 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

I believe this is a duplicate of bug#67791, so I'm merging them (and
reopening 67791).  FTR, the bug is in pixel-fill-region, not in the
above commit (which just exposed the bug in pixel-fill-region).

The discussion of bug#67791 includes a workaround and my suggestion
for a better solution.  Can you try those and see if they solve this
problem?




Merged 67791 68884. Request was from Eli Zaretskii <eliz <at> gnu.org> to control <at> debbugs.gnu.org. (Fri, 02 Feb 2024 07:32:02 GMT) Full text and rfc822 format available.

Merged 67791 68884 68893. Request was from Eli Zaretskii <eliz <at> gnu.org> to control <at> debbugs.gnu.org. (Fri, 02 Feb 2024 15:54:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 02 Mar 2024 12:24:09 GMT) Full text and rfc822 format available.

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

Previous Next


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