* 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
* Re: Suggestion and possible patch: honor gnus-parameters for
2003-06-24 14:02 Suggestion and possible patch: honor gnus-parameters for gnus-uu-digest-headers Niklas Morberg
@ 2003-06-24 23:13 ` Johan Bockgård
2003-06-25 6:43 ` Niklas Morberg
0 siblings, 1 reply; 3+ messages in thread
From: Johan Bockgård @ 2003-06-24 23:13 UTC (permalink / raw)
Niklas Morberg <niklas.morberg@axis.com> writes:
> 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...
gnus-newsgroup-variables?
,----[ C-h v gnus-newsgroup-variables RET ]
| gnus-newsgroup-variables's value is [...]
|
| Documentation:
| A list of variables that have separate values in different newsgroups.
| A list of newsgroup (summary buffer) local variables, or cons of
| variables and their default values (when the default values are not
| nil), that should be made global while the summary buffer is active.
| These variables can be used to set variables in the group parameters
| while still allowing them to affect operations done in other
| buffers. For example:
|
| (setq gnus-newsgroup-variables
| '(message-use-followup-to
| (gnus-visible-headers .
| "^From:\\|^Newsgroups:\\|^Subject:\\|^Date:\\|^To:")))
|
| Defined in `gnus-sum'.
`----
--
The day Microsoft makes something that doesn't suck is probably the
day they start making vacuum cleaners. -- Ernst Jan Plugge
^ 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).