From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.devel Subject: Re: OAuth2 implementation in Elisp Date: Tue, 27 Sep 2011 15:20:11 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <8739fhvitg.fsf@lifelogs.com> References: <87sjnojl7j.fsf@keller.adm.naquadah.org> <4E7BAFA4.8090800@dogan.se> <4E7BAFE2.2090102@dogan.se> <87k490jkaw.fsf@keller.adm.naquadah.org> <87d3eo984j.fsf@lifelogs.com> <87mxdsbx1n.fsf@keller.adm.naquadah.org> <87litc695c.fsf@lifelogs.com> <87vcsfmxzd.fsf@keller.adm.naquadah.org> <87y5xb4bgj.fsf@lifelogs.com> <87ehz32vm5.fsf@keller.adm.naquadah.org> <87y5xbvvyz.fsf@lifelogs.com> <87fwjiuw3o.fsf@lifelogs.com> <87r532yzwo.fsf@keller.adm.naquadah.org> Reply-To: emacs-devel@gnu.org NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1317155119 6047 80.91.229.12 (27 Sep 2011 20:25:19 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 27 Sep 2011 20:25:19 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 27 22:25:14 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1R8eDK-0005bk-1Q for ged-emacs-devel@m.gmane.org; Tue, 27 Sep 2011 22:25:14 +0200 Original-Received: from localhost ([::1]:50133 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R8eDJ-0003h7-Cb for ged-emacs-devel@m.gmane.org; Tue, 27 Sep 2011 16:25:13 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:45910) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R8eDG-0003gf-8H for emacs-devel@gnu.org; Tue, 27 Sep 2011 16:25:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R8eDF-0007kQ-Al for emacs-devel@gnu.org; Tue, 27 Sep 2011 16:25:10 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:53325) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R8eDF-0007k2-1K for emacs-devel@gnu.org; Tue, 27 Sep 2011 16:25:09 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1R8eDE-0005Yv-1H for emacs-devel@gnu.org; Tue, 27 Sep 2011 22:25:08 +0200 Original-Received: from 38.98.147.133 ([38.98.147.133]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 27 Sep 2011 22:25:08 +0200 Original-Received: from tzz by 38.98.147.133 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 27 Sep 2011 22:25:08 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 31 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 38.98.147.133 X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Mail-Copies-To: never User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.90 (gnu/linux) Cancel-Lock: sha1:RUkTrYJKrbNcBO9n9hygpb4NztA= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:144425 Archived-At: On Tue, 27 Sep 2011 13:42:47 +0200 Julien Danjou 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... Ted