all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Manoj Srivastava <srivasta@ieee.org>
To: emacs-devel@gnu.org
Subject: Re: Default of send-mail-function
Date: Tue, 08 Apr 2008 06:40:57 -0500	[thread overview]
Message-ID: <87iqysa81i.fsf@anzu.internal.golden-gryphon.com> (raw)
In-Reply-To: 47FB2BD9.6040101@gnu.org

On Tue, 08 Apr 2008 09:24:57 +0100, Jason Rumney <jasonr@gnu.org> said: 

> David De La Harpe Golden wrote:
>> On vaguely recent desktops following freedesktop.org , "xdg-email"
>> should be a command that will open and populate a new mail in the
>> user's "preferred email composer".
>> 
>> xdg-email --subject foo --body bar address@example.com
>> 
>> Emacs presumably could/should try to use that on gnu/linux...
>> 
>> http://portland.freedesktop.org/wiki/XdgUtils> http://portland.freedesktop.org/wiki/EmailConfig>   

> How about a new `unconfigured-send-it', for use as the default
> send-mail-function', which checks for the existence of xdg-email, and
> uses it if found. If not available, it could fall back on
> sendmail-send-it'. Alternately we could modify `mailclient-send-it' to
> use xdg-email when it exists rather than browse-url (which will only
> work if browse-url-browser-function is set to an external program that
> recognizes mailto: URLs).

        I have xdg-email configured to use this as the preferred mail
 client:
--8<---------------cut here---------------start------------->8---
  emacsclient -s gnus -c \
    -e "(progn (gnus-url-mailto \"$url\") (set-buffer-modified-p nil))"
--8<---------------cut here---------------end--------------->8---

        Would your proposal not result in a loop?

        manoj
-- 
The difference between legal separation and divorce is that legal
separation gives the man time to hide his money.
Manoj Srivastava <srivasta@acm.org> <http://www.golden-gryphon.com/>  
1024D/BF24424C print 4966 F272 D093 B493 410B  924B 21BA DABB BF24 424C





  reply	other threads:[~2008-04-08 11:40 UTC|newest]

Thread overview: 50+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-04 14:00 23.0.60; Feature request: Menu item "load init files" after -q/-Q Reiner Steib
2008-04-04 15:33 ` Drew Adams
2008-04-04 15:47 ` Dan Nicolaescu
2008-04-04 17:48 ` Eli Zaretskii
2008-04-04 18:03   ` Lennart Borgman (gmail)
2008-04-04 18:25     ` Eli Zaretskii
2008-04-04 18:34       ` Lennart Borgman (gmail)
2008-04-04 20:25         ` Stefan Monnier
2008-04-04 22:06         ` Davis Herring
2008-04-05 18:46   ` Stephen J. Turnbull
2008-04-05 18:58     ` Eli Zaretskii
2008-04-05 23:49       ` Stephen J. Turnbull
2008-04-05 19:07     ` Stefan Monnier
2008-04-05 23:45       ` Stephen J. Turnbull
2008-04-06  2:05         ` Stefan Monnier
2008-04-06  6:06           ` Stephen J. Turnbull
2008-04-07  0:46             ` Stefan Monnier
2008-04-07  7:56               ` Stephen J. Turnbull
2008-04-07 15:57                 ` Stefan Monnier
2008-04-07 19:20                   ` Stephen J. Turnbull
2008-04-07 19:51                     ` Stefan Monnier
2008-04-07 20:17                       ` Lennart Borgman (gmail)
2008-04-07 21:05                         ` Default of send-mail-function (was: 23.0.60; Feature request: Menu item "load init files" after -q/-Q) Reiner Steib
2008-04-07 21:26                           ` Default of send-mail-function Lennart Borgman (gmail)
2008-04-07 22:21                             ` Reiner Steib
2008-04-07 22:50                               ` Jason Rumney
2008-04-08  0:50                             ` David De La Harpe Golden
2008-04-08  8:24                               ` Jason Rumney
2008-04-08 11:40                                 ` Manoj Srivastava [this message]
2008-04-08 11:50                                   ` Jason Rumney
2008-04-08 14:36                                     ` Manoj Srivastava
2008-04-08 14:55                                       ` Lennart Borgman (gmail)
2008-04-08 15:15                                         ` Jason Rumney
2008-04-08 16:06                                           ` Manoj Srivastava
2008-04-08 14:58                                     ` Lennart Borgman (gmail)
2008-04-07 21:44                           ` Default of send-mail-function (was: 23.0.60; Feature request: Menu item "load init files" after -q/-Q) Eli Zaretskii
2008-04-07 22:20                             ` Default of send-mail-function Reiner Steib
2008-04-08 18:24                               ` Eli Zaretskii
2008-04-07 22:01                           ` Manoj Srivastava
2008-04-07 21:13                         ` 23.0.60; Feature request: Menu item "load init files" after -q/-Q Stefan Monnier
2008-04-08  4:04                         ` Stephen J. Turnbull
2008-04-08  7:58                           ` Jason Rumney
2008-04-08  3:31                       ` Stephen J. Turnbull
2008-04-06  0:28       ` Lennart Borgman (gmail)
2008-04-07  5:03 ` Chong Yidong
2019-09-30  5:54 ` bug#108: " Lars Ingebrigtsen
2019-09-30  7:23   ` Eli Zaretskii
2019-09-30 13:20     ` Basil L. Contovounesios
2019-09-30 13:50       ` Eli Zaretskii
2019-09-30 14:14         ` Lars 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=87iqysa81i.fsf@anzu.internal.golden-gryphon.com \
    --to=srivasta@ieee.org \
    --cc=emacs-devel@gnu.org \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.