Re: [O] How are people handling their calendars?

2016-10-24 Thread Eric Abrahamsen
Okay, will put it on my short list :)




[O] Call for an Emacs Library Developer

2016-10-24 Thread Jeff Rush
I'm a huge fan of Org-Mode and have tried on and off to use it to sync
tasks with Toodledo.com.  There is an Emacs library org-toodledo for
this but it has fallen into disrepair and the author of the latest fork,
@myuhe (Yuhei Maeda) can't be found.

I need it fixed in specific ways and I'm willing to pay for that work.
(the result of this work will be/remains shared w/the community)

1. migrate from Toodledo.com API 2.0 to API 3.0 (OAuth2)
2. set it up to run on Travis-CI with unit tests, so it stays working
3. extend it to use the org-agenda-list for files to sync with instead
of just the one it does today
4. base it off the github myuhe branch as it seems to be the latest
5. add code to handle data exchange errors (bad chars in content)
and add unit tests to test those error handlers; today it hangs
on bad data.
6. get the result onto MELPA in a standard, proper package, along
with all dependencies so anyone can install it easily

This module seems to be the best way forward for making the many
tasks I maintain in org-mode available bi-directionally on my Android
phone, using the Ultimate ToDo app (layers over Toodledo.com) and
the Orgzly app (syncs docs and tasks (via search expr) using Dropbox).

-Jeff





Re: [O] How are people handling their calendars?

2016-10-24 Thread Scott Randby
On 10/23/2016 07:36 PM, Tristan Strange wrote:
> The world of calendars is a murky one isn't it? After a couple of weeks
> of fiddling around I finally decided I'd keep my TODO's, deadlines, etc
> in a TODO.org and have org-gcal fetch (note not synchronise) my calendar
> from Google.
> 
> That way I do all my daily TODO mangling in orgmode, edit calendar when
> on Desktop or Mobile and pull results in to org agenda for easier viewing.
> 
> So how do you lot handle your calendars?

Since I lack the knowledge that appears to be needed to get calendar
syncing to work, my need for a calendar on my phone is limited, and it
pains me greatly to make any changes to my calendar outside of org, I
have a very primitive system for transferring my calendar to my phone.

Whenever I make a change to my calendar on my laptop, I open the agenda
to show the month which contains the change, export that month to an
html file (with a name like 2016-10.html), and upload the html file to
my phone via Bluetooth. The html file looks good when I open it on my
Android phone and I don't have to carry my laptop everywhere.

At first, I used Dropbox instead of transferring via Bluetooth, but the
Android Dropbox app has permission to take over your phone and that
worried me (I have all the Google apps except one turned off on my
phone). I like the fact that I don't have to connect to the Internet to
transfer the calendar to the phone.

Yes, this system is embarrassingly simple and it has no features that
many would want to have, but I don't need those features. All I need is
to be able to look at my calendar when I don't have my laptop, and this
system allows me to do that.

Scott Randby

> 
> Do any of you have a working two way set up with CalDAV or anything?
> 
> Cheers,
> Tristan



Re: [O] bug if link description contains percent sign (%)

2016-10-24 Thread Nicolas Goaziou
Hello,

Daniel Clemente  writes:

> With yesterday's org-mode: if I export (C-c C-o O O) this line of text, it 
> fails because of the % character:
>
> See [[file:/][the m%n syntax]].
>
> Debugger entered--Lisp error: (error "Not enough arguments for format string")

Fixed. Thank you.

Regards,

-- 
Nicolas Goaziou



Re: [O] Bug: Corrupted export of tables to LaTeX math mode [8.3.6 (8.3.6-7-g4d7d52-elpaplus @ c:/Users/thoma/.emacs.d/elpa/org-plus-contrib-20161017/)]

2016-10-24 Thread Nicolas Goaziou
Hello,

Thomas Stenhaug  writes:

> Nick Dokos  writes:
>
>> I can reproduce this and I think the problem is that the table
>> includes the empty line after it and that gets carried into the data
>> that org-export-data passes into org-latex-matrices.
>
> That seems to be the case; for each empty line between the table and the
> first nonempty line, an empty line is added before the \] in the latex
> output.

Fixed. Thank you.

Regards,

-- 
Nicolas Goaziou



Re: [O] Bug: Corrupted export of tables to LaTeX math mode [8.3.6 (8.3.6-7-g4d7d52-elpaplus @ c:/Users/thoma/.emacs.d/elpa/org-plus-contrib-20161017/)]

2016-10-24 Thread Thomas Stenhaug
Nick Dokos  writes:

> I can reproduce this and I think the problem is that the table
> includes the empty line after it and that gets carried into the data
> that org-export-data passes into org-latex-matrices.

That seems to be the case; for each empty line between the table and the
first nonempty line, an empty line is added before the \] in the latex
output.

> and the data has a ":beg 8 :end 44" specification that correspond to
> the '#' and the 'w' of the whoops.
>
> However, it's hard to debug: when I try to edebug org-export-data I
> get the attached backtrace, presumably
> because the cl-macrolet in org-export-data confuses edebug:

I couldn't make anything of that either. :)  Any ideas where I should
look next?


Best regards,

Thomas Stenhaug






Re: [O] table and field reference a la OO/LO

2016-10-24 Thread Thierry Banel
Le 24/10/2016 11:48, Uwe Brauer a écrit :
>> Le 23/10/2016 18:33, Uwe Brauer a écrit :
>
>> Maybe you can try  C-c }  org-table-toggle-coordinate-overlays
>
> That is a great suggestions thanks
>> First outline the header (C-c -):
>
>> | 1/A |   B |  C |   D |
>> |-+-++-|
>> |   2 | 200 | 10 | 190 |
>> |   3 | || |
>
> You mean add a hline?
Yes, a hline.
Coordinates are overlaid on the hline.
Otherwise you don't see them.

>
>> After C-c } rows and columns coordinates are shown:
>
>> |   1| 1/A |   B |  C |   D |
>> |I*1 |$1---+$2---+$3--+$4---|
>> |   2|   2 | 200 | 10 | 190 |
>> |   3|   3 | || |
>
> Thanks this is really what I was looking for.
>




Re: [O] How are people handling their calendars?

2016-10-24 Thread Philip Hudson
I use Eric Fraga's ical2org awk script, with a few tiny tweaks. It's on Worg.

On 24 October 2016 at 00:36, Tristan Strange  wrote:
> The world of calendars is a murky one isn't it? After a couple of weeks of
> fiddling around I finally decided I'd keep my TODO's, deadlines, etc in a
> TODO.org and have org-gcal fetch (note not synchronise) my calendar from
> Google.
>
> That way I do all my daily TODO mangling in orgmode, edit calendar when on
> Desktop or Mobile and pull results in to org agenda for easier viewing.
>
> So how do you lot handle your calendars?
>
> Do any of you have a working two way set up with CalDAV or anything?
>
> Cheers,
> Tristan



-- 
Phil Hudson  http://hudson-it.ddns.net
Pretty Good Privacy (PGP) ID: 0x887DCA63



[O] Agenda filtering

2016-10-24 Thread Richard Lawrence
Hi everyone,

I have an Org file with a lot of projects that look like this:

* TODO Project A
  DEADLINE: <2016-10-28 Fri>
** NEXT Subtask 1
** TODO Subtask 2

* TODO Project B
  DEADLINE: <2016-10-31 Mon>
** DONE Subtask 1
** NEXT Subtask 2

Some of these projects have deadlines far in the future, some near.  I'd
like to focus on just the NEXT tasks for projects with upcoming
deadlines.

Is there a simple way for me to say to the agenda, "Show me all (and
only) the NEXT tasks that are part of a project whose deadline is before
(say) 2016-11-01"?  It seems like this should be possible with the
built-in agenda but I can't quite figure it out.  The tricky thing is
filtering by the deadline of the parent project, which might be several
levels up.

Many thanks for your insights!

Best,
Richard



Re: [O] How are people handling their calendars?

2016-10-24 Thread Daniel Clemente
I only tried the visualization part a few days ago, by exporting to
iCalendar (.ics). But the process was too slow: after fixing some export
errors it was still taking more than 1 hour for a large .org file.

After that I wanted to use Iceowl/Lightning (extension to
Icedove/Thunderbird) to open the .ics. But there might be better .ics
browsers (that run in local).

On Mon, Oct 24, 2016 at 1:36 AM, Tristan Strange 
wrote:

> The world of calendars is a murky one isn't it? After a couple of weeks of
> fiddling around I finally decided I'd keep my TODO's, deadlines, etc in a
> TODO.org and have org-gcal fetch (note not synchronise) my calendar from
> Google.
>
> That way I do all my daily TODO mangling in orgmode, edit calendar when on
> Desktop or Mobile and pull results in to org agenda for easier viewing.
>
> So how do you lot handle your calendars?
>
> Do any of you have a working two way set up with CalDAV or anything?
>
> Cheers,
> Tristan
>


Re: [O] How are people handling their calendars?

2016-10-24 Thread Eric S Fraga
On Sunday, 23 Oct 2016 at 23:36, Tristan Strange wrote:
> So how do you lot handle your calendars?

I use mobileorg on Android to synchronise my Google calendar with
org.  This is mostly to make my org calendar visible on my phone and I
seldom input anything directly into the Google calendar and especially
not TODO items.

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 26.0.50.1, Org release_8.3.6-1237-g622f23



[O] bug if link description contains percent sign (%)

2016-10-24 Thread Daniel Clemente

With yesterday's org-mode: if I export (C-c C-o O O) this line of text, it 
fails because of the % character:

See [[file:/][the m%n syntax]].



Debugger entered--Lisp error: (error "Not enough arguments for format string")
  format(#("[[%s][the m%n syntax]]" 6 20 (:parent (link (:type "file" :path "/" 
:format bracket :raw-link "file:/" :application nil :search-option nil :begin 5 
:end 31 :contents-begin 15 :contents-end 29 :post-blank 0 :parent (paragraph 
(:begin 1 :end 33 :contents-begin 1 :contents-end 33 :post-blank 0 
:post-affiliated 1 :parent (section (:begin 1 :end 33 :contents-begin 1 
:contents-end 33 :post-blank 0 :post-affiliated 1 :parent ...) #4)) #("See " 0 
4 (:parent #4)) #2 #(".\n" 0 2 (:parent #4 #("the m%n syntax" 0 14 (:parent 
#2) "file:/")
  org-element-link-interpreter((link (:type "file" :path "/" :format bracket 
:raw-link "file:/" :application nil :search-option nil :begin 5 :end 31 
:contents-begin 15 :contents-end 29 :post-blank 0 :parent (paragraph (:begin 1 
:end 33 :contents-begin 1 :contents-end 33 :post-blank 0 :post-affiliated 1 
:parent (section (:begin 1 :end 33 :contents-begin 1 :contents-end 33 
:post-blank 0 :post-affiliated 1 :parent (org-data nil #4)) #2)) #("See " 0 4 
(:parent #2)) #0 #(".\n" 0 2 (:parent #2 #("the m%n syntax" 0 14 (:parent 
#0))) #("the m%n syntax" 0 14 (:parent (link (:type "file" :path "/" :format 
bracket :raw-link "file:/" :application nil :search-option nil :begin 5 :end 31 
:contents-begin 15 :contents-end 29 :post-blank 0 :parent (paragraph (:begin 1 
:end 33 :contents-begin 1 :contents-end 33 :post-blank 0 :post-affiliated 1 
:parent (section (:begin 1 :end 33 :contents-begin 1 :contents-end 33 
:post-blank 0 :post-affiliated 1 :parent ...) #4)) #("See " 0 4 (:parent #4)) 
#2 #(".\
 n" 0 2 (:parent #4 #("the m%n syntax" 0 14 (:parent #2))
  org-org-link(…)
  org-export-data(…)



Greetings,

Daniel



Re: [O] How are people handling their calendars?

2016-10-24 Thread Saša Janiška
Eric Abrahamsen  writes:

> org-caldav is otherwise a good, solid package, and I think it would be a
> shame to turn away from it because of a bug like this.

Well, at the moment it’s simply not usuable with more than one
calendar. I was using it in the past, but then wondered why my calendar
entries are messed up in my phone’c calendar.

Being relatively new Emacs user I still do not possess required Elisp
skills to fix it, so my current setup is that I simply use khal which is
synced with vdirsyncer to my Android phones and use org-mode for other
tasks not requiring entry on my phone.


Sincerely,
Gour

-- 
The embodied soul may be restricted from sense enjoyment,
though the taste for sense objects remains. But, ceasing
such engagements by experiencing a higher taste,
he is fixed in consciousness.




Re: [O] How are people handling their calendars?

2016-10-24 Thread Samuel Loury
Tristan Strange  writes:

> The world of calendars is a murky one isn't it? After a couple of weeks of
> fiddling around I finally decided I'd keep my TODO's, deadlines, etc in a
> TODO.org and have org-gcal fetch (note not synchronise) my calendar from
> Google.
>
> That way I do all my daily TODO mangling in orgmode, edit calendar when on
> Desktop or Mobile and pull results in to org agenda for easier viewing.
>
> So how do you lot handle your calendars?

The same way you do :-).

> Do any of you have a working two way set up with CalDAV or anything?

So far, I never managed to have a two way sync working correctly, or at
least without being too intrusive.

-- 
Konubinix
GPG Key: 7439106A
Fingerprint: 5993 BE7A DA65 E2D9 06CE  5C36 75D2 3CED 7439 106A


signature.asc
Description: PGP signature


Re: [O] table and field reference a la OO/LO

2016-10-24 Thread Uwe Brauer

   > Le 23/10/2016 18:33, Uwe Brauer a écrit :

   > You may also try C-c ' in the D2 cell.
   > A new buffer displays the formula.
   > Moving the cursor through the formula highlights the involved cells.


That is also very nifty, thanks




Re: [O] table and field reference a la OO/LO

2016-10-24 Thread Uwe Brauer

   > Le 23/10/2016 18:33, Uwe Brauer a écrit :

   > Maybe you can try  C-c }  org-table-toggle-coordinate-overlays

That is a great suggestions thanks
   > First outline the header (C-c -):

   > | 1/A |   B |  C |   D |
   > |-+-++-|
   > |   2 | 200 | 10 | 190 |
   > |   3 | || |

You mean add a hline?

   > After C-c } rows and columns coordinates are shown:

   > |   1| 1/A |   B |  C |   D |
   > |I*1 |$1---+$2---+$3--+$4---|
   > |   2|   2 | 200 | 10 | 190 |
   > |   3|   3 | || |

Thanks this is really what I was looking for.








Re: [O] How are people handling their calendars?

2016-10-24 Thread Eric Abrahamsen
Saša Janiška  writes:

> Eric Abrahamsen  writes:
>
>> I use the org-caldav package, and that works quite well for two-way
>> sync. You can use sync multiple calendars, selecting by tags, etc.
>
> I did use org-caldav to sync my phone contacts (DAVdroid) via ownCloud
> with my desktop (khal/vdirsyncer), but, as confirmed by
> https://github.com/dengste/org-caldav/issues/51 it does not work any
> longer (I’ve a need to use 4 different calendars).
>
> So, I’d be very happy to hear if you can sync multiple calendars with
> newer versions of Emacs?

No, I actually haven't tried it, but I was going to soon, so this is
good information!

org-caldav is otherwise a good, solid package, and I think it would be a
shame to turn away from it because of a bug like this. I know David
isn't super active with this package, but he's taken pull requests in
the past. Maybe someone else can tackle this bug?




Re: [O] How are people handling their calendars?

2016-10-24 Thread Saša Janiška
Eric Abrahamsen  writes:

> I use the org-caldav package, and that works quite well for two-way
> sync. You can use sync multiple calendars, selecting by tags, etc.

I did use org-caldav to sync my phone contacts (DAVdroid) via ownCloud
with my desktop (khal/vdirsyncer), but, as confirmed by
https://github.com/dengste/org-caldav/issues/51 it does not work any
longer (I’ve a need to use 4 different calendars).

So, I’d be very happy to hear if you can sync multiple calendars with
newer versions of Emacs?


Sincerely,
Gour

-- 
One must deliver himself with the help of his mind, and not
degrade himself. The mind is the friend of the conditioned soul,
and his enemy as well.




Re: [O] How are people handling their calendars?

2016-10-24 Thread Eric Abrahamsen
Tristan Strange  writes:

> The world of calendars is a murky one isn't it? After a couple of
> weeks of fiddling around I finally decided I'd keep my TODO's,
> deadlines, etc in a TODO.org and have org-gcal fetch (note not
> synchronise) my calendar from Google.
>
> That way I do all my daily TODO mangling in orgmode, edit calendar
> when on Desktop or Mobile and pull results in to org agenda for easier
> viewing.
>
> So how do you lot handle your calendars?
>
> Do any of you have a working two way set up with CalDAV or anything?

I use the org-caldav package, and that works quite well for two-way
sync. You can use sync multiple calendars, selecting by tags, etc.

The only trouble I had was using a radicale server, which seemed to
expose a bug in xml.el. That's bug 23440, which has a patch that fixes
the problem. The patch hasn't actually been integrated into Emacs, but I
suppose will eventually.