Gnus development mailing list
 help / color / mirror / Atom feed
From: Michael Welsh Duggan <md5i@cs.cmu.edu>
Subject: Re: Get \201 when I edit mail
Date: Thu, 04 Feb 1999 04:23:25 GMT	[thread overview]
Message-ID: <v1tzp6ubxrk.fsf@maru.bellatlantic.net> (raw)
In-Reply-To: <m33e4ncccb.fsf@quimbies.gnus.org>


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

> I've been thinking quite a bit about how to do article editing, and I
> just can't see any way to allow that in an elegant way -- especially
> with MIME gunk and MULE gunk in the way.
> 
> The two possible approaches that I see are these:
> 
> 1) When editing a MIME message, not necessarily a multipart one, but
>    that as well, we plop the user into something that looks more or
>    less like a Message buffer with the article in.  Multipart articles
>    are transformed into MML (text parts just get a "part" marker
>    before them and non-text parts get a part that has the contents in
>    an external file).  When finishing the editing, Gnus does what
>    Message does -- transforms the MML back into MIME.
> 
>    This approach means that the user has little actual control over
>    the details of the resulting article.  For instance, parts of the
>    result may be base64-d, etc.

How about the following approach?

When editing the message, the user sees basically what he would see in
the *mail* buffer were he creating the message in the first place.
Parts displayed inline normally remain inline, others get an MML tag.
The MML tags are uneditable (by default), and hitting `RET' or
clicking on the tag brings up the part in a seperate buffer
(unencoded).  This should then be editable, accepting changes with
`C-c C-c' and cancelling changes with `C-c C-k'.  The parts are cached
away in buffers when not being edited.  These buffers, and the main
buffer, are protected by `kill-buffer-query-functions' and
`kill-buffer-hook'.

Of course, you should be able to kill tags and their related parts as
well, and have an easy way to restore them before saving changes...

Now, this approach is what I would call an "easy" approach.  (From the
user's point of view.)  What it does not do, the way I have stated it,
is maintain part seperation between consecutive inlined parts.  This
may be a fatal flaw of some sorts...

-- 
Michael Duggan
(md5i@cs.cmu.edu)
.



  parent reply	other threads:[~1999-02-04  4:23 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-02-03 14:12 Nicolas Morais
     [not found] ` <m3u2x3b8cv.fsf@peorth.gweep.net>
1999-02-03 23:11   ` Lars Magne Ingebrigtsen
     [not found]     ` <m31zk79f5g.fsf@peorth.gweep.net>
1999-02-04  1:08       ` Lars Magne Ingebrigtsen
1999-02-15  2:22         ` Hallvard B Furuseth
1999-02-15  2:26           ` Hallvard B Furuseth
1999-02-19 14:19           ` Lars Magne Ingebrigtsen
1999-02-21 17:31           ` François Pinard
1999-02-26  6:58             ` Lars Magne Ingebrigtsen
1999-02-04  4:23     ` Michael Welsh Duggan [this message]
1999-02-04  4:28       ` Michael Welsh Duggan
1999-02-04 16:57       ` Lars Magne Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=v1tzp6ubxrk.fsf@maru.bellatlantic.net \
    --to=md5i@cs.cmu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).