Gnus development mailing list
 help / color / mirror / Atom feed
* Suggestion and possible patch: honor gnus-parameters for gnus-uu-digest-headers
@ 2003-06-24 14:02 Niklas Morberg
  2003-06-24 23:13 ` Suggestion and possible patch: honor gnus-parameters for Johan Bockgård
  0 siblings, 1 reply; 3+ messages in thread
From: Niklas Morberg @ 2003-06-24 14:02 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 342 bytes --]

I was thinking it would be nice if I could have different
settings for gnus-uu-digest-headers depending on which
group I was in. gnus-parameters does not work for this.

This patch is one way to make gnus-uu-digest-headers honor
settings of gnus-uu-digest-headers in the summary buffer.
Not sure if this is the right way to do it...

Niklas


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Check gnus-uu-digest-headers value in the summary buffer --]
[-- Type: text/x-patch, Size: 653 bytes --]

cd h:/pgnus/lisp/
diff -u -b "h:/pgnus/lisp/gnus-uu.el~" "h:/pgnus/lisp/gnus-uu.el"
--- h:/pgnus/lisp/gnus-uu.el~	2003-06-24 15:57:16.000000000 +0200
+++ h:/pgnus/lisp/gnus-uu.el	2003-06-24 15:57:52.000000000 +0200
@@ -869,7 +869,8 @@
 		  (insert "- "))))
 	    (setq body (buffer-substring (1- (point)) (point-max)))
 	    (narrow-to-region (point-min) (point))
-	    (if (not (setq headers gnus-uu-digest-headers))
+	    (if (not (setq headers (with-current-buffer gnus-summary-buffer
+				     gnus-uu-digest-headers)))
 		(setq sorthead (buffer-string))
 	      (while headers
 		(setq headline (car headers))

Diff finished at Tue Jun 24 15:58:29

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

end of thread, other threads:[~2003-06-25  6:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-24 14:02 Suggestion and possible patch: honor gnus-parameters for gnus-uu-digest-headers Niklas Morberg
2003-06-24 23:13 ` Suggestion and possible patch: honor gnus-parameters for Johan Bockgård
2003-06-25  6:43   ` Niklas Morberg

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).