Re: [O] org-collector - Date-based conditions

2017-12-06 Thread Gonzalo Camarillo
Hi,

after investigating a bit, it turns out the condition can be any elisp
expression. So, the following block lists all items with SCHEDULED dates
up to today:

#+BEGIN: propview :conds  ((string< (org-read-date nil nil SCHEDULED)
(org-read-date nil nil "+1"))) :cols (ITEM EFFORT)

#+END:


However, per the second part of my initial question, I am still unable
to have a block only list items with no TODO keyword. Interestingly,
simply adding the TODO property to the conditions makes items with no
TODO keyword *not* be listed at all. For example, the block below will
list items with TODO keywords different than "WAITING", but it will not
include items with no TODO keyword for some reason:

#+BEGIN: propview :conds  ((not (string= TODO "WAITING"))) :cols (ITEM
EFFORT)

#+END:

So, the block above will include Item A below, but not Item C.

* TODO Item A
* WAITING Item B
* Item C

Any ideas how to fix that?

Thanks,

Gonzalo

On 05/12/2017 7:13 PM, Gonzalo Camarillo wrote:
> Hi,
> 
> I am using org-collector to generate agenda views. For example, the
> following block includes all items whose TODO keyword is "WAITING":
> 
> #+BEGIN: propview :conds ((string= TODO "WAITING")) :cols (ITEM EFFORT)
> 
> #+END:
> 
> I would like to add an additional condition based on the SCHEDULED
> property of items. I would like to list all items whose SCHEDULED
> property is less (earlier) or equal than today. How can I write such a
> condition?
> 
> To do the above using org-agenda-custom-commands, I use the following:
> 
>   tags "TODO=\"WAITING\"+SCHEDULED<=\"\""
> 
> I would like to do the same using org-collector instead.
> 
> 
> Additionally, how can I write a condition to select items without a TODO
> keyword? I try (string= TODO "") but it does not seem to work.
> 
> Thanks,
> 
> Gonzalo
> 



[O] org-collector - Date-based conditions

2017-12-05 Thread Gonzalo Camarillo
Hi,

I am using org-collector to generate agenda views. For example, the
following block includes all items whose TODO keyword is "WAITING":

#+BEGIN: propview :conds ((string= TODO "WAITING")) :cols (ITEM EFFORT)

#+END:

I would like to add an additional condition based on the SCHEDULED
property of items. I would like to list all items whose SCHEDULED
property is less (earlier) or equal than today. How can I write such a
condition?

To do the above using org-agenda-custom-commands, I use the following:

  tags "TODO=\"WAITING\"+SCHEDULED<=\"\""

I would like to do the same using org-collector instead.


Additionally, how can I write a condition to select items without a TODO
keyword? I try (string= TODO "") but it does not seem to work.

Thanks,

Gonzalo




[O] Colors for tags in Column View

2015-03-01 Thread Gonzalo Camarillo
Hi,

I am using Org Mode 8.2.10 with Emacs 24.4.1 on Windows 7.

I have assigned colors to my tags as follows:

 (setq org-tag-faces
   '((Tag1 :background LawnGreen) (Tag2  :background yellow)))

The colors work fine in an org file and in the Agenda View. However,
when I am in Column View, the tags do not get those colors. I guess it
is an issue with the faces used by the Column View overlay.

Is there a way to assign a color to a tag so that it works in Column View?

Thanks,

Gonzalo




[O] Emacs server and org-protocol

2014-09-17 Thread Gonzalo Camarillo
Hi,

I am using org-protocol to have my firefox browser talk to my emacs (to
capture stuff).

I am using Windows 7. So, I cannot use the --daemon flag to simply start
a sever (it is not supported under Windows). Instead, I have added a
(server-start) line to my .emacs file (init.el).

When I run emacs for the first time, everything works correctly (i.e.,
the server starts and I can connect to it from firefox). However, when I
open a second instance of emacs, it processes again the .emacs file and,
thus, I get the following error:

 Warning (server): Unable to start the Emacs server.
 There is an existing Emacs server, named server.
 To start the server in this Emacs process, stop the existing
 server or call `M-x server-force-delete' to forcibly disconnect it.

Does anybody know a workaround so that the server is only started
once?... maybe in connection to opening a particular .org file?

Thanks,

Gonzalo




Re: [O] Emacs server and org-protocol

2014-09-17 Thread Gonzalo Camarillo
Hi Paul,

yes, adding (require 'server) makes the function available. That is exactly
what I was looking for. Thanks for the quick response!

Cheers,

Gonzalo


On Wed, Sep 17, 2014 at 9:36 AM, Paul Rudin p...@rudin.co.uk wrote:

 Gonzalo Camarillo gcama...@gmail.com writes:


  Does anybody know a workaround so that the server is only started
  once?...

 Does the function server-running-p work on windows? If so then you can
 replace (server-start) with (unless (server-running-p) (server-start)).






[O] Freemind export/import to/from org mode

2014-09-05 Thread Gonzalo Camarillo
Hi,

I use org-freemind-from-org-mode on the following org file:

---beginning of file---
* Root node
** Parent
This is the node's note

*** Child
---end of file---

It generates an mm file. I expected the contents of the entries in the
org file to be exported as notes of the nodes in the mind map. Instead,
they are exported as child nodes whose titles are the notes. As a
result, in this example Parent has two children (Child and a note) in
the mind map.

In fact, if I take the mm file and import it back to org using
org-freemind-to-org-mode, I get the following:


---beginning of file---
* Root node
** Parent
***
This is the node's note

*** Child
---end of file---


Is there a way to export the contents of an entry as notes in the mind map?

I face the same problem in the other direction. If I add a note to the
mind map and then export it to org, the note does not make it to the org
file.

I would appreciate any help with these issues.

Thanks,

Gonzalo



Re: [O] Marks not visible in column view

2014-08-29 Thread Gonzalo Camarillo
Hi,

we have had a conversation about this issue on the org-mode IRC channel
and have agreed to follow up on this list in case anybody has further ideas.

The function org-agenda-bulk-marked-p indicates whether or not an entry
is marked. Would it be possible to use it somehow to define a special
property that could be shown in column view?

Any other ways to attack this problem (i.e., to make marked entries
visually distinct in column view) would also be appreciated.

Thanks,

Gonzalo

On 26/08/2014 3:59 PM, Gonzalo Camarillo wrote:
 Hi,
 
 I forgot to mention I am using Emacs 24.2.1 on Windows.
 
 Cheers,
 
 Gonzalo
 
 On 22/08/2014 10:00 PM, Gonzalo Camarillo wrote:
 Hi,

 in the agenda we can mark several entries for bulk processing. In the
 following example, the second and third agenda entries are marked. To
 indicate they are marked, a '' symbol is shown right before them:

   Projects:   TODO Write the document
 Projects:   TODO Call Bob
 Projects:   TODO Arrange meeting with Laura

 Now, if we enter column view, those marks are not visible. For example,
 the following column view shows the title, the TODO keyword, and the
 estimated effort for all entries:

 Write the document | TODO  | 0:30 |
 Call Bob   | TODO  | 0:15 |
 Arrange meeting with Laura | TODO  | 0:10 |

 Is it possible to have the column view show which entries are marked?

 Thanks,

 Gonzalo

 




Re: [O] Marks not visible in column view

2014-08-26 Thread Gonzalo Camarillo
Hi,

I forgot to mention I am using Emacs 24.2.1 on Windows.

Cheers,

Gonzalo

On 22/08/2014 10:00 PM, Gonzalo Camarillo wrote:
 Hi,
 
 in the agenda we can mark several entries for bulk processing. In the
 following example, the second and third agenda entries are marked. To
 indicate they are marked, a '' symbol is shown right before them:
 
   Projects:   TODO Write the document
  Projects:   TODO Call Bob
  Projects:   TODO Arrange meeting with Laura
 
 Now, if we enter column view, those marks are not visible. For example,
 the following column view shows the title, the TODO keyword, and the
 estimated effort for all entries:
 
 Write the document | TODO  | 0:30 |
 Call Bob   | TODO  | 0:15 |
 Arrange meeting with Laura | TODO  | 0:10 |
 
 Is it possible to have the column view show which entries are marked?
 
 Thanks,
 
 Gonzalo
 




Re: [O] Marks not visible in column view

2014-08-26 Thread Gonzalo Camarillo
Hi,

I forgot to mention I am using Emacs 24.2.1 on Windows.

Cheers,

Gonzalo

On 22/08/2014 10:00 PM, Gonzalo Camarillo wrote:
 Hi,
 
 in the agenda we can mark several entries for bulk processing. In the
 following example, the second and third agenda entries are marked. To
 indicate they are marked, a '' symbol is shown right before them:
 
   Projects:   TODO Write the document
 Projects:   TODO Call Bob
 Projects:   TODO Arrange meeting with Laura
 
 Now, if we enter column view, those marks are not visible. For example,
 the following column view shows the title, the TODO keyword, and the
 estimated effort for all entries:
 
 Write the document | TODO  | 0:30 |
 Call Bob   | TODO  | 0:15 |
 Arrange meeting with Laura | TODO  | 0:10 |
 
 Is it possible to have the column view show which entries are marked?
 
 Thanks,
 
 Gonzalo
 




[O] Marks not visible in column view

2014-08-22 Thread Gonzalo Camarillo
Hi,

in the agenda we can mark several entries for bulk processing. In the
following example, the second and third agenda entries are marked. To
indicate they are marked, a '' symbol is shown right before them:

  Projects:   TODO Write the document
 Projects:   TODO Call Bob
 Projects:   TODO Arrange meeting with Laura

Now, if we enter column view, those marks are not visible. For example,
the following column view shows the title, the TODO keyword, and the
estimated effort for all entries:

Write the document | TODO  | 0:30 |
Call Bob   | TODO  | 0:15 |
Arrange meeting with Laura | TODO  | 0:10 |

Is it possible to have the column view show which entries are marked?

Thanks,

Gonzalo