Re: [Orgmode] Bug: C-c ' eats last newline of a figure [6.35trans (release_6.35g.72.g2e12)]

2010-04-18 Thread Dan Davison
I've had a quick look at this. A minimal example is #+begin_src ditaa +-- #+end_src The problem seems to be that C-c ' concludes that we're in a table.el table. One solution that came to mind is to move the test for table.el context until after all the other block regexps have been tried. Patch

Re: [Orgmode] Re: Bug: create latex png while export to HTML become very slow [6.35i]

2010-04-18 Thread Nick Dokos
Nick Dokos wrote: > ... > The complete profiling results are attached. I also did an ls -lR to get > some sizes after Lucas's mail above, but I have not looked into that yet > - nevertheless, the sizes are also in the results file. > The results file was incomplete: I forgot to save the file b

Re: [Orgmode] Re: Bug: create latex png while export to HTML become very slow [6.35i]

2010-04-18 Thread Nick Dokos
Lucas Peng wrote: > I wanted to export some files to html, and they contain lots of LaTeX > fragments. > I've done some test on 6.35i and 6.34c. > 6.35i included more packages when converting LaTeX to PNG, and that's a big > issue for me because it is time consuming. > And the result .dvi is much

Re: [Orgmode] suggestions of Android smartphones

2010-04-18 Thread Matthew Jones
Daniel, thanks for this suggestion it's a really good idea, I hope to make some as part of the documentation effort in the near future. I have a Droid and love it and its physical keyboard but I tend to do very simple things via ConnectBot to whatever server I am connected to. 73, Matthew W. Jone

Re: [Orgmode] Using Org for browsing and managing buffers

2010-04-18 Thread Dan Davison
http://github.com/dandavison/org-buffers http://github.com/dandavison/org-buffers/raw/master/org-buffers.el Hi Eric, Eric S Fraga writes: [...] > - I like the fact I can customise RET or, more to the point, that it > be consistent with the rest of org-mode. I personally would set > org-buff

[Orgmode] Re: [Babel] Macro for begin_src?

2010-04-18 Thread Bernt Hansen
Shelagh Manton writes: > On Sun, 18 Apr 2010 11:44:24 +0100, Eric S Fraga wrote: > >> On Sun, 18 Apr 2010 01:01:56 + (UTC), Shelagh Manton >> wrote: >>> >>> On Sat, 17 Apr 2010 08:38:01 -0500, Nathan Neff wrote: >>> >>> You could play around with artist-mode if you use X. It uses the mouse

[Orgmode] Bug: C-c ' eats last newline of a figure [6.35trans (release_6.35g.72.g2e12)]

2010-04-18 Thread Bernt Hansen
With the following file if you use C-c ' to edit the ditta graphic in artist mode and then just exit artist mode with another C-c ' the #+end_src line moves up one line which breaks the block. --8<---cut here---start->8--- * Ditta Test #+begin_src ditaa :file x

[Orgmode] Re: [Babel] Macro for begin_src?

2010-04-18 Thread Shelagh Manton
On Sun, 18 Apr 2010 11:44:24 +0100, Eric S Fraga wrote: > On Sun, 18 Apr 2010 01:01:56 + (UTC), Shelagh Manton > wrote: >> >> On Sat, 17 Apr 2010 08:38:01 -0500, Nathan Neff wrote: >> >> You could play around with artist-mode if you use X. It uses the mouse >> with ascii symbols to create r

[Orgmode] Typo in org-list.el

2010-04-18 Thread Sebastian Rose
diff --git a/lisp/org-list.el b/lisp/org-list.el index 180bc5a..5a893aa 100644 --- a/lisp/org-list.el +++ b/lisp/org-list.el @@ -216,7 +216,7 @@ list, obtained by prompting the user." (< (point) (match-end 0 (defun org-in-item-p () - "It the cursor inside a plain list item. + "Is t

Re: [Orgmode] [patch] Terminating lists by indentation of #+SPECIALS too

2010-04-18 Thread Sebastian Rose
Haaarrrgh --- the first patch in my previous mail does not work for all cases. Hairy stuff Here's what did _not_ work with my previous patch: #+html: *Unsorted Patterns* - a - b - c #+HTML: Somthing inside the last item!!! #+HTML: But this one finally wor

[Orgmode] [patch] Terminating lists by indentation of #+SPECIALS too

2010-04-18 Thread Sebastian Rose
Hello Carsten, there was much discussion about a terminator and I ran into a problem, that made me think we need one. But then I found we had one --- it's just not used on HTML export. Below is a little file I wrote. Thanks to the `- __' items, it results in the XHTML closely to what I wanted i

[Orgmode] [patch] typo: customization group org-plain-list

2010-04-18 Thread Sebastian Rose
Found a typo in lisp/org-list.el. Patch is against branch `remove-compatibility-code' diff --git a/lisp/org-list.el b/lisp/org-list.el index 180bc5a..f45819a 100644 --- a/lisp/org-list.el +++ b/lisp/org-list.el @@ -119,7 +119,7 @@ When a string, it will be used as a regular expression. When

Re: [Orgmode] suggestions of Android smartphones

2010-04-18 Thread Daniel Martins
Thank you very much! BTW what Android smartphone do you have? Daniel 2010/4/18 Sven Bretfeld : > Hi Daniel > > Daniel Martins writes: > >> If I need to access a remote ssh account and open Emacs, the available >> keyborards are OK? > > The standard (soft)keyboard is principally OK if you use Em

[Orgmode] Re: [Babel] Macro for begin_src?

2010-04-18 Thread Eric S Fraga
On Sun, 18 Apr 2010 22:13:27 +0200, Štěpán Němec wrote: > > Dan Davison writes: > > I guess, for Nate's original application (converting existing code to > > src blocks), what might have been most useful is something to enclose a > > given region in a source block. Can anyone show how to do that

Re: [Orgmode] suggestions of Android smartphones

2010-04-18 Thread Sven Bretfeld
Hi Daniel Daniel Martins writes: > If I need to access a remote ssh account and open Emacs, the available > keyborards are OK? The standard (soft)keyboard is principally OK if you use Emacs on a remote machine via ConnectBot, which is a free ssh client available in the market. Pressing the Trac

[Orgmode] Re: Tag Align

2010-04-18 Thread Bernt Hansen
Chao Lu writes: > Dear All, > > I'm struggling for a neat Tag alignment, but haven't got any progress yet, is > there anybody who has > the problem solved? > > All the best, M-x org-align-all-tags -Bernt ___ Emacs-orgmode mailing list Please use `R

[Orgmode] Why does org-html.org refuse to export a table of contents when body-only is t?

2010-04-18 Thread Jan Böcker
Hi all, I'd like to add a table of contents to a HTML export with body-only set to t (to feed into jekyll later), but org-html.el automatically disables the TOC when body-only is given. I have used the attached one-line patch without any problems, the (still XHTML strict compliant) result can be

Re: [Orgmode] Re: [Babel] Macro for begin_src?

2010-04-18 Thread Dan Davison
Eric S Fraga writes: > On Sat, 17 Apr 2010 15:55:51 -1000, "Thomas S. Dye" wrote: >> On Apr 17, 2010, at 6:52 AM, Matt Lundin wrote: >> > 1. The first and simplest option is built into org-mode. Simply type: >> > >> > > Thanks Matt for this. I'd forgotten about the built-in definitions. > Thes

Re: [Orgmode] Re: Support (or not) for Emacs 21, and XEmacs

2010-04-18 Thread Michael Sperber
Hi Carsten, many thanks for your e-mail! (And many thanks for your work on org-mode, which is the best piece of software I've started using for a few years.) Carsten Dominik writes: > However, I have recently more and more the feeling how having to > cater for several Emacs versions is a drag

[Orgmode] And a question about org-html

2010-04-18 Thread Tom Breton (Tehom)
Does the image link building code before the big cond statement do anything that the cond statement doesn't do anyways now? I'm referring to the block that begins with the comment: ;; Make an image out of the description if that is so wanted It builds an image link in a slightly diffe

[Orgmode] Tiny bug in org-html

2010-04-18 Thread Tom Breton (Tehom)
In the course of working with org-html, I noticed that `org-export-as-html-and-open' seems to have a bug. `kill-buffer' needs an argument, a buffer, presumably the buffer that `org-open-file' makes. This code is "protected" by the nil default value of `org-export-kill-product-buffer-when-displaye

[Orgmode] org-html link building diff

2010-04-18 Thread Tom Breton (Tehom)
I've refactored `org-export-as-html', factored code to build links into `org-html-make-link'. This does two things that I needed: * It allows custom link types to build anchors. * How: Call org-html-make-link. Many parameters, see the function docstring. It returns a string containing

[Orgmode] Tag Align

2010-04-18 Thread Chao Lu
Dear All, I'm struggling for a neat Tag alignment, but haven't got any progress yet, is there anybody who has the problem solved? All the best, Chao <>___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.

[Orgmode] suggestions of Android smartphones

2010-04-18 Thread Daniel Martins
--- resending with a proper title --- Matthew, Just a suggestion for newbies. Could you generate a video of MobileOrg Android similar to those of the MobileOrg Iphone. I am still open to suggestions of Android smartphones. If I need to access a remote ssh account and open Emacs, the available

Re: [Orgmode] Re: emacs/org-mode on Droid?

2010-04-18 Thread Daniel Martins
Matthew, Just a suggestion for newbies. Could you generate a video of MobileOrg Android similar to those of the MobileOrg Iphone. I am still open to suggestions of Android smartphones. If I need to access a remote ssh account and open Emacs, the available keyborards are OK? Daniel PS I "boug

Re: [Orgmode] Re: Support (or not) for Emacs 21, and XEmacs

2010-04-18 Thread Carsten Dominik
Hi Michael, On Apr 18, 2010, at 10:22 AM, Michael Sperber wrote: Hi Carsten, many thanks for your e-mail! (And many thanks for your work on org-mode, which is the best piece of software I've started using for a few years.) Carsten Dominik writes: However, I have recently more and more th

Re: [Orgmode] Precision setting for spreadsheet calculation

2010-04-18 Thread Michael Brand
On 10-03-02 9:15 PM, Michael Brand wrote: I also played around quite a bit with the precision settings and will put the resulting examples into the Worg FAQ. But I would like to postpone my Worg FAQ update because its link to the manual would be confusing before the manual update itself will have

Re: [Orgmode] Re: [Babel] Macro for begin_src?

2010-04-18 Thread Eric S Fraga
On Sun, 18 Apr 2010 01:01:56 + (UTC), Shelagh Manton wrote: > > On Sat, 17 Apr 2010 08:38:01 -0500, Nathan Neff wrote: > > You could play around with artist-mode if you use X. It uses the mouse > with ascii symbols to create rectangles, lines etc. Then just change the > text how you need

Re: [Orgmode] Re: [Babel] Macro for begin_src?

2010-04-18 Thread Eric S Fraga
On Sat, 17 Apr 2010 15:55:51 -1000, "Thomas S. Dye" wrote: > On Apr 17, 2010, at 6:52 AM, Matt Lundin wrote: > > 1. The first and simplest option is built into org-mode. Simply type: > > > > Neat. What would you use yasnippets for, if anything? > > All the best, > Tom Good question! One case

[Orgmode] Problem with sectioning function for LaTeX export

2010-04-18 Thread Sebastian Hofer
Hi all, I'm trying to write my own sectioning function for latex export of my CV. What it does is to read out some property of the given headline and pass it to a latex command: (defun my-org-cv-sectioning (lvl heading) (let ((year) (formatlist) (cleanheading (substring-no-pr

Re: [Orgmode] Choosing external app at runtime?

2010-04-18 Thread Simon Guest
At Sun, 18 Apr 2010 08:24:41 +0200, Carsten Dominik wrote: > > > On Apr 16, 2010, at 7:35 AM, Simon Guest wrote: > > When I follow a link, Org mode knows what application to use. Except > > that sometimes I want to override that choice. > > Currently we do not have this. I can see that this co