From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#45652: so-long mode not triggered despite big file with very long lines Date: Mon, 11 Jan 2021 22:07:20 +0100 Message-ID: <8735z7chdj.fsf@gnus.org> References: <877dosudon.5.fsf@jidanni.org> <87wnwjco89.fsf@gnus.org> <877dojclv5.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14758"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 45652@debbugs.gnu.org, =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson To: Phil Sainty Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jan 11 22:08:10 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kz4Q6-0003hq-KN for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 11 Jan 2021 22:08:10 +0100 Original-Received: from localhost ([::1]:60566 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kz4Q5-0001VS-FE for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 11 Jan 2021 16:08:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46880) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kz4Py-0001Tt-72 for bug-gnu-emacs@gnu.org; Mon, 11 Jan 2021 16:08:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46911) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kz4Px-0006UR-Vb for bug-gnu-emacs@gnu.org; Mon, 11 Jan 2021 16:08:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kz4Px-0005fO-Qm for bug-gnu-emacs@gnu.org; Mon, 11 Jan 2021 16:08:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 11 Jan 2021 21:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45652 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 45652-submit@debbugs.gnu.org id=B45652.161039925721751 (code B ref 45652); Mon, 11 Jan 2021 21:08:01 +0000 Original-Received: (at 45652) by debbugs.gnu.org; 11 Jan 2021 21:07:37 +0000 Original-Received: from localhost ([127.0.0.1]:58457 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kz4PY-0005ei-5j for submit@debbugs.gnu.org; Mon, 11 Jan 2021 16:07:37 -0500 Original-Received: from quimby.gnus.org ([95.216.78.240]:57200) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kz4PV-0005eU-Le for 45652@debbugs.gnu.org; Mon, 11 Jan 2021 16:07:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=bhYQjkC6v+NSYcn2YcMPryZwr4gqqmRbMWNVytHXP28=; b=lKWBVznw1qsf7EApu6C9MHNhAM LyxNO25ijLq40PaqN78yDCuXLy4bPmXV74CR65p/TP4tZ5Y6AvQeqZaEIv7/HWYF+BA0VwSaOJrxl NXpErHhb3WNxmwaz2QY9TCSUug5d6SuUNQwkgmZxmtdgbaVsxByMIgzfZekfDZSBRepo=; Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kz4PK-00034Z-Cs; Mon, 11 Jan 2021 22:07:26 +0100 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAD1BMVEUYERNbTU2HZ2TC vr////8cf1h3AAAAAWJLR0QEj2jZUQAAAAd0SU1FB+UBCxUGFthf/WwAAAFwSURBVDjLnZPRccMw CIZBWQDwAhJeIBb771aQrBgnaR/KnS8Wn0HwQwAYoSISgz9I4L9QGdy4EAlWAX9KdVDwOcCfhr8C Fja39klU9q8AeHP/ES9NON/Nu2mPF2lNKIHN+jwK65YyFruASAIPB/ONILrPwGaoqq5LCOMKM1pf mD1HC+4YTbyDqFXiVOEYYO+jIddJOAL81FbEMTsSuU4p1dZwBES9xYtlNzojbIHTR2VUvmufBFk1 AJKMiKl4dLjArHXvCzBnxYt1PQG5Sjz1CvM5LOCro9cs9gRYHKzNMH2lEpeWhnihiGnTG4BXBJ8d VtGu8AU8xXqaam+s1nmk6noBtCbqsygHuQhac4O764c81OmUQeymxa23ouZkXKhYYE1FlTkLBYk7 UlE43K0FwAzA3b5jHGMFrimiNw0CD3diBo3YN8loP2DpB+ci+pZ4++/gmtj4i2dLn92A19v4G4g+ +J5zga4L1Fuqzyr+Zz9tRUWH+LRwVQAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMS0wMS0xMVQyMTow NjoyMiswMDowMAHEo4MAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjEtMDEtMTFUMjE6MDY6MjIrMDA6 MDBwmRs/AAAAAElFTkSuQmCC X-Now-Playing: Doubting Thomas's _Father Don't Cry_: "audio_08.mp3" In-Reply-To: <877dojclv5.fsf@gnus.org> (Lars Ingebrigtsen's message of "Mon, 11 Jan 2021 20:30:22 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:197755 Archived-At: Lars Ingebrigtsen writes: > I can give writing something like that a shot... It could return, say, > the length of the longest line, and the number of lines? The median > line length would be nice, but would be slower. Mean would be easy, and standard deviation would be possible (but require two passes, I guess?) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no