Re: [O] First steps in customizing org-mode

2015-10-10 Thread Giulio Petrucci
Hi Eric,

thanks for your reply.

On Fri, Oct 9, 2015 at 6:02 PM, Eric Abrahamsen  wrote:
> Google's not the place to look! For once. One of the main principles of
> Emacs, and thus of Org mode, is that it is self-documenting. You'll get
> a better sense of what `org-agenda-custom-commands' does, and how to use
> it, by hitting "C-h v org-agenda-custom-commands" than you will from any
> other source. There's even a clickable link to customize it.

In some sense I strongly disagree with this idea.
Let me explain: it is true that reading the docs for
'org-agenda-custom-commands' helps me more than googling here and
there.
But *first* I have to know that such a variable exists.
So my actual problem is the following: which is the easiest entry
point for the org universe?

Thanks,
Giulio

--



[O] First steps in customizing org-mode

2015-10-09 Thread Giulio Petrucci
Hello there,

this is my first post here so let me introduce myself: my name is
Giulio, or "petrux" for friends. I am italian. I am a PhD candidate at
University of Trento and I've been working for many years as a
developer before "going back to school".
I use Emacs for almost everything. I love org-mode and I would like to
start using it at an higher level.
So, I would like to heavily customize it.
I am experiencing some problems that come from MOSTLY my un-expertise
in Lisp/EmacsLisp -- which I am actually trying to recover.

Another problem that I am eperiencing is that it is very hard for me
to find documentation about the org-mode function and variables.
For this specific issue, is there any resource that shows you *what*
you can do *and how* to do it?

Thanks,
Giulio

P.S. here is an example of what I mean. I have learned from some
examples that I can customize my agenda views acting on the
org-agenda-custom-commands variable. If I google for that variable's
name, I end up in some pages not telling me that much about that
variable, how to customize it  and so on. So what I need is an
exaustive list of "In org-mode, you can do this and this and this..."
for beginner.

--



[O] Removing headers from custom agenda view

2015-02-06 Thread Giulio Petrucci
Hello there,

I'm playing a bit with the custom agenda view and have ended up with
something like:

(setq org-agenda-custom-commands
  '((b Test
   (tags-todo STARTED ((org-agenda-overriding-header Started)))
   (tags-todo WAITING ((org-agenda-overriding-header Waiting))

I would like to have no header at all, like

  Task:   STARTED task1
  Task:   STARTED task3
  agenda:   WAITING task12

is it possible? Setting an empty value for
org-agenda-overriding-header ends up in displaying an empty line,
while setting NIL ends up with a default header.

Thanks in advance,
Giulio

--



Re: [O] Showing next items in agenda + deadline in past

2015-01-15 Thread Giulio Petrucci
Hi Sebastien,

On Thu, Jan 15, 2015 at 7:07 PM, Sebastien Vauban
sva-n...@mygooglest.com wrote:
 AFAIK, such a thing is not implemented in the standard agenda -- and
 that makes sense.

I agree, as I pointed out before:

Giulio Petrucci wrote:
 I think makes sense: you need to tell org-mode that your deadline has been 
 met.

I was not arguing about the correctness of the policy, but just about
a possible workaround. ;-)

Thanks,
Giulio

--



Re: [O] Showing next items in agenda + deadline in past

2015-01-15 Thread Giulio Petrucci
Hi Sebastien,

On Thu, Jan 15, 2015 at 1:47 PM, Sebastien Vauban
sva-n...@mygooglest.com wrote:
 Yes, with a custom agenda commands along these lines:

Thanks for the snippet: I tested it and it works.
But I think that's not what Florian asked for (and what I need as well).
I need to remove past deadlines from the the result of an `agenda` command.
Any hint?

Thanks,
Giulio

--



Re: [O] Showing next items in agenda + deadline in past

2015-01-14 Thread Giulio Petrucci
Hi Florian,

On Wed, Jan 14, 2015 at 2:09 PM, Florian Lindner mailingli...@xgm.de wrote:
 1) How can I configure it to show not the next n days, but the next n events
 like:

Don't know but I mus confess I am struggling with the same problem in
these days.

 2) There is this 75 d. ago Abstract DEADLINE. How am I supposed to act on
 deadlines in the past? The item has no TODO/DONE marker, just the DEADLINE.
 How to say that the action that relates to this deadline is done?

I resolved marked it as DONE.
I think makes sense: you need to tell org-mode that your deadline has been met.
Would be interesting to know if there is a way to tell org-mode to
load only /future/ deadline in the agenda...

Ciao,
Giulio

--