Re: [O] outorg issue

2015-08-19 Thread Andreas Leha
Hi Kaushal, Kaushal writes: > I had submitted a pull request to solve this issue on that author's outshine > package page a couple of months back but as Andreas noted, the author hasn't > been able to maintain this stuff > due to personal reasons. > > You can fix this issue by manually making c

Re: [O] outorg issue

2015-08-19 Thread Andreas Leha
Hi Pip, Pip Cet writes: > Hi, > can you confirm the issue only appears when the first line of the > buffer isn't an outline heading? I think it's easy enough to fix then, > and if you like you might want to try the patch I've attached. > > It's bugged me for a while that `org-back-to-heading' et

Re: [O] Stable releases

2015-08-19 Thread Nicolas Goaziou
Hello, Bastien writes: > that I've been releasing it too quickly, after having been inactive > way too long. I disagree. Most bugs reported were introduced months ago. Waiting more wouldn't have helped here. > So all the advice you got is good, but think of 8.3 as a "come back" > release, with

Re: [O] beamer_env tag issue with empty headlines

2015-08-19 Thread Nicolas Goaziou
Hello, Prateek Mehta writes: > I have a beamer block setup like below, so that it does not have a headline. > > > ** :B_block:BMCOL: >:PROPERTIES: >:BEAMER_col: 0.64 >:BEAMER_env: block >:END: > > - Some text here > > When I export it, the beamer environment tags show up in

Re: [O] Bug: Priorities not inheriting [8.3.1 (8.3.1-56-g17a225-elpa @ /Users/luke/.emacs.d/elpa/org-20150817/)]

2015-08-19 Thread Nicolas Goaziou
Hello, Luke Amdor writes: > Given a test.org with: > > * [#B] Test > ** TODO one > > > When I do the agenda to find TODO headlines with priority B I would expect > it to find the "TODO one", however it doesn't. I'm very sure this regressed > when upgrading to 8.3.1, as it worked fine in 8.3.0. T

Re: [O] beamer_env tag issue with empty headlines

2015-08-19 Thread Prateek Mehta
On Wed, Aug 19, 2015 at 4:56 AM, Nicolas Goaziou wrote: > Hello, > > Prateek Mehta writes: > > > I have a beamer block setup like below, so that it does not have a > headline. > > > > > > ** :B_block:BMCOL: > >:PROPERTIES: > >:BEAMER_col: 0.64 > >:BEAMER_env: block > >:END:

Re: [O] beamer_env tag issue with empty headlines

2015-08-19 Thread Nicolas Goaziou
Prateek Mehta writes: > That probably makes sense, though I still feel it is a little inconsistent. > One could argue that anything within colons is an org tag (regardless of > whether the title is empty), and isn't meant to be exported. It's probably > rare to start a headline with a colon anywa

Re: [O] Stable releases

2015-08-19 Thread Bastien
Hi Nicolas, Nicolas Goaziou writes: > I disagree. Most bugs reported were introduced months ago. Waiting more > wouldn't have helped here. s/quickly/hastily > `org-latex-hyperref-template' is more general that > `org-latex-with-hyperref'. Now, we have two variables which can > contradict each

Re: [O] [DEV] Bump Emacs requirement to 24.4?

2015-08-19 Thread Bastien
Hi Suvayu, Suvayu Ali writes: > I'm slightly confused as-to why this special org-8-master branch is > needed. As far as I understood from Achim's message (2nd paragraph): > > , > > that so far maint supports Emacs 23. Yes, maint supports Em

Re: [O] element-debug-mode breaks capture

2015-08-19 Thread Nicolas Goaziou
Hello, Bastien writes: > I also had a lot of these recently. I posted some tricks on the ML to help debug the problem. Also, a single cache corruption can lead to many error reports (basically whenever a command relying on `org-element-at-point' is used). > I'm now turning org-element-use-cach

Re: [O] [DEV] Bump Emacs requirement to 24.4?

2015-08-19 Thread Bastien
Hi David, David Engster writes: > Bastien writes: >> Emacs 23 and XEmacs support will be officially dropped as of Org 9.0. > > Support for XEmacs should be dropped right away; it would just state a > fact, as Org didn't even compile with XEmacs for quite some time now > (and nobody complained).

Re: [O] M-x org-publish in 8.3.1 results in error "org-check-agenda-file: Wrong type argument: stringp, nil"

2015-08-19 Thread Sebastien Vauban
Bastien writes: > Omid writes: > >> user-error: No language for src block: (unnamed) > > This suggests to look for a #+begin_src block with no language name. Use the function `my-src-block-check' [1] to find where it's missing. Best regards, Seb [1] https://lists.gnu.org/archive/html/emacs-o

[O] Regression: org-translate-link doesn't work correctly in Org 8.3

2015-08-19 Thread Sergei Nosov
Hi! I'm the maintainer of the toc-org (https://github.com/snosov1/toc-org) package. With 8.3 I have noticed a regression in how org-translate-link function works. In this package, toc-org, I use org-link-translation-function variable to make C-c C-o (org-open-at-point) work with GitHub-style link

Re: [O] org-block-background in 8.3.1?

2015-08-19 Thread Sebastien Vauban
Hi Bastien, Bastien writes: > Sebastien Vauban writes: > >> Really, it has been removed because of a problem when ps-print'ing an >> Org buffer -- though the bug was to find in `ps-def.el' and not in >> Org, as reported by Stefan Monnier [1]. It should have been fixed >> there instead. > > Yes, i

Re: [O] Regression: org-translate-link doesn't work correctly in Org 8.3

2015-08-19 Thread Bastien
Hi Sergei, wild guess: what if you simply make the ":" optional like this: (string-match "\\([a-zA-Z0-9]+\\):\\(.*\\)" s) (string-match "\\([a-zA-Z0-9]+\\):?\\(.*\\)" s) ^^^ ? -- Bastien

Re: [O] Bug: Priorities not inheriting [8.3.1 (8.3.1-56-g17a225-elpa @ /Users/luke/.emacs.d/elpa/org-20150817/)]

2015-08-19 Thread Bastien
Nicolas Goaziou writes: > There is a misunderstanding here. Special properties, like PRIORITY, > cannot be inherited. The PRIORITY property *was* inherited. At least in 8.2.10. It is reasonable to expect the PRIORITY property to be inherited and the new behavior (falling back on the default pr

Re: [O] element-debug-mode breaks capture

2015-08-19 Thread Bastien
Hi Nicolas, Nicolas Goaziou writes: > It makes `org-element-context'/`org-element-at-point' very fast in > almost every situation. This is of course the most noticeable when > editing large sections. How can I test it manually to really _notice_ the difference between using the cache and not us

Re: [O] org-block-background in 8.3.1?

2015-08-19 Thread Bastien
Hi Sébastien, Sebastien Vauban writes: > That's why the very first step would (have) be(en) to put it as an > optional feature, that could been disabled by those who feel that it > introduces a performance delay -- what hasn't been shown so far IIRC. Can you provide a patch and a test? The p

Re: [O] Bug: Priorities not inheriting [8.3.1 (8.3.1-56-g17a225-elpa @ /Users/luke/.emacs.d/elpa/org-20150817/)]

2015-08-19 Thread Nicolas Goaziou
Bastien writes: > Nicolas Goaziou writes: > >> There is a misunderstanding here. Special properties, like PRIORITY, >> cannot be inherited. > > The PRIORITY property *was* inherited. At least in 8.2.10. AFAIK, PRIORITY never was intended to be inherited. Inheritance applies to node properties,

Re: [O] [DEV] Bump Emacs requirement to 24.4?

2015-08-19 Thread Suvayu Ali
Hi Bastien, On Wed, Aug 19, 2015 at 11:40:09AM +0200, Bastien wrote: > Suvayu Ali writes: > > > I'm slightly confused as-to why this special org-8-master branch is > > needed. As far as I understood from Achim's message (2nd paragraph): > > > >

Re: [O] element-debug-mode breaks capture

2015-08-19 Thread Nicolas Goaziou
Bastien writes: > How can I test it manually to really _notice_ the difference between > using the cache and not using it? Create a buffer with a large section (or no section at all). Edit the end of the section (e.g., fill paragraphs) ... Regards,

Re: [O] Regression: org-translate-link doesn't work correctly in Org 8.3

2015-08-19 Thread Nicolas Goaziou
Hello, Bastien writes: > Hi Sergei, > > wild guess: what if you simply make the ":" optional like this: > > (string-match "\\([a-zA-Z0-9]+\\):\\(.*\\)" s) > > (string-match "\\([a-zA-Z0-9]+\\):?\\(.*\\)" s) > ^^^ > > ? I think `org-translate-link' should be upda

Re: [O] Regression: org-translate-link doesn't work correctly in Org 8.3

2015-08-19 Thread Sergei Nosov
> wild guess: what if you simply make the ":" optional like this: I believe, the preceding text should be made optional as well (i.e. + should be *, like (string-match "\\([a-zA-Z0-9]*\\):?\\(.*\\)" s)) But anyway, it doesn't seem to work, because for some reason (I just noticed this) - the org-t

Re: [O] Regression: org-translate-link doesn't work correctly in Org 8.3

2015-08-19 Thread Bastien
Nicolas Goaziou writes: > I think `org-translate-link' should be updated to provide correct type, > including internal ones, to `org-link-translation-function'. E.g., > > http://orgmode.org => "http" > #something => "custom-id" > (ref:line) => "coderef" > whatever

Re: [O] element-debug-mode breaks capture

2015-08-19 Thread Bastien
Nicolas Goaziou writes: > Bastien writes: > >> How can I test it manually to really _notice_ the difference between >> using the cache and not using it? > > Create a buffer with a large section (or no section at all). > > Edit the end of the section (e.g., fill paragraphs) ... With a 13MO file,

Re: [O] Bug: Priorities not inheriting [8.3.1 (8.3.1-56-g17a225-elpa @ /Users/luke/.emacs.d/elpa/org-20150817/)]

2015-08-19 Thread Nicolas Goaziou
Correcting myself, > AFAIK, PRIORITY never was intended to be inherited. Inheritance applies > to node properties, i.e. property drawers, whereas special properties, > like PRIORITY are, by definition, not set through property drawers. This is incorrect. What I mean is inheritance is not automati

Re: [O] Bug: Priorities not inheriting [8.3.1 (8.3.1-56-g17a225-elpa @ /Users/luke/.emacs.d/elpa/org-20150817/)]

2015-08-19 Thread Bastien
Nicolas Goaziou writes: > Correcting myself, > >> AFAIK, PRIORITY never was intended to be inherited. Inheritance applies >> to node properties, i.e. property drawers, whereas special properties, >> like PRIORITY are, by definition, not set through property drawers. > > This is incorrect. What I

[O] nested macro expansion?

2015-08-19 Thread Eric Abrahamsen
What I'm trying to do is have a macro that takes the computed TIMESTAMP property for an entry, and then runs it through a custom function that breaks out the start/end times, and produces a nicely formatted string from that. I don't see how to write a macro that feeds the value of a computed speci

Re: [O] nested macro expansion?

2015-08-19 Thread Eric Abrahamsen
Eric Abrahamsen writes: > What I'm trying to do is have a macro that takes the computed TIMESTAMP > property for an entry, and then runs it through a custom function that > breaks out the start/end times, and produces a nicely formatted string > from that. > > I don't see how to write a macro tha

Re: [O] element-debug-mode breaks capture

2015-08-19 Thread Eric S Fraga
On Wednesday, 19 Aug 2015 at 12:55, Bastien wrote: [...] > With a 13MO file, with 500 headlines, each containing about 100 > paragraphs, editing the end of the last paragraph (unfill/fill) > is just very fast. What about editing at the start of the file? -- : Eric S Fraga (0xFFFCF67D), Emacs 2

Re: [O] Bug: Priorities not inheriting [8.3.1 (8.3.1-56-g17a225-elpa @ /Users/luke/.emacs.d/elpa/org-20150817/)]

2015-08-19 Thread Nicolas Goaziou
Bastien writes: > After a few tests, I'm confused and I don't understand all the changes > in this area (and they are not documented in ORG-NEWS.) I'd rather clarify something here. Most changes introduced come from bug reports, i.e., they are not a will to change how things work in Org. Fixed

Re: [O] element-debug-mode breaks capture

2015-08-19 Thread Nicolas Goaziou
Bastien writes: > Eric S Fraga writes: > >> On Wednesday, 19 Aug 2015 at 12:55, Bastien wrote: >> >> [...] >> >>> With a 13MO file, with 500 headlines, each containing about 100 >>> paragraphs, editing the end of the last paragraph (unfill/fill) >>> is just very fast. >> >> What about editing at

Re: [O] element-debug-mode breaks capture

2015-08-19 Thread Bastien
Eric S Fraga writes: > On Wednesday, 19 Aug 2015 at 12:55, Bastien wrote: > > [...] > >> With a 13MO file, with 500 headlines, each containing about 100 >> paragraphs, editing the end of the last paragraph (unfill/fill) >> is just very fast. > > What about editing at the start of the file? Very

Re: [O] Regression: org-translate-link doesn't work correctly in Org 8.3

2015-08-19 Thread Nicolas Goaziou
Bastien writes: > Nicolas Goaziou writes: > >> I think `org-translate-link' should be updated to provide correct type, >> including internal ones, to `org-link-translation-function'. E.g., >> >> http://orgmode.org => "http" >> #something => "custom-id" >> (ref:line) => "cod

Re: [O] [DEV] Bump Emacs requirement to 24.4?

2015-08-19 Thread Achim Gratz
Bastien writes: > Here is my decision on this issue: > > - the Org 8.x series will be Emacs 23+ compatible. …and we should maybe do an 8.4 final release before it is frozen, but not drag it along furhter like you suggested in emacs-devel. > - the Org 9.x series will be Emacs 24.3+ compatible. > >

Re: [O] Stable releases

2015-08-19 Thread Nicolas Goaziou
Bastien writes: > Nicolas Goaziou writes: > >> At the bare minimum `org-latex-with-hyperref' should be an obsolete >> alias for `org-latex-hyperref-template', and the latter should support >> nil as a possible value. > > If you want, please go ahead. Done. Regards,

Re: [O] org-habit and Org 8.3

2015-08-19 Thread Dave Marquardt
"John Wiegley" writes: > I've upgrade today to Org 8.3.1, and I've noticed that any customization which > used overlays (mainly, org-habit) now displays no overlays in the Agenda > buffer. > > Is this something others have already seen and found a fix for? Check to see that the properties drawer

Re: [O] outorg issue

2015-08-19 Thread Pip Cet
On 8/19/15, Andreas Leha wrote: > Thank you for your patch! It seems as it breaks global visibility > cycling, though. Sorry about that, I really messed up there. Kaushal's patch should work better, as long as there is at least one valid heading in the file (if I try running it on an entirely em

Re: [O] org-habit and Org 8.3

2015-08-19 Thread Matt Lundin
"John Wiegley" writes: > I've upgrade today to Org 8.3.1, and I've noticed that any customization which > used overlays (mainly, org-habit) now displays no overlays in the Agenda > buffer. I cannot replicate this. Habits are displaying correctly on my machine. Calling describe-text-properties o

Re: [O] Valid use cases for lists?

2015-08-19 Thread Kyle Meyer
Chris Patti writes: > Can anyone give me an example of when it's a good idea to use lists > rather than headlines? I think there are quite a few, but here's one example. I keep a heading with a list of links to potentially interesting articles that I don't have time to process at the moment whe

[O] Bug: Org-indent does not align headings with text when using non-monospaced fonts [8.3.1 (8.3.1-16-gf6aa53-elpa @ /Users/cube/.emacs.d/elpa/org-20150810/)]

2015-08-19 Thread Jakub Szypulka
Reproduction of bug: Open an org-file in org-mode with auto-indent turned on while using a non-monospaced font. Expected result: The headings align with the text contents. Actual result: The headings do not align with the text contents. This has been originally filed two years ago: http://articl

Re: [O] Stable releases

2015-08-19 Thread Rasmus
Russell Adams writes: > On Tue, Aug 18, 2015 at 07:36:00PM +0200, Bastien wrote: >> Hi Scott, >> > >> the main reason why 8.3 was not as "stable" as it should have been is >> that I've been releasing it too quickly, after having been inactive >> way too long. >> >> It's kind of a miracle that Org

[O] Babel for eshell?

2015-08-19 Thread Lawrence Bottorff
Is there any way to do literate Babel-style things with eshell? Only shell (sh) seems to be listed among the languages. As I understand, eshell is just a wrapper around actual elisp expressions. For example, find-file foobar.txt is actually (find-file "foobar.txt") I'd like to do shell-like stu

Re: [O] [DEV] Bump Emacs requirement to 24.4?

2015-08-19 Thread Rasmus
Bastien writes: > Hi Nicolas and all, > > As Achim said, we may have been miscommunicating, especially on > whether it was about requiring Emacs 23+ or 24.3 vs 24.4. > > Here is my decision on this issue: > > - the Org 8.x series will be Emacs 23+ compatible. > > - the Org 9.x series will be Emac

Re: [O] Per-backend export options?

2015-08-19 Thread Jay Dixit
I do something similar to change export options between HTML and LaTeX: (defun my-org-export-change-options (plist backend) (cond ((equal backend 'html) (plist-put plist :with-toc nil) (plist-put plist :section-numbers nil)) ((equal backend 'latex) (plist-put plist :with-toc t)