From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Barzilay Newsgroups: gmane.emacs.bugs Subject: bug#19884: 24.3; Unimplemented `url-handler' functions Date: Tue, 17 Feb 2015 00:19:12 -0500 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1424150429 18100 80.91.229.3 (17 Feb 2015 05:20:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 17 Feb 2015 05:20:29 +0000 (UTC) To: 19884@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Feb 17 06:20:17 2015 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 1YNaZw-0000uN-Ig for geb-bug-gnu-emacs@m.gmane.org; Tue, 17 Feb 2015 06:20:12 +0100 Original-Received: from localhost ([::1]:43888 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YNaZv-0006JW-Fk for geb-bug-gnu-emacs@m.gmane.org; Tue, 17 Feb 2015 00:20:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39663) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YNaZr-0006Fh-19 for bug-gnu-emacs@gnu.org; Tue, 17 Feb 2015 00:20:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YNaZm-0007qw-Td for bug-gnu-emacs@gnu.org; Tue, 17 Feb 2015 00:20:06 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54549) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YNaZm-0007qn-QR for bug-gnu-emacs@gnu.org; Tue, 17 Feb 2015 00:20:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YNaZm-00062I-BZ for bug-gnu-emacs@gnu.org; Tue, 17 Feb 2015 00:20:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Barzilay Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 17 Feb 2015 05:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 19884 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.142415036923157 (code B ref -1); Tue, 17 Feb 2015 05:20:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 17 Feb 2015 05:19:29 +0000 Original-Received: from localhost ([127.0.0.1]:45789 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YNaZE-00061Q-PW for submit@debbugs.gnu.org; Tue, 17 Feb 2015 00:19:29 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:37865) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YNaZC-00061C-2N for submit@debbugs.gnu.org; Tue, 17 Feb 2015 00:19:27 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YNaZ5-0007gO-KE for submit@debbugs.gnu.org; Tue, 17 Feb 2015 00:19:20 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:59234) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YNaZ5-0007gK-GX for submit@debbugs.gnu.org; Tue, 17 Feb 2015 00:19:19 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39587) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YNaZ4-0005wd-4l for bug-gnu-emacs@gnu.org; Tue, 17 Feb 2015 00:19:19 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YNaZ0-0007fi-T9 for bug-gnu-emacs@gnu.org; Tue, 17 Feb 2015 00:19:18 -0500 Original-Received: from mail-wg0-f49.google.com ([74.125.82.49]:58090) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YNaZ0-0007fV-N9 for bug-gnu-emacs@gnu.org; Tue, 17 Feb 2015 00:19:14 -0500 Original-Received: by mail-wg0-f49.google.com with SMTP id l18so33077895wgh.8 for ; Mon, 16 Feb 2015 21:19:13 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=56NNfxNMZrXqvh3tYxoQK43fVfcDSggRjGCA5Cs0rqo=; b=AkLttWBU+IKbXMeFw0D9lHBlbLZ5svdeFy7YSp3ghhYTsVOvQfvMq/xSv8jPiOn/oa XklOJDlC1vvydLSYkrSJZvTAZEbaUZ2UVr+LBrbwqO1pK4EqX0AufPQuMW0JVm72VJKg YAsIChl2OSr/ERReDHDMMnlR2jHmNcg+9pPJtQS/LYBwG05qOrc9gjb9wAX62RssrTO1 ipSQR7uYOdJCC4UMSdH0BFIh1hbeLcHVHeXV8FtZMaEM7BOYNSgh0usDUdpyv6pmZx0r 5vdklDzBiJ1Xag9Q21QHjXbPKXpfi6f7BOn/hly4LPzZTAnImaF8rSIoMafOQ04jtxhd Q+2Q== X-Gm-Message-State: ALoCoQlZWsaHiWfZi3i8+ehxGxSo+ZEu104+1FQQwCKPz0Uey3zIJx156V+T3PGU2aVUgJPa696C X-Received: by 10.180.97.226 with SMTP id ed2mr19214293wib.4.1424150352999; Mon, 16 Feb 2015 21:19:12 -0800 (PST) Original-Received: by 10.194.192.105 with HTTP; Mon, 16 Feb 2015 21:19:12 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). 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:99487 Archived-At: I'm not sure what the intended use of `url-handler-mode' is, or how to get the `url-dav' thing to work -- but it seems that the only thing that stands in my way of loading a URL in Emacs is these two functions from "url-handlers.el": `url-file-name-completion' and `url-file-name-all-completions', both just throw an "Unimplemented" error. I have redefined them with trivial versions: (defun url-file-name-completion (_url _directory &optional _predicate) t) (defun url-file-name-all-completions (file _directory) (list file)) and with that I can now load remote files via HTTP. This is obviously limited in a way that makes a proper DAV client (with a matching server) better, but I suspect that for most people this is irrelevant, and I don't see any explanation why the error-throwing is needed. (It seems that the url-dav thing has its own functions anyway.) (I'm leaving the following information because of all those things that I'm not sure about, as I said in the beginning.) In GNU Emacs 24.3.1 (i386-mingw-nt6.2.9200) of 2013-03-17 on MARVIN Windowing system distributor `Microsoft Corp.', version 6.2.9200 Configured using: `configure --with-gcc (4.7) --cflags -ID:/devel/emacs/libs/libXpm-3.5.8/include -ID:/devel/emacs/libs/libXpm-3.5.8/src -ID:/devel/emacs/libs/libpng-dev_1.4.3-1/include -ID:/devel/emacs/libs/zlib-dev_1.2.5-2/include -ID:/devel/emacs/libs/giflib-4.1.4-1/include -ID:/devel/emacs/libs/jpeg-6b-4/include -ID:/devel/emacs/libs/tiff-3.8.2-1/include -ID:/devel/emacs/libs/gnutls-3.0.9/include -ID:/devel/emacs/libs/libiconv-1.13.1-1-dev/include -ID:/devel/emacs/libs/libxml2-2.7.8/include/libxml2' Important settings: value of $LANG: ENU locale-coding-system: cp1252 default enable-multibyte-characters: t Major mode: Text Minor modes in effect: desktop-save-mode: t cua-mode: t display-time-mode: t minibuffer-electric-default-mode: t url-handler-mode: t tooltip-mode: t mouse-wheel-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t temp-buffer-resize-mode: t size-indication-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Features: (shadow mailalias vm-reply vm-rfaddons vm-menu vm-window vm-toolbar vm-folder vm-mime vm-undo vm-virtual vm-summary-faces vm-summary vm-mouse vm-page vm-motion vm-minibuf vm-message vm-misc vm-macro vm-autoloads vm-vars vm-version vm emacsbug message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mail-utils misearch multi-isearch view apropos help-mode desktop filladapt scroll-in-place cua-base time edmacro kmacro minibuf-eldef electric paren mic-paren whitespace jka-compr uniquify warnings advice help-fns cl-lib advice-preload cal-x cal-menu easymenu calendar cal-loaddefs netrc url-handlers url-parse auth-source eieio byte-opt bytecomp byte-compile cconv gnus-util mm-util mail-prsvr password-cache url-vars time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp w32-common-fns disp-table w32-win w32-vars tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process w32 multi-tty emacs) -- ((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay: http://barzilay.org/ Maze is Life!