From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: dkcombs@panix.com (David Combs) Newsgroups: gmane.emacs.help Subject: (emacs+unix): How to have a file-name containing slashes, angle-brackets, etc? Date: 15 Aug 2008 18:38:44 -0400 Organization: PANIX -- Public Access Networks Corp. Message-ID: NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1218840036 31651 80.91.229.12 (15 Aug 2008 22:40:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 15 Aug 2008 22:40:36 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Aug 16 00:41:27 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KU7z4-0008Rw-Ix for geh-help-gnu-emacs@m.gmane.org; Sat, 16 Aug 2008 00:41:26 +0200 Original-Received: from localhost ([127.0.0.1]:57564 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KU7y7-0008EL-U9 for geh-help-gnu-emacs@m.gmane.org; Fri, 15 Aug 2008 18:40:27 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!panix!panix2.panix.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 59 Original-NNTP-Posting-Host: panix2.panix.com Original-X-Trace: reader1.panix.com 1218839921 11478 166.84.1.2 (15 Aug 2008 22:38:41 GMT) Original-X-Complaints-To: abuse@panix.com Original-NNTP-Posting-Date: Fri, 15 Aug 2008 22:38:41 +0000 (UTC) Original-Xref: news.stanford.edu gnu.emacs.help:161344 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:56691 Archived-At: I'm downloading files of names like: http://www.aaa.com/~john/foo-txt.htm Now, when I do this in a browser (I use lynx (shell-account)) the default name to store it under is foo-txt.htm. Years later, what I'll want to know is exactly where it came from, ie I'd like the filename to depict the entire url. Like this, perhaps? http://www.aaa.com/~john/foo-txt.htm Nope, because regardless of what the computer will make of it, it'll confuse *me* -- not knowing whether those slashes represent dir-separators within *my* computer, or in some far-away (maybe long dead) server. Hmmm. Maybe "---" for "/"? What about ":"? And what about "~"? Plus other chars I've not thought of? Making it even longer, if the *title* of the report in the file is "10 easy editing tips", and I want that reflected in the name too. Like 10-easy-editing-tips---httpwww.aaa.com... (you get the idea). And, whatever we decide on, another question comes up -- how to ENTER that NAME into the computer -- both in emacs (dired) and in, say, tcsh. What, iva C-Q for emacs and ^V in unix. Suggestions? Thanks! David P.S.: Oh, I forgot. tar shouldn't barf on the name.