From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: joakim@verona.se Newsgroups: gmane.emacs.devel,gmane.emacs.gnus.general Subject: Re: eww Date: Tue, 18 Jun 2013 16:01:03 +0200 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1371564107 22863 80.91.229.3 (18 Jun 2013 14:01:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 18 Jun 2013 14:01:47 +0000 (UTC) Cc: ding@gnus.org, emacs-devel To: Lars Magne Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 18 16:01:46 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UowTi-0000Sl-DT for ged-emacs-devel@m.gmane.org; Tue, 18 Jun 2013 16:01:46 +0200 Original-Received: from localhost ([::1]:43681 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UowTi-0001PK-3H for ged-emacs-devel@m.gmane.org; Tue, 18 Jun 2013 10:01:46 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59643) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UowTb-0001Ly-KO for emacs-devel@gnu.org; Tue, 18 Jun 2013 10:01:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UowTX-0004Q0-S0 for emacs-devel@gnu.org; Tue, 18 Jun 2013 10:01:39 -0400 Original-Received: from mx2.bahnhof.se ([213.80.101.12]:60737) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UowTX-0004Pr-Lx for emacs-devel@gnu.org; Tue, 18 Jun 2013 10:01:35 -0400 Original-Received: from localhost (mf.bahnhof.se [213.80.101.20]) by mx2-reinject (Postfix) with ESMTP id C21E6D5915; Tue, 18 Jun 2013 16:01:34 +0200 (CEST) X-Virus-Scanned: by amavisd-new using ClamAV at bahnhof.se (MF3) Original-Received: from mf3.bahnhof.se ([127.0.0.1]) by localhost (mf3.bahnhof.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LbWJg2QyVsmE; Tue, 18 Jun 2013 16:01:30 +0200 (CEST) Original-Received: from mta.verona.se (h-235-102.a149.priv.bahnhof.se [85.24.235.102]) by mf3.bahnhof.se (Postfix) with ESMTP id D481D6050BB; Tue, 18 Jun 2013 16:01:18 +0200 (CEST) Original-Received: from localhost (unknown [127.0.0.1]) by mta.verona.se (Postfix) with ESMTP id 21A174E3918; Tue, 18 Jun 2013 14:01:08 +0000 (UTC) X-Virus-Scanned: amavisd-new at verona.se Original-Received: from mta.verona.se ([127.0.0.1]) by localhost (exodia.verona.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nXYs1Rg12UXf; Tue, 18 Jun 2013 16:01:03 +0200 (CEST) Original-Received: from exodia.verona.se (www.verona.se [192.168.200.15]) by mta.verona.se (Postfix) with ESMTP id 8F2274E14CC; Tue, 18 Jun 2013 16:01:03 +0200 (CEST) In-Reply-To: (Lars Magne Ingebrigtsen's message of "Tue, 18 Jun 2013 15:57:53 +0200") User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Mac OS X 10.x X-Received-From: 213.80.101.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:160568 gmane.emacs.gnus.general:83362 Archived-At: Lars Magne Ingebrigtsen writes: > joakim@verona.se writes: > >> (interactive (browse-url-interactive-arg "URL: ")) >> (unless (called-interactively-p 'interactive) >> (setq args (or args (list browse-url-new-window-flag)))) >> + (setq url (url-tidy url)) > > I'm not sure I see the utility here. I think `browse-url' should (at > least when called from a program) fetch exactly what it's being asked to > fetch, and not do a DWIM analysis. That should be up to the callers. It was meant only for interactive use. Maybe that wasnt obvious. -- Joakim Verona