Re: BBDB autodialing
Bob Newell <[email protected]>
| Newsgroups | gmane.emacs.bbdb.user |
|---|---|
| Message-ID | <CADoYgq-PU2B1eLwmtQ5503fNiFP-8y=kiZ=ajcmqYdf4r+KpMw@mail.gmail.com> |
Looks like a useful general solution, thanks for the tip. I'll look into it for certain. On Thu, Apr 5, 2018 at 6:25 AM, Roland Winkler <[email protected]> wrote: > On Wed Apr 4 2018 Bob Newell wrote: >> My default Emacs browser is w3m. I suspect many Emacsers have that >> or eww as the default, and neither handles tel: (or at least I >> don't know how to make that happen). > > That's my whole point about browse-url-browser-function. > From the docstring: > > If the value is not a function it should be a list of pairs > (REGEXP . FUNCTION). In this case the function called will be > the one associated with the first REGEXP which matches the > current URL. The function is passed the URL and any other args > of ‘browse-url’. The last regexp should probably be "." to > specify a default browser. > > This can give you very fine control: > > - use w3m with the URLs it can display well. > - send other URLs to firefox > - use tel: with browse-url-xdg-open > > - you name it! -- Bob Newell Honolulu, Hawai`i Sent via Linux Mint 17.