From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Newsgroups: gmane.emacs.bugs Subject: bug#16733: messed up unicode chars in package description Date: Sat, 22 Mar 2014 11:55:27 -0400 Message-ID: References: <7tfvnn7phj.fsf@fencepost.gnu.org> <83zjkm865z.fsf@gnu.org> <838us496xy.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1395503769 18993 80.91.229.3 (22 Mar 2014 15:56:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 22 Mar 2014 15:56:09 +0000 (UTC) Cc: 16733@debbugs.gnu.org To: Juanma Barranquero Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Mar 22 16:56:18 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1WROHS-0004Ot-4w for geb-bug-gnu-emacs@m.gmane.org; Sat, 22 Mar 2014 16:56:18 +0100 Original-Received: from localhost ([::1]:57389 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WROHR-0000Rd-S2 for geb-bug-gnu-emacs@m.gmane.org; Sat, 22 Mar 2014 11:56:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46984) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WROHI-0000Jp-OC for bug-gnu-emacs@gnu.org; Sat, 22 Mar 2014 11:56:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WROHC-0002RE-U3 for bug-gnu-emacs@gnu.org; Sat, 22 Mar 2014 11:56:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:43779) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WROHC-0002RA-Qs for bug-gnu-emacs@gnu.org; Sat, 22 Mar 2014 11:56:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WROHC-0000yx-3T for bug-gnu-emacs@gnu.org; Sat, 22 Mar 2014 11:56:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 22 Mar 2014 15:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16733 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16733-submit@debbugs.gnu.org id=B16733.13955037323725 (code B ref 16733); Sat, 22 Mar 2014 15:56:02 +0000 Original-Received: (at 16733) by debbugs.gnu.org; 22 Mar 2014 15:55:32 +0000 Original-Received: from localhost ([127.0.0.1]:44961 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WROGh-0000y1-Gw for submit@debbugs.gnu.org; Sat, 22 Mar 2014 11:55:31 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:2757) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WROGf-0000xr-0V for 16733@debbugs.gnu.org; Sat, 22 Mar 2014 11:55:30 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av8EABK/CFHAqyMT/2dsb2JhbABEvw4Xc4IeAQEEAUkNIwULCw4mEhQYDSQciAIGwS2RCgOOGIRDA45rhQ+DEw X-IPAS-Result: Av8EABK/CFHAqyMT/2dsb2JhbABEvw4Xc4IeAQEEAUkNIwULCw4mEhQYDSQciAIGwS2RCgOOGIRDA45rhQ+DEw X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="52970130" Original-Received: from 192-171-35-19.cpe.pppoe.ca (HELO pastel.home) ([192.171.35.19]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 22 Mar 2014 11:55:27 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id B30FF600A9; Sat, 22 Mar 2014 11:55:27 -0400 (EDT) In-Reply-To: (Juanma Barranquero's message of "Sat, 22 Mar 2014 15:43:52 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:87176 Archived-At: >> I don't know, but ignoring 404 errors seems like a bug to me. > url-insert-file-contents acts like visiting the URL. If you go to > http://www.gnu.org/nonexistent, the fact that the page does not exist > is an error from your POV. But your web browser receives the error > page just fine and displays it like any other page (the fact that HTTP > returned 404 is metadata for the action). I think for url-insert-file-contents, the intention is to pretend URLs make up a virtual file-system (that's the point of url-handlers.el). >From this point of view http://www.gnu.org/nonexistent is a file that doesn't exist. So url-insert-file-contents should signal an error just like insert-file-contents would. > If the caller wants a different behavior, they should be using other > lower level url functions, not url-insert-file-contents. I think it's the other way around: if the caller really wants to see the particular error page that www.gnu.org decided to return, then he should use a lower level URL function. Similarly, url-insert-file-contents should (and does, IIUC) follow redirections so you get to the the destination of the redirection rather than the redirection page itself. Stefan