* nnmail-remove-leading-whitespace
@ 2001-01-30 14:33 NAGY Andras
2001-01-30 16:25 ` nnmail-remove-leading-whitespace ShengHuo ZHU
0 siblings, 1 reply; 7+ messages in thread
From: NAGY Andras @ 2001-01-30 14:33 UTC (permalink / raw)
It seems to me that this variable does not (but should) have a
non-permanent, more general gnus-treat-* equivalent, to be used with
nntp, imap or any other non-nnmail based backed.
Andras
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: nnmail-remove-leading-whitespace
2001-01-30 14:33 nnmail-remove-leading-whitespace NAGY Andras
@ 2001-01-30 16:25 ` ShengHuo ZHU
2001-01-30 20:24 ` nnmail-remove-leading-whitespace NAGY Andras
0 siblings, 1 reply; 7+ messages in thread
From: ShengHuo ZHU @ 2001-01-30 16:25 UTC (permalink / raw)
NAGY Andras <nagya@inf.elte.hu> writes:
> It seems to me that this variable does not (but should) have a
> non-permanent, more general gnus-treat-* equivalent, to be used with
> nntp, imap or any other non-nnmail based backed.
I am not sure what your point is. nnmail-remove-leading-whitespace is
a function and actually it is not used anywhere. Do you want a switch
variable for treating leading whitespace in headers?
ShengHuo
--
(setq gnus-posting-styles '((".*" (signature-file "~/.signature"))))
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: nnmail-remove-leading-whitespace
2001-01-30 16:25 ` nnmail-remove-leading-whitespace ShengHuo ZHU
@ 2001-01-30 20:24 ` NAGY Andras
2001-02-11 15:03 ` nnmail-remove-leading-whitespace ShengHuo ZHU
0 siblings, 1 reply; 7+ messages in thread
From: NAGY Andras @ 2001-01-30 20:24 UTC (permalink / raw)
ShengHuo ZHU <zsh@cs.rochester.edu> writes:
> > It seems to me that this variable does not (but should) have a
> > non-permanent, more general gnus-treat-* equivalent, to be used with
> > nntp, imap or any other non-nnmail based backed.
>
> I am not sure what your point is. nnmail-remove-leading-whitespace is
> a function and actually it is not used anywhere. Do you want a switch
> variable for treating leading whitespace in headers?
Er, yes. Furthermore, what about moving, linking or copying this
function to gnus-art.el under the name
article-remove-leading-whitespace (or similar), and extending it to
look like the other aritcle-{hide,strip,etc}-* functions (interactive,
save-excursion and stuff).
Andras
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: nnmail-remove-leading-whitespace
2001-01-30 20:24 ` nnmail-remove-leading-whitespace NAGY Andras
@ 2001-02-11 15:03 ` ShengHuo ZHU
2001-02-19 17:51 ` nnmail-remove-leading-whitespace NAGY Andras
0 siblings, 1 reply; 7+ messages in thread
From: ShengHuo ZHU @ 2001-02-11 15:03 UTC (permalink / raw)
NAGY Andras <nagya@inf.elte.hu> writes:
> ShengHuo ZHU <zsh@cs.rochester.edu> writes:
>
> > > It seems to me that this variable does not (but should) have a
> > > non-permanent, more general gnus-treat-* equivalent, to be used with
> > > nntp, imap or any other non-nnmail based backed.
> >
> > I am not sure what your point is. nnmail-remove-leading-whitespace is
> > a function and actually it is not used anywhere. Do you want a switch
> > variable for treating leading whitespace in headers?
>
> Er, yes. Furthermore, what about moving, linking or copying this
> function to gnus-art.el under the name
> article-remove-leading-whitespace (or similar), and extending it to
> look like the other aritcle-{hide,strip,etc}-* functions (interactive,
> save-excursion and stuff).
Done in oGnus. Treatment variable gnus-treat-leading-whitespace
(default nil. use 'head to enable it). Key `W E w'.
ShengHuo
--
(setq gnus-posting-styles
'((".*" (signature (format "(setq gnus-posting-styles
'%S)" gnus-posting-styles)))))
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: nnmail-remove-leading-whitespace
2001-02-11 15:03 ` nnmail-remove-leading-whitespace ShengHuo ZHU
@ 2001-02-19 17:51 ` NAGY Andras
2001-02-19 17:55 ` gnus-summary-remove-list-identifiers (was: nnmail-remove-...) Toby Speight
0 siblings, 1 reply; 7+ messages in thread
From: NAGY Andras @ 2001-02-19 17:51 UTC (permalink / raw)
ShengHuo ZHU <zsh@cs.rochester.edu> writes:
> > > Do you want a switch variable for treating leading whitespace in
> > > headers?
[...]
> Done in oGnus. Treatment variable gnus-treat-leading-whitespace
> (default nil. use 'head to enable it). Key `W E w'.
This works fine, but does treatment only in article buffers, and the
whitespace still appears in the summary buffer. Is there a mechanism
for doing such treatments in summary buffers too?
[... looking at gnus-sum.el ...]
(defun gnus-select-newsgroup (group &optional read-all select-articles)
[...]
(when gnus-list-identifiers
(gnus-summary-remove-list-identifiers))
Hm, stripping of list-ids is hardwired, which means no good. :(
Andras
^ permalink raw reply [flat|nested] 7+ messages in thread
* gnus-summary-remove-list-identifiers (was: nnmail-remove-...)
2001-02-19 17:51 ` nnmail-remove-leading-whitespace NAGY Andras
@ 2001-02-19 17:55 ` Toby Speight
2001-02-19 18:02 ` ShengHuo ZHU
0 siblings, 1 reply; 7+ messages in thread
From: Toby Speight @ 2001-02-19 17:55 UTC (permalink / raw)
0> In article <dzclmr24l3n.fsf@pandora.inf.elte.hu>,
0> NAGY Andras <URL:mailto:nagya@inf.elte.hu> ("Nagy") wrote:
Nagy> [... looking at gnus-sum.el ...]
Nagy>
Nagy> (defun gnus-select-newsgroup (group &optional read-all select-articles)
Nagy> [...]
Nagy> (when gnus-list-identifiers
Nagy> (gnus-summary-remove-list-identifiers))
As we're here, is it the case that this occurs *before* group parameters
are read? I haven't been able to get list identifiers to work from
group/topic parameters, only from a global default.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: gnus-summary-remove-list-identifiers (was: nnmail-remove-...)
2001-02-19 17:55 ` gnus-summary-remove-list-identifiers (was: nnmail-remove-...) Toby Speight
@ 2001-02-19 18:02 ` ShengHuo ZHU
0 siblings, 0 replies; 7+ messages in thread
From: ShengHuo ZHU @ 2001-02-19 18:02 UTC (permalink / raw)
Toby Speight <streapadair@gmx.net> writes:
> 0> In article <dzclmr24l3n.fsf@pandora.inf.elte.hu>,
> 0> NAGY Andras <URL:mailto:nagya@inf.elte.hu> ("Nagy") wrote:
>
> Nagy> [... looking at gnus-sum.el ...]
> Nagy>
> Nagy> (defun gnus-select-newsgroup (group &optional read-all select-articles)
> Nagy> [...]
> Nagy> (when gnus-list-identifiers
> Nagy> (gnus-summary-remove-list-identifiers))
>
> As we're here, is it the case that this occurs *before* group parameters
> are read? I haven't been able to get list identifiers to work from
> group/topic parameters, only from a global default.
The bug has been fixed recently in oGnus.
ShengHuo
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2001-02-19 18:02 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-01-30 14:33 nnmail-remove-leading-whitespace NAGY Andras
2001-01-30 16:25 ` nnmail-remove-leading-whitespace ShengHuo ZHU
2001-01-30 20:24 ` nnmail-remove-leading-whitespace NAGY Andras
2001-02-11 15:03 ` nnmail-remove-leading-whitespace ShengHuo ZHU
2001-02-19 17:51 ` nnmail-remove-leading-whitespace NAGY Andras
2001-02-19 17:55 ` gnus-summary-remove-list-identifiers (was: nnmail-remove-...) Toby Speight
2001-02-19 18:02 ` ShengHuo ZHU
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).