From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Daniel Fleischer 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: Sat, 07 May 2022 10:05:42 +0300 Message-ID: References: <871qx65ac8.fsf@dataswamp.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35823"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (darwin) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat May 07 09:06:23 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 1nnEWF-0009Ca-HH for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 07 May 2022 09:06:23 +0200 Original-Received: from localhost ([::1]:59554 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nnEWE-00013x-DX for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 07 May 2022 03:06:22 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52880) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nnEVf-00010j-Qk for help-gnu-emacs@gnu.org; Sat, 07 May 2022 03:05:47 -0400 Original-Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]:34430) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nnEVe-0006hD-BF for help-gnu-emacs@gnu.org; Sat, 07 May 2022 03:05:47 -0400 Original-Received: by mail-wm1-x330.google.com with SMTP id i20-20020a05600c355400b0039456976dcaso4506566wmq.1 for ; Sat, 07 May 2022 00:05:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:references:date:in-reply-to:message-id:user-agent :mime-version; bh=7i3xQmn3u6IOYD6uGRJEtw6Xa2moSmDUA1dgrpYhwUE=; b=kuXyf0Do1s3mGL/YQJ55LoGMMtM5iRyhXtfOQWe5zsKGb8VsH03SlbBkOCAy2m/neG 8lxy7uMdMARQQ4V1vPuN/aoL523Li66TVo9vO1bisq+nMzHsT0+NcaYFqBqAwe5VOGOn eis0QranZ9Z/TKQJn//5rwH2IjqSH2HJNWSv7LcqIxMMVLkakaUud8FJEucTzoN9Ly8m +54HjZT+A7QFGfVHc0u+yccWfms0nKnEtsQmH+CgPW3CubBSCY3vztO4yVmtZS1q4KkE ZpRNPTKD/FC6JVNrnrTPNS+D7R9ngR/cFx47aVgtX6DOZxT6frdG80l65B3sIgbdvr27 lUOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=7i3xQmn3u6IOYD6uGRJEtw6Xa2moSmDUA1dgrpYhwUE=; b=bytJDc8Sy5ZlvfShyoFz3oeQRGhqfS9sGJw61U8n6TXyP+3S8vCEYMT42h7LiWqroM uKwIVflWsdeRWy5pRytXWMdMfeW8tGKjcLjIfaTLo0t3D9JMexJd+fIRblUzyn3JGzmC J5A0d6TCes8UI7/IEorLiHqor1Wh6NtVBJdxs/uxwIOpE62EPBNToSydbwtALdET+yOy QKsomAukr/yRqqJe+mrJLdUfSd2kEhRS3RyDAclzVLIyP51nmEiQI3mREizjpOHiYyws H2CWrZgkcDoLRJs+ng8eAOpTwpHpAcpOdN+qbtIWECMfDMw3o7y9E510QMY+zOE9su5h Hcpw== X-Gm-Message-State: AOAM530+zSIDHbXhs8wbNu16uMJOnK/OZYizycdn1ycBMoC13gX8Horz r2NvcrFzKgajrTcrgvQQ3CKE54voFfFYGg== X-Google-Smtp-Source: ABdhPJxWFHHXHHwCU+FIo33pfhmZyDzUIdlRCUmW7eHLvC3iexDTT7V9LVo/vtov6pVTUsAG2dztRQ== X-Received: by 2002:a1c:5459:0:b0:394:1191:a1ff with SMTP id p25-20020a1c5459000000b003941191a1ffmr13317139wmi.96.1651907144615; Sat, 07 May 2022 00:05:44 -0700 (PDT) Original-Received: from Home-Mac ([31.210.177.84]) by smtp.gmail.com with ESMTPSA id bg19-20020a05600c3c9300b003942a244edasm6151402wmb.31.2022.05.07.00.05.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 May 2022 00:05:44 -0700 (PDT) In-Reply-To: <871qx65ac8.fsf@dataswamp.org> (Emanuel Berg's message of "Sat, 07 May 2022 04:45:59 +0200") Received-SPF: pass client-ip=2a00:1450:4864:20::330; envelope-from=danflscr@gmail.com; helo=mail-wm1-x330.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:137172 Archived-At: Emanuel Berg [2022-05-07 Sat 04:45] wrote: > Don't have files "with one extremely long line". > > 1. It doesn't make sense. > > 2. Emacs freezes. One of the cases I deal with is editing JSON files. These usually don't have any styling information because they are text-base serialized objects and so no newlines and can range from a few bytes to hundreds of MB, all in a single line. Sure I can open them and "beautify" them (if they're small) but they are automatically generated and if they require a small edit I never use Emacs for that. So easy said than done. -- Daniel Fleischer