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: Emacs freezes when editing a file with one extremely long line even with so-long-minor-mode enabled. Date: Sun, 8 May 2022 13:38:08 +0800 Message-ID: References: <87k0aw6hne.fsf@web.de> <83wnewwpxj.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="29708"; 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 May 08 07:39:30 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 1nnZdh-0007b0-DT for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 08 May 2022 07:39:29 +0200 Original-Received: from localhost ([::1]:41950 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nnZdf-0006zN-TN for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 08 May 2022 01:39:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:32836) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nnZce-0006zA-7S for help-gnu-emacs@gnu.org; Sun, 08 May 2022 01:38:24 -0400 Original-Received: from mail-ej1-x62f.google.com ([2a00:1450:4864:20::62f]:45873) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nnZcc-0001Hj-Jl; Sun, 08 May 2022 01:38:23 -0400 Original-Received: by mail-ej1-x62f.google.com with SMTP id y3so21183579ejo.12; Sat, 07 May 2022 22:38:21 -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=bD0p8DUIGx4VgnnmdtN8ruRm+u3SRlPJVOf3NKU0qC4=; b=ZQMLwdFUpw+3w5OUs3J48sRd8JGmqnz5SevlnXmGINpAulz/LwUKsP26cVj8Eat/dE dOpVgmL/EFpOwCn3yGxWugqbA4lr89jkxUd3NM7ZMPrSQkznz3sDsizSubY2eYpIpTfo jaBhyR2WsF5t7cX1oMt+cCh8v6G8Qe1Gy1t7peEMlp3uzAfstO85k+kjB73FYo//yuKv b7G4oNf41I96yKTkpb06jJT5ka3efs68qEDgE944OR+6ccTCuAcJACmnx21ZVFDbeprr x6Yhw387aejg1xYXnVDUWgvCd9gjv0OQnITREfRqg1lUqqE12guLozftnHkxKB1s+u3E 3uXQ== 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=bD0p8DUIGx4VgnnmdtN8ruRm+u3SRlPJVOf3NKU0qC4=; b=2y8m2Bji1JS5mxKrr3HfNcR0/rd9fufRz4CCTzg7uSdJt2l7vteP+JLkQrED4q7f/o 3Y6ebYEURpxy4lZ1xtJTOyuNmIQJprFZmHTI4oCcbgR+FX9MqCUqe/zw3TCPHypYUIUM k0l9mRslqrbp85I9ick9fVvmumw4JT9xzzvq7bKBh104pUbmwA4scx4YQjAPisRn05Mm UqpKLlLP3fUydCdwt3dkyrwJPlL0rTYD5F10a7kz/6CtGV40R5HRWcGWIcc1r0N2087D HlArr1YD8CCSFXtfDubCSmtlRgqg5a5l6U4Fw5sHkO7Dr0BH808zJx9lKIEAT3yGBB1F yUEQ== X-Gm-Message-State: AOAM532H319MBhHyKUJYaNONVLUHGfY7x2Qdm0zMv/IsKb4R5SyAOTNN FSbbAOyhamWbdz6htdESlNY69rooPARa43NKvTptWgkKBNx0A4WWnVQ= X-Google-Smtp-Source: ABdhPJxM9k4aCv03SNdbfxwodq7swgwbQmrZz3kZoqiU8qOBK4FEwFAqF9a9AlfRpM3tz8HCk4xO0BXJP46YAz4qXm4= X-Received: by 2002:a17:906:cb97:b0:6f3:c671:a337 with SMTP id mf23-20020a170906cb9700b006f3c671a337mr9459010ejb.93.1651988300008; Sat, 07 May 2022 22:38:20 -0700 (PDT) In-Reply-To: <83wnewwpxj.fsf@gnu.org> Received-SPF: pass client-ip=2a00:1450:4864:20::62f; envelope-from=hongyi.zhao@gmail.com; helo=mail-ej1-x62f.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:137195 Archived-At: On Sun, May 8, 2022 at 1:32 PM Eli Zaretskii wrote: > > > From: Hongyi Zhao > > Date: Sun, 8 May 2022 08:10:25 +0800 > > Cc: help-gnu-emacs > > > > > > `M-x so-long-minor-mode RET` > > > > > > > > At this moment, Emacs still freezes. Any hints for tackling this > > > > problem? > > > > > > M-x global-so-long-mode helps. Emacs opens the file in fundamental > > > mode anyway, so maybe `so-long-mode' as major mode is acceptable. > > > > I've already enabled both modes, but the problem remains, as shown in > > the attached file. > > Did you try setting line-move-visual to nil, in addition to the other > measures? > Tried the following, but doesn't work: `M-: (setq line-move-visual nil) RET' `M-x so-long-mode RET'