GNU bug report logs -
#25526
26.0.50; Gnus sometimes doesn't show article header fully
Previous Next
Reported by: Katsumi Yamaoka <yamaoka <at> jpl.org>
Date: Wed, 25 Jan 2017 08:11:01 UTC
Severity: minor
Found in version 26.0.50
Done: Katsumi Yamaoka <yamaoka <at> jpl.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 25526 in the body.
You can then email your comments to 25526 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#25526
; Package
emacs
.
(Wed, 25 Jan 2017 08:11:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Katsumi Yamaoka <yamaoka <at> jpl.org>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Wed, 25 Jan 2017 08:11:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi,
This is a very minor bug, but happens in a certain condition.
Here is a recipe:
・Find an artile that contains a Face image or shows a gravatar
image.
・Scroll the article window so that the header is shown fully.
・Adjust the frame height so that the article window shows
a single empty line just beneath the whole header.
・Type `g' to reselect the article.
Then you may see the header is shown not fully. If not, try
the following in order to adjust the face height so as not to be
integral-multiplication of the default font height:
(setq gnus-face-properties-alist '((png :relief 2)))
(setq gnus-gravatar-properties '(:relief 2))
I was sometimes annoyed with this problem, but I have found
neither a cause of it nor a solution so far. But this is a
workaround I found today:
(add-hook
'gnus-article-prepare-hook
(lambda ()
(save-selected-window
(select-window (get-buffer-window gnus-article-buffer))
(goto-char (point-min)))))
Regards,
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#25526
; Package
emacs
.
(Wed, 11 Apr 2018 22:35:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 25526 <at> debbugs.gnu.org (full text, mbox):
Katsumi Yamaoka <yamaoka <at> jpl.org> writes:
> I was sometimes annoyed with this problem, but I have found
> neither a cause of it nor a solution so far. But this is a
> workaround I found today:
>
> (add-hook
> 'gnus-article-prepare-hook
> (lambda ()
> (save-selected-window
> (select-window (get-buffer-window gnus-article-buffer))
> (goto-char (point-min)))))
Did you try to do the same thing, only just putting it into the Gnus
source code? :-) It kinda looks like the right thing to do, but I
don't know anymore what with the hooks and stuff for dedicated windows
and stuff...
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#25526
; Package
emacs
.
(Thu, 12 Apr 2018 05:54:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 25526 <at> debbugs.gnu.org (full text, mbox):
On Thu, 12 Apr 2018 00:34:06 +0200, Lars Ingebrigtsen wrote:
> Katsumi Yamaoka <yamaoka <at> jpl.org> writes:
>> I was sometimes annoyed with this problem, but I have found
>> neither a cause of it nor a solution so far. But this is a
>> workaround I found today:
>> (add-hook
>> 'gnus-article-prepare-hook
>> (lambda ()
>> (save-selected-window
>> (select-window (get-buffer-window gnus-article-buffer))
>> (goto-char (point-min)))))
Oh, I totally forgot the problem bacause of having set this hook,
but by removing the hook I confirmed it still exists. Thank you
for following this up.
> Did you try to do the same thing, only just putting it into the Gnus
> source code? :-) It kinda looks like the right thing to do, but I
> don't know anymore what with the hooks and stuff for dedicated windows
> and stuff...
I tried this,
--- gnus-art.el~ 2018-03-25 21:34:24.056766300 +0000
+++ gnus-art.el 2018-04-12 05:50:51.190490800 +0000
@@ -4699,2 +4699,6 @@
(gnus-configure-windows 'article)
+ ;; Make sure the article begins with the top of the header.
+ (save-selected-window
+ (select-window (get-buffer-window gnus-article-buffer))
+ (goto-char (point-min)))
(gnus-run-hooks 'gnus-article-prepare-hook)
and verified it does the trick, too. The point is that to select
the article window while performing (goto-char (point-min)).
Regards,
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#25526
; Package
emacs
.
(Thu, 12 Apr 2018 11:20:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 25526 <at> debbugs.gnu.org (full text, mbox):
Katsumi Yamaoka <yamaoka <at> jpl.org> writes:
> --- gnus-art.el~ 2018-03-25 21:34:24.056766300 +0000
> +++ gnus-art.el 2018-04-12 05:50:51.190490800 +0000
> @@ -4699,2 +4699,6 @@
> (gnus-configure-windows 'article)
> + ;; Make sure the article begins with the top of the header.
> + (save-selected-window
> + (select-window (get-buffer-window gnus-article-buffer))
> + (goto-char (point-min)))
> (gnus-run-hooks 'gnus-article-prepare-hook)
>
> and verified it does the trick, too. The point is that to select
> the article window while performing (goto-char (point-min)).
Looks good to me; please apply to Emacs master. :-)
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
Reply sent
to
Katsumi Yamaoka <yamaoka <at> jpl.org>
:
You have taken responsibility.
(Thu, 12 Apr 2018 23:21:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Katsumi Yamaoka <yamaoka <at> jpl.org>
:
bug acknowledged by developer.
(Thu, 12 Apr 2018 23:21:02 GMT)
Full text and
rfc822 format available.
Message #19 received at 25526-done <at> debbugs.gnu.org (full text, mbox):
On Thu, 12 Apr 2018 13:19:32 +0200, Lars Ingebrigtsen wrote:
> Looks good to me; please apply to Emacs master. :-)
Thanks. Done.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 11 May 2018 11:24:07 GMT)
Full text and
rfc822 format available.
This bug report was last modified 7 years and 119 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.