Re: [O] Smart archiving of subtrees with parent headlines

2018-02-11 Thread Ken Mankoff
On 2018-02-09 at 16:42, Mark Edgington wrote: > I have looked at a few threads related to the archiving of subtrees, > but haven't found anything that matches what I think would be a very > sensible archiving behavior. [...] Does the attached file here work for you? I use it

[O] Bulk re-scheduling in agenda view

2018-02-11 Thread Michael Hoffman
I am bulk re-scheduling items in an agenda view. I would like all the selected items to be re-scheduled to a year later from their current scheduled date. The org manual seems to indicate this is possible using double plus: > Schedule all

Re: [O] What's the canonical way to pass information within an Org exporter?

2018-02-11 Thread Kaushal Modi
On Sat, Feb 10, 2018 at 10:48 AM Kaushal Modi wrote: > On Thu, Feb 8, 2018, 11:45 PM Yasushi SHOJI > wrote: > >> >> Some exporter does `plist-put`. >> Is that what you are looking for? > > > I haven't tried plist put/get across functions.. I'll

[O] Org Publish Error

2018-02-11 Thread Samuel W. Flint
Hello all! I'm currently getting the following error upon HTML export in publish projects: cl-mapcar: Wrong type argument: sequencep, t It appears it's coming up somewhere in the following: mapcar(#[257 "\300^A\301\"\207" [org-tags-expand t] 4 "\n\n(fn TAG)"] t) cl-mapcar(#[257

Re: [O] Prevent auto-fill-mode from filling Property values in drawers

2018-02-11 Thread Nicolas Goaziou
Kaushal Modi writes: > On Sun, Feb 11, 2018 at 3:22 PM Nicolas Goaziou > wrote: > >> >> > :SOME_PROP:This is a very long property value that goes beyond the >>^^^ >> Wild guess: missing spaces? >> > > Yes, that was it. > > Committed in

Re: [O] Prevent auto-fill-mode from filling Property values in drawers

2018-02-11 Thread Kaushal Modi
On Sun, Feb 11, 2018 at 3:22 PM Nicolas Goaziou wrote: > > > :SOME_PROP:This is a very long property value that goes beyond the >^^^ > Wild guess: missing spaces? > Yes, that was it. Committed in

Re: [O] Prevent auto-fill-mode from filling Property values in drawers

2018-02-11 Thread Kaushal Modi
On Sun, Feb 11, 2018, 3:13 PM Kaushal Modi wrote: Sorry, ignore that, figured out the mistake in my test. > -- Kaushal Modi

Re: [O] Prevent auto-fill-mode from filling Property values in drawers

2018-02-11 Thread Nicolas Goaziou
Kaushal Modi writes: > I was actually adding a test for org-return as the commit doesn't modify > the org-auto-fill-function. OK. > Interactively, the org-return change works as expected, but the test fails > with this: > > Test test-org/return condition: >

Re: [O] Prevent auto-fill-mode from filling Property values in drawers

2018-02-11 Thread Kaushal Modi
On Sun, Feb 11, 2018 at 10:54 AM Nicolas Goaziou wrote: > > Would you mind adding a test to `test-org/auto-fill-function' for good > measure? I was actually adding a test for org-return as the commit doesn't modify the org-auto-fill-function. The test I added was

Re: [O] Problems with exporting in org-mode 9.1.6

2018-02-11 Thread Nicolas Goaziou
Hello, Rainer Thiel writes: > I am getting the error message «Wrong type argument: listp, #("This is > the Title" 0 17 (:parent (#0)))» (or similar) whenever I try to export > a file with header options to any format (html, txt, pdf via LaTeX, > ...), if the file has a

[O] Problems with exporting in org-mode 9.1.6

2018-02-11 Thread Rainer Thiel
I am getting the error message «Wrong type argument: listp, #("This is the Title" 0 17 (:parent (#0)))» (or similar) whenever I try to export a file with header options to any format (html, txt, pdf via LaTeX, ...), if the file has a header. Minimal example: --> #+TITLE: This is the Title

Re: [O] [PATCH] Fix alphabetic sorting for headlines, tags

2018-02-11 Thread Nicolas Goaziou
Sebastian Reuße writes: > I also considered adding a regression test for non-ASCII chars to > «test-org/sort-entries», but for stable results, one would have to > enforce some canonical locale. Unfortunately, it’s not possible to > change the locale at Emacs run-time; Emacs

Re: [O] Broken links on orgmode.org site that point to Gmane

2018-02-11 Thread Brent Goodrick
Cool!! On Feb 11, 2018 5:19 AM, "Nicolas Goaziou" wrote: > Hello, > > Brent Goodrick writes: > > > At Sat Feb 3 12:27:14 PST 2018, I navigated to > > > > https://orgmode.org/community.html > > > > then saw "Browse it through Gmane" which has a link

Re: [O] Prevent auto-fill-mode from filling Property values in drawers

2018-02-11 Thread Nicolas Goaziou
Kaushal Modi writes: > I'll convert that to a proper commit with comments and commit message, and > commit. Great! > Btw this is safe enough to commit to maint? I think so. Would you mind adding a test to `test-org/auto-fill-function' for good measure? Thank you.

Re: [O] org-reveal: content side by side

2018-02-11 Thread Michael Welle
Hello, I just wanted to tell you how my adventure in reveal land ended ;). Well, I spent a couple of hours last week and the better part of this weekend with css. I could produce a slide similar to [0]. I couldn't solve the structure problem I described earlier. And what put me off in the end is,

Re: [O] Prevent auto-fill-mode from filling Property values in drawers

2018-02-11 Thread Kaushal Modi
Hi Nicolas, On Sun, Feb 11, 2018, 8:12 AM Nicolas Goaziou wrote: > > (and (not (org-at-property-p)) > auto-fill-function) > Thanks for the feedback. What I emailed earlier was just a buffer diff. I'll convert that to a proper commit with comments and

Re: [O] Broken links on orgmode.org site that point to Gmane

2018-02-11 Thread Nicolas Goaziou
Hello, Brent Goodrick writes: > At Sat Feb 3 12:27:14 PST 2018, I navigated to > > https://orgmode.org/community.html > > then saw "Browse it through Gmane" which has a link to: > > http://news.gmane.org/gmane.emacs.orgmode > > Clicking on that link gave a Page Not found

Re: [O] Prevent auto-fill-mode from filling Property values in drawers

2018-02-11 Thread Nicolas Goaziou
Hello, Kaushal Modi writes: > + (t (let ((auto-fill-function (if (org-at-property-p) > + nil > +auto-fill-function))) (and (not (org-at-property-p)) auto-fill-function) Could you

[O] [PATCH] Fix alphabetic sorting for headlines, tags

2018-02-11 Thread Sebastian Reuße
* org.el (org-sort-entries): Use collated sorting. (org-tags-sort-function): Use collated sorting. (org-string-collate-greaterp): Add helper-function to use as defcustom option, since there is no ‘string-collate-greaterp’ in Emacs. * org-compat.el (org-string-collate-lessp): Add proxy to

Re: [O] [PATCH] Fix alphabetic sorting for headlines, tags

2018-02-11 Thread Sebastian Reuße
Hello Nicolas, Nicolas Goaziou writes: > However, Org 9.X still supports Emacs 24, so we cannot use > `string-collate-lessp without degrading gracefully to `string-lessp' > in these Emacsen. > We could add `org-string-collate-lessp' to "org-compat.el", which > would be

Re: [O] Removing ding each time I type TAB when not after a structure template with org-tempo enabled

2018-02-11 Thread Nicolas Goaziou
Hello, Brent Goodrick writes: > In this new version, I discovered that structure templates were not > enabled by default, so I enabled them. But to my chagrin, I found that > I get a "ding" each time I type the TAB key when on a blank line that > is _not_ right after a

Re: [O] org-save-outline-visibility no longer saves drawer visibility

2018-02-11 Thread Nicolas Goaziou
Hello, Dale Sedivec writes: > 2. Make an org-mode buffer with contents: > > ~~ > * Foo > :PROPERTIES: > :bar: baz > :END: > ~~ > > 3. Fold the PROPERTIES drawer by moving to the line with :PROPERTIES: and > hitting TAB. > > 4. M-: (org-save-outline-visibility

Re: [O] Two ob-lua versions

2018-02-11 Thread Nicolas Goaziou
Hello, Thibault Marin writes: > I noticed that a recent change added an ob-lua.el file to contrib/lisp/. > Since there is already an ob-lua.el in lisp/, I was wondering if the new > version was adding functionality not supported by the one in lisp/ (it > does not seem to

Re: [O] is ascii link format canonical? can it be made more linkifiable?

2018-02-11 Thread Nicolas Goaziou
Hello, Samuel Wales writes: > after i posted, i remembered that some sites, including blogger or > wordpress, will not linkify in their comments, but will > linkify bare links [and who knows what else]. > > so i'm thinking the ability to specify the brackets would be