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 wrote: > Matt Price 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 anything strange here

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

2014-03-16 Thread Bastien
Hello, Nicolas Goaziou 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 (— and friends) and where the Freemind backend deals with this. Maybe `org-html-special-stri

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 wrote: > Matt Price 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

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

2014-03-16 Thread Bastien
Hi Rasmus and Nicolas, Nicolas Goaziou 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] 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] org-agenda-do-date-late and emacs freeze

2014-03-16 Thread Bastien
Hi Matt, Matt Lundin 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. I'll revisit th

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 h

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

2014-03-16 Thread Bastien
Hi Noah, Noah Slater writes: > Experiencing a bug with radio targets and html export. > > IF set a radio target like <<> 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 be linked to #

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

2014-03-16 Thread Bastien
Hi, M 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 them when neede

Re: [O] Reports on habits?

2014-03-16 Thread Bastien
Hi Marcin, Marcin Borkowski 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? (Also, a dynamic

Re: [O] Commit 6aba2424c9b53e05c348ab0e7cf69bd7a49eb144

2014-03-16 Thread Bastien
Hi Stefan, Stefan Husmann 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 `index' Yes, this has b

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

2014-03-16 Thread Bastien
Hi Sébastien, Bastien 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] capture takes ~ 10-20 seconds to load a capture-template

2014-03-16 Thread Bastien
Hi Xebar, Xebar Saram 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 really big, Emacs m

Re: [O] Clarification on ChangeLog documentation

2014-03-16 Thread Bastien
Hi John, John Hendy 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. This is the stan

Re: [O] [PATCH v1 1/4] contrib/lisp/org-annotate-file.el improvements

2014-03-16 Thread Bastien
Hi David, thanks for the patches, I applied them all. If you want direct commit access to tweak org-annotate-file.el, please send me your public key. Thanks! -- Bastien

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

2014-03-16 Thread Bastien
Hi Thomas, Thomas Holst 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] [patch] capture property table-line-pos can be a function

2014-03-16 Thread Bastien
Hi Thomas, Thomas Holst 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 containing a

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

2014-03-16 Thread Bastien
Hi Brady, Brady Trainor 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 > (org-end-of-subtree nil t)

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 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 manual. HTH, --

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

2014-03-16 Thread Bastien
Hi Matt, Matt Price 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 cannot rep

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 writes: > I don't know enough HTML to have an opinion here. Then we are two. . . >> and what changes are necessary, if any. > > So

[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 th

[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 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, > etc., in or

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 gmail.com> writes: Hi Org

Re: [O] remote refs in spreadsheet

2014-03-16 Thread Alan Bram
On Sat, Mar 15, 2014 at 4:18 PM, Alan Bram 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. Still, I've fumbled arou

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 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 c

[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 referr

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 us

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

2014-03-16 Thread Nicolas Goaziou
Rasmus writes: > With a filter the endpoint isn't a problem. Only identifying the > top-level can be tricky—but you could use 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 the filter,

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

2014-03-16 Thread Nicolas Goaziou
Marcin Borkowski 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 harm in abusin

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

2014-03-16 Thread Rasmus
Hi, Nicolas Goaziou writes: > Hello, > > Rasmus 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 head

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

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

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 napisał(a): > Marcin Borkowski 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. Y

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

2014-03-16 Thread Nicolas Goaziou
Hello, Rasmus 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 current he

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

2014-03-16 Thread Nicolas Goaziou
Hello, Rasmus 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, and

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

2014-03-16 Thread Rasmus
Nicolas Goaziou 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 there is not

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

2014-03-16 Thread Rasmus
Hi Christian and Nicolas, Christian Moe 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 thing is sema

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

2014-03-16 Thread Nicolas Goaziou
Marcin Borkowski 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 example, "ox-beamer.e

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 napisał(a): > Hello, > > Marcin Borkowski 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

[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 Nicolas Goaziou
Hello, Marcin Borkowski 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 about possi

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

2014-03-16 Thread Nicolas Goaziou
Hello, Rasmus 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 org-entities do it

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

2014-03-16 Thread Nicolas Goaziou
Hello, Rasmus 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 title > my text > > > #+end_src > > This seems to be how these fancy pages get colored boxes and in