Gnus development mailing list
 help / color / mirror / Atom feed
From: Hynek Schlawack <hynek@ularx.de>
Subject: Re: Viewing HTML-mails with external browsers - proposed code
Date: Wed, 25 Jan 2006 17:29:26 +0100	[thread overview]
Message-ID: <x7lkx4w9sp.fsf@ularx.de> (raw)
In-Reply-To: <v9fyncv02g.fsf@marauder.physik.uni-ulm.de> (Reiner Steib's message of "Wed, 25 Jan 2006 15:44:55 +0100")

* Reiner Steib <reinersteib+gmane@imap.cc> wrote:

>>> we should add both functions to `gnus-art.el' and add a key binding
>>> (suggestions?) 
>> Well, _I_ use "v", but I guess I won't be able to push that. ;)
> The very few remaining single letter keys should be reserved for very
> frequently used commands.

Well, something behind an attachment-related prefix then?

> In fact, `v' is a good candidate for a (prefix) key we could reserve
> for the user in Gnus, see <news:v9u0bsv0at.fsf@marauder.physik.uni-ulm.de>.

I read it and I knew what inspired you. ;)

>>>>   (let ((showed))
>>> Maybe "done" instead of "showed"?
>> I'm not sure whether "done" exactly reflects the purpose of "showed".
> I didn't read the code very carefully, so I probably misunderstood its
> purpose.

Well, it indicates, whether a (or more) HTML-attachment has been
shown. "done" sounds like "we've done our job successfully and can
quit".

>>>> 				(make-temp-name "/tmp/gnus-html-")
>>>> 				(user-login-name))))
>>>   (mm-make-temp-file (expand-file-name "mm" mm-tmp-directory) nil ".html")
>>> Maybe even (convert-standard-filename (mm-make-temp-file ...))  like
>>> in `browse-url-of-buffer' is required?
>> Uhm, so what's your final suggestion here? :)

[...]

> We don't use `convert-standard-filename' at all in Gnus upto now.  I
> don't use those systems (Windows, DOS, Cygwin) so I'm not sure if we
> also need to add `convert-standard-filename' when we use
> `mm-make-temp-file' in Gnus.  Maybe the use in `browse-url-of-buffer'
> isn't necessary?

I'd say, mm-make-temp-file should take care of this as it also takes
care where to put the tmp-file to.

>>>>   "View HTML-parts of the current Gnus-Article in a graphical browser."
>>>     "View \"text/html\" parts of the current article with a WWW browser."
>>> See `C-h f browse-url RET'.
>> Ehm, for what exactly?
> Well, "graphical browser" might not be correct, depending on the
> user's environment and preferences.

Ok, but that's fixed now anyway.

So, there's the bug with your mail and the temp-file-stuff left, iirc?

-hs



  reply	other threads:[~2006-01-25 16:29 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-18 21:49 Hynek Schlawack
2006-01-13 13:42 ` Hynek Schlawack
2006-01-13 15:57   ` Reiner Steib
2006-01-13 17:13     ` Hynek Schlawack
2006-01-19 19:35 ` Reiner Steib
2006-01-22 12:40   ` Hynek Schlawack
2006-01-25 14:44     ` Reiner Steib
2006-01-25 16:29       ` Hynek Schlawack [this message]
2006-01-25 17:41         ` Reiner Steib
2006-01-31 12:38           ` Hynek Schlawack
2006-02-10 18:15             ` Reiner Steib
2006-02-13  0:06               ` Katsumi Yamaoka
2006-02-13 14:53                 ` Reiner Steib
2006-02-13 15:24                   ` Hynek Schlawack
2006-02-13 15:37                   ` Hynek Schlawack
2006-02-13 22:16                     ` Reiner Steib
2006-02-14  0:11                       ` Katsumi Yamaoka
2006-02-14 11:50                         ` Katsumi Yamaoka
2006-02-15  8:39                           ` mm-make-temp-file (was Re: Viewing HTML-mails with external browsers - proposed code) Katsumi Yamaoka
2006-02-14 20:08                         ` Viewing HTML-mails with external browsers - proposed code Hynek Schlawack

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=x7lkx4w9sp.fsf@ularx.de \
    --to=hynek@ularx.de \
    /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).