emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Daniel J. Sinder" <djsinder@gmail.com>
To: Carsten Dominik <dominik@science.uva.nl>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: In-buffer bold face in headline levels
Date: Wed, 11 Jul 2007 10:23:44 -0700	[thread overview]
Message-ID: <46951220.6070700@gmail.com> (raw)
In-Reply-To: <4f7272686ac3b2239ca7d4590430b41c@science.uva.nl>

On 07/10/2007 11:54 PM, Carsten Dominik wrote:
> OK, I am giving up on emphasis.  This is really too hard for
> my little brain.  Basically, I don't know how to make this
> work for all the requests I have gotten in the past,
> including
> 
> - allowing stacked fontification, like bold and italic
> - allowing characters that are emphasis markers inside
>   an emphasis, like */usr/lib*
> - allowing white space and newlines in the emphasis
>   like *this is all bold*,
> 
> I guess one could write a complex function to do the matching,
> but with a regular expression - like I am doing it now, I
> don't think I can make it work.

Can't say I blame you.  I know I couldn't do it with a regexp.

> Here is the deal:  If I get at least 5 tutorials full of
> screenshots by the end of the summer, I will give it
> yet another shot :-)
> Until then, we have to live with this issue.

TODO Org-mode tutorial with screenshots
C-c C-d [2007-09-02] <Enter>

*After you get the 5 tutorials*, here's my suggestion:
Have emphasis work for the simplest case (no stacking, no enclosed
markers, no white space, etc.).  For anything more complicated,
require LaTeX style markup (e.g., \textbf{this is all bold}), but
hide the markup when the closing brace is entered (like hiding
square brackets in links).  Would that be more reasonable?

Thanks,
Dan

  reply	other threads:[~2007-07-11 17:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-10 22:45 In-buffer bold face in headline levels Daniel J. Sinder
2007-07-11  6:54 ` Carsten Dominik
2007-07-11 17:23   ` Daniel J. Sinder [this message]
2007-07-12 12:24     ` Carsten Dominik

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=46951220.6070700@gmail.com \
    --to=djsinder@gmail.com \
    --cc=dominik@science.uva.nl \
    --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).