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: Emacs freezes when editing a file with one extremely long line even with so-long-minor-mode enabled. Date: Sat, 7 May 2022 07:45:10 +0800 Message-ID: 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="3735"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat May 07 01:49:09 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 1nn7h6-0000nE-De for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 07 May 2022 01:49:08 +0200 Original-Received: from localhost ([::1]:50848 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nn7h5-0008J6-C5 for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 06 May 2022 19:49:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59300) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nn7db-0005m7-9m for help-gnu-emacs@gnu.org; Fri, 06 May 2022 19:45:35 -0400 Original-Received: from mail-ej1-x62c.google.com ([2a00:1450:4864:20::62c]:34639) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nn7dZ-0005qC-LP for help-gnu-emacs@gnu.org; Fri, 06 May 2022 19:45:31 -0400 Original-Received: by mail-ej1-x62c.google.com with SMTP id g6so17098741ejw.1 for ; Fri, 06 May 2022 16:45:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=AYjtqgIU0HdplInNX5XUefTzwqNARjsyDOkVKoZFA44=; b=j71gnfArBN/S4McCATbq9LohYxk/uP5eWwrxzFh9OfsWoNKOQQR2epegDAflmzwEWB TrqQb2EoAtguVqnGpDlvL6+oXEdTo40aXBwoxfd5Wa7/s/uWvvwTFuzhapQ+MrrBlo/s RFU5PgTXL3Kl9HDbh5tW50YPsR631q7NxCMv38GKHioJXapLfvDkf0f4T0TgF+aZRkSn 3P5qb+ug/7cCn3FTxle1vQjX562dOjQZHIGNbRPOBk+Pt7AXu3+I5Lw8IrEun/lzahQS mTLiS0/0riSF/d7HihKF3wYaXFVMaalESOoVDntMomqYf1IlW2YvYfFdNWIBaygbERD1 zStg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=AYjtqgIU0HdplInNX5XUefTzwqNARjsyDOkVKoZFA44=; b=YSLWvjpaSwQlhUwAYjB7KXdq7ZvVzAc19Jm4y2einazNcz1mhwEe6l4SscYshGhj6n XUrJCTRq0+kjW5hwXUuZYF5dWhK4nfmhXdCI9e/5peURz85beRyMqjkBhi3v4YVzpOva DcIblaUIK914aekCzY1BpdWh092MVA/SAyzCUnjUlFbH5I6mY8K4evu7iR5nKqlK8B/4 yDAXd8AVRigrNlERx55q3WW70IpdivGIeouCejvjRhj/WmSfG2XwwBA7sJlNj21rLy8G jRJX89Pscu2fSrJn2JiQCQKeOcEQUS8KOgO7Zg4kalheWHTrxBCaMQ2zP6ExzNTeDthr UJ9A== X-Gm-Message-State: AOAM531FerlW+oSCWiEwLve57g/5j8y0NQatE2OEtgybsOHVQoyP0zfW b9f5sF29OMDKvtRe9Ml6E2D4Iz9MC4KIvZyfNmgP2iAXBxC/YQ== X-Google-Smtp-Source: ABdhPJwuH9p04du/ZH2XhVIV5/CKYTxJglfKDSjhBiLtKVzPD/z5xZ9//C2tG5UD3ZVsGNX14NWq4SQgk2MAKrHWuPw= X-Received: by 2002:a17:906:99c5:b0:6df:8215:4ccd with SMTP id s5-20020a17090699c500b006df82154ccdmr5312197ejn.684.1651880721314; Fri, 06 May 2022 16:45:21 -0700 (PDT) Received-SPF: pass client-ip=2a00:1450:4864:20::62c; envelope-from=hongyi.zhao@gmail.com; helo=mail-ej1-x62c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham 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:137168 Archived-At: I try to use Emacs to open and check the file [1], which includes one extremely long line as follows: $ emacs -Q symbols.ts `M-x so-long-minor-mode RET` At this moment, Emacs still freezes. Any hints for tackling this problem? [1] https://github.com/feisele/vscode-gap-language-support/blob/master/src/symbols.ts Regards -- Assoc. Prof. Hongsheng Zhao Theory and Simulation of Materials Hebei Vocational University of Technology and Engineering No. 473, Quannan West Street, Xindu District, Xingtai, Hebei province