[Orgmode] Tag search and "invalid face" error from htmlize-buffer
Hi, I wonder anyone has seen this: After I do a tag search (for TODO items), if I do "htmlize-buffer" on the search result, I will get an "invalid face" error. Since I have quite some customization on my org-mode, I am not quite sure whether this is my problem, or org-mode, or htmlize-buffer's problem. Thank you. Wanrong ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] FR: populate default prompt text for org-time-stamp on an existing time stamp?
On 8Nov2007, at 2:03 PM, Adam Spiers wrote: Another feature request (sorry - I'm beginning to feel quite guilty about the deluge I've rained on Carsten's inbox recently :-) As long as these requests are useful as this one, and as long as you see it as the proposers task and duty to thoroughly test the new feature once it is implemented, keep firing! I am putting this into 5.14 as well. - Carsten If I position the point on an existing timestamp which includes not only the date but also the time, e.g. * <2007-11-27 Tue 19:30-20:30> and then hit 'C-c .', then the popup date chooser nicely puts the point on November 27th in the Calendar buffer. However, the existing time is ignored, which means if I want to tweak the start or end times, I have to retype something like "7pm+1". It would be really nice if the minibuffer prompt was automatically populated with "7:30pm+1" so that for example shifting the whole appointment 30 mins earlier would be a simpler matter of changing a '3' digit to a '0'. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] FR: count headlines at a level in a region
Hello! Would it be possible to add a command that does counts the number of headlines at a particular level in a region or a buffer? By default the command would count all of the headlines in the buffer or the region, depending on the selection. It would also be useful if prefix arguments restricted the count to headlines at a certain level. Given the following structure: * h1 1 ** h2 1 ** h2 2 * h1 2 ** h2 3 I would hope for the following behavior from org-count-headlines-at-level: | buffer status | command | output | |+-+-| | no selection | no prefix arg | 5 headlines | | no selection | prefix arg of 1 | 2 headlines | | no selection | prefix arg of 2 | 3 headlines | | select the "h1 1" tree | no prefix arg | 3 headlines | | select the "h1 1" tree | prefix arg of 1 | 1 headline | | select the "h1 1" tree | prefix arg of 2 | 2 headlines | Thanks for considering it! /au -- Austin Frank http://aufrank.net GPG Public Key (D7398C2F): http://aufrank.net/personal.asc pgpM8sxdYnXhz.pgp Description: PGP signature ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] XHTML export - etc.
Xiao-Yong Jin <[EMAIL PROTECTED]> writes: > "Eddward DeVilla" <[EMAIL PROTECTED]> writes: > >> I feel tempted to bring up my suggestion of [markup|text] format >> again, but I've been resisting because I feel like a develish nag. So >> [*|at-syntax] could still be html specific if you really want >> something html specific, but there would be something that could be >> portable to all export formats. It would just be a matter of deciding >> what 'org' marks should be supported and making sure exporters try to >> support them. And of course there are other ways to get around *at >> syntax*. > > I would vote against heavily mark-up format like that. I > guess the original design of org-mode is to make a simple > text file that can make personal information organization > much simpler in emacs, as opposed to those half-mark-up > languages like emacs-muse. FWIW, I second this. -- Bastien ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] XHTML export - etc.
About escaping characters in LaTeX, here is the rule I'm trying to stick to: 1. If a character is a special character in LaTeX, org-export-latex.el will escape it (so that this character will be correctly displayed in the resulting .dvi.) 2. If you escape such a character in the Org source file, then this character won't be escaped in the LaTeX source file, meaning that you want to refer to the special meaning of this character in LaTeX. I don't use any notion of "Org's special character". As long as this approach handles 99% of the special characters issues, I think it's better not to try to invent any new specific Org syntax or to impose new writing conventions... I will work on the relevant code for that this week, let's see what happen then. Thanks, "Daniel Clemente" <[EMAIL PROTECTED]> writes: >> >Yes > >> >Sometimes the \ means „don't escape", sometimes not. >> >> Are you okay with this: >> >> Org => LaTeX >> >> \~ => ~ >> \% => % >> \# => # >> \{ => { >> \} => } >> \& => & >> \_ => _ >> \^ => ^ >> >> (i.e. preventing special characters from being converted.) > >Mmm... some of those characters /can/ already be written directly > and they won't be interpreted, so you suggest adding a second method > (ex: \# besides # ). Maybe some users find this confusing and prefer > just one way to write each sign. >What do other people think? Should both # and \# write # ? > >But your proposal would convert \ into the generic escaping character. >This is good since then you can always write \% (or with any > character of the list) and you know it will be escaped. >But this is bad because this would only work on the characters you > proposed, not on all. Ex \[ would probably write \[ and not [ > >I would suggest: > 1. Using \# just for signs that are part of org's syntax: _ ^ > 2. Developing a general way to include a literal text without > processing of org's syntax. For instance, the string *word* where both > asterisks should be visible at the exported text (instead of a bold > word). That can be implemented with start-end markers (ex: > some *unprocessed* text) or with a marker before > each sign: (ex: some \*unprocessed\* text). > > 1 and 2 can be combined if \# works with exactly all syntax > elements, that means, all elements which would otherwise change the > meaning and processing of the text. For instance: > \* > \/ > \[ > \] > \# > \| > \= > etc. > Of course, also \\ must be present to write a literal \ > For the signs which are not part of org's syntax, you wouldn't need > to write \ Ex: \( is unnecesary since ( has no meaning in org. > > >Sorry for starting anothed discussion :-) > > > Daniel > -- Bastien ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Tag search and "invalid face" error from htmlize-buffer
Wanrong Lin <[EMAIL PROTECTED]> writes: > After I do a tag search (for TODO items), if I do "htmlize-buffer" on > the search result, I will get an "invalid face" error. Since I have > quite some customization on my org-mode, I am not quite sure whether > this is my problem, or org-mode, or htmlize-buffer's problem. Can you send a backtrace? (setq debug-on-error t) -- Bastien ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] FR: count headlines at a level in a region
Austin Frank <[EMAIL PROTECTED]> writes: > Would it be possible to add a command that does counts the number of > headlines at a particular level in a region or a buffer? May I ask why do you need this? Knowing about the context of use for such a function would help figure out how to write it. If you just need to know the number of headlines occasionnally, then: C-c C-x b will open an indirect buffer M-x occur "^\*+ " will find all headlines But I guess you need to re-use the output of such a function somehow. -- Bastien ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode