[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OAuth2 implementation in Elisp

From: Ted Zlatanov
Subject: Re: OAuth2 implementation in Elisp
Date: Tue, 27 Sep 2011 15:20:11 -0500
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.90 (gnu/linux)

On Tue, 27 Sep 2011 13:42:47 +0200 Julien Danjou <address@hidden> wrote: 

JD> On Tue, Sep 27 2011, Ted Zlatanov wrote:
>> I've confirmed this is completely broken with w3m, at least.  I can't
>> even use the "OK" button in the displayed screen because oauth2.el is
>> waiting for me in the minibuffer, and of course w3m can't process the
>> form because it doesn't store cookies by default (I didn't go further in
>> the testing).  So please check that `browse-url' is not set to one of
>> the internal Emacs choices.

JD> This does not look like it should be oauth2.el work to add
JD> workaround on this.

Maybe, but it's the one that users will complain about :)

JD> Since it's likely that the Web page is a real web Page, what about
JD> providing an Emacs function like `browse-url-with-a-capable-browser'
JD> which would act like `browse-url' but will be defaulting to a capable
JD> browser and will indicate to the user that it should not set this to
JD> something that is not?

How about adding request capabilities, e.g. 

(with-browse-url-requirements '(javascript css)
 (browse-url the-url))

It could also be a browse-url argument I guess.

That would be a nice way to make it work for everyone...


reply via email to

[Prev in Thread] Current Thread [Next in Thread]