Re: [O] [PATCH] org-agenda: Add org-agenda-breadcrumbs-separator

2019-03-21 Thread Marco Wahl
tumashu  writes:

> * lisp/org-agenda.el (org-agenda-breadcrumbs-separator): New variable.
> (org-agenda-format-item): Use org-agenda-breadcrumbs-separator

+1




Re: [O] [PATCH] org-agenda: Add org-agenda-breadcrumbs-separator

2019-03-21 Thread Nicolas Goaziou
Hello,

tumashu  writes:

> From 7b94df17217c116c882e8a080f686b626c82f45e Mon Sep 17 00:00:00 2001
> From: Feng Shu 
> Date: Thu, 21 Mar 2019 12:49:42 +0800
> Subject: [PATCH] org-agenda: Add org-agenda-breadcrumbs-separator
>
> * lisp/org-agenda.el (org-agenda-breadcrumbs-separator): New variable.
> (org-agenda-format-item): Use org-agenda-breadcrumbs-separator

LGTM! Thank you.

Could you provide also provide an entry in ORG-NEWS (in Miscellaneous)
and send it again?

Regards,

-- 
Nicolas Goaziou



Re: [O] [PATCH] org-agenda: Add org-agenda-breadcrumbs-separator

2019-03-21 Thread tumashu




Added info to ORG-NEW


At 2019-03-21 21:49:14, "Nicolas Goaziou"  wrote:
>Hello,
>
>tumashu  writes:
>
>> From 7b94df17217c116c882e8a080f686b626c82f45e Mon Sep 17 00:00:00 2001
>> From: Feng Shu 
>> Date: Thu, 21 Mar 2019 12:49:42 +0800
>> Subject: [PATCH] org-agenda: Add org-agenda-breadcrumbs-separator
>>
>> * lisp/org-agenda.el (org-agenda-breadcrumbs-separator): New variable.
>> (org-agenda-format-item): Use org-agenda-breadcrumbs-separator
>
>LGTM! Thank you.
>
>Could you provide also provide an entry in ORG-NEWS (in Miscellaneous)
>and send it again?
>
>Regards,
>
>-- 
>Nicolas Goaziou


0001-org-agenda-Add-org-agenda-breadcrumbs-separator.patch
Description: Binary data


[O] org-tags-match-list-sublevels is very useful in some condition, why we will semi-obsolete it?

2019-03-21 Thread tumashu
(defcustom org-tags-match-list-sublevels t
  "...
This variable is semi-obsolete and probably should always be true.  It
is better to limit inheritance to certain tags using the variables
`org-use-tag-inheritance' and `org-tags-exclude-from-inheritance'."

...


"org-tags-match-list-sublevels  +  search +LEVEL>n " is a very useful tip, if 
you have many sublevels with many different tags,
it can not lost search results nearly, why we will semi-obsolete it?


[O] Second session of the Reproducible Research MOOC (using orgmode)

2019-03-21 Thread Christophe Pouzat

Dear all,

The second session of the Reproducible Research MOOC 
 
is going to start on April 1st (no joke!).


Like for the first session (of October last year), three independent 
paths can be followed, one using R/Rstudio, one using Python/Jupyter 
and, of course, one using orgmode with Python and R.


The course videos are in French with English subtitles. The course 
material is available in both English and French.
The course is free, you just have to register on the FUN 
 platform.


Nearly a third of the students who followed the first session were 
orgmode users.


Christophe

​

--
Tant que les lapins n'ont pas d'historiens, l'Histoire est racontée par les
chasseurs.

Le chef d'état-major, l'amiral William Leahy, un partisan du New Deal,
écrivit : « Les Japonais étaient déjà battus et prêts à capituler. L'usage
de cette arme barbare à Hiroshima et à Nagasaki n'a apporté aucune
contribution matérielle à notre combat contre le Japon. » Les États-Unis,
poursuivit-il, « en tant que premier pays à utiliser cette bombe ont adopté
des normes éthiques semblables à celles des barbares du Haut Moyen Âge ».
En revanche, lorsqu'il fut informé de l'holocauste de Nagasaki, en revenant
de la conférence de Potsdam, à bord du croiseur Augusta, Truman fit part
de sa jubilation au commandant du bâtiment : « C'est la plus grande chose
de l'histoire. »
--

Christophe Pouzat
64, rue des Blanches
94400 VITRY SUR SEINE
tél : +33662941034



Re: [O] [PATCH] ob-core: Add edit-prep in org-babel-make-language-alias

2019-03-21 Thread Nicolas Goaziou
Hello,

Sebastian Miele  writes:

> Nicolas Goaziou  writes:
>> Could you provide a commit message for your patch?
>
> * lisp/ob-core.el (org-babel-make-language-alias): Add edit-prep to
>   the list of defalias'ed functions.

Applied. Thank you.

Regards,

-- 
Nicolas Goaziou



Re: [O] [PATCH] org-agenda: Add org-agenda-breadcrumbs-separator

2019-03-21 Thread Nicolas Goaziou
Hello,

tumashu   writes:

> +(defcustom org-agenda-breadcrumbs-separator "->"
> +  "The separator of breadcrumbs in agenda lines."
> +  :group 'org-agenda-line-format
> +  :type 'string)

I added :package-version and :safe keywords and applied the patch.

Thank you.

Regards,

-- 
Nicolas Goaziou



Re: [O] org-tags-match-list-sublevels is very useful in some condition, why we will semi-obsolete it?

2019-03-21 Thread Nicolas Goaziou
Hello,

tumashu  writes:

> (defcustom org-tags-match-list-sublevels t
>   "...
> This variable is semi-obsolete and probably should always be true.  It
> is better to limit inheritance to certain tags using the variables
> `org-use-tag-inheritance' and `org-tags-exclude-from-inheritance'."
>
> ...
>
>
> "org-tags-match-list-sublevels  +  search +LEVEL>n " is a very useful tip, if 
> you have many sublevels with many different tags,
> it can not lost search results nearly, why we will semi-obsolete it?

I do not understand your remark. Could you clarify what you mean? Do you
have any use case for a nil `org-tags-match-list-sublevels' that cannot
be handled with tag inheritance?

Thank you.

Regards,

-- 
Nicolas Goaziou



Re: [O] [PATCH] org-collector.el: Add support for formulas appending

2019-03-21 Thread Nicolas Goaziou
Hello,

Slava Barinov  writes:

> * contrib/lisp/org-collector.el (org-dblock-write:propview): add
>   :tblfm keyword parameter support
>
> This adds possiblity to append formula line to table which is useful
> in certain cases, especially during updates and recalculation of whole
> table.

Thank you. Would it make sense to document it somewhere?

Regards,

-- 
Nicolas Goaziou



[O] "File mode specification error: (user-error Empty table - created default table)"

2019-03-21 Thread William Denton
I've updated Org from source a couple of times in the last couple of days and 
this started happening:  when I restart Emacs, I get an error saying "File mode 
specification error: (user-error Empty table - created default table)" and this 
happens:  an empty table is added!  Here's an example:


#- begin

#+NAME: count
#+BEGIN_SRC sql :engine mysql :dbuser user :database db_name :exports results
SELECT count(*) AS foo FROM bar
#+END_SRC

|   |   |   |   |   |
|---+---+---+---+---|
|   |   |   |   |   |
#+RESULTS: count
| foo   |
|---|
|  2782 |

#- end

Anyone else seeing this?

Bill
--
William Denton :: Toronto, Canada   ---   Listening to Art: 
https://listeningtoart.org/
https://www.miskatonic.org/ ---   GHG.EARTH: https://ghg.earth/
Caveat lector.  ---   STAPLR: http://staplr.org/



Re: [O] org-tags-match-list-sublevels is very useful in some condition, why we will semi-obsolete it?

2019-03-21 Thread tumashu










At 2019-03-22 04:55:25, "Nicolas Goaziou"  wrote:
>Hello,
>
>tumashu  writes:
>
>> (defcustom org-tags-match-list-sublevels t
>>   "...
>> This variable is semi-obsolete and probably should always be true.  It
>> is better to limit inheritance to certain tags using the variables
>> `org-use-tag-inheritance' and `org-tags-exclude-from-inheritance'."
>>
>> ...
>>
>>
>> "org-tags-match-list-sublevels  +  search +LEVEL>n " is a very useful tip, 
>> if you have many sublevels with many different tags,
>> it can not lost search results nearly, why we will semi-obsolete it?
>
>I do not understand your remark. Could you clarify what you mean? Do you
>have any use case for a nil `org-tags-match-list-sublevels' that cannot
>be handled with tag inheritance?
>
>Thank you.
>
>Regards,
>
>-- 
>Nicolas Goaziou

 I use a refs.org to manage my document, which is like the below example, but 
have many many headlines.

---
* story   :story:
** story1
** story2
*** sky :sky:
** story3
*** sky :sky:
** ...
** story100

* sky   :sky:
** sky1
*** sky story :story:
** sky2
** sky2
*** sky story :story:

--

(setq org-tags-match-list-sublevels nil) 

I seach "story" info with: "story+LEVEL>1", if I want to know more details, I 
search "story+LEVEL>2 ... 3 ... 4"  with  a user-define one key command help.


Sorry for my pool English :-(






Re: [O] [PATCH] org-collector.el: Add support for formulas appending

2019-03-21 Thread Slava Barinov
Hello,

So these options have to be documented?

I think there'll be more than one update then, for example :noquote and :scope
options were not documented as well. I've been sure that it's okay to check
source code and find all possible features.

Anyway, where should documentation be added? I can prepare additional patch.

Best Regards,
Slava Barinov.

Nicolas Goaziou  wrote:
>
> Hello,
>
> Slava Barinov  writes:
>
> > * contrib/lisp/org-collector.el (org-dblock-write:propview): add
> >   :tblfm keyword parameter support
> >
> > This adds possiblity to append formula line to table which is useful
> > in certain cases, especially during updates and recalculation of whole
> > table.
>
> Thank you. Would it make sense to document it somewhere?
>
> Regards,
>
> --
> Nicolas Goaziou