GNU bug report logs - #41534
gnus-article-fill-long-lines uses some hardwired window width of 70 somehow?

Previous Next

Packages: emacs, gnus;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Tue, 26 May 2020 00:38:02 UTC

Severity: minor

Tags: fixed

Found in version 5.13

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.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 41534 in the body.
You can then email your comments to 41534 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, bugs <at> gnus.org:
bug#41534; Package emacs,gnus. (Tue, 26 May 2020 00:38:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org. (Tue, 26 May 2020 00:38:02 GMT) Full text and rfc822 format available.

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

From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: submit <at> debbugs.gnu.org (The Gnus Bugfixing Girls + Boys)
Subject: gnus-article-fill-long-lines uses some hardwired window width of 70
 somehow?
Date: Tue, 26 May 2020 08:37:28 +0800
    gnus-article-fill-long-lines is an interactive Lisp function in
    ‘gnus-art.el’.

    (gnus-article-fill-long-lines &optional INTERACTIVE &rest ARGS)

    Fill lines that are wider than the window width.

Well it does more than just that. Take this article for instance:

---

Georgia Wells, *The Wall Street Journal*, 15 May 2020
Doctors Are Tweeting About Coronavirus to Make Facts Go Viral
https://www.wsj.com/articles/doctors-are-tweeting-about-coronavirus-to-make-facts-go-viral-11589558880

As dubious Covid-19 claims circulate online, UCSF's Dr. Bob Wachter and
others are taking to Twitter

SAN FRANCISCO -- Bob Wachter, the chairman of the department of medicine
at the University of California, San Francisco, has had a front-row seat
to the coronavirus pandemic.

Dr. Wachter's job, at least in part, is to keep the department's 3,000 or so faculty, trainees and staff current on developments in research, education and clinical care. But most days he sets aside at least two hours to keep another group informed: his Twitter followers.


---- Well it becomes

Georgia Wells, *The Wall Street Journal*, 15 May 2020
Doctors Are Tweeting About Coronavirus to Make Facts Go Viral
https://www.wsj.com/articles/doctors-are-tweeting-about-coronavirus-to-make-facts-go-viral-11589558880

As dubious Covid-19 claims circulate online, UCSF's Dr. Bob Wachter
and
others are taking to Twitter

SAN FRANCISCO -- Bob Wachter, the chairman of the department of
medicine
at the University of California, San Francisco, has had a front-row
seat
to the coronavirus pandemic.

Dr. Wachter's job, at least in part, is to keep the department's 3,000
or so faculty, trainees and staff current on developments in research,
education and clinical care. But most days he sets aside at least two
hours to keep another group informed: his Twitter followers.

---

(window-width (get-buffer-window (current-buffer)))
236
So why is it also acting on other lines?
Also C-u (INTERACTIVE) does nothing, as one sees in the code.

Anyway, https://www.jidanni.org/comp/configuration/ is what I use.

Gnus v5.13
GNU Emacs 26.3 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.20)
 of 2020-05-17, modified by Debian




Information forwarded to bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#41534; Package emacs,gnus. (Sun, 19 Jul 2020 01:23:01 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Cc: 41534 <at> debbugs.gnu.org
Subject: Re: bug#41534: gnus-article-fill-long-lines uses some hardwired
 window width of 70 somehow?
Date: Sun, 19 Jul 2020 03:21:59 +0200
積丹尼 Dan Jacobson <jidanni <at> jidanni.org> writes:

>     gnus-article-fill-long-lines is an interactive Lisp function in
>     ‘gnus-art.el’.
>
>     (gnus-article-fill-long-lines &optional INTERACTIVE &rest ARGS)
>
>     Fill lines that are wider than the window width.
>
> Well it does more than just that. Take this article for instance:

Yes, it also respects the `fill-column' variable.  I've now fixed the
doc string in Emacs 28.

> (window-width (get-buffer-window (current-buffer)))
> 236
> So why is it also acting on other lines?
> Also C-u (INTERACTIVE) does nothing, as one sees in the code.

I'm not sure what `C-u' should do for that command?  It doesn't say that
it's doing anything...

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Added tag(s) fixed. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sun, 19 Jul 2020 01:23:02 GMT) Full text and rfc822 format available.

bug marked as fixed in version 28.1, send any further explanations to 41534 <at> debbugs.gnu.org and 積丹尼 Dan Jacobson <jidanni <at> jidanni.org> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sun, 19 Jul 2020 01:23: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. (Sun, 16 Aug 2020 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 254 days ago.

Previous Next


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