From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alessandro Bertulli Newsgroups: gmane.emacs.help Subject: Re: How to get all paragraphs in list? Date: Mon, 05 Sep 2022 11:13:29 +0200 Message-ID: <87pmga2ncu.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6875"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.8.9; emacs 29.0.50 Cc: help-gnu-emacs@gnu.org To: Jean Louis Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Sep 05 11:17:16 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 1oV8EF-0001ZV-Ru for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 05 Sep 2022 11:17:15 +0200 Original-Received: from localhost ([::1]:35588 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oV8EE-0008Vt-IA for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 05 Sep 2022 05:17:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41708) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oV8Cv-0008Va-BH for help-gnu-emacs@gnu.org; Mon, 05 Sep 2022 05:15:53 -0400 Original-Received: from mail-ej1-x632.google.com ([2a00:1450:4864:20::632]:46966) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oV8Ct-0003aq-I6 for help-gnu-emacs@gnu.org; Mon, 05 Sep 2022 05:15:53 -0400 Original-Received: by mail-ej1-x632.google.com with SMTP id bj12so15708286ejb.13 for ; Mon, 05 Sep 2022 02:15:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:in-reply-to:date:subject:cc:to:from :user-agent:references:from:to:cc:subject:date; bh=oebJHBMZeqXnolaefC8enEN10NSVOef66Fq/rO7ZgeI=; b=CT4NCA63TWFnEzWD1h8xDqgwJHg+6WcsDzMhDMpNIX/kns9yLnS1a/ef29FSMZa44M uIpV54vF/l6h9e7gRd7DFCJfkYG6DIpP6plEleuVf6M8x4KYFHDNoT+PzfIKEjmm/Jso 10Zo177Spq9+M7kvpdFbLtvombZJ9Zl6EGPdPuwAskHu/+62YEzWD1ffEbbJc5HSIw7M Hvk9pHF2feC2om3qqoWe5VIap+M+UX0PY9yRT+smyYSLcMMkH4z6kz2sfrkZrvWFaTOg BciyAyIiDG7TcFDnUbW37vmDm3a5T2OQzbe353sgk90EbDCrt3ptwgbPiGw5Z8UmWaaV FqbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:in-reply-to:date:subject:cc:to:from :user-agent:references:x-gm-message-state:from:to:cc:subject:date; bh=oebJHBMZeqXnolaefC8enEN10NSVOef66Fq/rO7ZgeI=; b=4QcRuBhwGNY1+MwX0G1hLMqTJb3qr1mBUsEERz4yC8FtpMY8NtZHHEt9bRgdg13m2/ 31YtNZ28AUgLyuGKi4Giu7Ng5jy8BYobe3REisq5PAcpD8wIQZybn2X5DmlRHve3cw1y 76fYBY8a1RnBti8eKStHps/MZ3/Gmt3gN/L+gs/BMf/WJFbZ0DvdrfQDkor3PwhhcGYW AbAmAE5udz3zJSijrxCWC5mRsWIMkzmChdcFlB+KsmVXh7ORa1IeGPyoswzqHcyChd6B h3VwCItm33BHN67yBMpjbdKzrVyNng56cVvwm6RHSv/jNaVG7vurN6ajRqczEBSpDBq8 bw/Q== X-Gm-Message-State: ACgBeo2gXiA0Q385SPZau6aEbOKQeq4Q1c5V+X9QrsM+8s30iWCnGhcM LpI1A+ubRb4bgMNcINogBgSXvWIbqvU= X-Google-Smtp-Source: AA6agR65OmQO95ycx2ZgBm2eF+C5uE6evPXa7M9fATQhF4rAEjLuTYlAg1idgohFPuZSNNquuN8eAQ== X-Received: by 2002:a17:906:9c82:b0:6df:baa2:9f75 with SMTP id fj2-20020a1709069c8200b006dfbaa29f75mr36408448ejc.762.1662369349911; Mon, 05 Sep 2022 02:15:49 -0700 (PDT) Original-Received: from commodoroII (2-235-154-9.ip228.fastwebnet.it. [2.235.154.9]) by smtp.gmail.com with ESMTPSA id q9-20020aa7da89000000b004480ab43673sm6196153eds.55.2022.09.05.02.15.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Sep 2022 02:15:49 -0700 (PDT) In-reply-to: Received-SPF: pass client-ip=2a00:1450:4864:20::632; envelope-from=alessandro.bertulli96@gmail.com; helo=mail-ej1-x632.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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_ENVFROM_END_DIGIT=0.25, 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:139250 Archived-At: Jean Louis writes: > (defun join-lines () > "Joins lines of a paragraph of 100000 chars." > (interactive) > (let ((old fill-column)) > (setq fill-column 100000) > (fill-paragraph nil) > (setq fill-column old))) Sorry I don't have an answer to your question, but I wondered: would it be better to have fill-column set to its maximum value? Which, as far as I found, is (point-max)? Here is a SE answer I found https://emacs.stackexchange.com/a/8181/29817 Alessandro