Re: [Orgmode] Re: Publishing clocked time

2009-09-09 Thread Ivan Chernetsky
 Actually on this topic, I'd like to be able to make a simple table of
 all time itemized by day.

I am definitely subscribing to it. Also it would be wonderful if there
will be an option to include a table with tasks that was done or was
being done, by day. IMHO, such options allow to use org-mode at work
more freely and effectively.

By the way, are there any means of extensibility of publishing, not
touching the source code of org-mode? If no, what are plans about it
in the near future?


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] ignoring non-existent agenda files

2009-09-09 Thread Daniel Clemente
Hi, I recently got this message after starting Emacs daemon:

 non-existent file ~/some/repo/index.org.. [R]emove from list or [A]bort?

1. It wasn't clear to me who issued this message; I thought it would
be recentf or tramp rather than org-mode. Maybe the message could give
some hint about the agenda: „non-existent agenda file …“

2. This question prevented emacs --daemon from starting
non-interactively; that's not nice. I think this minor question
shouldn't block emacs' startup. Maybe via (3.)

3. I don't mind if an agenda file doesn't exist. I have a different
set of .org files in each computer, and my org-agenda-files is a
superset of all. I would prefer a preference to request all
non-existing agenda files to be ignored.


Thanks
-- Daniel


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: iPhone app for Org view and capture

2009-09-09 Thread Giles Chamberlin
Yet another enthusiastic beta tester in waiting here!
-- 
Giles



___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: How to get \\ in title or author?

2009-09-09 Thread Sébastien Vauban
Hi Nick,

Nick Dokos wrote:
 Bastien bastiengue...@googlemail.com wrote:
 Sébastien Vauban wxhgmqzgw...@spammotel.com writes:

 Maybe \linebreak is less context-sensitive than \newline, which would
 mean that there are more contexts (like \title and \author) in which it
 behaves as expected. Just a guess.

 I've asked the question on FCTT (fr.comp.text.tex) and already got an
 answer of Maneul Pegourie-Gonnard (who is expert on that matter):

 http://groups.google.fr/group/fr.comp.text.tex/browse_thread/thread/1b1af2e5291270e2#

 Bastien, there is still one problem, I think, with
 #+AUTHOR:

   \author{one \\ two}

 and

   \author{one \linebreak two}

 behave differently (the \linebreak has no effect), so if one wants the
 first behavior, the exporter's penchant to change \\ to
 \\textbackslash{} will not allow it. I'm not sure why \title and \author
 behave differently: I guess it's because \author is expanded inside a
 \tabular, whereas \title is not.

For sure, it'd be better if `\\' wasn't converted at all when exporting to
LaTeX (for the ones in the TITLE and AUTHOR meta-tags, at least).

But, in my case,

--8---cut here---start-8---
#+TITLE: YYY \linebreak XXX
#+AUTHOR:YYY \linebreak XXX
#+DATE:  2009-09-09
#+DESCRIPTION: 
#+KEYWORDS: 
#+LANGUAGE:  en

[...]
--8---cut here---end---8---

is correctly converted into:

--8---cut here---start-8---
% Created 2009-09-09 Wed 11:37
\documentclass[final,book]{myreport}  % -- our company class
\usepackage[utf8x]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{longtable}
\usepackage{soul}

\usepackage{xcolor}
\usepackage{listings}

\title{YYY \linebreak XXX}
\author{YYY \linebreak XXX}
\date{2009-09-09}

\begin{document}

[...]
--8---cut here---end---8---

and the PDF output of both the Title line and the Author line is on two lines
(perfectly centered, horizontally).

Is your `\maketitle' redefined?

Best regards,
  Seb

-- 
Sébastien Vauban



___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: How to get \\ in title or author?

2009-09-09 Thread Bastien
Sébastien Vauban wxhgmqzgw...@spammotel.com writes:

 For sure, it'd be better if `\\' wasn't converted at all when exporting to
 LaTeX (for the ones in the TITLE and AUTHOR meta-tags, at least).

But how do you insert a backlash in the resulting div/ps/pdf then?  
My expectation was that converting \\ into \textbackslash was more
common than inserting linebreaks in title (of which I didn't think 
in fact...)

-- 
 Bastien


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] ignoring non-existent agenda files

2009-09-09 Thread Bastien
Daniel Clemente n142...@gmail.com writes:

 Hi, I recently got this message after starting Emacs daemon:

  non-existent file ~/some/repo/index.org.. [R]emove from list or [A]bort?

 1. It wasn't clear to me who issued this message; I thought it would
 be recentf or tramp rather than org-mode. Maybe the message could give
 some hint about the agenda: „non-existent agenda file …“

I've made this change.

 2. This question prevented emacs --daemon from starting
 non-interactively; that's not nice. I think this minor question
 shouldn't block emacs' startup. Maybe via (3.)

 3. I don't mind if an agenda file doesn't exist. I have a different
 set of .org files in each computer, and my org-agenda-files is a
 superset of all. I would prefer a preference to request all
 non-existing agenda files to be ignored.

-- 
 Bastien


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] GTD and adding next actions under projects with remember

2009-09-09 Thread Desmond Rivet
Hi all,

I'm using org-mode to implement GTD (or, at least, making a valiant
effort :) I'm currently doing the following:

 * projects are TODO items under a Project heading with a) a project
   tag and b) a CATEGORY property summarizing the project with a short
   label.

 * waiting items are TODO items with a waiting tag under a Waiting
   heading.

 * next actions are TODO items without a project or waiting tag. 

 * contexts are tags attached to the next action and start with @

 * if a next action is under a project heading, then it belongs to that
   project.  I have a special heading called, for lack of a better name,
   Misc under which I put all my next actions which are not associated
   with any project.

This all seems to work ok so far, except for one thing: I can't figure
out how to add next actions under a particular project heading using
remember.

The problem is that I have to specify a heading for the template in
org-remember-templates in the .emacs file.  This is okay when I want to
jot down a new project, waiting item or *generic* next action, because
all these items have fixed headings, but I don't know how to make this
work when I don't know the heading ahead of time (remember that next
actions associated with projects live under the project heading).

Any ideas? Thanks in advance for any help.

-- 
Desmond Rivet

Pain is weakness leaving the body.


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: GTD and adding next actions under projects with remember

2009-09-09 Thread Paul Mead
Desmond Rivet desmond_n...@videotron.ca writes:

 This all seems to work ok so far, except for one thing: I can't figure
 out how to add next actions under a particular project heading using
 remember.

 The problem is that I have to specify a heading for the template in
 org-remember-templates in the .emacs file.  This is okay when I want to
 jot down a new project, waiting item or *generic* next action, because
 all these items have fixed headings, but I don't know how to make this
 work when I don't know the heading ahead of time (remember that next
 actions associated with projects live under the project heading).

 Any ideas? Thanks in advance for any help.

I do something similar, but use C-1 C-c C-c which allows you to select
the refile heading. Have you tried that?

Paul



___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Prefixing a function call with C-digit

2009-09-09 Thread Carsten Dominik


On Sep 8, 2009, at 8:14 PM, Raffi R wrote:


Dear org users,

I'd like to write some advice or a wrapper function for org-export
such that it defaults to a heading level of 0.


Why don't you just set the variable org-export-headline-levels ?



In org-mode normally, I can get this behaviour by pressing C-0 C-x
C-e.  Looking at org.el suggested that I should be able to simply
provide the 0 as an argument, i.e. using (org-export 0). However,
org-export seems to ignore that 0.


(let ((current-prefix-arg 0))
  (call-interactively 'org-export))

HTH

- Carsten




Thank you very much,
- Raffi.


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode




___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] ignoring non-existent agenda files

2009-09-09 Thread Carsten Dominik


On Sep 9, 2009, at 9:53 AM, Daniel Clemente wrote:


Hi, I recently got this message after starting Emacs daemon:

non-existent file ~/some/repo/index.org.. [R]emove from list or  
[A]bort?


1. It wasn't clear to me who issued this message; I thought it would
be recentf or tramp rather than org-mode. Maybe the message could give
some hint about the agenda: „non-existent agenda file …“

2. This question prevented emacs --daemon from starting
non-interactively; that's not nice. I think this minor question
shouldn't block emacs' startup. Maybe via (3.)

3. I don't mind if an agenda file doesn't exist. I have a different
set of .org files in each computer, and my org-agenda-files is a
superset of all. I would prefer a preference to request all
non-existing agenda files to be ignored.


Hi Daniel,

I think the real mistake here is that you call org-agenda,
or maybe `org-agenda-to-appt' from .emacs, also in the case when
you are only starting the daemon.  Any such operaions should
be avoided in the daemon, I think.

Silently ignoring non-existing files on the agenda list does
not seem a good idea to me.  If you want to do this, you can do it lke  
this:



(eval-after-load org
  (setq org-agenda-files
(delq nil (mapcar (if (file-exists-p file)
  file)
  org-agenda-files

Make sure this runs after ou custom-file has been loaded.
(setq org-agenda-files (mapcar (if (file-exists-p file) file)

HTH

- Carsten





Thanks
-- Daniel


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode




___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] iPhone app for Org view and capture

2009-09-09 Thread Carsten Dominik


On Sep 9, 2009, at 5:03 AM, Richard Moreland wrote:

Thanks for checking it out.  Unfortunately I don't have access to  
any Android hardware, and now that I've got Org on my iPhone, I  
probably won't be looking at any other hardware for a while :)  But  
I would be happy to help contribute code/ideas/experience/etc to any  
developers interested in taking it on.


To follow up on this:  What we are doing with this development is
not only write an iPhone app.  Equally important may be that
we are also establishing a protocol for this kind of asymmetric
synching, and implement the Emacs side of it.  Once that is in
place, apps for different platforms can be made, maybe re-using
some of Richard's code.  All these apps will be able to use the
Emacs integration.

- Carsten



On Sep 8, 2009, at 7:43 PM, Sven Bretfeld wrote:

Very nice, congratulations. The unavoidable question: Will there be  
an

Android port as well?

Greetings

Sven




___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode




___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Percent signs in org-remember-templates

2009-09-09 Thread Desmond Rivet
Carsten Dominik carsten.domi...@gmail.com writes:

 On Aug 24, 2009, at 3:27 AM, Desmond Rivet wrote:

 I'm attempting to use the remember package to insert a diary-sexp
 into a
 file for use by the org-mode agenda.  It looks like this;

 %%(diary-remind '(diary-date  %^{Month} %^{Day} t) -%^{Remind days})
 %^{Brief Description}%?

 The double percent at the beginning is causing problems.  Is there any
 way to escape the percent signs?

 Hi Desmond,

 Please pull from git, and then escape like this:

 %\%(diary-remind '(diary-date  %^{Month} %^{Day} t) -%^{Remind days})
 %^{Brief Description}%?

Hrm...tried that with the latest version from git, but it still doesn't
seem to work.  My templates look like this:

(setq org-remember-templates
'(
  (Next Action ?n ** TODO %^{Brief Description}\nAdded: %U\n%?\n 
~/pim/gtd/main_gtd.org  Misc)
  (Waiting ?w ** TODO %^{Brief Description}\nAdded: %U\n%?\n 
~/pim/gtd/main_gtd.org Waiting)
  (Project ?p ** TODO %^{Brief Description} 
:project:\n:PROPERTIES:\n:CATEGORY: %^{Category}\n:END:\nAdded: %U\n%?\n 
   ~/pim/gtd/main_gtd.org Projects)
  (Someday ?s ** %^{Brief Description}\nAdded: %U\n%?\n 
~/pim/gtd/someday.org Misc)

  ;; calendar
  (Birthday ?b %\%(diary-remind '(diary-date  %^{Month} %^{Day}t) 
-%^{Remind days}) %^{Brief Description}%? 
   ~/pim/gtd/dates.org Birthdays)
  (Appointment ?a * %^T %^{Brief Description}%? 
~/pim/gtd/dates.org Appointments)
 )
)

The Birthday one is giving me this when I hit C-c r b:

%%![Error: (void-function diary-remind)] %?

Any ideas?

-- 
Desmond Rivet

Pain is weakness leaving the body.


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Prefixing a function call with C-digit

2009-09-09 Thread Peter Westlake
On Wed, 09 Sep 2009 14:39 +0200, Carsten Dominik
carsten.domi...@gmail.com wrote:

 On Sep 8, 2009, at 8:14 PM, Raffi R wrote:
...
  In org-mode normally, I can get this behaviour by pressing C-0 C-x
  C-e.  Looking at org.el suggested that I should be able to simply
  provide the 0 as an argument, i.e. using (org-export 0). However,
  org-export seems to ignore that 0.

 (let ((current-prefix-arg 0))
   (call-interactively 'org-export))

This also happens to be the reason a function I was trying to write
didn't work! I would never have worked it out for myself - does
anyone have time to explain why the original form doesn't work?

Here, incidentally, is the function I was writing. It works now!
It is intended to be bound to C-c l in the agenda buffer, and
was written by imitating org-agenda-refile:

(defun org-agenda-store-link (arg)
  Store a link to the item at point.
  (interactive P)
  (let* ((marker (or (get-text-property (point) 'org-hd-marker)
 (org-agenda-error)))
 (buffer (marker-buffer marker))
 (org-link-to-org-use-id t))
(with-current-buffer buffer
  (save-excursion
(save-restriction
  (widen)
  (goto-char marker)
  (let ((current-prefix-arg 0))
(call-interactively 'org-store-link)))

Is this the right way to do it?

Peter.


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: How to get \\ in title or author?

2009-09-09 Thread Nick Dokos
=?utf-8?Q?S=C3=A9bastien_Vauban?= wxhgmqzgw...@spammotel.com wrote:

 ...
 is correctly converted into:
 
 --8---cut here---start-8---
 % Created 2009-09-09 Wed 11:37
 \documentclass[final,book]{myreport}  % -- our company class
 \usepackage[utf8x]{inputenc}
 \usepackage[T1]{fontenc}
 \usepackage{longtable}
 \usepackage{soul}
 
 \usepackage{xcolor}
 \usepackage{listings}
 
 \title{YYY \linebreak XXX}
 \author{YYY \linebreak XXX}
 \date{2009-09-09}
 
 \begin{document}
 
 [...]
 --8---cut here---end---8---
 
 and the PDF output of both the Title line and the Author line is on two lin=
 es
 (perfectly centered, horizontally).
 
 Is your `\maketitle' redefined?
 

Hi Seb  Bastien,

The org-latex translation is no problem, but the resulting latex file
does not give me a two-line authorship, either through pdflatex (tested
with xpdf) or through latex-dvi (tested with xdvi) and then through
dvi-ps (tested with gv).

And \maketitle is not redefined. I append the complete LaTeX file in case
you'd like to test. If you do, I'd be interested in the results. I'm
wondering whether the ``myreport'' class does things differently for
you, but I don't really know. It might be time to get my (very
rudimentary) LaTeX debugging skills out of the attic, dust them off, oil
them and put them to work again.

Thanks much,
Nick

--8---cut here---start-8---
% Created 2009-09-09 Wed 00:43
\documentclass[11pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{graphicx}
\usepackage{longtable}
\usepackage{soul}
\usepackage{hyperref}


\title{newlines}
\author{one \linebreak two}
\date{09 September 2009}

\begin{document}

\maketitle

\setcounter{tocdepth}{3}
\tableofcontents
\vspace*{1cm}


\section{foo}
\label{sec-1}


\section{bar}
\label{sec-2}


\end{document}
--8---cut here---end---8---


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] iPhone app for Org view and capture

2009-09-09 Thread tycho garen
On Wed, Sep 09, 2009 at 03:34:36PM +0200, Carsten Dominik wrote:

 To follow up on this:  What we are doing with this development is
 not only write an iPhone app.  Equally important may be that
 we are also establishing a protocol for this kind of asymmetric
 synching, and implement the Emacs side of it.  Once that is in
 place, apps for different platforms can be made, maybe re-using
 some of Richard's code.  All these apps will be able to use the
 Emacs integration.

Depending on the format of the files that the iPhone/J2me/etc. app
needs, would it not just make sense to use git/svn/etc as the
asymmetric protocol for synchronizing things? Or is this too simple? 

Cheers,
sam

-- 
tycho(ish) @
ga...@tychoish.com
http://www.tychoish.com/
http://www.criticalfutures.com/
don't get it right, get it written -- james thurber


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Prefixing a function call with C-digit

2009-09-09 Thread Raffi R
Thank you very much!

On Wed, Sep 9, 2009 at 10:23 AM, Peter Westlakepeter.westl...@pobox.com wrote:
 On Wed, 09 Sep 2009 14:39 +0200, Carsten Dominik
 carsten.domi...@gmail.com wrote:

 On Sep 8, 2009, at 8:14 PM, Raffi R wrote:
 ...
  In org-mode normally, I can get this behaviour by pressing C-0 C-x
  C-e.  Looking at org.el suggested that I should be able to simply
  provide the 0 as an argument, i.e. using (org-export 0). However,
  org-export seems to ignore that 0.

 (let ((current-prefix-arg 0))
   (call-interactively 'org-export))

 This also happens to be the reason a function I was trying to write
 didn't work! I would never have worked it out for myself - does
 anyone have time to explain why the original form doesn't work?

 Here, incidentally, is the function I was writing. It works now!
 It is intended to be bound to C-c l in the agenda buffer, and
 was written by imitating org-agenda-refile:

 (defun org-agenda-store-link (arg)
  Store a link to the item at point.
  (interactive P)
  (let* ((marker (or (get-text-property (point) 'org-hd-marker)
                     (org-agenda-error)))
         (buffer (marker-buffer marker))
         (org-link-to-org-use-id t))
    (with-current-buffer buffer
      (save-excursion
        (save-restriction
          (widen)
          (goto-char marker)
          (let ((current-prefix-arg 0))
            (call-interactively 'org-store-link)))

 Is this the right way to do it?

 Peter.


 ___
 Emacs-orgmode mailing list
 Remember: use `Reply All' to send replies to the list.
 Emacs-orgmode@gnu.org
 http://lists.gnu.org/mailman/listinfo/emacs-orgmode



___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] org-mode 6.30e bug with limited table column width corrupts file

2009-09-09 Thread Michael Brand
First, when I open a file with the content

-*- eval: (org-mode) -*-
#+STARTUP: align
| l8 |
| 3.14 |
| 3.1415926535897932384626433832795 |

and answer yes, I get

-*- eval: (org-mode) -*-
#+STARTUP: align
| l8| l8 |
| 3.14 |
| 3.1415= |

but would expect

-*- eval: (org-mode) -*-
#+STARTUP: align
| l8 |
| 3.14 |
| 3.1415= |

Second, when I delete the last line and save the file, the file content
will be

-*- eval: (org-mode) -*-
#+STARTUP: align
| l8| l8 |
| 3.14 |

as I can see e. g. with emacs itself when I close the file and open it
again declining org-mode with answering no. But the file content should
be

-*- eval: (org-mode) -*-
#+STARTUP: align
| l8 |
| 3.14 |

Can someone please confirm with a more stable and recent emacs version?


---
* org-submit-bug-report

Emacs  : GNU Emacs 23.0.90.7 (x86_64-unknown-linux-gnu, GTK+ Version
2.10.4)
 of 2009-06-23 on ...
Package: Org-mode version 6.30e

current state:
==
(setq
 org-after-todo-state-change-hook '(org-clock-out-if-current)
 org-goto-auto-isearch nil
 org-export-preprocess-hook '(org-export-blocks-preprocess)
 org-tab-first-hook '(org-hide-block-toggle-maybe)
 org-src-mode-hook '(org-src-mode-configure-edit-buffer)
 org-confirm-shell-link-function 'yes-or-no-p
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-cycle-hook '(org-cycle-hide-archived-subtrees
org-cycle-hide-drawers
  org-cycle-show-empty-lines
  org-optimize-window-after-visibility-change)
 org-mode-hook '(#[nil \300\301\302\303\304$\207
   [org-add-hook change-major-mode-hook
org-show-block-all
append local]
   5]
 )
 org-confirm-elisp-link-function 'yes-or-no-p
 org-occur-hook '(org-first-headline-recenter)
 )



___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: How to get \\ in title or author?

2009-09-09 Thread Bastien
Nick Dokos nicholas.do...@hp.com writes:

 The org-latex translation is no problem, but the resulting latex file
 does not give me a two-line authorship, either through pdflatex (tested
 with xpdf) or through latex-dvi (tested with xdvi) and then through
 dvi-ps (tested with gv).

Yes, \newline and \linebreak work in \title (with different outputs) but
not in \author.   \\ works in \author.

-- 
 Bastien


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] GTD and adding next actions under projects with remember

2009-09-09 Thread Friedrich Delgado Friedrichs
Hi!

Let me give a bit of feedback on the aspect of I'm implementing GTD.

I do it a bit differently:

 * Projects are trees (or sub-trees) which have a :Project: Tag
 attached to them. They never have a TODO keyword of any kind.

 * Waiting-For items are tracked with a :WAITING: Tag. They never have
 a TODO keyword of any kind.

 * Only next actions get a todo keyword of TODO (or maybe DOING if
 they are work in progress)

 * Every tag is a potential context for me. The nice thing is that org
 let's me combine them, e.g. :Bob:Phone:

 * I use org's priority cookies exclusively as importance, ranging
 from A - C.

That way I can see a list of next actions immediately by typing C-a a
t, ordered by importance. With your system I fail to see how you can
get quick access to your next action list.

I also get a project list by typing C-a a p (tag match, with
tag-inheritance turned off), also ordered by priority.

Even though I keep todos, projects and reference material in one file
together, org-mode allows me to quickly filter by TODO (== Next Action
List) :Project: (== Project List) and any other Tag (== Context).

I also use active timestamps to designate tickler dates and :SCHEDULE:
and :DEADLINE: cookies for the hard landscape of the day.

Desmond Rivet schrieb:
 The problem is that I have to specify a heading for the template in
 org-remember-templates in the .emacs file.  This is okay when I want to
 jot down a new project, waiting item or *generic* next action, because
 all these items have fixed headings, but I don't know how to make this
 work when I don't know the heading ahead of time (remember that next
 actions associated with projects live under the project heading).
---Zitatende---

Sorry for not helping with your particular problem (It looks like you
might want to use C-1 C-c C-c or something like that), but:

It sounds like you're mixing up collecting and processing. You only
need to fill out the full context in the processing phase. At least I
use the remember interface for quickly jotting down a note, then get
back to work. The stuff I remember just goes into a Collect.org
file, which I later process as an inbox.


-- 
Friedrich Delgado Friedrichs frie...@nomaden.org
 TauPan on Ircnet and Freenode ;)


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] iPhone app for Org view and capture

2009-09-09 Thread aldrin d'souza
2009/9/8 Richard Moreland r...@ncogni.to

 I've been working with Carsten on a free iPhone app for Org.


Absolutely lovely. I've been waiting for this for long.

Once we feel the basics are worked out, we will solicit a request for beta
 testers and feedback


Please count me in.

thanks,
--
ajd.
___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Clocktable not appearing in exports @84c24359689

2009-09-09 Thread Jeff Kowalczyk
Thank you for the fix. Other pdflatex rendering issues are still present at at 
91197ce2, but only with subtree export.

Exporting a subtree with pdflatex (C-@ C-ce p) results in:

- Empty table of contents

- Heading(s) with the text stars, not numbered headings

- CLOSED block on the same line as the star-prefixed heading

Export works fine with a full-buffer export. Exporting a subtree to ASCII (C-@ 
C-ce A) seems be fine too.

Thanks,
Jeff

--- On Tue, 9/8/09, Carsten Dominik carsten.domi...@gmail.com wrote:

 From: Carsten Dominik carsten.domi...@gmail.com
 Subject: Re: [Orgmode] Clocktable not appearing in exports @84c24359689
 To: Jeff Kowalczyk j...@yahoo.com
 Cc: emacs-orgmode@gnu.org
 Date: Tuesday, September 8, 2009, 9:50 AM
 Fixed, thanks.
 
 - Carsten
 
 On Sep 8, 2009, at 2:52 PM, Jeff Kowalczyk wrote:
 
  I updated to org-mode @
 84c24359689004cc646221ad5c4399bb0acffdd8 on emacs 23.1
  
  I don't get any clocktable clock summary output when
 exporting. I've tested this for pdflatex and ASCII to temp
 buffer.
  
  The pdflatex output has some other issues I haven't
 fully identified by visual inspection alone.
  
  I did revert to
 25226d7d65e4620cbe1b814b85226547cd2642eb, and the output is
 fine with that tree.
  
  Thanks,
  Jeff Kowalczyk
  
  
  
  
  
  ___
  Emacs-orgmode mailing list
  Remember: use `Reply All' to send replies to the
 list.
  Emacs-orgmode@gnu.org
  http://lists.gnu.org/mailman/listinfo/emacs-orgmode
 
 


  



___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] org-mode 6.30e bug with limited table column width corrupts file

2009-09-09 Thread Sebastian Rose
Michael Brand michael.br...@nexustelecom.com writes:
 First, when I open a file with the content

 -*- eval: (org-mode) -*-
 #+STARTUP: align
 | l8 |
 | 3.14 |
 | 3.1415926535897932384626433832795 |

 and answer yes, I get

 -*- eval: (org-mode) -*-
 #+STARTUP: align
 | l8| l8 |
 | 3.14 |
 | 3.1415= |

 but would expect

 -*- eval: (org-mode) -*-
 #+STARTUP: align
 | l8 |
 | 3.14 |
 | 3.1415= |

 Second, when I delete the last line and save the file, the file content
 will be

 -*- eval: (org-mode) -*-
 #+STARTUP: align
 | l8| l8 |
 | 3.14 |

 as I can see e. g. with emacs itself when I close the file and open it
 again declining org-mode with answering no. But the file content should
 be

 -*- eval: (org-mode) -*-
 #+STARTUP: align
 | l8 |
 | 3.14 |
official release.
 Can someone please confirm with a more stable and recent emacs version?


Yes, with emacs 23.

If I press C-c C-c in the `3.14` cell, I get an additional cell for each
C-c C-c. This is the result after 4 times `C-c C-c' (I added a headline):



 #+STARTUP: align
 
 * headline
 
 | l8| l8 | l8 | l8 | l8 | l8 |
 | 3.14 |  |  |  |  |




  Sebastian





___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: patch for git: org-ascii.el

2009-09-09 Thread Wes Hardaker
 On Tue, 8 Sep 2009 19:17:38 +0100, Andrew Stribblehill a...@wompom.org 
 said:

AS Are you sure you need this? Try make clean; make, without it?

I think you're right.  The make clean first was necessary.
-- 
\ Wes Hardaker   http://pontifications.hardakers.net /
 \_ In the bathtub of history the truth is harder to hold than /
   \___ the soap, and much more difficult to find. ___/
   \_ -- Terry Pratchett __/
 \__/


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Question re CATEGORY and Agenda Views

2009-09-09 Thread Markus Heller

Hello,

I apologize if this is RTFM, i couldn't find the answer.  Maybe it's 
also because of a misconception on my part.


I have a .org file with the following setup (HEAVILY inspired by Bernt 
Hansen, http://doc.norang.ca/org-mode.html):


* ABC1
  :PROPERTIES:
:CATEGORY: Bugfixes
:PROJECT:  ABC1
  :END:
** STARTED Find bugs
** STARTED Fix bugs

* ABC2
  :PROPERTIES:
:CATEGORY: Bugfixes
:PROJECT:  ABC2
  :END:
** STARTED Find bugs
** STARTED Fix bugs

So I have 2 different projects with identical tasks.  If I bring up the 
agenda and list all STARTED tasks, I get a list that looks like:


Bugfixes:   STARTED Find bugs  :NEXT:
Bugfixes:   STARTED Fix bugs   :NEXT:
Bugfixes:   STARTED Find bugs  :NEXT:
Bugfixes:   STARTED Fix bugs   :NEXT:

So the first column is taken from the CATEGORY property.  How can I 
change this so that the actual project is displayed in the agenda view? 
 I would expect that I'd have to use the PROJECT property, but how do I 
do this?  Or is my whole idea flawed?


Thanks and Cheers
Markus




___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] multiline description list, partial patch

2009-09-09 Thread Eric Schulte
Hi,

I've noticed that the bold face isn't applied to multiline description
lists.  This patch [1] partially fixes the problem, but for some reason
I keep losing the bold.  Any thoughts/ideas?

On a related topic, I'd like to consistently indent my decision list
text, rather than sometimes moving back to the depth of the bold
portion, does anyone else feel similarly and is this supported?

thanks -- Eric

Footnotes: 
[1]  
diff --git a/lisp/org.el b/lisp/org.el
index 39ef466..ed8d776 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -4703,7 +4703,7 @@ between words.
   '(\\[\\([0-9]*%\\)\\]\\|\\[\\([0-9]*\\)/\\([0-9]*\\)\\]
 (0 (org-get-checkbox-statistics-face) t)))
   ;; Description list items
-  '(^[ \t]*\\([-+*]\\|[0-9]+[.)]\\) +\\(.*? ::\\)
+  '(^[ \t]*\\([-+*]\\|[0-9]+[.)]\\) +\\(.*?\n?.*? ::\\)
 2 'bold prepend)
   ;; ARCHIVEd headings
   (list (concat ^\\*+ \\(.*: org-archive-tag :.*\\))
@@ -16272,7 +16272,7 @@ which make use of the date at the cursor.
  (setq column (current-column)))
((org-in-item-p)
(org-beginning-of-item)
-   (looking-at [ \t]*\\(\\S-+\\)[ \t]*\\(\\[[- X]\\][ \t]*\\|.*? :: \\)?)
+   (looking-at [ \t]*\\(\\S-+\\)[ \t]*\\(\\[[- X]\\][ \t]*\\|.*?\n?.*? :: 
\\)?)
(setq bpos (match-beginning 1) tpos (match-end 0)
  bcol (progn (goto-char bpos) (current-column))
  tcol (progn (goto-char tpos) (current-column))
@@ -16372,7 +16372,7 @@ In particular, this makes sure hanging paragraphs for 
hand-formatted lists
 work correctly.
   (cond ((looking-at #[ \t]+)
 (match-string 0))
-   ((looking-at [ \t]*\\([-*+] .*? :: \\))
+   ((looking-at [ \t]*\\([-*+] .*?\n?.*? :: \\))
 (save-excursion
   (if ( (match-end 1) (+ (match-beginning 1)
   org-description-max-indent))




___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: is there a hook to save a remember buffer?

2009-09-09 Thread Alan E. Davis
I've looked briefly into the org-remember.el.  A hook exists:
remember-mode-hook.  Im not sure it can be successfully applied to the case
I envision.

THere are tradeoffs to immediately saving a remember buffer to a file, and
editing a note in the remember buffer, then saving with  remember-finalize.
I don't remember what they are, as they led me away from immediately saving
quite a while ago. I was strongly encouraged by the establishment of a
procedure to automatically save to a directory, any remember buffer that was
not finallized.  I had some issues with it, including how clunky it was to
recover, and it was broken at some point, when I was too busy to fix it.

One problem with editing in the Remember buffer, then saving later, is
forgetting where I am.  I can rely on several remember templates, and too
often have lost the remember buffer's contents, when I ran remember again.

What I propose is the make it possible---optionally---to invoke a hook to
save existing remember buffers when C-c C-r (X) is used to file a remember
note while in the remember buffer already.

I found a test bufferp.  It does not seem to recognize the buffer name
Remember, nor *Remember*.

Is it possible to do this, or is remember going to defeat this?


Alan Davis

You can know the name of a bird in all the languages of the world,  but when
you're finished, you'll know absolutely nothing whatever about the bird...
So let's look at the bird and see what it's doing---that's what counts.

   Richard Feynman



On Wed, Sep 9, 2009 at 3:42 PM, Alan E. Davis lngn...@gmail.com wrote:

 Is there a hook to save the remember buffer when I type C-c C-r when I'm in
 an unsaved remember buffer?  That would be almost as good, perhaps better,
 than saving the remember buffer to a special file or directory.


 Alan

 You can know the name of a bird in all the languages of the world,  but
 when you're finished, you'll know absolutely nothing whatever about the
 bird... So let's look at the bird and see what it's doing---that's what
 counts.

Richard Feynman


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: How to get \\ in title or author?

2009-09-09 Thread Tim Burt



Nick Dokos writes:
  Bastien bastiengue...@googlemail.com wrote:
  
   Sébastien Vauban wxhgmqzgw...@spammotel.com writes:
   
Maybe \linebreak is less context-sensitive than \newline, which would 
mean
that there are more contexts (like \title and \author) in which it 
behaves
as expected. Just a guess.
   
I've asked the question on FCTT (fr.comp.text.tex) and already got an 
answer
of Maneul Pegourie-Gonnard (who is expert on that matter):
   
http://groups.google.fr/group/fr.comp.text.tex/browse_thread/thread/1b1af2e5291270e2#
   
Sorry (for the others), it's in French.
   
   Merci!   Here is a summary:
   
   - none of \\ \linebreak or \newline change a paragraph, they just start
 a new line
   
   - with \linebreak, LaTeX tries to justify the resulting text, not with
 \newline
   
   - \linebreak can take an argument to let LaTeX decides whether the line
 should be broken or not.  The default \linebreak always triggers a
 break, but \linebreak[2] will let LaTeX decides depending on whether
 the result is acceptable or not, and \linebreak[0] prevents any line
 break...
   
   - \\ can take two arguments: one star and one digit.  The star prevents
 the line break to trigger a page break, and the digit lets you add a
 vertical space between the two lines.
   
 In environments like \flushleft \flushright \centering \raggedleft
 \raggedright, \\ doesn't have its normal definition (whereas \newline
 behaves normally).
   
   - \newline is the version of \\ with no argument
   
  
  Bastien,
  
  Thanks for the summary. There is still one problem, I think, with #+AUTHOR:
  
\author{one \\ two}
  
  and
  
\author{one \linebreak two}
  
  behave differently (the \linebreak has no effect), so if one wants the
  first behavior, the exporter's penchant to change \\ to
  \\textbackslash{} will not allow it. I'm not sure why \title and \author
  behave differently: I guess it's because \author is expanded inside a
  \tabular, whereas \title is not.

Indeed, multiple authors should be separated by two backslashes (\\)
in the \author{} command[*] in the standard LaTeX classes
(e.g. article, report, book).  Nick has correctly noted that the
argument of \author{} is used inside a tabular environment, and \\ has
a special meaning that should be added to Bastien's summary above.  
 - In a tabular environment the \\ is necessary to signal the
   end of one row and the beginning of the next.

So, from the perspective of standard LaTeX classes, any instance of \\
in the \author{} command should not be converted during export.

Good afternoon,
Tim



[*] Bastien has also reported that \\ works in a recent message to the
mailing list.  If that was an experimental result, then this reply
only adds theoretical support so that others don't have to get out
their LaTeX debugging skills and dust them off (as Nick said ;-). 


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: GTD and adding next actions under projects with remember

2009-09-09 Thread Matt Lundin
Desmond Rivet desmond_n...@videotron.ca writes:

 I'm using org-mode to implement GTD (or, at least, making a valiant
 effort :) I'm currently doing the following:

  * projects are TODO items under a Project heading with a) a project
tag and b) a CATEGORY property summarizing the project with a short
label.

  * waiting items are TODO items with a waiting tag under a Waiting
heading.

  * next actions are TODO items without a project or waiting tag. 

  * contexts are tags attached to the next action and start with @

  * if a next action is under a project heading, then it belongs to that
project.  I have a special heading called, for lack of a better name,
Misc under which I put all my next actions which are not associated
with any project.

 This all seems to work ok so far, except for one thing: I can't figure
 out how to add next actions under a particular project heading using
 remember.

You can either:

1. Use C-1 C-c C-c to file the item interactively.

or

2. Set org-remember-store-without-prompt to nil.

Best,
Matt


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Question re CATEGORY and Agenda Views

2009-09-09 Thread Matt Lundin
Markus Heller helle...@gmail.com writes:

 I apologize if this is RTFM, i couldn't find the answer.  Maybe it's
 also because of a misconception on my part.

 I have a .org file with the following setup (HEAVILY inspired by Bernt
 Hansen, http://doc.norang.ca/org-mode.html):

 * ABC1
   :PROPERTIES:
 :CATEGORY: Bugfixes
 :PROJECT:  ABC1
   :END:
 ** STARTED Find bugs
 ** STARTED Fix bugs

 * ABC2
   :PROPERTIES:
 :CATEGORY: Bugfixes
 :PROJECT:  ABC2
   :END:
 ** STARTED Find bugs
 ** STARTED Fix bugs

 So I have 2 different projects with identical tasks.  If I bring up
 the agenda and list all STARTED tasks, I get a list that looks like:

 Bugfixes:   STARTED Find bugs  :NEXT:
 Bugfixes:   STARTED Fix bugs   :NEXT:
 Bugfixes:   STARTED Find bugs  :NEXT:
 Bugfixes:   STARTED Fix bugs   :NEXT:

 So the first column is taken from the CATEGORY property.  How can I
 change this so that the actual project is displayed in the agenda
 view? I would expect that I'd have to use the PROJECT property, but
 how do I do this?  Or is my whole idea flawed?

By default, the first item in an agenda line is the CATEGORY. You can
change the appearance of agenda lines by setting
org-agenda-prefix-format, though you will not be able to display an
arbitrary property such as PROJECT. (AFAIK, you are limited to category,
tag, time of day, and scheduling information.)

There is no default functionality for a PROJECT property in org-mode.

Here are a few options I can think of:

1. Use the CATEGORY to designate the project (perhaps make BUGFIXES a
   tag).

2. Set up a column view for the agenda that allows you to view the
   project property.

3. Use a tag to designate the project. This would allow you to filter
   the agenda by project.

4. Use follow mode in the agenda to see the context (i.e., the project
   heading).

Hope this helps.

Matt






___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] GTD and adding next actions under projects with remember

2009-09-09 Thread Desmond Rivet
Friedrich Delgado Friedrichs frie...@nomaden.org writes:

 That way I can see a list of next actions immediately by typing C-a a
 t, ordered by importance. With your system I fail to see how you can
 get quick access to your next action list.

I have several custom agenda views defined:

(setq org-agenda-custom-commands
   '((w tags-todo +waiting)
 (p Project View tags-todo +project ((org-agenda-remove-tags t)))
 (n tags-todo -waiting-project)
))

Next actions are defined as those TODO items that don't have a project
or a waiting tag.  In other words, every TODO item that isn't a project
or waiting item is a Next Action.

So, my wait list can be pull up by a C-c a w, my project list can be
pulled up by a C-c a p, and my next action list can be pulled up with a
C-c a n.

I have tag inheritence turned off for the project tag:

(setq org-tags-exclude-from-inheritance '(project))

So that way I don't get a project's next actions when I just want to see
the project list on its own.

I like the idea of using TODO's as project items because that allows be
to track active projects - active projects arethose which are in the
TODO state.  For example, I just completed a project called Maine
vacation.  It's done, and I don't want it to show up in my project list
anymore.  But at the same time, I'd like to keep a record of it.

Same thing with the WAIT items.  TODO means waiting and DONE means
I'm finished waiting.

 Desmond Rivet schrieb:
 The problem is that I have to specify a heading for the template in
 org-remember-templates in the .emacs file.  This is okay when I want to
 jot down a new project, waiting item or *generic* next action, because
 all these items have fixed headings, but I don't know how to make this
 work when I don't know the heading ahead of time (remember that next
 actions associated with projects live under the project heading).
 ---Zitatende---

 Sorry for not helping with your particular problem (It looks like you
 might want to use C-1 C-c C-c or something like that), but:

 It sounds like you're mixing up collecting and processing. You only
 need to fill out the full context in the processing phase. At least I
 use the remember interface for quickly jotting down a note, then get
 back to work. The stuff I remember just goes into a Collect.org
 file, which I later process as an inbox.

That's an interesting idea.  My uderstanding was that my collection
basket would be managed outside of org-mode, via physical lists on
notepads.  Processing that list would result in my next actions items.
Using remember to put stuff in a separate digital collection basket
seems like a reasonable idea.

Still, I like the idea of quickly being able to add a Next Action item
to a particular project, via a keystroke or two...

-- 
Desmond Rivet

Pain is weakness leaving the body.


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode