Re: [O] [ox-html] Multiple wraps around sections

2014-03-16 Thread Nicolas Goaziou
Hello, Rasmus ras...@gmx.us writes: I'm trying to make a personal website with ox-html and ox-publish. In terms of output I am looking for something like: #+begin_src html section id=CUSTOM_ID class=HTML_CONTAINER_CLASS div class=indent-wrapper h2Section title/h2 my text

Re: [O] [patch][ox-html] Stylistic changes

2014-03-16 Thread Nicolas Goaziou
Hello, Rasmus ras...@gmx.us writes: Here's a couple of minor changes for ox-html. Thank you. First, I dropped the references to HTML5 hgroup since apparently W3 did the same¹. Applied. Second, for some reason ox-html replaces a couple of entities by itself—rather than letting

Re: [O] Extending the Org syntax by a custom exporter - how to do it?

2014-03-16 Thread Nicolas Goaziou
Hello, Marcin Borkowski mb...@wmi.amu.edu.pl writes: OK, so I did some research, and I found out that special blocks are probably the best idea. So, items with checkboxes whose :parent is a special block like MCT or SCT could behave accordingly. Still, I can't see in the docs any mentions

[O] mobile-org http links not recognized on iPhone

2014-03-16 Thread Chris Henderson
http links on mobile-org on iPhone is not click-able and I need to select all, copy and paste the link on safari instead of just clicking and opening it directly. Is this normal behavior? Just to note that I can open http links from org-mode on my computer using C-c C-o

Re: [O] Extending the Org syntax by a custom exporter - how to do it?

2014-03-16 Thread Marcin Borkowski
Dnia 2014-03-16, o godz. 11:16:03 Nicolas Goaziou n.goaz...@gmail.com napisał(a): Hello, Marcin Borkowski mb...@wmi.amu.edu.pl writes: OK, so I did some research, and I found out that special blocks are probably the best idea. So, items with checkboxes whose :parent is a special

Re: [O] Extending the Org syntax by a custom exporter - how to do it?

2014-03-16 Thread Nicolas Goaziou
Marcin Borkowski mb...@wmi.amu.edu.pl writes: I thought about it. But, as I said, I'm going to have two backends, one for LaTeX, one for HTML. WOuld it be possible to have e.g. #+ATTR_TEST working for both? Of course. You decide, at the backend level, what attributes are read. For

Re: [O] [ox-html] Multiple wraps around sections

2014-03-16 Thread Rasmus
Hi Christian and Nicolas, Christian Moe m...@christianmoe.com writes: Rasmus writes: Is there any way I can easily get an /extra/ container around my sections? You would probably want to create an export filter for sections. See the manual, Export Advanced configuration Filters. The

Re: [O] [patch][ox-html] Stylistic changes

2014-03-16 Thread Rasmus
Nicolas Goaziou n.goaz...@gmail.com writes: Second, for some reason ox-html replaces a couple of entities by itself—rather than letting org-entities do it—but uses hex references (or whatever), rather than a nice HTML character entity. The second patch fixes this. (I naively assume that

Re: [O] [patch][ox-html] Support for level based containers

2014-03-16 Thread Nicolas Goaziou
Hello, Rasmus ras...@gmx.us writes: This patch allows different containers in ox-html.el depending on the level of the heading. For example, it is possible to get a container structure like this (level . container): * . section ** . article *** . div This is good for HTML5 at least,

Re: [O] [ox-html] Multiple wraps around sections

2014-03-16 Thread Nicolas Goaziou
Hello, Rasmus ras...@gmx.us writes: The thing is semantics are pretty easy to mess up in HTML-like languages compared to, say, LaTeX, since I have to figure out the ending point. You don't have to figure that out. When using a headline filter, the first headline relative tag always opens the

Re: [O] Extending the Org syntax by a custom exporter - how to do it?

2014-03-16 Thread Marcin Borkowski
Dnia 2014-03-16, o godz. 12:57:49 Nicolas Goaziou n.goaz...@gmail.com napisał(a): Marcin Borkowski mb...@wmi.amu.edu.pl writes: I thought about it. But, as I said, I'm going to have two backends, one for LaTeX, one for HTML. WOuld it be possible to have e.g. #+ATTR_TEST working

Re: [O] org-capture doesn't narrow correctly if :prepend is t

2014-03-16 Thread Thomas Proschinger
Bastien bzg at gnu.org writes: This is now fixed, thanks! Excellent, thank you! -- Thomas

Re: [O] [ox-html] Multiple wraps around sections

2014-03-16 Thread Rasmus
Hi, Nicolas Goaziou n.goaz...@gmail.com writes: Hello, Rasmus ras...@gmx.us writes: The thing is semantics are pretty easy to mess up in HTML-like languages compared to, say, LaTeX, since I have to figure out the ending point. You don't have to figure that out. When using a headline

Re: [O] Extending the Org syntax by a custom exporter - how to do it?

2014-03-16 Thread Nicolas Goaziou
Marcin Borkowski mb...@amu.edu.pl writes: So basically I can attach #+ATTR_WHATEVER attributes also to lists, paragraphs and other elements? Even list items? (This would mean that I could mark the correct answer using that syntax - but I think this would be too verbose. I can't see any

Re: [O] [ox-html] Multiple wraps around sections

2014-03-16 Thread Nicolas Goaziou
Rasmus ras...@gmx.us writes: With a filter the endpoint isn't a problem. Only identifying the top-level can be tricky—but you could use h· tags, assuming they are not varying. You can also use a hook function that will mark first level headlines with some special string before export. Within

Re: [O] Bug: Problems with sub/super-script when using: org-cdlatex + org-pretty-entities + org-catch-invisible-edits

2014-03-16 Thread Shwouchk
Bastien, Aaaah, thanks, it works great! I looked for hours for a setting of the sort... I do still think that this is a bug however: when I don't use the setting you provided and don't use pretty-entities, after I place the sub/superscript sign, the point gets places inside the braces. If I do

[O] remote refs in spreadsheet

2014-03-16 Thread Alan Bram
I'm having trouble using a remote reference in an Org-mode spreadsheet. The Info node entitled References says that the first argument to the remote() expression ... can also be the ID of an entry, even in a different file, What does this mean? What is the syntax for defining and referring

Re: [O] Extending the Org syntax by a custom exporter - how to do it?

2014-03-16 Thread Aaron Ecay
Hi Marcin and Nicolas, 2014ko martxoak 16an, Nicolas Goaziou-ek idatzi zuen: Marcin Borkowski mb...@wmi.amu.edu.pl writes: I thought about it. But, as I said, I'm going to have two backends, one for LaTeX, one for HTML. WOuld it be possible to have e.g. #+ATTR_TEST working for both?

Re: [O] remote refs in spreadsheet

2014-03-16 Thread Alan Bram
On Sat, Mar 15, 2014 at 4:18 PM, Alan Bram alanb...@speakeasy.net wrote: I'm having trouble using a remote reference in an Org-mode spreadsheet. Finally found Carsten's answer (1) to this same question from four years ago. Don't know why I missed it while searching the archives yesterday.

Re: [O] Bad footnotes when including org files

2014-03-16 Thread Xavier Garrido
Hi James, Thanks for your answer. Maybe I will try your solution. Otherwise I will run a before-parse-hook to change fn:XX to something unique (by adding buffer name for example. Thanks again, Xavier Le 16/03/2014 02:32, James Harkins a écrit : Xavier Garrido xavier.garrido at gmail.com

[O] rebind TAB in a minor mode; why does org-cycle workd differently wnhen called iwth M-x?: [WAS:customize behaviour of org-cycle?]

2014-03-16 Thread Matt Price
On Sat, Mar 15, 2014 at 2:46 PM, Matt Price mopto...@gmail.com wrote: Hi again everyone, I would like to be able to customize the behaviour of org-cycle/TAB in two scenarios, and am wondering if it's possible to do this using existing tools, or if I have to write my own versions of org-cycle,

[O] org-cycle behaves differently when called with M-x?

2014-03-16 Thread Matt Price
Hi, I am not sure if this a bug or intended behaviour, but org-cycle behaves ddifferently than expected when I call it using M-x (rather than with TAB). Instead of cycling FOLDED--CHILDREN--SUBTREE--FOLDED it cycles FOLDED--CHILDREN--FOLDED Does everyone else see the same issue? I think the

Re: [O] [patch][ox-html] Support for level based containers

2014-03-16 Thread Rasmus
Hi, Thanks for the—as always—useful comments. I have attached a new version of the patch with better doc and a bit better functionality, I think. Nicolas Goaziou n.goaz...@gmail.com writes: I don't know enough HTML to have an opinion here. Then we are two. . . and what changes are

Re: [O] org-cycle behaves differently when called with M-x?

2014-03-16 Thread Bastien
Hi Matt, Matt Price mopto...@gmail.com writes: I am not sure if this a bug or intended behaviour, but org-cycle behaves ddifferently than expected when I call it using M-x (rather than with TAB). Instead of cycling FOLDED--CHILDREN--SUBTREE--FOLDED it cycles FOLDED--CHILDREN--FOLDED I

Re: [O] rebind TAB in a minor mode; why does org-cycle workd differently wnhen called iwth M-x?: [WAS:customize behaviour of org-cycle?]

2014-03-16 Thread Bastien
Matt Price mopto...@gmail.com writes: I would like my new org-cycle-mod to use the exact same keybindings as the original org-cycle does. what is the best way to achieve this? Thank you for your help! I think `remap' can help here -- see the section Remapping Commands in the Emacs Lisp

Re: [O] New headline after no content (empty headline)

2014-03-16 Thread Bastien
Hi Brady, Brady Trainor algeb...@uw.edu writes: So, I started trying to read the org.el file. I thought I had found the offending line, (my L7614,) finding ;; If we insert after content, move there and clean up whitespace (when respect-content

Re: [O] [patch] capture property table-line-pos can be a function

2014-03-16 Thread Bastien
Hi Thomas, Thomas Holst thomas_ho...@gmx.de writes: Given a table with several sections and a capture template for entries in this table. The sections are dynamic, so a static value for table-line-pos does not help. With this patch table-line-pos can be: - a string like II-2 - a varialbe

Re: [O] [patch] file links from sunrise commander

2014-03-16 Thread Bastien
Hi Thomas, Thomas Holst thomas_ho...@gmx.de writes: Here is a path with implements this feature. I used a slightly different technique to avoid the reference to `sr-mode'. http://orgmode.org/cgit.cgi/org-mode.git/commit/?id=5f2dce Thanks for the idea, -- Bastien

Re: [O] Clarification on ChangeLog documentation

2014-03-16 Thread Bastien
Hi John, John Hendy jw.he...@gmail.com writes: In the example provided, the first asterisk lists a file and two changed nodes. Why is the third just parentheses with no file. Assumption: it's also in org-timer.el, but the description of the change just wouldn't have matched the other two.

Re: [O] capture takes ~ 10-20 seconds to load a capture-template

2014-03-16 Thread Bastien
Hi Xebar, Xebar Saram zelt...@gmail.com writes: i do see that when i choose the capture template it does say something about loading vc-git, i dont know if that has to do with anything It surely has to do with something, but I can't really figure out why (except that if your Git repo is

Re: [O] [bug] Fontification of bold and italics

2014-03-16 Thread Bastien
Hi Sébastien, Bastien b...@gnu.org writes: can you test this patch against maint for a while and report problems? I've pushed this patch. Thanks for reporting any slowdown. -- Bastien

Re: [O] Commit 6aba2424c9b53e05c348ab0e7cf69bd7a49eb144

2014-03-16 Thread Bastien
Hi Stefan, Stefan Husmann stefan-husm...@t-online.de writes: I think both entries in org.texi intrudueced in the mentioned commit should begin with, say, @cindex rather than @index. @index is not a texinfo command. org.texi:9892: unknown command `index' org.texi:13806: unknown command

Re: [O] Reports on habits?

2014-03-16 Thread Bastien
Hi Marcin, Marcin Borkowski mb...@wmi.amu.edu.pl writes: We all know that org-habit is great, but the only case when I actually see the consistency graph is in the agenda, when I did *not* do my habit today. Is there a way to display the consistency graph on demand, e.g. in the echo area?

Re: [O] Can I use an already defined agenda view in another agenda command?

2014-03-16 Thread Bastien
Hi, M elwood...@web.de writes: So my idea was: i can define the basic setup once, and then cite it and extend it for other agenda setups. this is not currently possible, but from experience, it is not really needed: it's faster to configure several *simple* agenda views and to call each of

Re: [O] Radio targets with mixed capitalisation do not work in HTML export

2014-03-16 Thread Bastien
Hi Noah, Noah Slater nsla...@tumbolia.org writes: Experiencing a bug with radio targets and html export. IF set a radio target like Foo then the text foo in the body will be linked to #foo, but the radio target has an anchor id of Foo, so the link doesn't work. I expected the foo text to

Re: [O] Partial word emphasis suggestion

2014-03-16 Thread Bastien
Hi, cin...@gmail.com writes: Or, at least insert word joiner character character in `org-emphasis-regexp-components' please. We will address this kind of shortcomings when reimplementing the fontification engine of Org-mode (not anytime soon, though), so for now you'll have to use the ad hoc

Re: [O] org-agenda-do-date-late and emacs freeze

2014-03-16 Thread Bastien
Hi Matt, Matt Lundin m...@imapmail.org writes: AFAICT, there is something of a ping-pong game going on between multiple bugs whose solutions conflict with each other. Yes -- and I recently removed the fix I sent to Michael about S-RET not aligning properly in table because of this ping pong.

Re: [O] Bug: Setting system command org-file-apps does not allow other settings to refer to it [8.2.5h (release_8.2.5h-620-g7fd183 @ /home/rrt/.emacs.d/el-get/package/elpa/org-20140210/)]

2014-03-16 Thread Bastien
Hi Reuben, I'm confused and can't get what's the problem: is it a bug? Is it a documentation bug? Can you provide a minimal recipe (if this is a bug) or a patch against the documentation? Thanks in advance, -- Bastien

Re: [O] [patch][ox-html] Support for level based containers

2014-03-16 Thread Bastien
Hi Rasmus and Nicolas, Nicolas Goaziou n.goaz...@gmail.com writes: Let me know if you find you'd be willing to merge something like this I don't know enough HTML to have an opinion here. Well, Rick is our HTML expert, let's ping him for such decisions. -- Bastien

Re: [O] [patch][ox-html] Stylistic changes

2014-03-16 Thread Bastien
Hello, Nicolas Goaziou n.goaz...@gmail.com writes: So if the change is only stylistic, I see no reason to break compatibility with ox-freemind.el. I would favor a solution where the HTML backend uses what's readable (mdash; and friends) and where the Freemind backend deals with this. Maybe

Re: [O] rebind TAB in a minor mode; why does org-cycle workd differently wnhen called iwth M-x?: [WAS:customize behaviour of org-cycle?]

2014-03-16 Thread Matt Price
On Sun, Mar 16, 2014 at 8:34 PM, Bastien b...@gnu.org wrote: Matt Price mopto...@gmail.com writes: I would like my new org-cycle-mod to use the exact same keybindings as the original org-cycle does. what is the best way to achieve this? Thank you for your help! I think `remap' can help

Re: [O] org-cycle behaves differently when called with M-x?

2014-03-16 Thread Matt Price
On Sun, Mar 16, 2014 at 10:08 PM, Bastien b...@gnu.org wrote: Matt Price mopto...@gmail.com writes: There may be something strange in my setup. But can you quickly test on the following org code? I get the buggy behavour when the cursor is on the firs heading (* lvl 1) Well, I don't find