emacs-orgmode@gnu.org archives
 help / color / mirror / code / 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	[thread overview]
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 ` patch to change org-adapt-indentation customization documentation 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://www.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
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).