all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Jens Lange <jens.lange.de@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug: org-emphasis-alist not fully applied [9.1.1 (9.1.1-1-g80cbf9-elpa @ x:/folder/user/.emacs.d/elpa/org-20170918/)]
Date: Fri, 22 Sep 2017 23:38:55 +0200	[thread overview]
Message-ID: <87vaka5s7k.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <CAN9DXH3jw6UUB9awnnJ0F+bjryR3VE5dmg5R+0OaLMNqVo9_Ug@mail.gmail.com> (Jens Lange's message of "Thu, 21 Sep 2017 03:02:00 +0200")

Hello,

Jens Lange <jens.lange.de@gmail.com> writes:

> "If they don't want items added to org-emphasis-alist they shouldn't use
> the repeat customization type which allows insertion and deletion.
> Furthermore, they should add a note about this restriction in the doc
> string of org-emphasis-alist. Maybe, you can give a follow-up in the
> bug-report about that."

Indeed, the customize type needs to be fixed. Patch welcome!

> So I did what he requested. He also provided me with a working solution.
> Even with that said I might ask if you could consider supporting adding new
> emphasis definitions in the future?

I'm not even sure about what you are talking about.

Allowing to extend `org-emphasis-alist' with any marker means there is
not anymore a single Org format. Any one can define its own with fancy
markers. This is not portable.Besides, having syntax you cannot control
is asking for trouble. I'm totally against this idea.

Org already provides 6 emphasis markers, which is enough in my book.

On the other hand, you may be only interested in marking some text with
a special face in a buffer. Both Org and Emacs provide ways to do that
without messing with Org syntax. As pointed out in the thread,
`org-font-lock-set-keywords-hook' is one of them.

Regards,

-- 
Nicolas Goaziou

  reply	other threads:[~2017-09-22 21:39 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-19  4:16 Bug: org-emphasis-alist not fully applied [9.1.1 (9.1.1-1-g80cbf9-elpa @ x:/folder/user/.emacs.d/elpa/org-20170918/)] Jens Lange
2017-09-19  6:02 ` Nicolas Goaziou
2017-09-19 13:35   ` Jens Lange
2017-09-19 19:23     ` Nicolas Goaziou
2017-09-21  1:02       ` Jens Lange
2017-09-22 21:38         ` Nicolas Goaziou [this message]
2017-09-23 11:42           ` Jens Lange
2017-09-24  9:10             ` Nicolas Goaziou

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

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

  git send-email \
    --in-reply-to=87vaka5s7k.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=jens.lange.de@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.