emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <n.goaziou@gmail.com>
To: Philipp Haselwarter <philipp.haselwarter@gmx.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: how to change the headline starter *
Date: Fri, 15 Jul 2011 12:52:29 +0200	[thread overview]
Message-ID: <8739i7ke8i.fsf@gmail.com> (raw)
In-Reply-To: <87liw0ek6b.fsf@nzebook.haselwarter.org> (Philipp Haselwarter's message of "Thu, 14 Jul 2011 21:28:28 +0200")

Hello,

Philipp Haselwarter <philipp.haselwarter@gmx.de> writes:

> Is there any particular reason for it to be hardcoded? Apart from the
> fact that /well it just is this way right now/ I mean.

I don't know the truth here, but I'd guess it is about keeping Org
structure in ASCII. Org is about simplicity and portability (and about
depth and flexibility, but those come after in the motto). Having to
type unicode symbols for such a basic task as creating an headline may
be considered as a failure from this point of view. I'm not even talking
about using some other ASCII character, as it would bring
incompatibilities with existing structures, like lists or comments.

In the same vein, I had thought about offering the user to choose list
bullets among unicode symbols[1] ("-", "+" are not very convenient if
you write mathematics in the item). But I changed my mind:

  - creating an item would require the user to type the unicode symbol,
    which may not always be easily accessible on a keyboard.
    
  - adding subsequent items would imply, for the same reason, the use of
    M-RET, making it difficult to modify the Org file from outside of
    Emacs.

Even if you choose some accessible unicode symbol, it will still be one
order of magnitude harder to reach than "*".


> That'd be useful information for anyone interested in changing it. Then
> you can still just tell them to write a patch if they care that much
> ('cause even in org-mode-land patches don't write themselves just yet)
> [I just had the most awesome idea for a feature request].
> If it's "just" about inheriting from a variable in some 300 places it
> could at least be discussed.

I think some parts of Org code use `outline-regexp', some others use
`org-outline-regexp' and some parts have it hard-coded.

For the sake of consistency, It would certainly be a good idea to
generalize the use of `org-outline-regexp'. But considering that the
actual code for headlines is very stable, and that no one reported an
impossibility to accommodate to stars there, I guess such changes are at
a very low priority.


Footnotes:

[1] I even considered adding unicode overlays on standard bullets in
order to help readability. But:
1. Too much overlays slow down Org drastically,
2. I don't like to have hidden information in my buffers,
3. Once again, I would stray away from simplicity.


Regards,

-- 
Nicolas Goaziou

  reply	other threads:[~2011-07-15 10:52 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1728286333.2576351310650722865.JavaMail.root@zimbra29-e5.priv.proxad.net>
2011-07-14 13:53 ` how to change the headline starter * harven
2011-07-14 15:47   ` Bastien
2011-07-14 17:32     ` harven
2011-07-14 18:01       ` Nick Dokos
2011-07-16  2:05         ` Carsten Dominik
2011-07-16  6:20           ` harven
2011-07-16 10:33             ` Bastien
2011-07-16 10:31           ` Bastien
2011-07-19  5:16             ` Carsten Dominik
2011-07-25 21:33               ` Bastien
2011-07-14 19:10       ` Pieter Praet
2011-07-15 10:21         ` Philipp Haselwarter
2011-07-15 10:40           ` Jambunathan K
2011-07-16 12:59           ` Pieter Praet
2011-07-17  8:08             ` Aankhen
2011-07-17  9:59               ` Christian Moe
2011-07-17 14:53             ` Marcus Klemm
2011-07-17 19:19               ` Bastien
2011-07-17 19:43                 ` Achim Gratz
2011-07-18  8:16                   ` Bastien
2011-08-13 13:46                 ` Matt Lundin
2011-08-13 14:16                   ` Matt Lundin
2011-08-16 16:40                     ` Bastien
2011-07-15 11:30         ` Memnon Anon
2011-07-15 10:49       ` Bastien
2011-07-15 18:19         ` Achim Gratz
2011-07-15 21:04           ` harven
2011-07-15 21:55             ` harven
2011-07-16 11:12             ` Bastien
2011-07-16 11:08           ` Bastien
2011-07-15 11:03       ` Bastien
2011-07-14 19:28     ` Philipp Haselwarter
2011-07-15 10:52       ` Nicolas Goaziou [this message]
2011-07-15 11:30         ` Memnon Anon
2011-07-15 11:51           ` Bastien
2011-07-15 11:50         ` Bastien
2011-07-15 12:08           ` Nicolas Goaziou
2011-07-16 11:22             ` Bastien
2011-07-15 10:56       ` Bastien
2011-07-25 10:12         ` org-icons package (was: how to change the headline starter *) Renzo Been
2011-07-27 15:50           ` org-icons package Bastien
2011-06-11 18:58 how to change the headline starter * harven
2011-06-13 20:32 ` Darlan Cavalcante Moreira
2011-07-02  9:48   ` Bastien

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=8739i7ke8i.fsf@gmail.com \
    --to=n.goaziou@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=philipp.haselwarter@gmx.de \
    /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).