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: [External] : How to get all paragraphs in list? Date: Fri, 16 Sep 2022 23:17:08 +0700 Message-ID: References: <877d2ehhfe.fsf@dataswamp.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="27034"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Sep 16 18:25:39 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 1oZE9p-0006pn-4S for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 16 Sep 2022 18:25:37 +0200 Original-Received: from localhost ([::1]:49142 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oZE9o-0006R9-28 for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 16 Sep 2022 12:25:36 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47684) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oZE1t-0002PW-2M for help-gnu-emacs@gnu.org; Fri, 16 Sep 2022 12:17:29 -0400 Original-Received: from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d]:41902) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oZE1r-0004rK-LK for help-gnu-emacs@gnu.org; Fri, 16 Sep 2022 12:17:24 -0400 Original-Received: by mail-wr1-x42d.google.com with SMTP id t14so36806578wrx.8 for ; Fri, 16 Sep 2022 09:17:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date; bh=7cvSX3hKTFlHb0zGiwVXimBsBMhDt/EZrLtpSbXI/o8=; b=pSfn1rG0xZGoDwcUp/Okif41QLXGy4CnVUQZ/cy5sN/swBlQUL4ykqOAYCgVzQCpNy BnwYd1G+1Bmy+AiSTExKr2KVMvzO0awC51LWeYaHyB9M5dw2mQ6Axyl992CTg74kNOXR 8CcsN6i6WUOOJuwe3FrhqMUZiO4pJes/vR04gH4J/pYqDAUKNV+BLnMSNq6J30O5zpR1 PEpmnBuLzZYRazxnBsA9y+M+oD6OBpfHcv4/iVzuYBR/XHJSJudF14eyMzFrj6YaL7BP /k4J+2/rkz7coz8lHcDHrdbfOCuMDlDDlYhPlg2hORvtm4Oe+tTGkfl/MN/eMwryHqBt r9iA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date; bh=7cvSX3hKTFlHb0zGiwVXimBsBMhDt/EZrLtpSbXI/o8=; b=MnH2Tyo9O2WkZdArXBTU9yFS2iz5knVt1n6usMqyQyHUG9y3tUUB9wQN58RDgypw+z DYK+rx0B8xgvLEkiKsYVPoiQysnKptnx1x9VRKm6VMnO8n5rLB5SmFad8ymyTcmFAXyL e8vUZ7WSDiUVNMky/JlE7GfWRvwyL2CgUr5SwBCJvMVnbihWmCvqRclCdW8ImJYeWnmU wd/VO/EGqBD0OMFP3bDFjatoPOKU/i5CvbOEdT+8LXQAeR4jfN+XBjwF3uWyCrx65uqF qr/XCkV+RjQKl/pMchBo3BWYv45dDfiVh6npfjiUHZd5uBv0D1vb1BftYuhQ98mGWRoM cIbg== X-Gm-Message-State: ACrzQf3A+LiIHFIGfy5Uwm4mHA+0TmOwOcBqpKbBUbVAKN0QT4TGzvw+ L3iu1ggpGcqZ6oR11Jm6JWCAKQ49t4nSossoz3JHxaa9Uoc= X-Google-Smtp-Source: AMsMyM6L2s2UZWSmhkGD6D92qoOfcLLqLI5CU9nhJ4rppJY2/O0ee88ByONn6JVm2Ab9hjeauBqBWtJcZt2+grYkiwI= X-Received: by 2002:a05:6000:1842:b0:22a:4d1d:4bd6 with SMTP id c2-20020a056000184200b0022a4d1d4bd6mr3383274wri.603.1663345040476; Fri, 16 Sep 2022 09:17:20 -0700 (PDT) In-Reply-To: <877d2ehhfe.fsf@dataswamp.org> Received-SPF: pass client-ip=2a00:1450:4864:20::42d; envelope-from=yurivkhan@gmail.com; helo=mail-wr1-x42d.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.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:139536 Archived-At: On Fri, 16 Sept 2022 at 20:29, Emanuel Berg wrote: > > More to the point[sic], you calculate and cache the END > > position as an integer. So if your FUNCTION reduces the > > length of the buffer text, you may never reach END. > > Should probably place a marker there > > Marker, do we have that? :O > > How does that look/work? Will you forgive me if I say =E2=80=9C(elisp) Markers=E2=80=9D? Basically i= t=E2=80=99s a way to refer to a position in the buffer in a way that remains valid and somewhat sane under buffer text modification.