emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Achim Gratz <Stromeko@nexgo.de>
To: emacs-orgmode@gnu.org
Subject: Re: [ANN] Changes to lists
Date: Wed, 09 Feb 2011 19:33:48 +0100	[thread overview]
Message-ID: <87d3n13vn7.fsf@Rainer.invalid> (raw)
In-Reply-To: 87fws1qfxx.wl%n.goaziou@gmail.com

Nicolas Goaziou <n.goaziou@gmail.com> writes:
> I've pushed a change in that direction. Unchecked boxes do not rely
> anymore on visibility:hidden style property.

Looks OK, but the space should probably be replaced by &nbsp; to avoid
possible tearing of the checkbox.  The regex for matching does not
catch "[-]", which explains why this type of checkbox is not boldened.
I think something like

	      (if (string-match "^[ \t]*\\[\\([X -]\\)\\]" line)
		  (setq line
			(replace-match
			 (if (equal (match-string 1 line) " ")
			     "<b>[&nbsp]</b>"
			   (concat "<b>[" (match-string 1 line) "]</b>")
			 t t line))))

should work, but I don't have enough experience with the string
replacement functions to be sure that it always does.

Meanwhile I've encountered the same questionable construct in the HTML
export of "\\___" (whitespace placeholder).


Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Samples for the Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#BlofeldSamplesExtra

  reply	other threads:[~2011-02-09 18:34 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-23 21:59 [ANN] Changes to lists Nicolas Goaziou
2011-01-24  7:01 ` Nicolas Goaziou
2011-01-24  7:50 ` Carsten Dominik
2011-01-24 16:47   ` Nicolas Goaziou
2011-01-24 18:38     ` Bernt Hansen
2011-01-24 20:09       ` Nicolas Goaziou
2011-02-28 15:27   ` Sébastien Vauban
2011-01-24 18:03 ` Achim Gratz
2011-01-24 18:21   ` Nicolas Goaziou
2011-01-24 19:23     ` Achim Gratz
2011-01-24 20:25       ` Nicolas Goaziou
2011-01-24 21:31 ` Samuel Wales
2011-01-24 21:35   ` Samuel Wales
2011-01-24 22:10   ` Nicolas Goaziou
2011-02-10 22:18   ` Nicolas Goaziou
2011-02-12  0:42     ` Samuel Wales
2011-02-12 11:28       ` Nicolas Goaziou
2011-01-26 15:15 ` Karl Maihofer
2011-01-27 18:37   ` Nicolas Goaziou
2011-01-28  9:41     ` Karl Maihofer
2011-01-28 10:40       ` Karl Maihofer
2011-02-02 17:09         ` Nicolas Goaziou
2011-02-02 17:08       ` Nicolas Goaziou
2011-02-08 11:47         ` Karl Maihofer
2011-02-08 20:09           ` Nicolas Goaziou
2011-01-27 18:59 ` Achim Gratz
2011-01-27 20:39   ` Nicolas Goaziou
2011-01-28 21:28     ` Achim Gratz
2011-01-29 17:26       ` Nicolas Goaziou
2011-01-29 22:04         ` Achim Gratz
2011-02-02 15:48           ` Nicolas Goaziou
2011-02-02 17:32             ` Achim Gratz
2011-01-30 16:19     ` David Maus
2011-02-06 16:35       ` Nicolas Goaziou
2011-02-09 18:33         ` Achim Gratz [this message]
2011-02-09 19:15           ` Nicolas Goaziou
2011-02-09 19:47             ` Achim Gratz
2011-02-09 22:36               ` Nicolas Goaziou
2011-02-10 17:53                 ` Achim Gratz
2011-02-09 18:43   ` Achim Gratz
2011-01-30  0:40 ` Eric S Fraga
2011-01-30  0:44   ` Eric S Fraga
2011-02-02 16:08   ` Nicolas Goaziou
2011-02-02 20:35     ` Eric S Fraga
2011-02-02 22:14     ` Eric S Fraga
2011-02-06 15:34     ` Eric S Fraga
2011-02-06 16:24       ` Nicolas Goaziou
2011-02-06 19:02         ` Eric S Fraga
2011-02-06 19:12           ` 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=87d3n13vn7.fsf@Rainer.invalid \
    --to=stromeko@nexgo.de \
    --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).