From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 1GlsJqGcS2I/ZwEAgWs5BA (envelope-from ) for ; Tue, 05 Apr 2022 03:34:25 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id MAPcHaGcS2Lk8gAAG6o9tA (envelope-from ) for ; Tue, 05 Apr 2022 03:34:25 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 08EDC15C0D for ; Tue, 5 Apr 2022 03:34:25 +0200 (CEST) Received: from localhost ([::1]:36672 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nbY5P-0003ST-7k for larch@yhetil.org; Mon, 04 Apr 2022 21:34:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37990) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nbY4v-0003SG-7i for emacs-orgmode@gnu.org; Mon, 04 Apr 2022 21:33:53 -0400 Received: from mail-pf1-x42d.google.com ([2607:f8b0:4864:20::42d]:39693) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nbY4s-0005h1-FG for emacs-orgmode@gnu.org; Mon, 04 Apr 2022 21:33:51 -0400 Received: by mail-pf1-x42d.google.com with SMTP id h24so6340744pfo.6 for ; Mon, 04 Apr 2022 18:33:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=references:user-agent:from:to:cc:subject:date:in-reply-to :message-id:mime-version; bh=O6ZpEVGVsUV7jKcUoX87wcjRhy4yFsAyod74TsMhZbI=; b=ijrfISYzLHOfwXcaaJq4/BbPEa3aXe3hKLyIW4D6/62kjW7tV67KhEHi4qdImip5UI NA9fiHSJ6opcrXnexkWmxGwYVizqI+tB9ioFnVjbcm8c9otoq+j7YF3CBl/Fr3KgWn4f 0By6AQhd7FfPx7WZObSsUA5jTm4o9yVvMKXyGTBvkI7EX+GS8JYJbHySOH9oDN7MymcU EeT+zbgiKrXfv/4jzOLZAaVwkKK1aFVazD4f9MQClex5jpDGiZk9rz4x+ewyI2nbvD/m yQ6JKZv8hbtHynI+hlnRyB/5QLSAJ8CuenHOYuqc2RL0faGdgkqOqADwtE76M7mKQ1MJ yBNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:references:user-agent:from:to:cc:subject:date :in-reply-to:message-id:mime-version; bh=O6ZpEVGVsUV7jKcUoX87wcjRhy4yFsAyod74TsMhZbI=; b=2IRTWwdcCOzdDOdjk8kK9YKA06IoLwgHig+sdOHelGCm/d4cMqE3SF2NZZ0AuxGLG2 Iz+NHorugVcdi9U43EPEUNLlGEKqnOIeeYBtXo7re5TlBTqsQz68nR/oE76wR2lbYKFC 3OX5xhNxhoBDgMFhKMQuUJdU1q97NY5iLOZWW0SpJ3TK6jEXW+A7ve0AjzayDYvO+WEZ ClujLEqAXWVsluMyEUYLroxIK8dspDLuRutX8YHr+oOQh/CjFF5ogTQGE7OwhG/sNLtx URotZHnNc94am1r2aqSV0rtPlhBbTarUH6vaQokSiJ88K5pxQEMHeo/d7LfVNIEEUBhO j/+g== X-Gm-Message-State: AOAM531DDYZUBkktsJgtHlkWa0+RPQueO4vFVEThLrDRNioanNavv5Rh Z31LikzonF6ZsjWGRmtMUd4eCb99gvU= X-Google-Smtp-Source: ABdhPJw1fTjAd65hBT2TH2Ugss3cuP3kYoAJkJo3XV8ISQAAYvz2x4Vve/D70o6bI7vveli6ZKjJVg== X-Received: by 2002:a63:310c:0:b0:386:afa:45bb with SMTP id x12-20020a63310c000000b003860afa45bbmr845181pgx.133.1649122428817; Mon, 04 Apr 2022 18:33:48 -0700 (PDT) Received: from dingbat (220-235-26-154.dyn.iinet.net.au. [220.235.26.154]) by smtp.gmail.com with ESMTPSA id t69-20020a638148000000b0039822f39a40sm10926521pgd.25.2022.04.04.18.33.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Apr 2022 18:33:47 -0700 (PDT) References: <87k0c4q1zp.fsf@gmail.com> <1a4d5c524929fb018d18b875ff5ed28d@posteo.de> User-agent: mu4e 1.7.12; emacs 29.0.50 From: Tim Cross To: c.buhtz@posteo.jp Subject: Re: Multiline list entries / Is auto-fill-mode in org(roam) usual? Date: Tue, 05 Apr 2022 11:02:59 +1000 In-reply-to: <1a4d5c524929fb018d18b875ff5ed28d@posteo.de> Message-ID: <87bkxgpb48.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::42d; envelope-from=theophilusx@gmail.com; helo=mail-pf1-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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1649122465; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=O6ZpEVGVsUV7jKcUoX87wcjRhy4yFsAyod74TsMhZbI=; b=NxNdP+uIMYDMYzuNB9ZvrD2yFgH2zr67t8AbRNERCPL+BCMtEMXwnrR3ApMWYlCT+v4mmK VNMoYxsQBV80DCqQX6Smao2+26SegEHDob4tretCgr3X6PbkxyfGIwYKrm5EYS8h15kh2P Qg3oJZFaflmgbJtU3zdyxh9iYS83ZPuKa9r2VqjOgKMnAtU/n8apAlDjwk8v4flT/NtRYH 4lTq7qzbz2Z5SS6jgp6digJZQuEwHbQRsxK4kMMmgImXy7FsTYOQa17rgb+aJKGogKMCjQ CpXn/5j1ol9zKaoeDj7dMwn6bYZfJ7Ukrcd7c18Zl/HwhDbR4k3jwWzwRPTXfQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1649122465; a=rsa-sha256; cv=none; b=ZZSYPM/vCHp+p50oMwuJHzZrIvQ+qZOavOjx1Qc2idJlCK61in6WKwNrjzoCTLo/HzAgdv 9NU2zvybrk/NychAjzuPWIDSfxIUwap5Bnd8+w+Dl+FHIUBVqhykKCvWJh1+hcNI0o1t47 xwEVfpFcPW7SRfkTjOyMPSEv12F7YE6jT9vYltNl1CKfHtnX8Q/GKDb3h5WrZbDCBf2A4s D9bYYqxzF0zdEj6fHR6YLhAnyKsCvPq7yjC5Q3ve4CAcHxeBAwG6hzCRvKQTBpaMKYOlyo jxLbp3j6cLYvQQdIn4uo79YU2rIOwE1hezI3D90ay0rOEg3D0Pv4pF1Mi4Mzpw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=ijrfISYz; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.08 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=ijrfISYz; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 08EDC15C0D X-Spam-Score: -3.08 X-Migadu-Scanner: scn1.migadu.com X-TUID: 4K+vVdT7j0o+ c.buhtz@posteo.jp writes: > Dear Tim > > Am 04.04.2022 17:49 schrieb Tim Cross: >> What is line-fill-mode? It isn't a 'standard' emacs mode, so must be >> some add-on? > > Sorry this was a "typo". > >> At any rate, I don't see this problem when using standard >> auto-fill-mode. With this mode, when lines wrap (because I've exceeded >> the fill column) or if I use C-q to trigger filling, the wrapped lines >> are indented correctly so that lists are preserved. > > This is not the case with me. > Please see this screenrecording > https://debianforum.de/forum/gallery/image/3641/source > > In the top window you see the relevant lines from my init.el. > In the bottom you see a orgroam capture buffer while I am tiping a > loreipsum line and exceeding the fill column. It is not intended. > > And that is how it looks like in raw org > > :PROPERTIES: > :ID: 7fe439ec-c46d-4da5-902a-3ba40cebb25e > :END: > > #+title: test > #+date: [2022-04-04 Mo 20:04] > > - Lorem ipsum dolro sit amet, consetetur sadipscing elitr, sed diam > nonumy > eirmod tempor invidunt ut > - second item > second line in second item > - > > The first list entry got its newline char automatically via > auto-fill-mode. > The second entry got its newline by myself via pressing RET. I cannot reproduce your issue using a clean Emacs. I suspect this is either something incorrect in your init.el file or something caused by org-roam (which is not part of org-mode). I note from the screenshot you provided that you are explicitly setting auto-fill-function. This is not the standard way to turn on auto-fill-mode and it could break mode specific settings for auto-filling. Instead, you should call auto-fill-mode in the appropriate mode specific hook (as specified in the emacs manual). I would suggest you try reproducing your issue in a clean Emacs e.g. emacs -Q open an org file do M-x auto-fill-mode do M-x org-capture to start a data capture do M-x auto-fill-mode to enable auto-filling in the capture buffer Add list items to the capture buffer, some long, some short and let auto-fill do the filling complete the capture When I do this, the lists are formatted correctly and long lines are wrapped with the correct item indentation. This is with GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.30, cairo version 1.16.0) of 2022-04-05 Org mode version 9.5.2 (release_9.5.2-25-gaf6f12 @ /usr/local/share/emacs/29.0.50/lisp/org/)