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.help Subject: Re: Run `fill-paragraph' on all the paragraphs in the currently opened LaTeX document. Date: Mon, 18 Oct 2021 11:42:50 +0700 Message-ID: References: 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="11415"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs To: Hongyi Zhao Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Oct 18 06:44:45 2021 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 1mcKVw-0002nz-Mu for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 18 Oct 2021 06:44:44 +0200 Original-Received: from localhost ([::1]:33754 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mcKVv-00026p-5N for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 18 Oct 2021 00:44:43 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49654) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mcKUL-00024J-G6 for help-gnu-emacs@gnu.org; Mon, 18 Oct 2021 00:43:05 -0400 Original-Received: from mail-ua1-x935.google.com ([2607:f8b0:4864:20::935]:44982) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mcKUJ-00055F-6A for help-gnu-emacs@gnu.org; Mon, 18 Oct 2021 00:43:04 -0400 Original-Received: by mail-ua1-x935.google.com with SMTP id r22so919776uat.11 for ; Sun, 17 Oct 2021 21:43:02 -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:content-transfer-encoding; bh=vrOQbeUT3DCU0ChI6x4hNurBp6AemR3CNOn5wEznb9E=; b=BFJCh1zSASVYARDvSs+zxcdDf3+R8UEqduZusCCg6D5qXkrpVc7matdk7sEOpv0KPM AYPk4OffD9ZN0OjWnbkRxHmDB9WEGvf2LgZ3y/FB43zmQoosgdfy2jvCiB9QW5iFFGvM EyFQLMyIccaOmMMZWBZg5IUguIMOmVcet26VwByJ/BWQ6TH0mHMup5KWb5vYJzfB7IDK Vx8PhIwkmwnS01UX0rXySZQWzEWqJ1x16fTpIwuwzU64POkIZlQBtBOE+yvjieFWJEQr rbSA+zHKw8y1uw0CSTH+Jv2bKRb4awgORJV4F8i/21KDGaubkzjzJWxODLjbR7itlfHc WIYA== 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:content-transfer-encoding; bh=vrOQbeUT3DCU0ChI6x4hNurBp6AemR3CNOn5wEznb9E=; b=YgITgU7MlDk0ms6Mb6uWH1uew47GK17L8bx4gsk2oQxqih19qJMU3rctJAk0YxYdGQ kRKCht1FGyrCUrx8xINI48g+QDsdodqng8eaEqDXzOB4horEpYCn/0sW5C73RhZNkXeo 3ufsHsWOp0tMJwM8/1YgxaAZhvnSvSfKFzHiyqFeZ4OWq2j39jK7ai0Y7NHBit6C0TsC /eDYsa8aCKrsACd4yyE3MFb5kkdpn5H/uTehJspeGf4Z/hd6lDJSz/hH5Dk6Nm+yeyxJ GgYpo5GYYMLE+9pmPzXAYeUfJtyuUQdqzDPk+OXeMjBeVZcrvwM5XJBbL4JrOkBAoZwp j6ag== X-Gm-Message-State: AOAM531fHrnwkkjvZG5RcsGI9Bg0UQxRFN0NQ8hNSaOh8Cl7x+DcZvI2 iapHDG8PNybcgkBizLVK8pQZn5Tr/KtXspbj+kk= X-Google-Smtp-Source: ABdhPJxRZv2G8pYdoMUg5X+IL528RVCLcWVpLEya2z5zP3gYIVDf6eL+35KmbXg0FA1didrtkzqAEBmNlIVYJ0Epa1Y= X-Received: by 2002:a67:d714:: with SMTP id p20mr25525676vsj.31.1634532182108; Sun, 17 Oct 2021 21:43:02 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::935; envelope-from=yurivkhan@gmail.com; helo=mail-ua1-x935.google.com X-Spam_score_int: -1 X-Spam_score: -0.2 X-Spam_bar: / X-Spam_report: (-0.2 / 5.0 requ) BAYES_20=-0.001, 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: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 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:133850 Archived-At: On Mon, 18 Oct 2021 at 07:22, Hongyi Zhao wrote: > > Why do you even want that? > > I use SyncTeX to do the forward and backward search, which is based on > linefeed separated line to locate the position in the source LaTeX > document. If a paragraph is arranged in one line, the backward search > will always jump to a very inaccurate location. I=E2=80=99m not suggesting keeping each paragraph as a single long line. What I=E2=80=99m suggesting is dividing paragraphs into sentences and sentences into phrases while keeping each line reasonably short but without trying to cram as much as possible into each line. (This mail uses semantic line breaks, as a demonstration.)