From: Jens Lange <jens.lange.de@gmail.com>
To: Nicolas Goaziou <mail@nicolasgoaziou.fr>
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: Sat, 23 Sep 2017 13:42:03 +0200 [thread overview]
Message-ID: <CAN9DXH2Xwf+9GGcPrpXFeTFUMeCrxUHtyjduDAYG0Z49FpaJ4g@mail.gmail.com> (raw)
In-Reply-To: <87vaka5s7k.fsf@nicolasgoaziou.fr>
[-- Attachment #1: Type: text/plain, Size: 2619 bytes --]
Nicolas,
I understand the dilemma. But then I must ask for a format enhancment.
Before crying out loud please read my argumentation. Why did I create my
own "fancy" markers? Because there is no default way to recreate the
"Textmarker-Experience" - or at least I couldn't find any. All default
emphasis markers recreate what I would call the "Ballpoint-Experience".
This puzzles me because marking text on a piece of paper is one of the most
basic things. Do I have a point here or not?
I just opened my pen-drawer and took out the text-markers. I found (the
typical) neon-yellow, neon-green, neon-pink and neon-blue. How about adding
four markers using something like "org-emphasis-colours-alist" and let the
users be able to define the colours?
Just one final remark: Tobias, the guy on stackexchange who helped me out
here gave me a working solution, so I can live with that but currently I
still think the "Textmarker-Experience" is missing in org-mode and should
be inside it without any user defined functions.
With kind regards,
Jens Lange
2017-09-22 23:38 GMT+02:00 Nicolas Goaziou <mail@nicolasgoaziou.fr>:
> 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
>
--
Mit freundlichen Grüssen / With kind regards:
Jens Lange
[-- Attachment #2: Type: text/html, Size: 3640 bytes --]
next prev parent reply other threads:[~2017-09-23 11:42 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
2017-09-23 11:42 ` Jens Lange [this message]
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
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=CAN9DXH2Xwf+9GGcPrpXFeTFUMeCrxUHtyjduDAYG0Z49FpaJ4g@mail.gmail.com \
--to=jens.lange.de@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=mail@nicolasgoaziou.fr \
/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).