From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Split `simple.el'? Date: Thu, 05 Apr 2018 20:51:05 +0300 Message-ID: <83vad51r06.fsf@gnu.org> References: <5f1e960c-483f-4902-b4c2-b7a4ca3b04f4@default> <10c96362-297f-db97-d4a9-da3d66d4dd34@cs.ucla.edu> <83in974gwf.fsf@gnu.org> <83zi2j2hp4.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1522950591 8007 195.159.176.226 (5 Apr 2018 17:49:51 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 5 Apr 2018 17:49:51 +0000 (UTC) Cc: eggert@cs.ucla.edu, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Apr 05 19:49:45 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f4914-0001sh-8D for ged-emacs-devel@m.gmane.org; Thu, 05 Apr 2018 19:49:42 +0200 Original-Received: from localhost ([::1]:44860 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f4939-0007l7-SA for ged-emacs-devel@m.gmane.org; Thu, 05 Apr 2018 13:51:51 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40042) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f492G-0007jk-MC for emacs-devel@gnu.org; Thu, 05 Apr 2018 13:50:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f492C-00006P-LX for emacs-devel@gnu.org; Thu, 05 Apr 2018 13:50:56 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:43819) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f492C-00006H-HQ; Thu, 05 Apr 2018 13:50:52 -0400 Original-Received: from [176.228.60.248] (port=3587 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1f492B-0000qd-UE; Thu, 05 Apr 2018 13:50:52 -0400 In-reply-to: (message from Drew Adams on Thu, 5 Apr 2018 10:25:27 -0700 (PDT)) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:224369 Archived-At: > Date: Thu, 5 Apr 2018 10:25:27 -0700 (PDT) > From: Drew Adams > Cc: eggert@cs.ucla.edu, emacs-devel@gnu.org > > I understand the problem now, I think. With my setup I > automatically fit frames with buffers to their text. > This happens after the buffer is visited (and thus > displayed). You mean, before it is displayed, right? > The frame-fitting code moves point through the buffer, > at eol (`end-of-line'), within a `save-excursion', to > get the longest line length. That movement presumably > means that fonts are looked for to render the chars in > each line. That must slow down visiting very large files, even if they don't have special characters in them. Why not just use a wide-enough frame? Your monitor limits the width you could set anyway.