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: Sun, 17 Oct 2021 22:30:00 +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="3448"; 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 Sun Oct 17 17:31:25 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 1mc88B-0000cz-5T for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 17 Oct 2021 17:31:23 +0200 Original-Received: from localhost ([::1]:44992 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mc889-0000FJ-Ge for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 17 Oct 2021 11:31:21 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53934) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mc875-0000Eu-Vq for help-gnu-emacs@gnu.org; Sun, 17 Oct 2021 11:30:17 -0400 Original-Received: from mail-ua1-x933.google.com ([2607:f8b0:4864:20::933]:34363) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mc873-0006nb-62 for help-gnu-emacs@gnu.org; Sun, 17 Oct 2021 11:30:14 -0400 Original-Received: by mail-ua1-x933.google.com with SMTP id h4so1023608uaw.1 for ; Sun, 17 Oct 2021 08:30:12 -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=SVUwlUVHqjgByjUSFDdD5Sd6ocfUZvr4FTQLMSkHybE=; b=Q4syAdgOQqOZeZjvSTbD5HLT7hjLJ8Fzo3BeHSRReIALuSV7uskCyoq5edhq/DzHL5 rK1elu8sO6/XNprK9jwZrVpXpxb+NR6tnrF9gMuvoOMVT47rH961c9Wu9jiMgJnoBkSn fIh4bqWufYRil9NywvByrg07de5+DNw1aw4eojGzHqbPOCuBOTRGu9I0jlYtTRhH0CuK 7JUhPXzeNi2NPLPlA2LUfycfhOuYivDVkxHWRWMw6G/Mc6z0rIYfGABAI6eVtvQpwg2X K/HNe10uIaadN0uO7YnVLyHAxb1k4DVhdGVZsN2Lz5eAaRJaWU4/G88sDtaQCEkJGpPb Axtg== 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=SVUwlUVHqjgByjUSFDdD5Sd6ocfUZvr4FTQLMSkHybE=; b=FQDrw/yMncoUOCwavSuZaTWjul/xP5N+1Oc/bnWezVzxQ0WIcKDuV6eOuYA09MGlXS eCzEbyhLHsXXzIPvNqFwjrAmmXH+1N+tXVq//sN6Mkz2TLd9o2HXo0y+eDj2fpuFUT7Z ODyIu7i/naR3SL1mLqzqbuwOByxlhN94Objs0ZqAUEs5nx+CqA0Xm5ZCV3HyXzMlaPUH R26KBlFrFIO63VMS5eEEBlBa3FElLmbyO6zccaRYUKM7snMRLtG463Qp4xt9rjtXNg/q 08OXsmFKL+OrvRAgX/jyF5ilBY7VIwuACry/o3RP0snlFJ6Omm2LEWQKmE2dTxEJNjbF FhLA== X-Gm-Message-State: AOAM530KJL9oSoht9BO87ZY/0hx4yx+k13PzP0BqpGCIpgpUOh4mwYtQ n7sDm/k9rheuszZkSAU5qypnkDDUq/YFX5Qk2bw= X-Google-Smtp-Source: ABdhPJzRBv8K2o1p6VDS3lGBEdMPj7YkijQxEl849RyDMILI4wmJJLwVzhETorL3ltIkOVAT1mOmF3TEfHRindyzH4E= X-Received: by 2002:ab0:5b03:: with SMTP id u3mr21600326uae.41.1634484611693; Sun, 17 Oct 2021 08:30:11 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::933; envelope-from=yurivkhan@gmail.com; helo=mail-ua1-x933.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:133841 Archived-At: On Sun, 17 Oct 2021 at 12:30, Hongyi Zhao wrote: > The `fill-paragraph' will fill a paragraph at or after the point. But > I want to `fill-paragraph' on all the paragraphs in the currently > opened LaTeX document. Is there a convenient way to do this? Why do you even want that? When you compile, LaTeX will lay out your text by typographic rules. Meanwhile, you=E2=80=99ll have better experience treating your LaTeX source as source code =E2=80=94 keep it in a VCS and format using semantic linefeeds[1]. [1]: https://rhodesmill.org/brandon/2012/one-sentence-per-line/