Re: [O] need help with repeated tasks (won't reapeat)

2018-08-19 Thread Gregor Zattler
Hi Marco, org mode users,
* Marco Wahl  [2018-08-19; 13:46]:
> Gregor Zattler  writes:
>
>> Dear org mode users, I have problems with a repeated task.  I
>> want to clean something round about every 60 days.  I set up this
>> task in order to monitor my cleaning:
>>
>>
>> *** TODO Clean it
>> DEADLINE:<2018-08-12 So +.60d -9d>
>
> How about toggling the plus and the dot like so?
>
> DEADLINE:<2018-10-18 .+60d -9d>

You are spot on, this was the mistake I made and did not realize
although I reread the relevant manual section...

Ciao; Gregor
-- 
 -... --- .-. . -.. ..--.. ...-.-





[O] OK again, was: Re: Bug: git clone https://code.orgmode.org/bzg/org-mode.git fails with fatal: unable to access 'https://code.orgmode.org/bzg/org-mode.git/': server certificate verification failed.

2018-08-19 Thread Robert Klein
Hi Brent,

On Sun, 19 Aug 2018 08:32:27 -0700
Brent Goodrick  wrote:

> 
> I noted that even browsing to the website at https://orgmode.org
> required me to add a certificate exception to my browser.

[rest deleted]

thanks a lot for the information.

It seems the certificate for the web site expired.  I managed to renew
the certificate, so everything should work again as expected.

The automatic renewal of certificates doesn't work at the moment, so we
might encounter the issue again in a couple of months.

I'll try to find a solution in the meantime.

Best regards
Robert





[O] Bug: git clone https://code.orgmode.org/bzg/org-mode.git fails with fatal: unable to access 'https://code.orgmode.org/bzg/org-mode.git/': server certificate verification failed. CAfile: /etc/ssl/c

2018-08-19 Thread Brent Goodrick


Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See

 https://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org mailing list.

This is not a bug with org-mode but seems to be a configuration
problem with the website and/or the underlying git server there:

As of Sun Aug 19 08:27:11 PDT 2018 the clone operation on my Ubuntu
18.04 laptop fails with:

nunyabidness@oryx:/tmp/org-mode.direct$ git clone 
https://code.orgmode.org/bzg/org-mode.git
Cloning into 'org-mode'...
fatal: unable to access 'https://code.orgmode.org/bzg/org-mode.git/': server 
certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt 
CRLfile: none
nunyabidness@oryx:/tmp/org-mode.direct$

I've updated my hosts CA's via the instructions found at
https://stackoverflow.com/a/35824116/257924 to no avail.

I checked my system time is constantly up to date, so it is not a NTP
issue.

I noted that even browsing to the website at https://orgmode.org
required me to add a certificate exception to my browser.

I originally did a git pull in order to get my local installed copy of
org-mode up to date, and got the same error, so I'm reporting the 'git
clone' command above into a /tmp directory just to be sure it is not
due to something I've fouled up in my normal directory.


Emacs  : GNU Emacs 25.2.2 (x86_64-pc-linux-gnu, GTK+ Version 3.22.21)
 of 2017-09-22, modified by Debian
Package: Org mode version 9.1.7 (release_9.1.7-523-g594b2d @ 
/home/nunyabidness/emacs_lisp_imported/org-mode/org-mode/lisp/)

current state:
==
(setq
 org-id-locations-file "/home/nunyabidness/that_org_dir/.org-id-locations"
 org-tab-first-hook '(org-babel-hide-result-toggle-maybe 
org-babel-header-arg-expand)
 outline-minor-mode-hook '(wikipedia-outline-magic-keys (lambda nil (require 
(quote outline-magic
 org-clock-persist-file "/home/nunyabidness/that_org_dir/org-clock-save.el"
 org-speed-command-hook '(org-speed-command-activate 
org-babel-speed-command-activate)
 org-occur-hook '(org-first-headline-recenter)
 org-metaup-hook '(org-babel-load-in-session-maybe)
 org-html-format-drawer-function #[514 "\207" [] 3 "\n\n(fn NAME CONTENTS)"]
 org-latex-format-inlinetask-function 
'org-latex-format-inlinetask-default-function
 org-confirm-shell-link-function 'yes-or-no-p
 org-id-link-to-org-use-id t
 org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default
 org-clock-idle-time 10
 org-startup-folded nil
 org-file-apps '((auto-mode . emacs) ("\\.mm\\'" . default)
 ("\\.x?html?\\'" lambda (file link) (browse-url-of-file 
(expand-file-name file))) ("\\.pdf\\'" . default))
 org-tab-before-tab-emulation-hook '(org-tempo-complete-tag)
 org-export-with-sub-superscripts nil
 org-return-follows-link t
 org-latex-format-headline-function 'org-latex-format-headline-default-function
 org-default-notes-file "/home/nunyabidness/that_org_dir/notes.org"
 org-after-todo-state-change-hook '(org-clock-out-if-current)
 org-latex-format-drawer-function #[514 "\207" [] 3 "\n\n(fn _ CONTENTS)"]
 org-odt-format-headline-function 'org-odt-format-headline-default-function
 org-src-mode-hook '(org-src-babel-configure-edit-buffer 
org-src-mode-configure-edit-buffer)
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-babel-pre-tangle-hook '(save-buffer)
 org-html-head-include-default-style nil
 org-mode-hook '(org-tempo-setup org-clock-load bg-org-mode-hook
 #[0 "\300\301\302\303\304$\207" [add-hook 
change-major-mode-hook org-show-all append local] 5]
 #[0 "\300\301\302\303\304$\207" [add-hook 
change-major-mode-hook org-babel-show-result-all append local] 5]
 org-babel-result-hide-spec org-babel-hide-all-hashes)
 org-refile-targets '((nil :maxlevel . 9) (org-agenda-files :maxlevel . 9))
 org-bibtex-headline-format-function #[257 "\300\236A\207" [:title] 3 "\n\n(fn 
ENTRY)"]
 org-archive-hook '(org-attach-archive-delete-maybe)
 org-ascii-format-drawer-function #[771 "\207" [] 4 "\n\n(fn NAME CONTENTS 
WIDTH)"]
 org-odt-format-inlinetask-function 'org-odt-format-inlinetask-default-function
 org-clock-persist t
 org-refile-use-outline-path 'file
 org-directory "/home/nunyabidness/that_org_dir"
 org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-show-empty-lines 
org-optimize-window-after-visibility-change)
 org-plantuml-jar-path "/home/nunyabidness/plantuml/plantuml.jar"
 org-edit-src-auto-save-idle-delay 5
 org-todo-keywords '((sequence "TODO(t)" "|" "DONE(d)" "SHELVED(s)" 
"DELEGATED(e)"))
 org-babel-tangle-lang-exts '(("python" . "py") ("emacs-lisp" . "el") ("elisp" 
. "el"))
 org-confirm-elisp-link-function 'bg-org-confirm-elisp-link
 org-html-htmlize-output-type 'css
 org-metadown-hook '(org-babel-pop-to-session-maybe)
 outline-mode-hook '((lambda nil (require (quote

Re: [O] need help with repeated tasks (won't reapeat)

2018-08-19 Thread Eric S Fraga
On Sunday, 19 Aug 2018 at 13:09, Gregor Zattler wrote:
> Dear org mode users, I have problems with a repeated task.  I
> want to clean something round about every 60 days.  I set up this
> task in order to monitor my cleaning:
>
>
> *** TODO Clean it
> DEADLINE:<2018-08-12 So +.60d -9d>

Change this to SCHEDULED?  Or maybe you need a combination of scheduled
and deadline.  I use scheduled with +1m, for instance, to have a task
that I need to do every month but I don't have a deadline on it.

-- 
Eric S Fraga via Emacs 27.0.50, Org release_9.1.13-783-g97fac4



Re: [O] need help with repeated tasks (won't reapeat)

2018-08-19 Thread Marco Wahl
Hi!

Gregor Zattler  writes:

> Dear org mode users, I have problems with a repeated task.  I
> want to clean something round about every 60 days.  I set up this
> task in order to monitor my cleaning:
>
>
> *** TODO Clean it
> DEADLINE:<2018-08-12 So +.60d -9d>

How about toggling the plus and the dot like so?

DEADLINE:<2018-10-18 .+60d -9d>

[...]

> But when I do a C-c C-t (org-agenda-todo) with point on the
> heading or on the corresponding line in the agenda, the task
> switches simply to DONE and that's it.  It doesn't switch back to
> TODO, the deadline is not shifted:

[...]


Bye,  Marco




[O] need help with repeated tasks (won't reapeat)

2018-08-19 Thread Gregor Zattler
Dear org mode users, I have problems with a repeated task.  I
want to clean something round about every 60 days.  I set up this
task in order to monitor my cleaning:


*** TODO Clean it
DEADLINE:<2018-08-12 So +.60d -9d>
:PROPERTIES:
:LAST_REPEAT: [2018-05-30 Mi 16:01]
:REPEAT_TO_STATE: TODO
:END:
:LOGBOOK:
- State "DONE"   from "TODO"   [2018-05-30 Mi 16:01]
- State "DONE"   from "TODO"   [2018-03-26 Mo 16:47]
:END:


But when I do a C-c C-t (org-agenda-todo) with point on the
heading or on the corresponding line in the agenda, the task
switches simply to DONE and that's it.  It doesn't switch back to
TODO, the deadline is not shifted:

*** DONE Clean it
DEADLINE:<2018-08-12 So +.60d -9d>
:PROPERTIES:
:LAST_REPEAT: [2018-05-30 Mi 16:01]
:REPEAT_TO_STATE: TODO
:END:
:LOGBOOK:
- State "DONE"   from "TODO"   [2018-05-30 Mi 16:01]
- State "DONE"   from "TODO"   [2018-03-26 Mo 16:47]
:END:


I would expect the TODO State to shift back to TODO and the
deadline base date to be shifted by 60 days from today.


My problems persist if I test this with emacs -Q with these two
versions of emacs and org-mode

GNU Emacs 25.1.1 (x86_64-pc-linux-gnu, GTK+ Version 3.22.11) of 2017-09-15, 
modified by Debian
Org-mode version 8.2.10 (release_8.2.10 @ /usr/share/emacs/25.1/lisp/org/)

GNU Emacs 27.0.50 (build 4, x86_64-pc-linux-gnu, GTK+ Version 3.22.11) of 
2018-08-17
Org mode version 9.1.9 (release_9.1.9-65-g5e4542 @ 
/usr/local/stow/emacs-snapshot/share/emacs/27.0.50/lisp/org/)


and with this newer org mode version but with my configurations
loaded:

GNU Emacs 27.0.50 (build 4, x86_64-pc-linux-gnu, GTK+ Version 3.22.11) of 
2018-08-17
Org mode version 9.1.13 (release_9.1.13-898-gab1f77 @ 
/home/grfz/src/org-mode/lisp/)



Since this is really basic usage I assume no bug but some error
on my side.  What am I doing wrong?



Ciao; Gregor
-- 
 -... --- .-. . -.. ..--.. ...-.-




Re: [O] org-drill version 2.4.7 vs 2.6.1

2018-08-19 Thread Janus
Thanks for the answer.

> Janus  writes:
> 
>> I have encountered some problems using org-drill. At the end I  found that 
>> the 'org-drill.el' version in the repository 
>> https://code.orgmode.org/bzg/org-mode.git is 2.4.7.
>> The version on https://bitbucket.org/eeeickythump/org-drill/src/01b05cd7561a 
>> is 2.6.1.
>> 
>> Version 2.4.7 doesn’t work.
>> 
>> Version 2.6.1 work perfectly.
>> 
>> Do I miss something?
> 
> It's up to the Org Drill maintainer to update their project in the
> contrib/ directory. If the project lives elsewhere, you may also want to
> ask its maintainer to remove it from contrib/ altogether.
> 

reported in 
https://bitbucket.org/eeeickythump/org-drill/issues/59/org-drill-version-is-outdated-in-org-mode


Best regards,
J


Re: [O] pt_BR translation of org-export-dictionary

2018-08-19 Thread Nicolas Goaziou
Hello,

Leslie Watter  writes:

> Hi Folks,
>
> I've attached a patch that fixes some strings in pt_BR translations and
> provide the strings that were missing.

Applied. Thank you.
>
> I think this could apply as a tinychange, right?

Correct.

Regards,

-- 
Nicolas Goaziou



Re: [O] src block indentation causing problems due to tab/space mixing - proposed fix

2018-08-19 Thread Nicolas Goaziou
Hello,

Derek Feichtinger  writes:

> I think that the current way of indenting source blocks
> (with org-src-preserve-indentation is set to nil) is not ideal in regard
> to languages that dislike mixing of tabs and spaces.

For such languages, there is `org-src-preserve-indentation'...
>
> I'm currently switching to python3 and this forbids the mixing.
> Setting org-src-preserve-indentation to t would basically create
> problems with many of my older files,

You can set it locally, for every new Python block, with "-i" switch.

> and I also dislike the reduced readability resulting from the code
> block contents being aligned at column 0.

I cannot see any other way around.

> I just tested it also with some tangled files, and it seems to work
> nicely for my test cases. Still, I may have overlooked something, and
> there is a deeper reason for the original implementation.

Org removes indentation automatically, e.g., when editing a source block
or when exporting a document. If you indent lines in an indentation
preserved block, there is no more way to tell if the indentation is
added by Org -- and could be removed -- or required by the block. This
is why we also need to indent them from column 0.

Regards,

-- 
Nicolas Goaziou



Re: [O] org-drill version 2.4.7 vs 2.6.1

2018-08-19 Thread Nicolas Goaziou
Hello,

Janus  writes:

> I have encountered some problems using org-drill. At the end I  found that 
> the 'org-drill.el' version in the repository 
> https://code.orgmode.org/bzg/org-mode.git is 2.4.7.
> The version on https://bitbucket.org/eeeickythump/org-drill/src/01b05cd7561a 
> is 2.6.1.
>
> Version 2.4.7 doesn’t work.
>
> Version 2.6.1 work perfectly.
>
> Do I miss something?

It's up to the Org Drill maintainer to update their project in the
contrib/ directory. If the project lives elsewhere, you may also want to
ask its maintainer to remove it from contrib/ altogether.

Regards,

-- 
Nicolas Goaziou



Re: [O] The syntax class of ", /, =, ~

2018-08-19 Thread Nicolas Goaziou
Hello,

omar.anto...@gmail.com (Omar Antolín) writes:

> In a nutshell, I propose that ", /, = and ~ be assigned to the syntax class 
> "paired delimiter", which is $. (This would allow electric-pair-mode to work 
> with them.)
>
> The definition of org-mode as a derived mode contains the following lines:
>
>   (modify-syntax-entry ?@ "w")
>   (modify-syntax-entry ?\" "\"")
>   (modify-syntax-entry ?\\ "_")
>   (modify-syntax-entry ?~ "_")
>
> What is the rationale behind the choices for ~ and "? It feels to me
> like both should be assigned class "paired delimiters" (i.e., class
> $). I would also expect / and = to be paired delimiters, but maybe I'm
> missing some subtlety.

What about file:~/todo.org and \(a=b\)? I don't think we can assure ~,
/, and = are always paired. Also, what is wrong with " belonging to string
quote class?

Regards,

-- 
Nicolas Goaziou



Re: [O] Bug: Broken link in documentation

2018-08-19 Thread Nicolas Goaziou
Hello,

Julien Palard  writes:

> I'm new to Org mode and spotted a broken link at the bottom of 
> https://orgmode.org/features.html : mobileorg.ncogni.to
>
> $ curl -s https://orgmode.org/features.html | grep 
> http://mobileorg.ncogni.to/
> Richard Moreland has developed  href="http://mobileorg.ncogni.to/";>MobileOrg, a free software for iPhone 
> and
> $ curl -i mobileorg.ncogni.to
> curl: (6) Could not resolve host: mobileorg.ncogni.to

Fixed. Thank you.

Regards,

-- 
Nicolas Goaziou



Re: [O] [PATCH] Ensure org-get-tags includes all local tags

2018-08-19 Thread Nicolas Goaziou
Hello,

Matt Lundin  writes:

> Sorry for the delay. I finally had time to improve this fix (my first
> fix caused another regression) and add a regression test. At the moment,
> I don't have push rights to the Org Mode repo, so I'm attaching the
> patch here.

Applied. Thank you.

I suggest to ask Bastien for push rights.

Regards,

-- 
Nicolas Goaziou



Re: [O] TOC local for specified heading and its subheadings - now broken?

2018-08-19 Thread Nicolas Goaziou
Hello,

"D. C. Toedt"  writes:

> So let's try adding "local" as a keyword:
>
> #+TOC: headlines 2 local  :target #SectionOne
>
> But that produces no TOC at all.

There is no sub-heading at the location you insert your #+TOC keyword,
so the results is expected. Try to insert it in a heading that
effectively contains sub-headings.

Regards,

-- 
Nicolas Goaziou