Org-mode mailing list
 help / color / mirror / Atom feed
From: Greg Minshall <minshall@umich.edu>
To: Org-mode <emacs-orgmode@gnu.org>
Subject: patch to change org-adapt-indentation customization documentation
Date: Tue, 17 Nov 2020 16:22:50 +0300
Message-ID: <831259.1605619370@apollo2.minshall.org> (raw)

for some reason, i was motivated to look at changing
org-adapt-indentation.  i found that the help text talked about values
t, 'headline-data, and nil, but that the customization text didn't
(though, of course, it *set* those values).  the following might make it
clearer.

diff --git a/lisp/org.el b/lisp/org.el
index 2b50f94ee..5bb48c2fd 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -1605,10 +1605,10 @@ level-dependent indentation in a virtual way, i.e. at display
 time in Emacs."
   :group 'org-edit-structure
   :type '(choice
-         (const :tag "Adapt indentation for all lines" t)
-         (const :tag "Adapt indentation for headline data lines"
+         (const :tag "(t) Adapt indentation for all lines" t)
+         (const :tag "('headline-data) Adapt indentation for headline data lines"
                 'headline-data)
-         (const :tag "Do not adapt indentation at all" nil))
+         (const :tag "(nil) Do not adapt indentation at all" nil))
   :safe #'booleanp)

 (defvaralias 'org-special-ctrl-a 'org-special-ctrl-a/e)


             reply	other threads:[~2020-11-17 13:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-17 13:22 Greg Minshall [this message]
2020-11-17 14:08 ` Robert Pluim
2020-11-17 14:20   ` Greg Minshall
2020-11-18  9:49     ` Robert Pluim
2020-11-18 12:13       ` Greg Minshall
2020-11-19  4:05         ` Kyle Meyer

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://orgmode.org

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

  git send-email \
    --in-reply-to=831259.1605619370@apollo2.minshall.org \
    --to=minshall@umich.edu \
    --cc=emacs-orgmode@gnu.org \
    /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

Org-mode mailing list

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://orgmode.org/list/0 list/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 list list/ https://orgmode.org/list \
		emacs-orgmode@gnu.org
	public-inbox-index list

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.yhetil.org/yhetil.emacs.orgmode
	nntp://news.gmane.io/gmane.emacs.orgmode


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git