Re: BBDB autodialing
"Barak A. Pearlmutter" <[email protected]>
| Newsgroups | gmane.emacs.bbdb.user |
|---|---|
| Message-ID | <CANa01BLVHUF=nsjzp_7r-d9kimgwkpydQmqN+ApRYDV4tYkDaA@mail.gmail.com> |
> Ideas and especially improvements welcome.
(defvar termuxing
(string= (getenv "HOME") "/data/data/com.termux/files/home")
"True if running under termux")
Bicycle shedding aside, it seems like it might be a good idea to use a
general-purpose mechanism for opening a URL like
mailto:[email protected] or https://www.example.com/ but with the phone
number. The appropriate format is given by
http://www.ietf.org/rfc/rfc3966.txt but basically for our purposes
they look like
tel:+1-212-555-2018
where the + and international dialing code are mandatory, and the '-'
characters are legal but "must be ignored."
This would also allow skype:joe_example or googlehangouts:whatever by
symmetry, and it would be up the the URI handling system to deal
appropriately; I know android has a mechanism that allows apps to
register themselves for various classes of URIs.
--Barak.