From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: lisp/url/url-https.el Date: 19 Apr 2004 11:34:57 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <87fzb8cfxq.fsf@lexx.delysid.org> <4nvfk2whna.fsf@lifelogs.com> <87vfk28bl0.fsf-monnier+emacs@gnu.org> <4n1xmpi747.fsf@b2-25-3.bwh.harvard.edu> <4nvfjzazzg.fsf@lifelogs.com> <87smf2sbnq.fsf@emptyhost.emptydomain.de> <87zn98qd15.fsf@emptyhost.emptydomain.de> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1082394545 2220 80.91.224.253 (19 Apr 2004 17:09:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 19 Apr 2004 17:09:05 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon Apr 19 19:08:52 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BFcGK-0005sZ-00 for ; Mon, 19 Apr 2004 19:08:52 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BFcGJ-0007T1-00 for ; Mon, 19 Apr 2004 19:08:51 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BFbzd-0007Tw-HA for emacs-devel@quimby.gnus.org; Mon, 19 Apr 2004 12:51:37 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BFbcC-0000mX-7l for emacs-devel@gnu.org; Mon, 19 Apr 2004 12:27:24 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BFanV-0006ze-PD for emacs-devel@gnu.org; Mon, 19 Apr 2004 11:35:33 -0400 Original-Received: from [132.204.24.67] (helo=mercure.iro.umontreal.ca) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BFanU-0006zD-Tq for emacs-devel@gnu.org; Mon, 19 Apr 2004 11:35:01 -0400 Original-Received: from asado.iro.umontreal.ca (asado.iro.umontreal.ca [132.204.24.84]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id C60AA21181; Mon, 19 Apr 2004 11:34:57 -0400 (EDT) Original-Received: by asado.iro.umontreal.ca (Postfix, from userid 20848) id B22F38B4C3; Mon, 19 Apr 2004 11:34:57 -0400 (EDT) Original-To: Kai Grossjohann In-Reply-To: <87zn98qd15.fsf@emptyhost.emptydomain.de> Original-Lines: 20 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-4.9, requis 5, BAYES_00 -4.90) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:21894 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:21894 >>> So GPG'd files could be called /gpg:/some/file. >> That's the masochistic part. >> Using any other name than the real filename is being masochistic. >> It means you have to implement file-attributes, file-exists-p, .... > Write a single function that parses the filename. Then it looks up > the operation in an alist. If there is a special handler, then call > it, else invoke the "normal" handler on the real filename. Sure, so you need to list all the possible file operations, joy! > Sounds reasonable to me. The only problem is to know which of the > args is the filename we're talking about, but Tramp has a function for > this. Right: using normal filenames (like jka-compr does) saves you from all this trouble. Is that masochism or not? Stefan