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: Mon, 9 May 2022 14:48:38 +0800 Message-ID: References: <87k0aw6hne.fsf@web.de> <87a6bsg876.fsf@web.de> <87ilqgk8d8.fsf@web.de> <877d6wk6jn.fsf@web.de> <87h760zlj8.fsf@web.de> <87tua0oc53.fsf@web.de> <87o808oac7.fsf@web.de> <878rrbjoi9.fsf@web.de> 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="19457"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs To: Michael Heerdegen Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon May 09 08:50:24 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 1nnxDr-0004tC-O0 for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 09 May 2022 08:50:23 +0200 Original-Received: from localhost ([::1]:33092 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nnxDq-0007xa-9W for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 09 May 2022 02:50:22 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53576) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nnxCP-0007wK-W0 for help-gnu-emacs@gnu.org; Mon, 09 May 2022 02:48:56 -0400 Original-Received: from mail-ed1-x536.google.com ([2a00:1450:4864:20::536]:42936) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nnxCO-0002jp-3o for help-gnu-emacs@gnu.org; Mon, 09 May 2022 02:48:53 -0400 Original-Received: by mail-ed1-x536.google.com with SMTP id z19so15087071edx.9 for ; Sun, 08 May 2022 23:48:51 -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=LYYWTWoiUHMLgZ354P4viiIAwgyImZ4yLHOo0K1OrAk=; b=SPbh/LhrGjukvDIzHHeOPalqnVBXF3SsnnpBnpEu35gW5fj2F4QH9kaurDp4TMJDoW qoDtt8qkKHir5k7fE8UkvmkBCb8LW3kLYrsBQ016pi4LCCN3s/qRFkD1a1y1AdEziCST YV44NOIVikGzc5K5aoLqU67PHZ0eRskzK/G04vC0cMtTomiu2U/AQijRr4+weDCpVOD9 xcGJR4/GkfiTnQj2Jk+lsmjYmYnYEA5HkPjyCWETDHjgJ+50vy4hSKEqI1Ia3ALsvOPh hPZAJnaizLTzQCt4KCaZa14Cl3wacpOrMFG8aQGuZ3ucPnlpmnOQKFjkn1H8w7FYKWqg Oo7A== 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=LYYWTWoiUHMLgZ354P4viiIAwgyImZ4yLHOo0K1OrAk=; b=gj7zmwUDcXbBB3ICKnq9HU7sJDKnDdI6yZFPEA+jEZddIZ16RbFpM95bKW+5SUnPCR NhEXsI8OJHH5K40P5beh+cdkywkOIrOj2uXPcMiHh0xXM2XoXcgvyg4LHzSd0mD4rIxu s4SodxL8reWDH2HZVg2JORPDenxY0meOdMi0Myq25mr+hX7i5WUnTu7NF9Wxn2OBBf7P DWd3rCNboJl4QdAFNEuxn9xxs4oNHstp9tLHQUr2RUDa4ymdaFkM1f13ZJ0lYs9D5R4C mPnDSIFVYLLzJFtjpJjsYQrkKvMuIhehY/QHNY8Rej0Dh5wCYEj7gwimDfYpU8PHxQiF Cvqg== X-Gm-Message-State: AOAM5335+minMnR4xm93osfsH3yvx5BXfP03uKb4I1jx6t2BmSm2/V58 F5fackpYboj3PYs/ZDaTpaarE1O05gMdwUfxinc= X-Google-Smtp-Source: ABdhPJzruJcJGacKA0M3k+Tk+A5rFnHmf2Z2tkl3eGoV4rCv55a93XJSKGrZaZaB2Kk3RmdRo8UM78iGV/dpMEZgJYg= X-Received: by 2002:aa7:da12:0:b0:427:b434:a374 with SMTP id r18-20020aa7da12000000b00427b434a374mr15437934eds.408.1652078930523; Sun, 08 May 2022 23:48:50 -0700 (PDT) In-Reply-To: <878rrbjoi9.fsf@web.de> Received-SPF: pass client-ip=2a00:1450:4864:20::536; envelope-from=hongyi.zhao@gmail.com; helo=mail-ed1-x536.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:137205 Archived-At: On Mon, May 9, 2022 at 12:53 PM Michael Heerdegen wrote: > > Hongyi Zhao writes: > > > But I'm currently using the following configuration in my > > `~/.emacs.d/init.el`, I wonder how to merge your above tricks into > > them, as shown below: [...] > > I've only limited experience with this stuff. According to the suggestion given by the author of so-long package, I changed to the following configuration now: (use-package so-long :config (setq-default so-long-action 'longlines-mode) (setq-default longlines-show-hard-newlines t) (global-so-long-mode +1) ) See here [1] for the related discussion some time ago on the list. > What questions do you have specifically? Not at the moment. [1] https://lists.gnu.org/archive/html/help-gnu-emacs/2022-03/msg00511.html > Michael. HZ