Re: [Orgmode] How to get a list of unscheduled TODOs

2009-02-04 Thread Saurabh Agrawal
Thanks for the reply Manish.

But after I modify my .emacs, I get the following error on starting
the custom agenda:

byte-code: Before first headline at position 1462 in buffer *Org Agenda*

Could you please suggest something? I am unable to debug this.

Saurabh. *Novice*

On Wed, Feb 4, 2009 at 11:59 AM, Manish mailtomanish.sha...@gmail.com wrote:
 On Wed, Feb 4, 2009 at 11:28 AM, Saurabh Agrawal wrote:
 Hi group,

 I have got around 4 projects running at a time. As per philosophy of
 GTD, sometime I get some TODOs, and without thinking much about them
 at the time, I use remember package to just list them as a TODO in
 correct Category. At the end of the day, I would like to have a list
 of my unscheduled TODOs, of School Category separately. I am using a
 custom agenda for this. But using org-agenda-todo-ignore-with-date is
 not working in the following form:

 '(org-agenda-custom-commands
 (quote ((t Today!!!
 ((agenda  ((org-agenda-ndays 1)))
 (tags-todo CATEGORY=\School\ (org-agenda-todo-ignore-with-date 1 ))
 (tags-todo CATEGORY=\CRS\ nil)
 (tags-todo CATEGORY=\Study\ nil)
 (tags-todo CATEGORY=\Practice\ nil)
 (tags-todo CATEGORY=\Reading\ nil)
 (tags-todo CATEGORY=\Other\ nil))

 Something like this perhaps.  Untested.. but key takeaway is using the
 org-agenda-skip-function.

 --8---cut here---start-8---
 (setq org-agenda-custom-commands
  (quote ((t Today!!!
   ((agenda  ((org-agenda-ndays 1)))
(tags-todo CATEGORY=\School\
   (org-agenda-skip-function
 '(org-agenda-skip-entry-if 'deadline 'scheduled)))
(tags-todo CATEGORY=\CRS\ nil)
(tags-todo CATEGORY=\Study\ nil)
(tags-todo CATEGORY=\Practice\ nil)
(tags-todo CATEGORY=\Reading\ nil)
(tags-todo CATEGORY=\Other\ nil))
 --8---cut here---end---8---

 HTH
 --
 Manish



___
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] How to get a list of unscheduled TODOs

2009-02-04 Thread Manish
On Wed, Feb 4, 2009 at 2:08 PM, Saurabh Agrawal wrote:
[snip]

 Could you please suggest something? I am unable to debug this.

Is this better?

--8---cut here---start-8---
(setq org-agenda-custom-commands
 (quote ((t Today!!!
  ((agenda  ((org-agenda-ndays 1)))
   (tags CATEGORY=\School\
  ((org-agenda-skip-function
'(org-agenda-skip-entry-if 'deadline 'scheduled
   (tags CATEGORY=\CRS\ nil)
   (tags CATEGORY=\Study\ nil)
   (tags CATEGORY=\Practice\ nil)
   (tags CATEGORY=\Reading\ nil)
   (tags CATEGORY=\Other\ nil))
--8---cut here---end---8---


 Saurabh. *Novice*

Ditto.

Perhaps you might want to read this excellent tutorial:
http://orgmode.org/worg/org-tutorials/org-custom-agenda-commands.php

HTH
-- 
Manish


___
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: [help] A org agenda command

2009-02-04 Thread Leo
On 2007-04-24 11:18 +0100, Carsten Dominik wrote:
 LEVEL=2/-DONE means that the search for stuck projects should consider
 any level 2 entry (i.e. starting with **) as a project, but should
 immediately exclude projects where the top headline is marked DONE.

I remember we had a discussion to make LEVEL=2 respect
`org-odd-levels-only' i.e. LEVEL=2 would mean headings starting with
three * when org-odd-levels-only is t.

However, after using this for such a long time I realise this is counter
intuitive. Thus if possible please revert the change.

All the best,
-- 
.: Leo :. [ sdl.web AT gmail.com ] .: I use Emacs :.


___
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] How to get a list of unscheduled TODOs

2009-02-04 Thread Saurabh Agrawal
Thanks Manish, now it works... like a charm.. :)

Another problem though..

Sometimes, the TODOs haven't been scheduled but have a timestamp on
them. I would like to ignore them too..
However, using option with-date along with deadline and schedule
does not seem to work in org-agenda-skip-entry. Is this option not
valid?

So, I have used a bad hack as: org-agenda-skip-entry-if 'regexp 2

As any entry with timestamp anywhere will have 2009- and so on. This
is working well as per my needs, though.

Regards,

Saurabh.

On Wed, Feb 4, 2009 at 2:48 PM, Manish mailtomanish.sha...@gmail.com wrote:
 On Wed, Feb 4, 2009 at 2:08 PM, Saurabh Agrawal wrote:
 [snip]

 Could you please suggest something? I am unable to debug this.

 Is this better?

 --8---cut here---start-8---
 (setq org-agenda-custom-commands
 (quote ((t Today!!!
  ((agenda  ((org-agenda-ndays 1)))
   (tags CATEGORY=\School\
  ((org-agenda-skip-function
 '(org-agenda-skip-entry-if 'deadline 'scheduled
   (tags CATEGORY=\CRS\ nil)
   (tags CATEGORY=\Study\ nil)
   (tags CATEGORY=\Practice\ nil)
   (tags CATEGORY=\Reading\ nil)
   (tags CATEGORY=\Other\ nil))
 --8---cut here---end---8---


 Saurabh. *Novice*

 Ditto.

 Perhaps you might want to read this excellent tutorial:
 http://orgmode.org/worg/org-tutorials/org-custom-agenda-commands.php

 HTH
 --
 Manish



___
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] Changing variable defaults.

2009-02-04 Thread Carsten Dominik

Hi Mike,
On Feb 3, 2009, at 12:20 AM, Mike Newman wrote:




(setq org-tags-column -77)


For the past few months, I have been using org-mode in conjunction  
with

Visual Line mode, a new feature of Emacs 23, and found they work
together well.


I am a bit surprised that you say this, as Org-mode does overrule
the special beginning/end of line commands that visual line mode
normally installs.  Have you not missed these?

Have you been playing with org-special-ctrl-a/e, and
org-special-ctrl-k, and what do you think should the
behavior be in this case, if visual-line-mode is active?

Thanks for pointing out that mode, it look interesting and seems
to be a lot more usable with Org than longlines.el

- Carsten



From the v23 NEWS file:

** Visual Line mode provides support for editing by visual lines.
It turns on word-wrapping in the current buffer, and rebinds C-a, C-e,
and C-k to commands that operate by visual lines instead of logical
lines.  This is a more reliable replacement for longlines-mode.
This can also be turned on using the menu bar, via
Options - Line Wrapping in this Buffer - Word Wrap

I think in the long-term many (most) org users will start enabling
this, and there will be requests for tweaks to make the two cooperate
a little better.

One customisation I would recommend for anyone using the two together
would be

 (setq org-tags-column -75)

Trying to put the tags any further to the right will cause them to  
wrap

on to the next line.  Perhaps this is not too far from your suggestion
to make it the default in all cases?
--
Mike


___
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] Re: [help] A org agenda command

2009-02-04 Thread Carsten Dominik

Hi Leo,

this is possible, but will break what people use, I am afraid.

- Carsten

On Feb 4, 2009, at 10:41 AM, Leo wrote:


On 2007-04-24 11:18 +0100, Carsten Dominik wrote:
LEVEL=2/-DONE means that the search for stuck projects should  
consider

any level 2 entry (i.e. starting with **) as a project, but should
immediately exclude projects where the top headline is marked DONE.


I remember we had a discussion to make LEVEL=2 respect
`org-odd-levels-only' i.e. LEVEL=2 would mean headings starting with
three * when org-odd-levels-only is t.

However, after using this for such a long time I realise this is  
counter

intuitive. Thus if possible please revert the change.

All the best,
--
.: Leo :. [ sdl.web AT gmail.com ] .: I use Emacs :.




___
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] Patch to add schedule propagation to org-depend

2009-02-04 Thread Carsten Dominik

Hi Andrew,

this looks like good functionality, I have applied the patch.

For the additions to org.el, do you have a copyright assignment with  
the FSF?

These functions are small enough and simple enough that I could just
let them in without it, but still

- Carsten

On Feb 3, 2009, at 6:28 PM, Andrew Hyatt wrote:


I like to schedule items I'm supposed to be working on, so I like when
I complete a task that the next sibling task gets the schedule from
the previous one.  This implements that kind of workflow with the
org-depend contrib package.

I've also added a few methods to org.el to make working with schedules
 deadlines easier.
org-depend- 
scheduled.patch___

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] POLL: the 40 variables project

2009-02-04 Thread Charles Sebold
On 29 Jan 2009, Carsten Dominik wrote:

 So here is my question to all of you.  Could you, in reply to this
 message, list all the Org-related variables that you have customized,
 along with the values you used?

Hopefully this isn't too late.

Using customize, here is what I have:

(org-agenda-ndays 1)   ; I like daily agenda
(org-agenda-skip-deadline-if-done t)
(org-agenda-skip-scheduled-if-done t)
(org-agenda-use-time-grid nil) ; No need for the scheduling
 stuff
(org-deadline-warning-days 3)  ; This covers a weekend, usually

Using setq(), here is what I have:

(setq org-directory ~/org/)
(setq org-default-notes-file (concat org-directory /process.org))
(setq org-todo-keywords
  '(
(sequence INBOX(i) TICKLER(t!) | FILE(f@) CANCELED(k@))
(sequence TODO WAITING VERIFY | DONE REASSIGNED)
(sequence DAILY(d) | DONEDLY UNSCHEDDLY(D@))
(sequence WEEKLY(e) | DONEWKLY UNSCHEDWKLY(E@))
(sequence MONTHLY(m) | DONEMNTHLY UNSCHEDMNTHLY(M@))
(sequence APPT RESCHEDULE(s@) | APPTPAST APPTCANCELED(n@))
(sequence REQUEST(r!) REQWAITING(w@/!) REQVERIFY(v) |
  REQCLOSED(c!) REQREASSIGNED(a@))
(sequence PROJECT(P!) PROJWAITING(W@/!) PROJVERIFY(V) |
  PROJCLOSED(C!) PROJREASSIGNED(A@))
)) ; I actually prune these regularly; right now they're all in
   ; use
(setq org-agenda-custom-commands
  '((W tags-todo +work+lcms)
(w agenda LCMS Agenda
 ((org-agenda-files '(~/org/lcms.org))
 ; LCMS is where I work, just so you know
-- 
Charles Sebold 4th of February, 2009
GNU Emacs 22.3.1 (i386-mingw-nt5.1.2600) | Gnus v5.11 | org-mode 6.21trans


___
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: [help] A org agenda command

2009-02-04 Thread Leo
On 2009-02-04 14:22 +, Carsten Dominik wrote:
 On Feb 4, 2009, at 10:41 AM, Leo wrote:

 On 2007-04-24 11:18 +0100, Carsten Dominik wrote:
 LEVEL=2/-DONE means that the search for stuck projects should
 consider
 any level 2 entry (i.e. starting with **) as a project, but should
 immediately exclude projects where the top headline is marked DONE.

 I remember we had a discussion to make LEVEL=2 respect
 `org-odd-levels-only' i.e. LEVEL=2 would mean headings starting with
 three * when org-odd-levels-only is t.

 However, after using this for such a long time I realise this is
 counter
 intuitive. Thus if possible please revert the change.
[...]
 Hi Leo,

Hi Carsten, long time no 'see'.

 this is possible, but will break what people use, I am afraid.

I re-read our discussion. Realising that org-odd-levels-only can be set
on a per file basis, now I think it is better to keep current
change. The remaining issue is to find a place to document the meaning
of LEVEL in org-stuck-projects.

Actually I have removed customisation of org-stuck-projects and use its
default value. With the flowing of so many new features into org, I find
less need to inspect stuck projects.

 - Carsten

Best wishes,
-- 
.: Leo :. [ sdl.web AT gmail.com ] .: I use Emacs :.


___
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] How to get a list of unscheduled TODOs

2009-02-04 Thread Carsten Dominik


On Feb 4, 2009, at 12:23 PM, Saurabh Agrawal wrote:


Thanks Manish, now it works... like a charm.. :)

Another problem though..

Sometimes, the TODOs haven't been scheduled but have a timestamp on
them. I would like to ignore them too..
However, using option with-date along with deadline and schedule
does not seem to work in org-agenda-skip-entry. Is this option not
valid?

So, I have used a bad hack as: org-agenda-skip-entry-if 'regexp 2


Pretty clever for someone who claims to be new to Emacs :-)

`with-date' does not exist, but I have just added `timestamp'
and `nottimestamp' conditions.

- Carsten




As any entry with timestamp anywhere will have 2009- and so on. This
is working well as per my needs, though.

Regards,

Saurabh.

On Wed, Feb 4, 2009 at 2:48 PM, Manish  
mailtomanish.sha...@gmail.com wrote:

On Wed, Feb 4, 2009 at 2:08 PM, Saurabh Agrawal wrote:
[snip]


Could you please suggest something? I am unable to debug this.


Is this better?

--8---cut here---start-8---
(setq org-agenda-custom-commands
   (quote ((t Today!!!
((agenda  ((org-agenda-ndays 1)))
 (tags CATEGORY=\School\
((org-agenda-skip-function
'(org-agenda-skip-entry-if 'deadline 'scheduled
 (tags CATEGORY=\CRS\ nil)
 (tags CATEGORY=\Study\ nil)
 (tags CATEGORY=\Practice\ nil)
 (tags CATEGORY=\Reading\ nil)
 (tags CATEGORY=\Other\ nil))
--8---cut here---end---8---



Saurabh. *Novice*


Ditto.

Perhaps you might want to read this excellent tutorial:
http://orgmode.org/worg/org-tutorials/org-custom-agenda-commands.php

HTH
--
Manish




___
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] Installing on windows

2009-02-04 Thread Bill Raynor
I and many others would be grateful for a detailed step-by-step tutorial on
installing org-mode on windows. The basic instructions work just fine on,
say, OS X (edit makefile, make and make install) but don't work on windows.
Using emacs on windows is quite simple (download and install) but updating
Org doesn't work so well.

In the past I've used dired to attempt to compile the directory directly,
which gets lots of error messages, but sort of works. I read a recent post
on installing cygwin, but that doesn't quite work, as the post neglected to
mention that you have to install cygwin + some unspecified packages (to get
make, for instance). I trying that now.  I am also using the W32 version of
emacs.
___
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] How to get a list of unscheduled TODOs

2009-02-04 Thread Saurabh Agrawal

 Pretty clever for someone who claims to be new to Emacs :-)

 `with-date' does not exist, but I have just added `timestamp'
 and `nottimestamp' conditions.

 - Carsten

Thanks Carsten. Actually I am very new to emacs and have started
gaining an idea of elisp. I am just following all the tutorials
available around.

And I want to thank you personally for this awesome piece of software.

Regards,

Saurabh.










 As any entry with timestamp anywhere will have 2009- and so on. This
 is working well as per my needs, though.

 Regards,

 Saurabh.

 On Wed, Feb 4, 2009 at 2:48 PM, Manish mailtomanish.sha...@gmail.com
 wrote:

 On Wed, Feb 4, 2009 at 2:08 PM, Saurabh Agrawal wrote:
 [snip]

 Could you please suggest something? I am unable to debug this.

 Is this better?

 --8---cut here---start-8---
 (setq org-agenda-custom-commands
   (quote ((t Today!!!
((agenda  ((org-agenda-ndays 1)))
 (tags CATEGORY=\School\
((org-agenda-skip-function
 '(org-agenda-skip-entry-if 'deadline 'scheduled
 (tags CATEGORY=\CRS\ nil)
 (tags CATEGORY=\Study\ nil)
 (tags CATEGORY=\Practice\ nil)
 (tags CATEGORY=\Reading\ nil)
 (tags CATEGORY=\Other\ nil))
 --8---cut here---end---8---


 Saurabh. *Novice*

 Ditto.

 Perhaps you might want to read this excellent tutorial:
 http://orgmode.org/worg/org-tutorials/org-custom-agenda-commands.php

 HTH
 --
 Manish



 ___
 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] Installing on windows

2009-02-04 Thread Saurabh Agrawal
Yup, I too second this request.

I too would love to have such a tutorial to gain an idea of the same.

Regards,
Saurabh.

On Wed, Feb 4, 2009 at 10:49 PM, Bill Raynor braynor3...@gmail.com wrote:
 I and many others would be grateful for a detailed step-by-step tutorial on
 installing org-mode on windows. The basic instructions work just fine on,
 say, OS X (edit makefile, make and make install) but don't work on windows.
 Using emacs on windows is quite simple (download and install) but updating
 Org doesn't work so well.

 In the past I've used dired to attempt to compile the directory directly,
 which gets lots of error messages, but sort of works. I read a recent post
 on installing cygwin, but that doesn't quite work, as the post neglected to
 mention that you have to install cygwin + some unspecified packages (to get
 make, for instance). I trying that now.  I am also using the W32 version of
 emacs.


 ___
 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] Installing on windows

2009-02-04 Thread Manish
On Wed, Feb 4, 2009 at 10:49 PM, Bill Raynor wrote:
 I and many others would be grateful for a detailed step-by-step
 tutorial on installing org-mode on windows. The basic instructions
 work just fine on, say, OS X (edit makefile, make and make install)
 but don't work on windows.  Using emacs on windows is quite simple
 (download and install) but updating Org doesn't work so well.

Just unzip the org-mode in some location (e.g. D:/mystuff/org-mode/) and
add following to .emacs (customize to taste/need).. mostly copied from
Org manual activation section:

--8---cut here---start-8---
(add-to-list 'load-path D:/mystuff/org-mode/lisp)
(require 'org-install)
;; The following lines are always needed.  Choose your own keys.
(add-to-list 'auto-mode-alist '(\\.org\\' . org-mode))
(global-set-key \C-cl 'org-store-link)
(global-set-key \C-ca 'org-agenda)
(global-set-key \C-cb 'org-iswitchb)
(add-hook 'org-mode-hook 'turn-on-font-lock)  ; Org buffers only
(transient-mark-mode 1)
--8---cut here---end---8---


 In the past I've used dired to attempt to compile the directory
 directly, which gets lots of error messages, but sort of works. I read
 a recent post on installing cygwin, but that doesn't quite work, as
 the post neglected to mention that you have to install cygwin + some
 unspecified packages (to get make, for instance). I trying that now. I
 am also using the W32 version of emacs.

You do not /have to/ compile the lisp files, you can use just the source
(by skipping all steps that ask for make in the installation section of
the manual.)  I am not sure how much performance impact will it have but
it's an option at least.

Do let us know how it goes.

HTH
-- 
Manish


___
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] Installing on windows

2009-02-04 Thread Saurabh Agrawal
Presently I have org-mode 6.16 installed, which came default with
latest release of emacs win32. However, I just downloaded version
6.21b and tried to do as you said. However, org-version is still
showing 6.16.

Will we have to unlink earlier version somehow?

Regards,

Saurabh.

On Wed, Feb 4, 2009 at 11:18 PM, Manish mailtomanish.sha...@gmail.com wrote:
 On Wed, Feb 4, 2009 at 10:49 PM, Bill Raynor wrote:
 I and many others would be grateful for a detailed step-by-step
 tutorial on installing org-mode on windows. The basic instructions
 work just fine on, say, OS X (edit makefile, make and make install)
 but don't work on windows.  Using emacs on windows is quite simple
 (download and install) but updating Org doesn't work so well.

 Just unzip the org-mode in some location (e.g. D:/mystuff/org-mode/) and
 add following to .emacs (customize to taste/need).. mostly copied from
 Org manual activation section:

 --8---cut here---start-8---
 (add-to-list 'load-path D:/mystuff/org-mode/lisp)
 (require 'org-install)
 ;; The following lines are always needed.  Choose your own keys.
 (add-to-list 'auto-mode-alist '(\\.org\\' . org-mode))
 (global-set-key \C-cl 'org-store-link)
 (global-set-key \C-ca 'org-agenda)
 (global-set-key \C-cb 'org-iswitchb)
 (add-hook 'org-mode-hook 'turn-on-font-lock)  ; Org buffers only
 (transient-mark-mode 1)
 --8---cut here---end---8---


 In the past I've used dired to attempt to compile the directory
 directly, which gets lots of error messages, but sort of works. I read
 a recent post on installing cygwin, but that doesn't quite work, as
 the post neglected to mention that you have to install cygwin + some
 unspecified packages (to get make, for instance). I trying that now. I
 am also using the W32 version of emacs.

 You do not /have to/ compile the lisp files, you can use just the source
 (by skipping all steps that ask for make in the installation section of
 the manual.)  I am not sure how much performance impact will it have but
 it's an option at least.

 Do let us know how it goes.

 HTH
 --
 Manish


 ___
 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-R tutorial on Worg

2009-02-04 Thread Nick Dokos
I haven't looked at org-R but given the error message, it
probably does not contain a provide like so:

   (provide 'org-R)

In that case, (require 'org-R) will not work. Perhaps
Dan can add it for the next version.

In the meantime, you can either add the provide line to
your copy of org-R.el or try

   (load-library org-R)

This should work if org-R.el[c] is found in the load-path.
Otherwise try

   (load-file /path/to/org-R.el)

HTH,
Nick



___
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-R tutorial on Worg

2009-02-04 Thread Dan Davison
On Wed, Feb 04, 2009 at 01:54:25PM -0500, Dan Davison wrote:
 Hi Graham,
 
 If you have added it to the contrib/lisp directory, then you could do
 
 (add-to-list 'load-path path\to\contrib\lisp load-path)

Sorry, some nonsense crept in there. That should be

(add-to-list 'load-path path\to\contrib\lisp)

 (load org-R)
 
 But perhaps what I should do is add
 
 (provide 'org-R)
 
 at the end of my code. I'm pretty new to elisp so not sure but I've
 added that now. I'm sure someone will tell us if it's wrong.
 
 Dan
 
 p.s. if you ever have a one-off need to load the code in a file, you
 can use
 M-x load-file
 
 On Wed, Feb 04, 2009 at 06:30:23PM +, Graham Smith wrote:
  I'm afraid I'm struggling again. How do I get Emacs/orgmode to recognise 
  org-R.
  
  I have tried adding (require 'org-R) to my .emacs file
  
  And I have put org-R.el in both the \orgmode\lisp directory and the
  orgmode\contrib\lisp directories
  
  But I get an error:
  
  error: Required feature `org-R' was not provided
  
  I just took the lead from mouse.el as it only needed (require
  'org-mouse) to work
  
  But obviously there is something different with org-R
  
  I would be grateful for some help again.
  
  Thanks,
  
  Graham
  
  
  2009/2/4 Dan Davison davi...@stats.ox.ac.uk:
   Hi all,
  
   I've put a tutorial for org-R up on Worg:
  
   http://orgmode.org/worg/org-tutorials/org-R/org-R.php
  
   Amongst other things, there you can see which other org users you
   share the greatest affinity with, according to the results of the org
   variable survey...
  
   I hope org-R is going to be useful to some people; I'd be happy to get
   comments / suggestions / bug reports, and to provide help.
  
   Code at
  
   http://www.stats.ox.ac.uk/~davison/software/org-R/org-R.el
  
  
   Dan
  
   p.s. Sorry for all the renaming... this is what I was previously
   calling org-table-R / org-tblR. So it's org-R-apply to make things
   happen now, and the option lines are #+R: and #+RR:.
  
  
   --
   http://www.stats.ox.ac.uk/~davison
  
  
   ___
   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
 
 -- 
 http://www.stats.ox.ac.uk/~davison

-- 
http://www.stats.ox.ac.uk/~davison


___
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-R tutorial on Worg

2009-02-04 Thread Graham Smith
Nick

   (load-library org-R)

Thanks, this sorted out the error messages, I'm now getting new ones
but these seem to be R generated so I will now have a look at that
next.

Graham


___
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] Return on a task behaves like TAB

2009-02-04 Thread Ed Hirgelt


On Feb 4, 2009, at 10:52 AM, Bernt Hansen wrote:

A recent change to org-mode is driving me nuts.  I regularly use  
Return

at the beginning of a task to insert a blank line and append detail to
the previous task.  This no longer works and cycles through the task's
folded status instead.


That is interesting.  I do the same thing.  I am at 6.21a and the
old behavior still works for me.  What version are you using?

Ed Hirgelt



___
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-R tutorial on Worg

2009-02-04 Thread Graham Smith
Dan

 If you have added it to the contrib/lisp directory, then you could do

 (add-to-list 'load-path path\to\contrib\lisp load-path)
 (load org-R)

(load-library org-R) as suggested by Nick worked I already had the
load path line in my .emacs


 But perhaps what I should do is add

 (provide 'org-R)

It seems it might make things easier for people like me :-)


 at the end of my code. I'm pretty new to elisp so not sure but I've
 added that now. I'm sure someone will tell us if it's wrong.

That may be, but this is a great idea of pulling R into org-mode, and
I for one will find it very useful.

Many thanks for the help and for org-R.

Graham


___
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] Installing on windows

2009-02-04 Thread Charles Sebold
On 4 Feb 2009, Bill Raynor wrote:

 I and many others would be grateful for a detailed step-by-step
 tutorial on installing org-mode on windows. The basic instructions
 work just fine on, say, OS X (edit makefile, make and make install)
 but don't work on windows.  Using emacs on windows is quite simple
 (download and install) but updating Org doesn't work so well.

 In the past I've used dired to attempt to compile the directory
 directly, which gets lots of error messages, but sort of works. I read
 a recent post on installing cygwin, but that doesn't quite work, as
 the post neglected to mention that you have to install cygwin + some
 unspecified packages (to get make, for instance). I trying that now.
 I am also using the W32 version of emacs.

Here's what I do (I'm running Emacs 22.3 provided by the FSF).  Using
this code, I don't ever run make, but I do need a version of makeinfo
in the path somewhere.  The generate org-install bit is lifted from
the Makefile, so it might have to change if the Makefile changes:


(setq crs-org-path /source/org) ; this is where I keep my git version
  ; of org
(setq org-actual-info-path ~/.emacs.d/info/org) ; this is where my
  ; local info files
  ; are

(defun crs-add-to-load-path (path-string rest more-paths)
  (when path-string
(message (format Passed %S... path-string))
(when (file-exists-p path-string)
  (setq path-string (expand-file-name path-string))
  (message (format Adding %S to load-path... path-string))
  (add-to-list 'load-path path-string))
(when more-paths
  (mapcar 'crs-add-to-load-path more-paths)))
  t)

(defun crs-newer-file-p (filename1 filename2)
  Is FILENAME1 newer than FILENAME2?
  (and (file-exists-p filename1)
   (file-exists-p filename2)
   (let ((first-time-mod (nth 5 (file-attributes filename1)))
 (second-time-mod (nth 5 (file-attributes filename2
 (or ( (car first-time-mod) (car second-time-mod))
 (and (= (car first-time-mod) (car second-time-mod))
  ( (cadr first-time-mod) (cadr second-time-mod)))

; Add in GIT repository if it exists
(let ((org-lisp-path (concat crs-org-path /lisp))
  (org-docfile-path (concat crs-org-path /doc/org)))
  (when (file-exists-p org-lisp-path)
(crs-add-to-load-path org-lisp-path)
; recompile everything in this directory
(byte-recompile-directory org-lisp-path 0 nil)
; generate and copy documentation
(if (and (file-exists-p org-actual-info-path)
 (file-exists-p org-docfile-path)
 (crs-newer-file-p org-docfile-path org-actual-info-path))
(copy-file org-docfile-path org-actual-info-path t)
  (when (and (or (not (file-exists-p org-docfile-path))
 (crs-newer-file-p (concat org-docfile-path .texi)
   org-docfile-path))
 (file-exists-p (concat org-docfile-path .texi)))
(shell-command-to-string
 (concat makeinfo --no-split 
 (shell-quote-argument
  (concat org-docfile-path .texi))
  -o 
 (shell-quote-argument org-docfile-path)))
(if (file-exists-p org-docfile-path)
(copy-file org-docfile-path org-actual-info-path t)
  (message Problem compiling org texinfo file?
  ; generate org-install.el
(when (or
   (not (file-exists-p (concat
org-lisp-path /org-install.el)))
   (crs-newer-file-p (concat org-lisp-path /Changelog)
 (concat org-lisp-path /org-install.el)))
  (let ((lispfiles0 (directory-files org-lisp-path
 nil \\.el$ nil)))
(find-file (concat org-lisp-path /org-install.el))
(require 'autoload)
(erase-buffer)
(mapc (lambda (x) (generate-file-autoloads x)) lispfiles0)
(insert \n(provide (quote org-install))\n)
(save-buffer)
(kill-buffer nil)

; org-mode (current)
(require 'org-install)


When I log in, most mornings, I run a batch file that git pulls the
latest from Carsten's repository, and then fires up Emacs for me to
handle the rest.

One nice thing about this is, if nothing has changed in my git
repository, then I don't notice any significant slowdown in booting, but
if it has, then I get the updated version.

If this seems convoluted, be aware at least that this is only about 2-3%
of a very long chain of things that my .emacs.d/init.el runs when I
start it up, and the functions I defined above get used in lots of other
places.
-- 
Charles Sebold 4th of February, 2009
GNU Emacs 22.3.1 

Re: [Orgmode] Prefix arg required for agenda TODO cycle now?

2009-02-04 Thread Mike Newman
I think this is the result of the change in the default value of:
  org-use-fast-todo-selection

I believe that if you customise this the old behaviour will return.

On Wed, 04 Feb 2009 13:24:51 -0600
Charles Sebold cseb...@gmail.com wrote:

 I'm having trouble finding the specific diff where this would have
 changed, and I'm wondering if I've done this to myself, or if this is
 a bug?
 
 I jumped this morning from 6.20h (or maybe 6.20i, don't remember now)
 to latest, and I find that, in agenda view, to toggle a TODO task to
 DONE I have to use C-u t instead of just t.  Then, in the org file
 itself, I'm used to using the prefix arg C-u C-c C-t to pull up the
 full list of TODO possibilities, but now that cycles, and just C-c
 C-t pulls up the full list.
 
 In testing with emacs -Q and an org file with just the following in
 it:
 
 * INBOX test item
 
 I didn't see this problem, but adding my usual org-todo-keywords:
 
 (setq org-todo-keywords
   '((sequence INBOX(i) TICKLER(t!) | FILE(f@)
 CANCELED(k@)) (sequence TODO WAITING VERIFY | DONE
 REASSIGNED) (sequence DAILY(d) | DONEDLY UNSCHEDDLY(D@))
 (sequence WEEKLY(e) | DONEWKLY UNSCHEDWKLY(E@))
 (sequence MONTHLY(m) | DONEMNTHLY UNSCHEDMNTHLY(M@))
 (sequence APPT RESCHEDULE(s@) | APPTPAST
 APPTCANCELED(n@)) (sequence REQUEST(r!) REQWAITING(w@/!)
 REQVERIFY(v) | REQCLOSED(c!) REQREASSIGNED(a@))
 (sequence PROJECT(P!) PROJWAITING(W@/!) PROJVERIFY(V)
 | PROJCLOSED(C!) PROJREASSIGNED(A@))
 ))
 
 ...it changes to the behavior I described above.


-- 
Mike


___
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-publish error..

2009-02-04 Thread Madhu Rao

When I try to publish current file I get the error below.
However, when I prompt for a project and publish, that
works all right. Publishing current file worked all right
in earlier versions of org-mode. Now I am on 6.21. I don't
know at which point this changed or something to do with
my emacs setup that meddled with; I haven't published for a while now.

Thanks.

Debugger entered--Lisp error: (wrong-type-argument arrayp nil)
  file-truename(nil)
  (file-name-as-directory (file-truename (plist-get project- 
plist :base-directory)))
  (let* ((project ...) (project-plist ...) (ftname ...) (publishing- 
function ...) (base-dir ...) (pub-dir ...) tmp-pub-dir) (setq tmp-pub- 
dir (file-name-directory ...)) (if (listp publishing-function)  
(mapc ... publishing-function) (funcall publishing-function project- 
plist filename tmp-pub-dir)))
  (progn (let* (... ... ... ... ... ... tmp-pub-dir) (setq tmp-pub- 
dir ...) (if ... ... ...)) (org-publish-update-timestamp filename))
  (if (org-publish-needed-p filename) (progn (let* ... ... ...) (org- 
publish-update-timestamp filename)))
  (when (org-publish-needed-p filename) (let*  
(... ... ... ... ... ... tmp-pub-dir) (setq tmp-pub-dir ...)  
(if ... ... ...)) (org-publish-update-timestamp filename))

  org-publish-file(/Users/mac_u/Org/Publish/test_org.org)
  (let ((org-publish-use-timestamps-flag ...)) (org-publish-file  
(buffer-file-name)))

  (save-window-excursion (let (...) (org-publish-file ...)))
  org-publish-current-file(nil)
  call-interactively(org-publish-current-file)
  (if (and bg (nth 2 ass) (not ...) (not ...)) (let (...) (set- 
process-sentinel p ...) (message Background process \%s\: started  
p)) (call-interactively (nth 1 ass)))
  (let* ((bg ...) (help [t]   insert the export option template 
\n[v]   limit export to visible part of outline tree\n\n[a] export as  
ASCII\n\n[h] export as HTML\n[H] export as HTML to temporary buffer 
\n[R] export region as HTML\n[b] export as HTML and browse immediately 
\n[x] export as XOXO\n\n[l] export as LaTeX\n[p] export as LaTeX and  
process to PDF\n[d] export as LaTeX, process to PDF, and open the  
resulting PDF document\n[L] export as LaTeX to temporary buffer\n\n[i]  
export current file as iCalendar file\n[I] export all agenda files as  
iCalendar files\n[c] export agenda files into combined iCalendar file\n 
\n[F] publish current file\n[P] publish current project\n[X]  
publish... (project will be prompted for)\n[A] publish all projects)  
(cmds ...) r1 r2 ass) (save-window-excursion (delete-other-windows)  
(with-output-to-temp-buffer *Org Export/Publishing Help* ...) (org- 
fit-window-to-buffer ...) (message Select command: ) (setq r1 ...))  
(setq r2 (if ... ... r1)) (unless (setq ass ...) (error No command  
associated with key %c r1)) (if (and bg ... ... ...)  
(let ... ... ...) (call-interactively ...)))

  org-export(nil)
  call-interactively(org-export)



___
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] POLL: the 40 variables project

2009-02-04 Thread Mike Newman
Please find below my org related customisation (if it is still of
interest).  I have to admit that I can't remember what some of it does
or why I put it that way.

A few comments might be useful:

  This is my work configuration on Windows XP, using a recent emacs 23
  from emacs w32.  I am set up to use cygwin.  I use a fairly recent
  version of org-mode (never more than about 10 versions behind
  Carsten!)

  I use org-mode with visual line mode and abbreviation mode.
  Formerly, I used it with flyspell mode, but there seemed to be a
  problem with w32 emacs so I have disabled it.

  I have one agenda file per project scattered across a windows file
  system, to accompany the corresponding project.  The larger files
  contain thousands of lines of text - I haven't found a need to
  archive yet.

  I log the date at which I complete tasks, but have no need of the
  time.

  I generally use the global todo list, rather than other agenda
  views, and tend not to schedule tasks explicitly.  To keep this view
  neatly aligned, I use 4 letter words for todo states.

  My company has its own week numbering system (not ISO).  I
  approximate this with (org-agenda-start-on-weekday 6) but it would
  be nice to be able to be able to choose a more general week
  numbering scheme.
  
  All my org files have a .txt extension and set the mode by their
  first line.

  I use 4 levels of priority (going down to D for tasks that I will
  probably never get to).

  I sometimes use html export, primarily as a route to importing into
  a word processor (cut and paste from the browser), but generally
  only on a small part of the org file.

* Customisation

 '(desktop-modes-not-to-save (quote (tags-table-mode org-mode)))
 '(org-agenda-files (quote (LIST OF 8 FILES))
 '(org-agenda-sorting-strategy (quote (time-up priority-down category-keep)))
 '(org-agenda-start-on-weekday 6)
 '(org-empty-line-terminates-plain-lists t)
 '(org-export-default-language en-GB)
 '(org-export-with-drawers nil)
 '(org-footnote-define-inline t)
 '(org-log-done (quote time))
 '(org-log-done-with-time nil)
 '(org-lowest-priority 68)
 '(org-refile-targets (quote ((org-agenda-files :level . 1
 '(org-refile-use-outline-path (quote file))
 '(org-tags-column -75)
 '(safe-local-variable-values (quote ((org-export-html-style .
  style type=\text/css\
html {font-family: sans-serif;}
p {font-weight: normal;}
h1 {color: red;}
h2 {color: black; font-size: 20pt; font-weight: bold;}
h3 {color: black; font-size: 16pt; font-weight: bold; 
text-decoration: underline;}
h4 {color: black; font-size: 14pt;}
  /style

;; Enable org-cycle with outline
(add-hook 'outline-minor-mode-hook
  (lambda ()
(define-key outline-minor-mode-map [(control tab)] 'org-cycle)
(define-key outline-minor-mode-map [(shift tab)]
'org-global-cycle))) (add-hook 'outline-mode-hook
  (lambda ()
(define-key outline-mode-map [(tab)] 'org-cycle)
(define-key outline-mode-map [(shift tab)] 'org-global-cycle)))

;; Org-mode
;; The following lines are copied from the .info file
(add-to-list 'auto-mode-alist '(\\.org$ . org-mode))
(define-key global-map \C-cl 'org-store-link)
(define-key global-map \C-ca 'org-agenda)
(global-set-key \C-cb 'org-iswitchb)

;; Setting up remember
(org-remember-insinuate)
(setq org-default-notes-file ~/Documents/Journal/Notes.txt)
(define-key global-map \C-cr 'org-remember)

* Infile options

#+SEQ_TODO: TODO WAIT | DONE CANC
#+DRAWERS: DETAILS PROPERTIES
#+OPTIONS:   H:4 num:nil toc:nil \n:nil @:t ::t |:t ^:t f:t *:t TeX:t
LaTeX:nil skip:t
#+TITLE: Journal.txt
#+AUTHOR:Mike Newman
#+EMAIL: x...@xxx.com
#+LANGUAGE:  en-GB
#+TEXT: 

-- 
Mike


___
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] Changing variable defaults.

2009-02-04 Thread Mike Newman

On Wed, 4 Feb 2009 13:21:24 +0100
Carsten Dominik domi...@science.uva.nl wrote:

 Hi Mike,
 On Feb 3, 2009, at 12:20 AM, Mike Newman wrote:
 
 
  (setq org-tags-column -77)
 
  For the past few months, I have been using org-mode in conjunction  
  with
  Visual Line mode, a new feature of Emacs 23, and found they work
  together well.
 
 I am a bit surprised that you say this, as Org-mode does overrule
 the special beginning/end of line commands that visual line mode
 normally installs.  Have you not missed these?
 
 Have you been playing with org-special-ctrl-a/e, and
 org-special-ctrl-k, and what do you think should the
 behavior be in this case, if visual-line-mode is active?
 
 Thanks for pointing out that mode, it look interesting and seems
 to be a lot more usable with Org than longlines.el
 
 - Carsten
 

I had noticed the change in behaviour of C-a and C-e, but I hadn't
attempted to get round it (except by only using them to move to the
start and end of the paragraph).

In fact, with paragraph-oriented text, moving to the beginning or end
of the line is relatively unimportant, so I haven't really missed the
capability.

I'm not really clear on the details of their standard behaviour in
org-mode now, but I guess something that might make sense (to a user)
would be for them to behave in an org-specific way when they are
somewhere where this makes sense, but then to fall back to their
previous definition otherwise.

I'm unclear on exactly how fixed the behaviour of visual line mode is
- it hasn't yet appeared in an emacs release, so I guess it might
still change.

In the longer term, I imagine people will start wanting support for
variable width fonts (visual line mode at last makes these usable in
emacs)!!

Thanks again for all your efforts.

-- 
Mike


___
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-publish error..

2009-02-04 Thread Sebastian Rose
Hi Madhu,


do all the files and directories still exist?

I saw this once and a file or directory was missing.


Just an idea...


Regards,

   Sebastian

Madhu Rao bgm...@gmail.com writes:
 When I try to publish current file I get the error below.
 However, when I prompt for a project and publish, that
 works all right. Publishing current file worked all right
 in earlier versions of org-mode. Now I am on 6.21. I don't
 know at which point this changed or something to do with
 my emacs setup that meddled with; I haven't published for a while now.

 Thanks.

 Debugger entered--Lisp error: (wrong-type-argument arrayp nil)
   file-truename(nil)
   (file-name-as-directory (file-truename (plist-get project-
 plist :base-directory)))
   (let* ((project ...) (project-plist ...) (ftname ...) (publishing-
 function ...) (base-dir ...) (pub-dir ...) tmp-pub-dir) (setq tmp-pub-
 dir (file-name-directory ...)) (if (listp publishing-function) (mapc
 ... publishing-function) (funcall publishing-function project- 
 plist filename tmp-pub-dir)))
   (progn (let* (... ... ... ... ... ... tmp-pub-dir) (setq tmp-pub-
 dir ...) (if ... ... ...)) (org-publish-update-timestamp filename))
   (if (org-publish-needed-p filename) (progn (let* ... ... ...) (org-
 publish-update-timestamp filename)))
   (when (org-publish-needed-p filename) (let*
 (... ... ... ... ... ... tmp-pub-dir) (setq tmp-pub-dir ...)  (if ... ... 
 ...))
 (org-publish-update-timestamp filename))
   org-publish-file(/Users/mac_u/Org/Publish/test_org.org)
   (let ((org-publish-use-timestamps-flag ...)) (org-publish-file
 (buffer-file-name)))
   (save-window-excursion (let (...) (org-publish-file ...)))
   org-publish-current-file(nil)
   call-interactively(org-publish-current-file)
   (if (and bg (nth 2 ass) (not ...) (not ...)) (let (...) (set-
 process-sentinel p ...) (message Background process \%s\: started p))
 (call-interactively (nth 1 ass)))
   (let* ((bg ...) (help [t]   insert the export option template
 \n[v]   limit export to visible part of outline tree\n\n[a] export as
 ASCII\n\n[h] export as HTML\n[H] export as HTML to temporary buffer \n[R] 
 export
 region as HTML\n[b] export as HTML and browse immediately \n[x] export as
 XOXO\n\n[l] export as LaTeX\n[p] export as LaTeX and  process to PDF\n[d] 
 export
 as LaTeX, process to PDF, and open the  resulting PDF document\n[L] export as
 LaTeX to temporary buffer\n\n[i]  export current file as iCalendar file\n[I]
 export all agenda files as  iCalendar files\n[c] export agenda files into
 combined iCalendar file\n \n[F] publish current file\n[P] publish current
 project\n[X]  publish... (project will be prompted for)\n[A] publish all
 projects)  (cmds ...) r1 r2 ass) (save-window-excursion 
 (delete-other-windows)
 (with-output-to-temp-buffer *Org Export/Publishing Help* ...) (org- 
 fit-window-to-buffer ...) (message Select command: ) (setq r1 ...)) (setq r2
 (if ... ... r1)) (unless (setq ass ...) (error No command  associated with 
 key
 %c r1)) (if (and bg ... ... ...)  (let ... ... ...) (call-interactively 
 ...)))
   org-export(nil)
   call-interactively(org-export)



 ___
 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


-- 
Sebastian Rose, EMMA STIL - mediendesign, Niemeyerstr.6, 30449 Hannover
Tel.:  +49 (0)511 - 36 58 472
Fax:   +49 (0)1805 - 233633 - 11044
mobil: +49 (0)173 - 83 93 417
Http:  www.emma-stil.de


___
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-publish error..

2009-02-04 Thread Richard Riley



Madhu Rao bgm...@gmail.com writes:

 When I try to publish current file I get the error below.
 However, when I prompt for a project and publish, that
 works all right. Publishing current file worked all right
 in earlier versions of org-mode. Now I am on 6.21. I don't
 know at which point this changed or something to do with
 my emacs setup that meddled with; I haven't published for a while now.


On this subject, something I forgot to mention. When you publish a
single file it does not publish it with the project style settings. It
should do IMO. I dont publish using timestamps since many
of my files are #include'd and so don't contribute to timestamp changes
and thus dont get published unless I publish the entire web : hence I
would like use publish single file sometimes rather than the time
consuming full project publish.



___
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-publish error..

2009-02-04 Thread Sebastian Rose
Richard Riley rileyrg...@googlemail.com writes:
 On this subject, something I forgot to mention. When you publish a
 single file it does not publish it with the project style settings. It
 should do IMO. I dont publish using timestamps since many
 of my files are #include'd and so don't contribute to timestamp changes
 and thus dont get published unless I publish the entire web : hence I
 would like use publish single file sometimes rather than the time
 consuming full project publish.

Yes.

The most time consuming part is, in my case, the sitemap generation. So
it would be nice to just do that, if new files are found in the
project. Otherwise ask. I don't change the titles that often and some
people won't use the sitemap feature at all (`index-filename').




-- 
Sebastian Rose, EMMA STIL - mediendesign, Niemeyerstr.6, 30449 Hannover
Tel.:  +49 (0)511 - 36 58 472
Fax:   +49 (0)1805 - 233633 - 11044
mobil: +49 (0)173 - 83 93 417
Http:  www.emma-stil.de


___
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] Installing on windows

2009-02-04 Thread Manish
On Wed, Feb 4, 2009 at 11:37 PM, Saurabh Agrawal wrote:
 Presently I have org-mode 6.16 installed, which came default with
 latest release of emacs win32. However, I just downloaded version
 6.21b and tried to do as you said. However, org-version is still
 showing 6.16.

Did you reboot Emacs?

-- 
Manish


___
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] Installing on windows

2009-02-04 Thread Saurabh Agrawal

 Did you reboot Emacs?

Yup, that I sure did...

Though, I would like to know if there is a way to re-load .emacs
without restarting Emacs.

Regards,

Saurabh.





 --
 Manish



___
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] Installing on windows

2009-02-04 Thread Manish
On Thu, Feb 5, 2009 at 10:32 AM, Saurabh Agrawal wrote:

 Did you reboot Emacs?

 Yup, that I sure did...

Can you mail the exact statement you used to add org-mode to .emacs
please?



 Though, I would like to know if there is a way to re-load .emacs
 without restarting Emacs.

M-x load-file RET enter-path-to-.emacs RET

Regards,
-- 
Manish


___
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] Installing on windows

2009-02-04 Thread Cameron Horsburgh
On Thu, Feb 05, 2009 at 10:44:53AM +0530, Manish wrote:
 On Thu, Feb 5, 2009 at 10:32 AM, Saurabh Agrawal wrote:
 
  Did you reboot Emacs?
 
  Yup, that I sure did...
 
 Can you mail the exact statement you used to add org-mode to .emacs
 please?
 
 
 
  Though, I would like to know if there is a way to re-load .emacs
  without restarting Emacs.
 
 M-x load-file RET enter-path-to-.emacs RET

Will that unload variables that were previously loaded? I can see this
being an issue, for example, if you've undeclared a variable in .emacs
in order to return to a default value.


-- 

Cameron Horsburgh

Blog: http://spiritcry.wordpress.com/


___
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] Installing on windows

2009-02-04 Thread Manish
On Thu, Feb 5, 2009 at 10:48 AM, Cameron Horsburgh wrote:
 On Thu, Feb 05, 2009 at 10:44:53AM +0530, Manish wrote:
 On Thu, Feb 5, 2009 at 10:32 AM, Saurabh Agrawal wrote:
 
  Did you reboot Emacs?
 
  Yup, that I sure did...

 Can you mail the exact statement you used to add org-mode to .emacs
 please?

 
 
  Though, I would like to know if there is a way to re-load .emacs
  without restarting Emacs.

 M-x load-file RET enter-path-to-.emacs RET

 Will that unload variables that were previously loaded? I can see this
 being an issue, for example, if you've undeclared a variable in .emacs
 in order to return to a default value.

Yes, this will reset any variables that you might have changed in the
session back to the values still defined in .emacs.

-- 
Manish


___
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] Installing on windows

2009-02-04 Thread Cameron Horsburgh
On Thu, Feb 05, 2009 at 11:00:19AM +0530, Manish wrote:
 On Thu, Feb 5, 2009 at 10:48 AM, Cameron Horsburgh wrote:
  On Thu, Feb 05, 2009 at 10:44:53AM +0530, Manish wrote:
  On Thu, Feb 5, 2009 at 10:32 AM, Saurabh Agrawal wrote:
  
   Did you reboot Emacs?
  
   Yup, that I sure did...
 
  Can you mail the exact statement you used to add org-mode to .emacs
  please?
 
  
  
   Though, I would like to know if there is a way to re-load .emacs
   without restarting Emacs.
 
  M-x load-file RET enter-path-to-.emacs RET
 
  Will that unload variables that were previously loaded? I can see this
  being an issue, for example, if you've undeclared a variable in .emacs
  in order to return to a default value.
 
 Yes, this will reset any variables that you might have changed in the
 session back to the values still defined in .emacs.

Sorry, I wasn't clear. I'm thinking about unsetting variables you have
in your .emacs to their default values. I just reboot Emacs, but if
there were a quicker way to revert to a 'pristine' state then load
.emacs it would be much easier.

 
 -- 
 Manish
 
 

-- 

Cameron Horsburgh

Blog: http://spiritcry.wordpress.com/


___
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] Installing on windows

2009-02-04 Thread Manish
On Thu, Feb 5, 2009 at 11:41 AM, Cameron Horsburgh wrote:
[...]
  M-x load-file RET enter-path-to-.emacs RET
 
  Will that unload variables that were previously loaded? I can see this
  being an issue, for example, if you've undeclared a variable in .emacs
  in order to return to a default value.

 Yes, this will reset any variables that you might have changed in the
 session back to the values still defined in .emacs.

 Sorry, I wasn't clear. I'm thinking about unsetting variables you have
 in your .emacs to their default values. I just reboot Emacs, but if
 there were a quicker way to revert to a 'pristine' state then load
 .emacs it would be much easier.

I guess a lot depends on what pristine means here.

You could have multiple copies of .emacs to achieve various states, I
think but then you will need to define /all/ the variables to their
default values at least in some of those files explicitly so they can be
reset from whatever you have set them to.  A variable not set in .emacs
would stay at it's set value (whether set by another copy of .emacs or
manually.)  In reality I have never needed to so I may not even fully
understand your issue and if any of what I said made sense. :-/

-- 
Manish


___
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