Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* xdg-email vs browse-url-mail
@ 2016-07-14 12:51 Kevin Brubeck Unhammer
  2016-07-14 21:09 ` Dmitry Alexandrov
  0 siblings, 1 reply; 7+ messages in thread
From: Kevin Brubeck Unhammer @ 2016-07-14 12:51 UTC (permalink / raw)
  To: info-gnus-english

Hi,

I just tried using browse-url-mail as a mailto-handler with the below
script as my mail handler (set in XFCE settings):

#!/bin/bash
mailto="${*//\"/}"
if [[ ! ${mailto} =~ ^mailto: ]]; then
    mailto="mailto:${mailto}"
fi
emacsclient -c --eval "(browse-url-mail \"${mailto}\")"

It seems to work with xdg-email, but when I use --attach to attach a
file, it just appears as an "Attach: /path/to/file" header instead of
the usual <#part thing. After sending, nothing is attached to the
received message that I can tell. Is there a way to make browse-url-mail
do the right thing, or to make message-mode treat that "Attach:" line
correctly?


-- 
Kevin Brubeck Unhammer

GPG: 0x766AC60C



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

end of thread, other threads:[~2016-07-25  8:10 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-14 12:51 xdg-email vs browse-url-mail Kevin Brubeck Unhammer
2016-07-14 21:09 ` Dmitry Alexandrov
2016-07-15  8:31   ` Kevin Brubeck Unhammer
2016-07-15 18:29     ` Dmitry Alexandrov
2016-07-15 21:16       ` Kevin Brubeck Unhammer
2016-07-16 17:13         ` Dmitry Alexandrov
2016-07-25  8:10           ` Kevin Brubeck Unhammer

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