From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.devel Subject: Re: C-o Date: Wed, 3 Jul 2024 23:24:41 +0700 Message-ID: References: <87cynw7omw.fsf@dancol.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16063"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Howard Melman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Jul 03 18:25:58 2024 Return-path: Envelope-to: ged-emacs-devel@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 1sP2nt-0003ta-V2 for ged-emacs-devel@m.gmane-mx.org; Wed, 03 Jul 2024 18:25:57 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sP2mx-00052v-Kq; Wed, 03 Jul 2024 12:24:59 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sP2mw-00052Y-NG for emacs-devel@gnu.org; Wed, 03 Jul 2024 12:24:58 -0400 Original-Received: from mail-vs1-xe2a.google.com ([2607:f8b0:4864:20::e2a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sP2mr-0005vy-Vf for emacs-devel@gnu.org; Wed, 03 Jul 2024 12:24:58 -0400 Original-Received: by mail-vs1-xe2a.google.com with SMTP id ada2fe7eead31-48f3e704576so2195875137.0 for ; Wed, 03 Jul 2024 09:24:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1720023893; x=1720628693; darn=gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=3lRFxXDIaiTrO3KqGG5qiFz+CF3zfD9+I2iIEZ+pF+o=; b=Lepderjq4LN/ZClgLUavhq2+UXJXi17+k3owqOXjnJ0dstWI+0ynJx2x1ekbvvOQNG iTJs/tlF3QF/It4LJlLNvaaXqW1m8Hjj8fvB+AP0PmDD/SoIglMlbyuliEfZo493YydG 115AR+NYdCE/yvdaN64Fx0XllMou3Lv4RCiQo43r19Xug4Fs7h5HGBQkc1fVY1d/kSvO VfKdrUUjhwvI2byurQixL/qZ3JrQDh2NHLckBXOhGW4uMyeqRLQaMc6GzHBHu6hH9YCu k1w57Yjuc7U/aj6SXX8dklOcBVh8v4h5AKV/CVB4of7Zj/um0PEup5GSOAL8eAl7t47P xdMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720023893; x=1720628693; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=3lRFxXDIaiTrO3KqGG5qiFz+CF3zfD9+I2iIEZ+pF+o=; b=jFhkNaCGDx1KOGDS2sRaOfikV417rlV6GPbt8vsTb/7UQiwgwwI/nEE81YZ/q0BjV8 D9NVlC9Bg1/DHABspCC+PNxGLLrJcefzjU06l9zzKK1zBCrVN6kc3UUvzyC02mGJHtjP u+5IBpDaWXkuI2Ynadihl2eLxaCrEFrc4Zd6z/zjIb7iPmeOeATS0U0SAr6lCZx/8IzM 8xBOeMySw4xDLhwF5EBlrztQaKknv3OCV437dqDj0/koRcYgRjyC1O7IfIMT+zREx5I6 AkSyS7uO3lx9Q902FL9cMnGm35JcGmrYBMdrLW5FLwc08XmUST0u6Xux+rSbQ/Kz2r9m gWAQ== X-Gm-Message-State: AOJu0YwxHt5FyFr8HCYM8oZcIs+AH9BhZ1GnT1UMyCUuFeQvxAoW1zxc ZMzFj9LO9qjb6qm7WodH5hXx3PfdzYVbJTjeQXbVWy2azitWE+69CFO+V5SPLu3JGFU0uG6gGbd lIIOlKnhwM9jlwkmECpFHgvPS1W8oSuDJ X-Google-Smtp-Source: AGHT+IHxqzbtAS7TmpT/5MHU2a5E88X2DQSJL7NkMsa7hqSCXDPCg0OmucQ7kCGddJz3tL2SGOTJE/s0FxyB+gYFkc4= X-Received: by 2002:a05:6102:21ba:b0:48f:e078:723d with SMTP id ada2fe7eead31-48fe078730emr1927949137.0.1720023892746; Wed, 03 Jul 2024 09:24:52 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::e2a; envelope-from=yurivkhan@gmail.com; helo=mail-vs1-xe2a.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 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:321267 Archived-At: On Wed, 3 Jul 2024 at 22:25, Howard Melman wrote: > I write prose with soft newlines in > visual-line mode, usually in markdown-mode which can have > some performance problems with font-locking in larger > buffers. If I'm inserting text in the middle of a paragraph > I'll use C-o to make the paragraph smaller first which can > alleviate the performance issue. Since markdown uses blank lines to separate paragraphs, you could use hard newlines within paragraphs and place them at strategic points such as ends of sentences and phrases. This would probably solve performance issues you mention and give you more useful diffs. Your text insertions would also, with high probability, start on line boundaries. This is called =E2=80=9Csemantic line breaks=E2=80=9D[1]. This message is formatted this way. [1]: https://sembr.org/