Gnus development mailing list
 help / color / mirror / Atom feed
* pgnus 0.55 Summary Mode line broken
@ 1998-11-27 18:46 Graham Murray
  1998-11-27 19:02 ` Graham Murray
  0 siblings, 1 reply; 5+ messages in thread
From: Graham Murray @ 1998-11-27 18:46 UTC (permalink / raw)


Pgnus 0.55 seems to have broken the summary-mode-line-format
display. On first entering a group, the summary mode line follows the
format as given by gnus-summary-mode-line-format, which in my case is
the default "%g [%A] %Z". However when reading subsequent articles in
the group, it changes to follow the Article buffer mode line, showing
the group name, then the thread title.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: pgnus 0.55 Summary Mode line broken
  1998-11-27 18:46 pgnus 0.55 Summary Mode line broken Graham Murray
@ 1998-11-27 19:02 ` Graham Murray
  1998-11-28  0:19   ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 5+ messages in thread
From: Graham Murray @ 1998-11-27 19:02 UTC (permalink / raw)


I have just noticed that my last post was slightly wrong. It seems as
though the Article buffer mode line is being updated into the Summary
buffer line rather than its own. ie the Article buffer mode line
continues to display the value for the 1st article in the group, while
the Summary mode line is updated with the data that should be written
to the Article buffer mode line for subsequent articles.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: pgnus 0.55 Summary Mode line broken
  1998-11-27 19:02 ` Graham Murray
@ 1998-11-28  0:19   ` Lars Magne Ingebrigtsen
  1998-11-29 14:54     ` Picons broken in 0.55 (was Re: pgnus 0.55 Summary Mode line broken) Mike McEwan
  0 siblings, 1 reply; 5+ messages in thread
From: Lars Magne Ingebrigtsen @ 1998-11-28  0:19 UTC (permalink / raw)


Graham Murray <graham@barnowl.demon.co.uk> writes:

> It seems as though the Article buffer mode line is being updated
> into the Summary buffer line rather than its own.

Yup.  Fix in Pterodactyl Gnus v0.56.

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Picons broken in 0.55 (was Re: pgnus 0.55 Summary Mode line broken)
  1998-11-28  0:19   ` Lars Magne Ingebrigtsen
@ 1998-11-29 14:54     ` Mike McEwan
  1998-11-29 15:45       ` Mike McEwan
  0 siblings, 1 reply; 5+ messages in thread
From: Mike McEwan @ 1998-11-29 14:54 UTC (permalink / raw)


Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

> Graham Murray <graham@barnowl.demon.co.uk> writes:
> 
> > It seems as though the Article buffer mode line is being updated
> > into the Summary buffer line rather than its own.
> 
> Yup.  Fix in Pterodactyl Gnus v0.56.

  Pgnus-0.55 breaks picons in the article buffer for the same
reason. In the meantime I'm applying the following patch. It removes
the `save-selected-window' stuff from the top of
`gnus-display-mime'. 

  Lars, presumably this was put there for a reason, although I've not
discovered any more breakage (yet) after its removal?

--- gnus-art.el	1998/11/29 01:29:53	1.1.1.12
+++ gnus-art.el	1998/11/29 14:13:22
@@ -2497,34 +2497,30 @@
 
 (defun gnus-display-mime (&optional ihandles)
   "Insert MIME buttons in the buffer."
-  (save-selected-window
-    (let ((window (get-buffer-window gnus-article-buffer)))
-      (when window
-	(select-window window)))
-    (let* ((handles (or ihandles (mm-dissect-buffer) (mm-uu-dissect)))
-	   handle name type b e display)
+  (let* ((handles (or ihandles (mm-dissect-buffer) (mm-uu-dissect)))
+	 handle name type b e display)
+    (unless ihandles
+      ;; Top-level call; we clean up.
+      (mm-destroy-parts gnus-article-mime-handles)
+      (setq gnus-article-mime-handles handles
+	    gnus-article-mime-handle-alist nil)
+      ;; We allow users to glean info from the handles.
+      (when gnus-article-mime-part-function
+	(gnus-mime-part-function handles)))
+    (when (and handles
+	       (or (not (stringp (car handles)))
+		   (cdr handles)))
       (unless ihandles
-	;; Top-level call; we clean up.
-	(mm-destroy-parts gnus-article-mime-handles)
-	(setq gnus-article-mime-handles handles
-	      gnus-article-mime-handle-alist nil)
-	;; We allow users to glean info from the handles.
-	(when gnus-article-mime-part-function
-	  (gnus-mime-part-function handles)))
-      (when (and handles
-		 (or (not (stringp (car handles)))
-		     (cdr handles)))
-	(unless ihandles
-	  ;; Clean up for mime parts.
-	  (article-goto-body)
-	  (delete-region (point) (point-max)))
-	(if (stringp (car handles))
-	    (if (equal (car handles) "multipart/alternative")
-		(let ((id (1+ (length gnus-article-mime-handle-alist))))
-		  (push (cons id handles) gnus-article-mime-handle-alist)
-		  (gnus-mime-display-alternative (cdr handles) nil nil id))
-	      (gnus-mime-display-mixed (cdr handles)))
-	  (gnus-mime-display-single handles))))))
+	;; Clean up for mime parts.
+	(article-goto-body)
+	(delete-region (point) (point-max)))
+      (if (stringp (car handles))
+	  (if (equal (car handles) "multipart/alternative")
+	      (let ((id (1+ (length gnus-article-mime-handle-alist))))
+		(push (cons id handles) gnus-article-mime-handle-alist)
+		(gnus-mime-display-alternative (cdr handles) nil nil id))
+	    (gnus-mime-display-mixed (cdr handles)))
+	(gnus-mime-display-single handles)))))
 
 (defun gnus-mime-part-function (handles)
   (if (stringp (car handles))

-- 
Mike.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Picons broken in 0.55 (was Re: pgnus 0.55 Summary Mode line broken)
  1998-11-29 14:54     ` Picons broken in 0.55 (was Re: pgnus 0.55 Summary Mode line broken) Mike McEwan
@ 1998-11-29 15:45       ` Mike McEwan
  0 siblings, 0 replies; 5+ messages in thread
From: Mike McEwan @ 1998-11-29 15:45 UTC (permalink / raw)


Mike McEwan <mike@lotusland.demon.co.uk> writes:

>   Pgnus-0.55 breaks picons in the article buffer for the same
> reason. In the meantime I'm applying the following patch. It removes
> the `save-selected-window' stuff from the top of
> `gnus-display-mime'. 

  Whoops, spoke too soon. It's wrapped in a `save-excursion' in 0.56 :-).

-- 
Mike.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1998-11-29 15:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-11-27 18:46 pgnus 0.55 Summary Mode line broken Graham Murray
1998-11-27 19:02 ` Graham Murray
1998-11-28  0:19   ` Lars Magne Ingebrigtsen
1998-11-29 14:54     ` Picons broken in 0.55 (was Re: pgnus 0.55 Summary Mode line broken) Mike McEwan
1998-11-29 15:45       ` Mike McEwan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).