From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Antipov Newsgroups: gmane.emacs.devel Subject: Re: warn-maybe-out-of-memory Date: Fri, 11 Jul 2014 14:34:35 +0400 Message-ID: <53BFBDBB.7070402@yandex.ru> References: <83egxtax97.fsf@gnu.org> <83d2ddaw52.fsf@gnu.org> <53BF6B2F.5030701@yandex.ru> <837g3kbd9g.fsf@gnu.org> <53BFA3BB.6090709@yandex.ru> <8361j4b744.fsf@gnu.org> <53BFB1C3.9020202@yandex.ru> <831ttsb4fh.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1405074909 18166 80.91.229.3 (11 Jul 2014 10:35:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 11 Jul 2014 10:35:09 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 11 12:35:03 2014 Return-path: Envelope-to: ged-emacs-devel@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 1X5YAO-0003U2-O1 for ged-emacs-devel@m.gmane.org; Fri, 11 Jul 2014 12:35:00 +0200 Original-Received: from localhost ([::1]:43836 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X5YAO-0002A5-9k for ged-emacs-devel@m.gmane.org; Fri, 11 Jul 2014 06:35:00 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53665) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X5YAE-00029g-L0 for emacs-devel@gnu.org; Fri, 11 Jul 2014 06:34:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X5YA6-00086i-8b for emacs-devel@gnu.org; Fri, 11 Jul 2014 06:34:50 -0400 Original-Received: from forward10l.mail.yandex.net ([2a02:6b8:0:1819::a]:47418) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X5YA5-00086W-Rg for emacs-devel@gnu.org; Fri, 11 Jul 2014 06:34:42 -0400 Original-Received: from smtp4o.mail.yandex.net (smtp4o.mail.yandex.net [37.140.190.29]) by forward10l.mail.yandex.net (Yandex) with ESMTP id 24FF6BA1EAE; Fri, 11 Jul 2014 14:34:40 +0400 (MSK) Original-Received: from smtp4o.mail.yandex.net (localhost [127.0.0.1]) by smtp4o.mail.yandex.net (Yandex) with ESMTP id B99F0232272B; Fri, 11 Jul 2014 14:34:39 +0400 (MSK) Original-Received: from 67.gprs.mts.ru (67.gprs.mts.ru [213.87.136.67]) by smtp4o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 9HotPsrjZa-YbGG0gPC; Fri, 11 Jul 2014 14:34:38 +0400 (using TLSv1 with cipher AES128-SHA (128/128 bits)) (Client certificate not present) X-Yandex-Uniq: 24f75a7e-56a6-4cc1-bb2c-ef05443ecfef DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1405074879; bh=yjCABmU+yyD2BEQrAGBmxMZvRtZZQhlxxdcEkkAsL2o=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject: References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=N+nTyMrD1kk1gobrlD4HmEKjHqIkJ4K0ft0PbgI+opYuHvc/B4vBHA8QC3m6c9WIw e18oFJR2d0uG7BFAPUT5h0/PFtnc+9W25zY8mI1YeYZoOBLuNj9tdAp0L9/Yc6xjQs RHvK5V942Oma2A252mDBYFzsOIdh7U1tV5gs3+oY= Authentication-Results: smtp4o.mail.yandex.net; dkim=pass header.i=@yandex.ru User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 In-Reply-To: <831ttsb4fh.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a02:6b8:0:1819::a X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:172976 Archived-At: On 07/11/2014 02:00 PM, Eli Zaretskii wrote: > That's a good start. But decoding non-ASCII text could expand the > size by a factor of 2 in many cases, so perhaps 50% is a better > threshold, at least in non-English locales? Maybe. But I don't understand your conviction about a meaningful correlation between locale settings and contents of arbitrary file. Imagine, say, an English <-> Japanese translator; she might set the locale to match her origins but has two working sets of texts in both languages :-). Dmitry