Gnus development mailing list
 help / color / mirror / Atom feed
* archiving sans attachments
@ 2000-10-03 12:19 Paul Stevenson
  2000-10-03 12:49 ` ShengHuo ZHU
  0 siblings, 1 reply; 5+ messages in thread
From: Paul Stevenson @ 2000-10-03 12:19 UTC (permalink / raw)


Hello,
Is it possible for messages which were sent with attachments to be
archived without the attachment (but perhaps the MML code so one knows
what was going on?).  At the moment I'm just using Gcc: to an
appropriate nnfolder.

Sorry about using the list rather than the group, but no-one is
allowed to post usenet news here :-(

-- 
.   Paul Stevenson   .   Reasearch Fellow   .   University of Surrey   .
.     phone: +44 (0) 1483 876795     .     fax +44 (0) 1483 876781     .
.                           I dream in beige                           .



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

* Re: archiving sans attachments
  2000-10-03 12:19 archiving sans attachments Paul Stevenson
@ 2000-10-03 12:49 ` ShengHuo ZHU
  2000-10-03 12:54   ` Paul Stevenson
  0 siblings, 1 reply; 5+ messages in thread
From: ShengHuo ZHU @ 2000-10-03 12:49 UTC (permalink / raw)


Paul Stevenson <p.stevenson@surrey.ac.uk> writes:

> Hello,
> Is it possible for messages which were sent with attachments to be
> archived without the attachment (but perhaps the MML code so one knows
> what was going on?).  At the moment I'm just using Gcc: to an
> appropriate nnfolder.

Gnus doesn't has such a feature. But the following code could do that.

(require 'gnus-msg)

(defadvice gnus-inews-do-gcc 
  (around gnus-news-do-gcc-inhibit-body-encoding  first activate)
  (let ((message-inhibit-body-encoding t))
    ad-do-it))

I'd like to know whether it works for you.

ShengHuo



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

* Re: archiving sans attachments
  2000-10-03 12:49 ` ShengHuo ZHU
@ 2000-10-03 12:54   ` Paul Stevenson
  2000-10-03 13:03     ` ShengHuo ZHU
  0 siblings, 1 reply; 5+ messages in thread
From: Paul Stevenson @ 2000-10-03 12:54 UTC (permalink / raw)


ShengHuo ZHU <zsh@cs.rochester.edu> writes:

> Gnus doesn't has such a feature. But the following code could do that.
> 
> (require 'gnus-msg)
> 
> (defadvice gnus-inews-do-gcc 
>   (around gnus-news-do-gcc-inhibit-body-encoding  first activate)
>   (let ((message-inhibit-body-encoding t))
>     ad-do-it))
> 
> I'd like to know whether it works for you.

It does.  Thanks!

-- 
.   Paul Stevenson   .   Reasearch Fellow   .   University of Surrey   .
.     phone: +44 (0) 1483 876795     .     fax +44 (0) 1483 876781     .
.                           I dream in beige                           .



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

* Re: archiving sans attachments
  2000-10-03 12:54   ` Paul Stevenson
@ 2000-10-03 13:03     ` ShengHuo ZHU
  2000-10-03 13:10       ` Paul Stevenson
  0 siblings, 1 reply; 5+ messages in thread
From: ShengHuo ZHU @ 2000-10-03 13:03 UTC (permalink / raw)


Paul Stevenson <p.stevenson@surrey.ac.uk> writes:

> ShengHuo ZHU <zsh@cs.rochester.edu> writes:
> 
> > Gnus doesn't has such a feature. But the following code could do that.
> > 
> > (require 'gnus-msg)
> > 
> > (defadvice gnus-inews-do-gcc 
> >   (around gnus-news-do-gcc-inhibit-body-encoding  first activate)
> >   (let ((message-inhibit-body-encoding t))
> >     ad-do-it))
> > 
> > I'd like to know whether it works for you.
> 
> It does.  Thanks!

It could make trouble when you send messages with non-ascii characters.

ShengHuo



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

* Re: archiving sans attachments
  2000-10-03 13:03     ` ShengHuo ZHU
@ 2000-10-03 13:10       ` Paul Stevenson
  0 siblings, 0 replies; 5+ messages in thread
From: Paul Stevenson @ 2000-10-03 13:10 UTC (permalink / raw)


ShengHuo ZHU <zsh@cs.rochester.edu> writes:

> Paul Stevenson <p.stevenson@surrey.ac.uk> writes:
> 
> > ShengHuo ZHU <zsh@cs.rochester.edu> writes:
> > 
> > > (defadvice gnus-inews-do-gcc 
> > >   (around gnus-news-do-gcc-inhibit-body-encoding  first activate)
> > >   (let ((message-inhibit-body-encoding t))
> > >     ad-do-it))
> > > 
> > > I'd like to know whether it works for you.
> > 
> > It does.  Thanks!
> 
> It could make trouble when you send messages with non-ascii characters.

Yes... the dreaded \201

Presumably I could write an alternative encoder which would encode
bits of the message according to context.  Until then, I use nøn-Áßçíì
characters rarely enough not to worry, I think.



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

end of thread, other threads:[~2000-10-03 13:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-10-03 12:19 archiving sans attachments Paul Stevenson
2000-10-03 12:49 ` ShengHuo ZHU
2000-10-03 12:54   ` Paul Stevenson
2000-10-03 13:03     ` ShengHuo ZHU
2000-10-03 13:10       ` Paul Stevenson

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