From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Xah Lee Newsgroups: gmane.emacs.help Subject: Re: emacs changed file's own user and file permission Date: Tue, 11 Dec 2007 21:00:57 -0800 (PST) Organization: http://groups.google.com Message-ID: <7edf135f-cc9c-4c1b-b139-24647af789ae@t1g2000pra.googlegroups.com> References: <4ad823b9-4941-4883-8771-de43d50913de@e25g2000prg.googlegroups.com> <58019103-c718-4f7a-bbc1-962e7aa1cf9b@i12g2000prf.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1197438128 3778 80.91.229.12 (12 Dec 2007 05:42:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 12 Dec 2007 05:42:08 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Dec 12 06:42:19 2007 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 1J2KMM-0002gX-8X for geh-help-gnu-emacs@m.gmane.org; Wed, 12 Dec 2007 06:42:18 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J2KM4-0003VV-GQ for geh-help-gnu-emacs@m.gmane.org; Wed, 12 Dec 2007 00:42:00 -0500 Original-Path: shelby.stanford.edu!headwall.stanford.edu!newsfeed.news2me.com!news.glorb.com!postnews.google.com!t1g2000pra.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 39 Original-NNTP-Posting-Host: 69.236.67.2 Original-X-Trace: posting.google.com 1197435658 5885 127.0.0.1 (12 Dec 2007 05:00:58 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Wed, 12 Dec 2007 05:00:58 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: t1g2000pra.googlegroups.com; posting-host=69.236.67.2; posting-account=qPxGtQkAAADb6PWdLGiWVucht1ZDR6fn User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/523.12 (KHTML, like Gecko) Version/3.0.4 Safari/523.12, gzip(gfe), gzip(gfe) Original-Xref: shelby.stanford.edu gnu.emacs.help:154606 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:50031 Archived-At: Dear Eli Zaretskii moron, Eli wrote: $B!T(BWhat do you think is the limit of a file-name length on your system? $B!U(B Xah wrote: $B!T(B Huh?? What do i think is the limit? Are you trying to say, by a rhetorical question, that what i think so is probably not right? If the average file name char length is n, and your file that emacs going to do the backup is in m levels of dir nesting. Then, the backup file char length is n*m+n. m*n+n is a order of magnitude of n. If n is the max length allowed, you can easily see how the emacs scheme easily go beyond it. In real world, probably 99.99% of people will never use more than 10% of the max length in file names, and probably will never have subdirs that are nested more than, say, 10 levels deep. So this means that 99% of those who uses this emacs backup scheme will prob not encounter the problem of it reaching file name legth limit. It will be a problem for sizable number of programers however (maybe hundreds or thousands, worldwide), since there are a software implementations (say, those uses file system as database) easily will make fully use the file name length and dir nesting limit. $B!U(B Eli replies, the whole of the content in his post: $B!T(BYes. Most modern file systems either have no practical limit at all, or have such a large limit that you will in practice never reach it. $B!U(B Note: this post contains unicode chars U+300A and U+300B as quotation brackets. Google groups may bave botched it. Xah xah@xahlee.org $B-t(B http://xahlee.org/