From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id qM5EAzybFWPpYwEAbAwnHQ (envelope-from ) for ; Mon, 05 Sep 2022 08:46:20 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id cPEdAzybFWP9bgAA9RJhRA (envelope-from ) for ; Mon, 05 Sep 2022 08:46:20 +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 C1C89DB75 for ; Mon, 5 Sep 2022 08:46:19 +0200 (CEST) Received: from localhost ([::1]:52810 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oV5sA-0000Dk-U1 for larch@yhetil.org; Mon, 05 Sep 2022 02:46:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53290) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oV5qb-0000Dc-Gm for emacs-orgmode@gnu.org; Mon, 05 Sep 2022 02:44:41 -0400 Received: from mail-pl1-x62c.google.com ([2607:f8b0:4864:20::62c]:37830) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oV5qZ-0005sU-Fl for emacs-orgmode@gnu.org; Mon, 05 Sep 2022 02:44:41 -0400 Received: by mail-pl1-x62c.google.com with SMTP id m2so7653817pls.4 for ; Sun, 04 Sep 2022 23:44:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date; bh=5xDo5g9Z1uyz+q/ZKBbzC1nwQBZB0EOFdhpkQce2ltE=; b=nmUBUMjFw637dSSASW8PX/P6tipedLgIR4bTlthNAcC0dDJdm1m7MwLcgBO9l1IFxn D08MzHTeRa11M13PD5h5d1nvazZmjtcPRjAJcIEiyOXAgy3TwWqwk0hrfA5Y9I1j1SFH 3wVWox3SIdUZJ888+nzk8pJpnJet8RA3Smel54eL8QKdZBC7cOdKVYA1Vj7ksiJkRHRE krmeww8iODRBgxAnxVhqmUtd4n62OZZ5tYjFIO8OypsiFLZI8s8Z+tA0sgLIXE6/ycSH /mhkx0Q+CwWouaQ4rxdi/HCOW6fGUuMidhx4uvtWnyYA68wJ6fg2mk6EdjwpnBNn3eKn TrTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date; bh=5xDo5g9Z1uyz+q/ZKBbzC1nwQBZB0EOFdhpkQce2ltE=; b=dX8y2uBmbt5TCFfud69mWlHIeYoX48lohVz0Z4RqtEKxlKp81Co7Htm+Gw2FruWnlA PBXpbD7DnmlgvU2LgNe+Et9JB1Jfbag8Q8vRgmyObPPrsEYMCfZVitaI+xoc0rjH1FIx IBop+MLnMdAdIydLlPrx4AySwYiGWt87c/uKdJWeXRVG+v+uoPL1/yrfgRYeJSSUV7vJ X1iXWHN1haqlHH0vfU3Jvc9PyqM6H6H2Toj3+w9mM+RqDfBPuQb7F9fXxSWIY1ZPBEn8 FgJVcxPNfB9HUFBJPngY+W/2cu5Ams3DGzy4Ha1OLTivVW3P3CvPhsQxout6kRP1zpAp GEDQ== X-Gm-Message-State: ACgBeo0wq5LU5pYM9VZIkY9gEuF5SgcprIr2InMIOm8UBtMnTkl4VNOP z/RHxZ4DTUlvkqzQd9KnnP4= X-Google-Smtp-Source: AA6agR566A7ZK022tGtjEPnhGzRj1eCstPOA71oob+ORXE/W8BW9kzFIhHsF3akBMocTPDxKzUxQ0g== X-Received: by 2002:a17:902:b109:b0:174:fd03:8c3e with SMTP id q9-20020a170902b10900b00174fd038c3emr31902596plr.23.1662360277978; Sun, 04 Sep 2022 23:44:37 -0700 (PDT) Received: from localhost ([2409:8a70:2b2:5800:8ec6:81ff:fe70:339d]) by smtp.gmail.com with ESMTPSA id l15-20020a170903244f00b00172f4835f65sm6576933pls.271.2022.09.04.23.44.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Sep 2022 23:44:37 -0700 (PDT) From: Ihor Radchenko To: Ypo Cc: Org-mode Subject: Re: Help mastering indentation In-Reply-To: <0b8626fe-cfe8-e2e0-0bf8-330e8274c3a8@gmail.com> References: <0b8626fe-cfe8-e2e0-0bf8-330e8274c3a8@gmail.com> Date: Mon, 05 Sep 2022 14:45:29 +0800 Message-ID: <87zgfewc8m.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::62c; envelope-from=yantar92@gmail.com; helo=mail-pl1-x62c.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: 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: , 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=1662360379; 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=5xDo5g9Z1uyz+q/ZKBbzC1nwQBZB0EOFdhpkQce2ltE=; b=u1mI4qYsrksc4CfputZUIqJBAiugacTo/7IH+W35hW6MXMc1GyTHfQPstHUXjFNqn2ju3b EE8yhzKaopzRjvh/zQfP1inqdufokoTHM4nwLNWqAfPxmlIKhylbYIlHgWSFTo/zgxW808 /yK7hu9caI6Vl01coucBF7GHruMHOnU6SrL+flwI4/G/X4VOWw5HvDtrOoCr1O3qCtOYJu iH56Bom+kvH/j/b3/c919VMSZX/7uPxYzjtIUBj8f7F3hG8tsDibr7wS2bn2gZ6xDdOS+e 8IiMYLiWVlY7N+rU6xDFkaMNeTUYOC1MX9J9oStz9G4zgqL3i+oqmv7t139UCA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1662360379; a=rsa-sha256; cv=none; b=Yag1XzNz0OitmS6bC/rrY8+rmbD4EaRQL5bsDsq/ClAPxeQJCTnE3xpUWw7P776s7tXWnA lFQE+pP+dfjprwcXIu6FDM6oCR80l4i8t9X+IMWtp78iGOdcIEzcb68u0x7IisJKYQJDe4 VRCJdm0G7zoKbSnae+/AxvIpfyYwc2HJj8tE+/wINQOkzKpp+yQz2B9KRMHEQlg+CPDahS nljKRstzOaaMjqH+uCijkD8zRgkA6SPYA/128gBFtXNwxboJ7du1rLyoBXSbfmw23B9yMw ApSRzkyqmqb037REoWkBqz1QCVDp1FA5fQyt8cT5oKaKOvhYCpySLQfZwyE09g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=nmUBUMjF; 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.28 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=nmUBUMjF; 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: C1C89DB75 X-Spam-Score: -3.28 X-Migadu-Scanner: scn1.migadu.com X-TUID: p73pniS3MiAc Ypo writes: > But when it comes to displaying each paragraph, I perceive it like very > difficult: filling, unfilling, wrapping, adaptive wrapping, indent... > and it seems that emacs and org-mode have their own functions. Well. This is what we usually have in Emacs. Multiple approaches to the same or similar problem. Choose what you prefer. > Is there a way to mastering paragraphs displaying? The basics are described in 8.8 Continuation Lines section of Emacs manual and the links from that section. > What I would like to achieve is to display unfilled paragraphs in > org-mode, with the first line indented, and hyphenation at the end of > the lines. Could this be done just using the functions in emacs? 1. First line indentation: Check out adaptive-wrap package and its adaptive-wrap-extra-indent customization. 2. Hypenation: You can check line wrapping/truncation in the Emacs manual. If you do not have word-wrap set to non-nil (it is not, by default), the words will be wrapped in the middle. The indicator at the boundary is usually not hyphen, but can be customized via fringe-indicator-alist. Hope it helps. -- Ihor Radchenko, Org mode contributor, Learn more about Org mode at https://orgmode.org/. Support Org development at https://liberapay.com/org-mode, or support my work at https://liberapay.com/yantar92