Gnus development mailing list
 help / color / mirror / Atom feed
* Re: mailto:address?subject=subject URL support
@ 1996-10-22 13:40 William Perry
  1996-10-23  8:56 ` John Griffith
  0 siblings, 1 reply; 15+ messages in thread
From: William Perry @ 1996-10-22 13:40 UTC (permalink / raw)
  Cc: ding

Lars Balker Rasmussen writes:
>John Griffith <griffith@sfs.nphil.uni-tuebingen.de> writes:
>> >> "WP" == William Perry <wmperry@aventail.com> writes:
>> WP> Basically, you can have _any_ arbitrary header in the part of the
>> WP> query, so you could have:
>> 
>> 
>> I don't have netscape 3.0 around here, but in 2.0 (for unix)
>> apparently you can have only 1 header.  The above URL gives me a "CC"
>> value of "support@aventail.com?subject=dork" and no subject.
>
>Solaris 2.5/Netscape 3.0 has the same behaviour.  I guess noone can be
>surprised that Netscape can't implement their own specs correctly.
 
  This was a screwup on my part- that URL should look like:
 
<mailto:wmperry@aventail.com?CC=support@aventail.com&subject=dork>
 
  Typing too fast.
 
-Bill P.


^ permalink raw reply	[flat|nested] 15+ messages in thread
* mailto:address?subject=subject URL support
@ 1996-10-21 12:57 Per Abrahamsen
  1996-10-02 14:59 ` William Perry
  0 siblings, 1 reply; 15+ messages in thread
From: Per Abrahamsen @ 1996-10-21 12:57 UTC (permalink / raw)



Here is a patch that allows Gnus to handle mailto URLs of the form:

	<URL:mailto:list-request@your.smartlisthost?Subject=subscribe>

It seems to be an undocumented Netscape extension, but I might be
wrong about that.  Maybe wmperry knows.

Mon Oct 21 14:50:11 1996  Per Abrahamsen  <abraham@dina.kvl.dk>

	* gnus-art.el (gnus-button-reply): Handle Netscape `?subject='
	mailto urls.

cd ~/emacs/rgnus/lisp/
diff -c gnus-art.el~ gnus-art.el 
*** gnus-art.el~	Tue Oct  8 12:47:05 1996
--- gnus-art.el	Mon Oct 21 14:48:31 1996
***************
*** 1839,1845 ****
  
  (defun gnus-button-reply (address)
    ;; Reply to ADDRESS.
!   (message-reply address))
  
  (defun gnus-button-url (address)
    "Browse ADDRESS."
--- 1839,1850 ----
  
  (defun gnus-button-reply (address)
    ;; Reply to ADDRESS.
!   (let ((case-fold-search t))
!     (if (string-match "\\`\\(.*\\)\\?subject=\\(.*\\)\\'" address)
! 	(let ((to (match-string 1 address))
! 	      (subject (match-string 2 address)))
! 	  (message-mail to subject))
!       (message-reply address))))
  
  (defun gnus-button-url (address)
    "Browse ADDRESS."

Compilation exited abnormally with code 1 at Mon Oct 21 14:48:51


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

end of thread, other threads:[~1996-10-24 15:45 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-10-22 13:40 mailto:address?subject=subject URL support William Perry
1996-10-23  8:56 ` John Griffith
1996-10-23 14:25   ` Colin Rafferty
  -- strict thread matches above, loose matches on Subject: below --
1996-10-21 12:57 Per Abrahamsen
1996-10-02 14:59 ` William Perry
1996-10-21 19:23   ` Steinar Bang
1996-10-21 21:02     ` William Perry
1996-10-22  0:37     ` Lars Magne Ingebrigtsen
1996-10-22  8:40       ` Steinar Bang
1996-10-22  7:28   ` John Griffith
1996-10-22  7:44     ` Lars Balker Rasmussen
1996-10-23 18:52     ` Steven L Baur
1996-10-24  7:49       ` John Griffith
1996-10-24 15:12         ` Steven L Baur
1996-10-24 15:45           ` Per Abrahamsen

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