Re: [O] converting many ics files to a single org file

2019-06-11 Thread Alan Schmitt

On 2019-06-10 22:20, Thomas Plass  writes:

As per its docstring it's one file per invocation.  But the 
docstring

also lists:

$ cat in.ical | ical2orgpy - - > out.org

I haven't tried, but something like this might work (on 
Unixoids):


$ echo -n > out.org
$ for i in *.ical; do cat $i | ical2orgpy - - >> out.org; echo 
>> out.org; done


Thank you for the suggestion, I'll give it a try.

Best,

Alan


signature.asc
Description: PGP signature


Re: [O] Capture with date prompt defaults to yesterday

2019-06-11 Thread Neil Jerram
On Mon, 10 Jun 2019, 10:22 Nicolas Goaziou,  wrote:

> Hello,
>
> Neil Jerram  writes:
>
> > Yes, it does make the default time noon.  But AFAICS the time of day
> > doesn't actually matter in any of the Org source code where the result of
> > org-get-cursor-date is used.  Have I missed a case where it does
> > matter?
>
> Probably not. I didn't check. But this could become a future gotcha.
>
> > However, in the attached patch I've revised that so that the default time
> > of day is :00am, i.e. it's the earliest time that
> > Org treats as being that date.  WDYT?
>
> I think this is better. I applied your patch. Thank you.
>
> > Alternatively, we could refactor the code around where
> org-get-cursor-date
> > is used to make it more explicit when the time of day doesn't matter, and
> > look further if there are any cases where it does.
>
> I think the current state is sufficient.
>
> Regards,
>
> --
> Nicolas Goaziou
>

Thanks Nicolas!
   Neil


[O] using org-mark-entry-for-agenda-action

2019-06-11 Thread Victor A. Stoichita

Hi,

The manual describes the function 
org-mark-entry-for-agenda-action. It should
"Mark the current entry for agenda action. After you have marked 
the entry like this, you can open the agenda or the calendar to 
find an appropriate date. With point on the selected date, press 
k s or k d to schedule the marked item."


https://orgmode.org/manual/Inserting-deadline_002fschedule.html

However, I can’t seem to find that function using Org mode version 
9.2.3 (9.2.3-20-g31873e-elpaplus). Am I missing something? 


Regards,
Victor



[O] table, calc, reorder and protect calculation in one cell

2019-06-11 Thread Uwe Brauer
Hi

I have the following problem

This is my original table

The row starting with smith is calculated differently from the other two

* Orginal

#+begin_src 
| name   | C1 | C2 | Res |
|+++-|
| Adams  |  5 |  5 |  10 |
| Miller |  6 |  2 |   8 |
| Smith  |  9 |  1 | 1.7 |
,#+TBLFM: $4=$3+$2::@4$4=0.1*@4$2+0.8*@4$3
#+end_src

Now I reorder the table using the column C1
* Original reordered
#+begin_src 
| name   | C1 | C2 | Res |
|+++-|
| Smith  |  9 |  1 |  10 |
| Miller |  6 |  2 |   8 |
| Adams  |  5 |  5 | 4.5 |
,#+TBLFM: $4=$3+$2::@4$4=0.1*@4$2+0.8*@4$3
#+end_src


Everything looks fine, however when I recalculate the table calc follows
its definition and I obtain 
* Original reordered recalculated

#+begin_src 
| name   | C1 | C2 | Res |
|+++-|
| Smith  |  9 |  1 |  10 |
| Miller |  6 |  2 |   8 |
| Adams  |  5 |  5 | 4.5 |
,#+TBLFM: $4=$3+$2::@4$4=0.1*@4$2+0.8*@4$3
#+end_src

Which is not what I want. So the question is this.
Is there any way to enhance the ordering of rows so that it is reflected
in the way the rows a calculated
I mean reordering should/could have produced

* Original reordered TBLFM changed

#+begin_src 
| name   | C1 | C2 | Res |
|+++-|
| Smith  |  9 |  1 |  10 |
| Miller |  6 |  2 |   8 |
| Adams  |  5 |  5 | 4.5 |
,#+TBLFM: $4=$3+$2::@2$4=0.1*@2$2+0.8*@2$3
#+end_src


Is this behavior possible? When I delete a row or a column, the  TBLFM
is updated, could that be done for reordering?

Thanks 

Uwe Brauer 




[O] Release 9.2.4

2019-06-11 Thread Bastien
Hi all,

I released Org 9.2.4, a bugfix release.

Enjoy!

-- 
 Bastien




Re: [O] using org-mark-entry-for-agenda-action

2019-06-11 Thread Kyle Meyer
"Victor A. Stoichita"  writes:

> The manual describes the function 
> org-mark-entry-for-agenda-action. It should
>> "Mark the current entry for agenda action. After you have marked 
>> the entry like this, you can open the agenda or the calendar to 
>> find an appropriate date. With point on the selected date, press 
>> k s or k d to schedule the marked item."
>
> https://orgmode.org/manual/Inserting-deadline_002fschedule.html
>
> However, I can’t seem to find that function using Org mode version 
> 9.2.3 (9.2.3-20-g31873e-elpaplus). Am I missing something? 

That command was deleted in f95e5ff1b (Fix a bug, allow "i" in calendar
(and remove "k" from calendar), 2012-09-30).  doc/org-manual.org no
longer contains a reference to it as of e95ac0bac (org-manual: Delete
reference to removed function, 2019-05-08).  Following your link, I
don't see the text you quote, so it seems the manual online has already
been updated.

-- 
Kyle



Re: [O] using org-mark-entry-for-agenda-action

2019-06-11 Thread Victor A. Stoichita



Le 11 Jun 2019, Kyle Meyer  a écrit :


"Victor A. Stoichita"  writes:

The manual describes the function 
org-mark-entry-for-agenda-action. It should
"Mark the current entry for agenda action. After you have 
marked 
the entry like this, you can open the agenda or the calendar 
to 
find an appropriate date. With point on the selected date, 
press 
k s or k d to schedule the marked item."


https://orgmode.org/manual/Inserting-deadline_002fschedule.html

However, I can’t seem to find that function using Org mode 
version 
9.2.3 (9.2.3-20-g31873e-elpaplus). Am I missing something? 


That command was deleted in f95e5ff1b (Fix a bug, allow "i" in 
calendar
(and remove "k" from calendar), 2012-09-30).  doc/org-manual.org 
no
longer contains a reference to it as of e95ac0bac (org-manual: 
Delete
reference to removed function, 2019-05-08).  Following your 
link, I
don't see the text you quote, so it seems the manual online has 
already

been updated.


Thanks for the confirmation. Indeed, after refreshing my browser 
cache, the description in the manual disappeared.


Is there now another way to the same effect: schedule an existing 
entry by browsing the agenda for an appropriate date?


Victor



Re: [O] using org-mark-entry-for-agenda-action

2019-06-11 Thread Kyle Meyer
"Victor A. Stoichita"  writes:

[...]

> Is there now another way to the same effect: schedule an existing 
> entry by browsing the agenda for an appropriate date?

Sorry, I'm not aware of a way to do that, but hopefully others will
chime to say I'm overlooking something.

-- 
Kyle