Re: [O] Document of org-map-entries

2016-10-13 Thread York Zhao
@Nick: Thanks for the explanation, it's very kind of you! @John: You are right, this actually works. However, this will also exclude the trees whose property value is empty, for example, the following tree will be excluded, which will not be excluded if "myproperty<>nil" syntax works: * Tree

Re: [O] [RFC] Change visibility for bracket links

2016-10-13 Thread Aaron Ecay
Hi Nicolas, 2016ko urriak 13an, Nicolas Goaziou-ek idatzi zuen: > > Hello, > > Aaron Ecay writes: > >> FWIW, I agree. On the other hand, many people object to the brackets. > > I don't mind adding a variable. I think that org in general has too many customization

Re: [O] Any help on that bug?

2016-10-13 Thread Sebastian Christ
On 2016-10-13 21:6, Pierre-Henry Frohring wrote: > > Hi list! > Made a few lines of elisp that take one org-file and turns it into a static > website. > https://github.com/phfrohring/org-to-blog > > Since it is useful to me, I tried to share it.

Re: [O] [RFC] Change visibility for bracket links

2016-10-13 Thread William Denton
On 13 October 2016, Daniele Nicolodi wrote: As such, I believe, having the [ ] markers should be an option, and probably not enabled by default. After seeing further conversation I've changed my mind, and don't like the idea of [ ] markers around links, so FWIW I agree with Daniele. Bill

[O] Any help on that bug?

2016-10-13 Thread Pierre-Henry Frohring
Hi list! Made a few lines of elisp that take one org-file and turns it into a static website. https://github.com/phfrohring/org-to-blog Since it is useful to me, I tried to share it. Someone tried, but some bug occurred: https://github.com/phfrohring/org-to-blog/issues/1 I cannot

Re: [O] Blogging with Orgmode + Jekyll on GitHub Pages?

2016-10-13 Thread Kaushal Modi
On Thu, Oct 13, 2016, 12:13 PM Rasmus wrote: > > Aside: with Gitlab.com Pages, and Gitlab in general, you can specify your > own build process and you would thus not need to wait for Github to add > this particular feature. > +1 for Gitlab Pages. I have started using Hugo few

Re: [O] [RFC] Change visibility for bracket links

2016-10-13 Thread Nicolas Goaziou
Hello, Daniele Nicolodi writes: > However I think that what you are proposing is a change in behavior > that does not strictly solve a technical problem. This is a change in display. I don't think it affects very much, if at all, any "behavior", except that editing link is

Re: [O] [RFC] Change visibility for bracket links

2016-10-13 Thread Nicolas Goaziou
Hello, Michael Brand writes: > Or maybe add new value(s) to org-descriptive-links to avoid yet > another defcustom and first of all to have it in that one variable > that when set to nil turns off any mechanism that hides anything in > links already? I'm fine with

Re: [O] org-link interface

2016-10-13 Thread John Kitchin
I do not know if you can do that. I would do something like this. (defun insert-foo-link (path) (interactive "sfoo path: ") (insert (format "[[foo:%s][%s]]" path path))) Daniele Nicolodi writes: > On 10/13/16 8:14 AM, John Kitchin wrote: >> In org8, this is not that easy to do, but not

Re: [O] Change visibility for bracket links

2016-10-13 Thread Gregor Zattler
Hi Nicolas, org-mode users and developers, * Nicolas Goaziou [13. Okt. 2016]: > Aaron Ecay writes: >> My understanding of the problem is that when link fontification is >> turned on, it is impossible to tell between the two marked positions >> when

Re: [O] org-link interface

2016-10-13 Thread Daniele Nicolodi
On 10/13/16 12:02 PM, John Kitchin wrote: > I do not know if you can do that. I would do something like this. > > (defun insert-foo-link (path) > (interactive "sfoo path: ") > (insert (format "[[foo:%s][%s]]" path path))) This has the drawback that it requires a different key-bind, instead

Re: [O] [RFC] Change visibility for bracket links

2016-10-13 Thread Daniele Nicolodi
On 10/13/16 6:07 AM, Nicolas Goaziou wrote: > Daniele Nicolodi writes: > >> Does this solve your problem? :) > > Not really. It makes my example more bearable, but using C-a is still > a workaround, and there are also many other dances to perform in various > other cases.

Re: [O] [RFC] Change visibility for bracket links

2016-10-13 Thread Nick Dokos
Clément Pit--Claudel writes: > On 2016-10-13 12:13, Nick Dokos wrote: >>> > >>> > But when the cursor is next to the link or emphasized text markers are >>> > shown. >>> > >>> > Pre text |[description] post text >>> > Pre text |*bold text* post text >>> > >>> >

Re: [O] [RFC] Change visibility for bracket links

2016-10-13 Thread Clément Pit--Claudel
On 2016-10-13 12:13, Nick Dokos wrote: >> > >> > But when the cursor is next to the link or emphasized text markers are >> > shown. >> > >> > Pre text |[description] post text >> > Pre text |*bold text* post text >> > >> > It would not cause much jumping. Of course, for people who

Re: [O] [RFC] Change visibility for bracket links

2016-10-13 Thread Rasmus
Hi Nick, Nick Dokos writes: > I'm worried that this would be computationally prohibitive. I guess something like ‘prettify-symbols--post-command-hook’ could be used. When point is within the range of prettify-symbols--current-symbol-bounds it shows the emphasis marker by

Re: [O] org-link interface

2016-10-13 Thread Daniele Nicolodi
On 10/13/16 8:14 AM, John Kitchin wrote: > In org8, this is not that easy to do, but not impossible. > > Why do not you want to use [[foo:bar][bar]]? Hi John, I'm fine using [[foo:bar][bar]], but it is much longer to type. Slightly changing my question: there is a way to instruct

Re: [O] [RFC] Change visibility for bracket links

2016-10-13 Thread Nick Dokos
Rasmus writes: > Hi, > > Nicolas Goaziou writes: > >> [[uri][description]] >> >> is displayed as >> >> [description] >> >> instead of >> >> description >> >> and >> >> [[uri]] >> >> is displayed as >> >> [uri] >> >> instead of >> >> uri > > How

Re: [O] Blogging with Orgmode + Jekyll on GitHub Pages?

2016-10-13 Thread Rasmus
Stig Brautaset writes: > Hi All, > > I made a PR to add the https://github.com/eggcaker/jekyll-org plugin to > GitHub Pages' whitelist, allowing people to use Orgmode style posts with > GitHub Pages without checking in generated HTML documents. If this > sounds like something

[O] Blogging with Orgmode + Jekyll on GitHub Pages?

2016-10-13 Thread Stig Brautaset
Hi All, I made a PR to add the https://github.com/eggcaker/jekyll-org plugin to GitHub Pages' whitelist, allowing people to use Orgmode style posts with GitHub Pages without checking in generated HTML documents. If this sounds like something you would be interested in, head over to

Re: [O] gnus org and tags

2016-10-13 Thread Nick Dokos
Uwe Brauer writes: "Eric" == Eric S Fraga writes: > >> On Wednesday, 12 Oct 2016 at 08:42, Uwe Brauer wrote: >>> Hi >>> >>> I would like to add to certain messages (which I read via gnus and the >>> imap protocol) tags so that

Re: [O] Document of org-map-entries

2016-10-13 Thread Nick Dokos
York Zhao writes: > Thank you very much Nick. > > (info "(org) Using the mapping API") was the first doc I read which has very > little information on how > to use the "match" parameter.  (info "(org) Matching tags and properties") > does have a lot more detail > though.

Re: [O] LaTeX book export: Chapters?

2016-10-13 Thread Peter Davis
On Thu, Oct 13, 2016, at 10:15 AM, Eduardo Mercovich wrote: > Hi Peter. > > > I'm trying to export a LaTeX book (using scrbook style), but I don't > > know how to make chapters. [...] > > If you're not too tied to scrbook, the Memoir class is perfect for > books, highly documented and very

Re: [O] Remaining document problems

2016-10-13 Thread Eric S Fraga
On Thursday, 13 Oct 2016 at 12:46, Peter Davis wrote: >> For completeness, would you please tell us your solution? I'm sure this >> question will come up again at some point... >> > > Sure thing, Eric. Basically, I just added the following to my org file: Thanks. Useful to have the definition

Re: [O] Graphics to HTML, LaTeX/PDF and DocBook?

2016-10-13 Thread Peter Davis
On Thu, Oct 13, 2016, at 10:13 AM, Eduardo Mercovich wrote: > Hi Peter. > > >> > I have a document with a number of embedded dot graphics [...] > > > I've decided to bite the bullet and install InkScape. However, I'm > > having a hard time figuring out how to integrate this with org-mode. > >

Re: [O] Remaining document problems

2016-10-13 Thread Eric S Fraga
On Thursday, 13 Oct 2016 at 12:46, Peter Davis wrote: > NOTE: The prebreak and postbreak definitions just add little red hooks > to the source block to show me where a line break was added. It's a > trick I picked up on this list a while ago. Oh, and thanks for this! This is very useful. -- :

Re: [O] Graphics to HTML, LaTeX/PDF and DocBook?

2016-10-13 Thread Eduardo Mercovich
Hi Peter. >> > I have a document with a number of embedded dot graphics [...] > I've decided to bite the bullet and install InkScape. However, I'm > having a hard time figuring out how to integrate this with org-mode. > [...] I export from Inkscape to pdf and include the pdf file. Would that

Re: [O] LaTeX book export: Chapters?

2016-10-13 Thread Eduardo Mercovich
Hi Peter. > I'm trying to export a LaTeX book (using scrbook style), but I don't > know how to make chapters. [...] If you're not too tied to scrbook, the Memoir class is perfect for books, highly documented and very customizable. Best... -- eduardo mercovich Donde se cruzan tus talentos

Re: [O] Document of org-map-entries

2016-10-13 Thread John Kitchin
Try this instead: #+BEGIN_SRC emacs-lisp (org-map-entries (lambda () (org-heading-components)) "myproperty<>\"\"") #+END_SRC Empty properties get returned as "" not nil I think. York Zhao writes: > One more question: how do I map only the entries that has a specific > property > defined? The

[O] Using SVG with LaTeX/PDF output

2016-10-13 Thread Peter Davis
Is anyone familiar with using SVG in LaTeX/PDF output? I can find information on the svg package online, but the problem I'm having may have to do with org-mode interaction with LaTeX. Basically, the svg package relies on inkscape to split svg graphics into a PDF file containing the shapes, and a

[O] Defining directory tree structure from org-attach to reflect headers

2016-10-13 Thread Rainer M Krug
Hi I have effectively the same question as Adm here: [http://emacs.stackexchange.com/questions/26412/human-readable-directory-tree-with-org-attach] I would like to have the directory tree of the attachments managed by org-attach to reflect the document structure as defined by the headlines. To

[O] Exporting fuzzy links using LaTeX's autoref

2016-10-13 Thread Konstantin Kliakhandler
Hi Clément, I don’t know if you’ve found a satisfactory solution yet, but I found the following to work quite well in my case: ;; Define an export function for autoref links (defun kk/org-autoref-export (path desc format) "Export an autoref type reference for the given path" (case

Re: [O] [RFC] Change visibility for bracket links

2016-10-13 Thread Michael Brand
Hi Nicolas On Thu, Oct 13, 2016 at 2:35 PM, Nicolas Goaziou wrote: > > Aaron Ecay writes: > >> FWIW, I agree. On the other hand, many people object to the brackets. > > I don't mind adding a variable. Or maybe add new value(s) to

Re: [O] Remaining document problems

2016-10-13 Thread Peter Davis
On Thu, Oct 13, 2016, at 04:08 AM, Eric S Fraga wrote: > On Wednesday, 12 Oct 2016 at 16:35, Peter Davis wrote: > > [...] > > > Excellent! Thanks to this, I now have great looking JavaScript > > listings, and I can easily change the styling. > > For completeness, would you please tell us

Re: [O] [RFC] Change visibility for bracket links

2016-10-13 Thread Nicolas Goaziou
Hello, Aaron Ecay writes: > FWIW, I agree. On the other hand, many people object to the brackets. I don't mind adding a variable. > My understanding of the problem is that when link fontification is > turned on, it is impossible to tell between the two marked positions >

Re: [O] [RFC] Change visibility for bracket links

2016-10-13 Thread Nicolas Goaziou
Hello, Rasmus writes: > No, I meant for it eval in the *scratch* buffer. It merely shows how it > might look with a similar mechanism to prettify-symbols-mode. Of course, > it lacks all care to details that would make it nice. > > I suspect it would suffers from the jumping

Re: [O] [RFC] Change visibility for bracket links

2016-10-13 Thread Aaron Ecay
Hi Nicolas, hi all, 2016ko urriak 13an, Nicolas Goaziou-ek idatzi zuen: [...] > Not really. It makes my example more bearable, but using C-a is still > a workaround, and there are also many other dances to perform in various > other cases. So, I still think there is an usability issue that

Re: [O] [RFC] Change visibility for bracket links

2016-10-13 Thread Rasmus
Hi, Nicolas Goaziou writes: > [[uri][description]] > > is displayed as > > [description] > > instead of > > description > > and > > [[uri]] > > is displayed as > > [uri] > > instead of > > uri How about showing boundaries only when the cursor is near

Re: [O] [RFC] Change visibility for bracket links

2016-10-13 Thread Rasmus
Hi, Nicolas Goaziou writes: > [[uri][description]] > > is displayed as > > [description] > > instead of > > description > > and > > [[uri]] > > is displayed as > > [uri] > > instead of > > uri How about showing boundaries only when the cursor is near

Re: [O] [RFC] Change visibility for bracket links

2016-10-13 Thread Nicolas Goaziou
Hello, Daniele Nicolodi writes: > I just tried: going to the beginning of the line with C-a (by default > bound to org-beginning-of-line in org-mode) puts the cursor in a > position where you can insert text before the link, without it being > part of the link description.

Re: [O] gnus org and tags

2016-10-13 Thread Uwe Brauer
> Uwe Brauer writes: > Yup, I haven't gotten to it, mostly because message tagging is one part > of a much larger new feature set that I haven't had time to implement > yet. That, and most of my hacking time has been taken up by a new > version of BBDB I'm

Re: [O] gnus org and tags

2016-10-13 Thread Uwe Brauer
>>> "Eric" == Eric S Fraga writes: > On Wednesday, 12 Oct 2016 at 08:42, Uwe Brauer wrote: >> Hi >> >> I would like to add to certain messages (which I read via gnus and the >> imap protocol) tags so that searching is simplified. Is there a way to >> do that

Re: [O] mark src blocks feature proposal

2016-10-13 Thread Uwe Brauer
> Hello, > Uwe Brauer writes: > `org-mark-element' (M-h) ? Precisely what I was looking for, thanks a lot

Re: [O] mark src blocks feature proposal

2016-10-13 Thread Uwe Brauer
> Uwe Brauer writes: > Really? Did you try `org-babel-mark-block'? No, thanks for pointing it out to me, it does however not precisely what I want, but Nic's suggestion does, org-mark-element does. > HTH,

Re: [O] Remaining document problems

2016-10-13 Thread Eric S Fraga
On Wednesday, 12 Oct 2016 at 16:35, Peter Davis wrote: [...] > Excellent! Thanks to this, I now have great looking JavaScript > listings, and I can easily change the styling. For completeness, would you please tell us your solution? I'm sure this question will come up again at some point...

Re: [O] gnus org and tags

2016-10-13 Thread Eric S Fraga
On Wednesday, 12 Oct 2016 at 08:42, Uwe Brauer wrote: > Hi > > I would like to add to certain messages (which I read via gnus and the > imap protocol) tags so that searching is simplified. Is there a way to > do that using the org tags engine? Gnorb would be a candidate but that > feature is

Re: [O] ODT export

2016-10-13 Thread Eric S Fraga
On Wednesday, 12 Oct 2016 at 08:59, Christian Moe wrote: > I've never know this to fail as such. I did have a problem for a while Not sure if this is relevant but just in case... I had problems with ODT export for quite some time with the default style. I finally tracked it down to having some