From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Hongyi Zhao Newsgroups: gmane.emacs.help Subject: Re: Edit huge files in Emacs. Date: Sun, 27 Mar 2022 09:51:55 +0800 Message-ID: References: <83y20wai4n.fsf@gnu.org> <83wnggagfx.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35434"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs To: Eli Zaretskii Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Mar 27 03:52:36 2022 Return-path: Envelope-to: geh-help-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 1nYI55-000938-9r for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 27 Mar 2022 03:52:35 +0200 Original-Received: from localhost ([::1]:51258 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nYI53-0000jH-Vq for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 26 Mar 2022 21:52:34 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:57374) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nYI4f-0000if-Vi for help-gnu-emacs@gnu.org; Sat, 26 Mar 2022 21:52:10 -0400 Original-Received: from [2607:f8b0:4864:20::a32] (port=37826 helo=mail-vk1-xa32.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nYI4e-0000wj-D6; Sat, 26 Mar 2022 21:52:09 -0400 Original-Received: by mail-vk1-xa32.google.com with SMTP id q85so6206753vkq.4; Sat, 26 Mar 2022 18:52:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=RdPjuX7b3rXHJd4lHYEcmcA1nc4mKJSG+xSovp/LIeg=; b=GXOjw4J5VX6SNv1eZpuYlGOXLWKZFQykPp3Hs6Q48Fc7EgfCZYojca0lbNNcN9UfRk QnWy55XwxEz+l+PyFgSjLqOVJDjTSv6f/MpIljlXRRw2fJyZRKIAT1bbWvmF9Qbir76B GXLJMBFt5EYGUBz7fWYz/T2lFJNpGCOO42rPMdMPBPrSGdBA+BwyshjcscGV97PS6oyM JYO85CJXRbT4xmY6uit4RRm5hQVFXSPAruMd28o1AEAUeZy/st6PVq3si3a1Px/iu+gv gfL1TkW/a2lWr05MQBE0xytcxDWRzfcDpQeB9gRaxsW9chdfNh7MGa+MhFfNsUqxBSyl dScw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=RdPjuX7b3rXHJd4lHYEcmcA1nc4mKJSG+xSovp/LIeg=; b=R3jUzs1IvjHTbSXTZNzWok82rJi2GT5lrlidiQ6VXOT417WkyWxfqSVR8uz6tGMuD7 Z9ftBVQbjt9sxVu7knPMuxg3yis4Y6t4J14nJUwQljRYl4MwWi6o3LKH4ZH8thinoFZZ CGO1pCFb4Av9K1/mlfGU8nt02+qEbpA3hPXhMNzJ1xxBPUzBQKQqL14xBsnzQDRStXw5 VO8I/6ruM+10Dx5y19q+r77OUh1su+5gm8SUX4WPN6pymenw6PmocZ23LvJRUx0l00hA vFXWkXs5683mePbl2QPqOwbr2vVdLn0eSGrU89DDeZj2e91DlMFMDxjxKaSOjl891/K+ A0sA== X-Gm-Message-State: AOAM530QCm/S8pvBulUixJ93X6clwLRDH9J1CLikujg4Urvu0WYiQ8ME 67XF6GU6QaIlpheZKYYQ/R9oCG+qbwggahNHoiKR4aJUsFgDrXvS X-Google-Smtp-Source: ABdhPJwQY++/rlvCOXF3DxeGJyNU0KaizSlRQvmKGmGYQSRKtN3/W5R7i5qoi5o9FplfA4Q2I3/exRnHM0LQ+25fqCk= X-Received: by 2002:a05:6122:134f:b0:343:2729:8b61 with SMTP id f15-20020a056122134f00b0034327298b61mr174042vkp.32.1648345926798; Sat, 26 Mar 2022 18:52:06 -0700 (PDT) In-Reply-To: <83wnggagfx.fsf@gnu.org> X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::a32 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::a32; envelope-from=hongyi.zhao@gmail.com; helo=mail-vk1-xa32.google.com X-Spam_score_int: 6 X-Spam_score: 0.6 X-Spam_bar: / X-Spam_report: (0.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URI_DOTEDU=1.246 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:136782 Archived-At: On Sat, Mar 26, 2022 at 11:21 PM Eli Zaretskii wrote: > > > From: Hongyi Zhao > > Date: Sat, 26 Mar 2022 22:56:31 +0800 > > Cc: help-gnu-emacs > > > > I tried to visit it in "emacs -Q". When I drag the scroll bar, Emacs > > stops responding. As shown in the attachment. > > That's a different file, not the one you originally pointed to. Strange, in this discussion, I always point to the same file [1] which is extracted from DASG-Machine-Readable.zip [2]. > This one has some very long lines, which is known to slow down > redisplay in Emacs so my advice is to enable the so-long-minor-mode > after visiting it. Good. That solves the problem. [1] https://github.com/hongyi-zhao/temp/blob/master/emacs/DASGMachineReadable.txt [2] https://sites.psu.edu/gopalan/wp-content/uploads/sites/2996/2013/02/DASG-Machine-Readable.zip Regards, HZ