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: Run `fill-paragraph' on all the paragraphs in the currently opened LaTeX document. Date: Mon, 18 Oct 2021 12:50:27 +0800 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="11758"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs To: Yuri Khan Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Oct 18 06:53:36 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 1mcKeW-0002up-Ew for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 18 Oct 2021 06:53:36 +0200 Original-Received: from localhost ([::1]:41598 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mcKeV-0007nV-3V for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 18 Oct 2021 00:53:35 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51276) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mcKbm-0007l7-Le for help-gnu-emacs@gnu.org; Mon, 18 Oct 2021 00:50:54 -0400 Original-Received: from mail-ua1-x934.google.com ([2607:f8b0:4864:20::934]:33352) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mcKbh-00039e-QO for help-gnu-emacs@gnu.org; Mon, 18 Oct 2021 00:50:45 -0400 Original-Received: by mail-ua1-x934.google.com with SMTP id i15so2699311uap.0 for ; Sun, 17 Oct 2021 21:50:38 -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=WCz5EPRWuPKd6P5liOjRFHIhiLQQbwFvUA10YTsoy1Y=; b=D6KJhON1Zc7uD3jvuW2K91PkoEAYeicMQ8T37kMzekUNjMTR3HzJKFMGFVDOeD0yY6 O6tu7zXbSOVnTevoba6oqZd86WQPw8kU1j/SrngNQVzAYlrW3u4k0Q4oPGl5ho52GQQg +00eNYUCqQPmOCAeqTD0/vZ433/AONq86YplKX2+lQUG3cwikkHQx6ALwVpJluk8umgF b41D4jbqGOoU1rHsjy+xfHVEtXScN/M5SeyW04wekGQTlJCBlrmlWKcgDRV44MWvQKTp jjIvDMKBRIXXiypqH9L5ER7o//WlMMoBG/JSUbPR56llPCJ77G8V9xWfDA+jAnrs0jJz 1L1Q== 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=WCz5EPRWuPKd6P5liOjRFHIhiLQQbwFvUA10YTsoy1Y=; b=WuxzRhGNToa66HAjlJMMeF801SVS1+hlLvCWQS/PZ2uQDUaZhzbXbOvt5xs4fEUpGr spoy6MhLS4XilIyhX0sDCLcdXSPvN1qvxt8B0Mpw12C7a7FFF8ONJWa4fuHS5j7/REUn al9adkMeHtxofP0qtx4S1GbfTUgSZUOKFj6uy1goq0GdmFK2nCwVVPzWuT0g3K9pgnXO GLhLiLct4Ts2qe6Oe7Y2IMV4j42TobnKkrpYtGcqIv7QJg8nJvHaXRqP11MTXwbGlOqR 2w/OdoxopNNZ4OxMDsaMG7q7kvESxqkd3UlRt+71IsCQ1PYCzTrdMl0Z/F4qUBqGpDwc DzSw== X-Gm-Message-State: AOAM530vSiGL7psUyCAi8VkeZbw5vyEI1/Gp3Ly8ZbW0qLQ8wKZIyctd 6dtevoGFvxTC901oxZ54R8i2A1wg6csubGsUvdg= X-Google-Smtp-Source: ABdhPJyS8mLYD4oFmkOSMlX2xzWukKKLclooOWjHqC1jcS5UbrrFDsIXgK4sTHTTlI8uvLfINbx3PmqlIesHFlLjGVk= X-Received: by 2002:ab0:1623:: with SMTP id k32mr23419131uae.71.1634532638283; Sun, 17 Oct 2021 21:50:38 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::934; envelope-from=hongyi.zhao@gmail.com; helo=mail-ua1-x934.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: 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:133851 Archived-At: On Mon, Oct 18, 2021 at 12:43 PM Yuri Khan wrote: > > 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. I have a LaTeX source file provided by someone else which crams everything into a line as a paragraph. So, I filed this topic here. > (This mail uses semantic line breaks, > as a demonstration.)