emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@gmail.com>
To: Ypo <ypuntot@gmail.com>
Cc: Org-mode <emacs-orgmode@gnu.org>
Subject: Re: Help mastering indentation
Date: Mon, 05 Sep 2022 14:45:29 +0800	[thread overview]
Message-ID: <87zgfewc8m.fsf@localhost> (raw)
In-Reply-To: <0b8626fe-cfe8-e2e0-0bf8-330e8274c3a8@gmail.com>

Ypo <ypuntot@gmail.com> 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


      reply	other threads:[~2022-09-05  6:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-04 16:10 Help mastering indentation Ypo
2022-09-05  6:45 ` Ihor Radchenko [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zgfewc8m.fsf@localhost \
    --to=yantar92@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=ypuntot@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).