Re: [O] Best practices to get reminders?

2015-04-11 Thread Manish
On Wed, Apr 8, 2015 at 1:11 PM, Marcin Borkowski wrote:

 On 2015-04-08, at 11:55, Eric Abrahamsen wrote:

  Don't be ashamed, I'm sure we all use some software we're not proud
  of :)

 It's not that I'm ashamed, it's that apparently it is forbidden to
 talk about certain categories of software on this list, at least if
 you don't talk about them in a derogatory manner.

I assume you meant non-free software. I am not sure what gave you that
impression but I haven't noticed such a bias so far. :) We have
discussed Emacs and Org integration with Outlook, Growl, Google Calendar,
Windows and iOS among others over past several years.

Cheers!


Re: [O] Transforming org-mode project in Gantt graphes

2015-01-01 Thread Manish
​  On Tue, Dec 30, 2014 at 1:49 PM, Alexandre Norman wrote:
  
   Hello,
  
   I just wrote two python scripts to transform a project managed in
   org-mode in (beautifull) gantt graphes.
  
   You could find more here :
   - example of generated graphes :
 - http://xael.org/norman/python/org2gantt/project.svg
 - http://xael.org/norman/python/org2gantt/project_ressources.svg
   - explanations : http://xael.org/norman/python/org2gantt/README.org
   - the whole thing :
   http://xael.org/norman/python/org2gantt/org2gantt.tar.gz
  
   Of course, it is in an early release... Seems to work but not deeply
   tested yet.  Comments or improvements are welcome !

Thanks for sharing.  It looks interesting.  Could you include the
example.org that you mention in README.org, in the tar file as well?

Regards,
-Manish


Re: [O] A gentle introduction to Emacs Org-mode?

2014-07-24 Thread Manish
On Wed, Jul 23, 2014 at 5:20 PM, Marcin Borkowski mb...@wmi.amu.edu.pl
wrote:

 Hi list,

 this is only partially Org-ode related, but I hope I'll be excused.
 A friend of mine uses Scrivener; he also does some simple
 JavaScript/jQuery programming and HTML/CSS editing.  He *is* interested
 in Emacs  Org-mode, but does not want to spend more than, say, 2 days
 on installing, configuring and learning basics of EOm.  Are there any
 resources which might help?  I offered him some help with installing
 and teaching, but what could I use?  (Of course, the built-in tutorial
 and Sacha Chua's sketch-tutorials are great, but what else does there
 exist?


I found this to be very helpful -
http://www.ibm.com/developerworks/aix/tutorials/au-emacs1/index.html


 Also, is prelude or Emacs Starter Kit a good idea?  I
 understand this is opinion-based, but maybe someone has some experience
 *teaching* Emacs and Org-mode?)


​I recently had to start from scratch and I tried Emacs-Starter-Kit and
Prelude.  Prelude seemed to fit my needs much better and got me up and
running pretty quickly.

Thanks
-Manish


Re: [O] [Orgmode] POLL: the 40 variables project

2014-01-17 Thread Manish
On Thu, Jan 29, 2009 at 3:49 AM, Carsten Dominik wrote:
 Hi,

 yesterday I did this command in my org-mode git repo:

   grep defcustom lisp/*el |wc -l

 and got 378 as an answer.  378 user-customizable variables,
 no kidding.


It's been almost 5 years since that last check and about time to do it
again.  And it's even crazier now. :)

manishsharma:org-mode/ (master) $ git --no-pager log
--pretty=format:'%aD %H' -1   Fri, 17 Jan 2014
12:45:21 +0100 bf304c34854e2f07001e8180508f0c833d17307f%

manishsharma:org-mode/ (master) $ grep defcustom lisp/*el |wc -l
 808

A big thanks to everyone.

--Manish



Re: [O] using %(sexp) in capture templates

2013-10-12 Thread Manish
   On Fri, Oct 11, 2013 at 9:55 PM, Mike McLean wrote:
  
  On Oct 10, 2013, at 9:51 PM, Manish wrote:
 
  i am trying to use %(org-mac-outlook-message-insert-selected)
  in a capture template to create a todo entry from an email
  selected in outlook on mac os x.  i was expecting that the
  function will get executed when the template is called and
  enter a link to the email but seems to return nothing.  the
  function works when used outside of template.  any ideas how i
  can begin to debug this or if i should be doing anything
  differently?
 
  
   When I added the support for Outlook I matched the style and design
   of the existing Org mac message (for Mail). In particular
   org-mac-outlook-message-insert-selected does not return a value, it
   is designed to be called interactively and inserts a link at the
   current point in the current buffer. As such it would not work as a
   %() capture template.
  
   Now on the other hand all org-mac-outlook-message-insert-selected
   does is ~(insert (org-mac-outlook-message-get-links s))~. I
   presume (though I haven't tested) that you could use the inner form
   ~(org-mac-outlook-message-get-links s)~ in a %() sexp in a
   capture template.
  

thanks!  it does work this way.

i am not sure if it's directly related but there's a weird issue.  once
i have a link to an email, i can open it by c-c c-o only once.  any
following attempt just fails with a message: org-mac-link: error could
not find outlook message msgid where msgid is the id of the
message. when i ran the mdfind command that i found in the source in the
terminal, it again worked once only.  any subsequent attempt opens a
finder window.  very very odd behavior since i am not even modifying the
email in anyway (other than just opening it) that might change its
message id or something.

cheers!
--manish


Re: [O] using %(sexp) in capture templates

2013-10-12 Thread Manish
 On Sat, Oct 12, 2013 at 7:24 AM, Mike McLean wrote:

  On Oct 12, 2013, at 2:03 AM, Manish wrote:
 
   On Fri, Oct 11, 2013 at 9:55 PM, Mike McLean wrote:
  
On Oct 10, 2013, at 9:51 PM, Manish wrote:
   
i am trying to use %(org-mac-outlook-message-insert-selected) in
a capture template to create a todo entry from an email selected
in outlook on mac os x.  i was expecting that the function will
get executed when the template is called and enter a link to the
email but seems to return nothing.  the function works when used
outside of template.  any ideas how i can begin to debug this or
if i should be doing anything differently?
   
  
   When I added the support for Outlook I matched the style and
   design of the existing Org mac message (for Mail). In particular
   org-mac-outlook-message-insert-selected does not return a value,
   it is designed to be called interactively and inserts a link at
   the current point in the current buffer. As such it would not work
   as a %() capture template.
  
   Now on the other hand all org-mac-outlook-message-insert-selected
   does is ~(insert (org-mac-outlook-message-get-links s))~. I
   presume (though I haven't tested) that you could use the inner
   form ~(org-mac-outlook-message-get-links s)~ in a %() sexp in a
   capture template.
  
 
  thanks!  it does work this way.
 
  i am not sure if it's directly related but there's a weird issue.
  once i have a link to an email, i can open it by c-c c-o only once.
  any following attempt just fails with a message: org-mac-link:
  error could not find outlook message msgid where msgid is the id
  of the message. when i ran the mdfind command that i found in the
  source in the terminal, it again worked once only.  any subsequent
  attempt opens a finder window.  very very odd behavior since i am
  not even modifying the email in anyway (other than just opening it)
  that might change its message id or something.

 it has definitely worked for the same message multiple times for me
 (even after changing a message by moving it, etc.). since the org mac
 outlook interface uses spotlight indexing, and spotlight uses the
 loose messages in the microsoft user data folder, maybe rebuilding one
 or both of the outlook profile or the spotlight index would fix your
 issues?

i'll look into rebuilding outlook profiles and spotlight indexes.
meanwhile, following has worked consistently for me:

#+begin_src emacs-lisp
(defun org-mac-outlook-message-open (msgid)
  open a message in outlook
  (do-applescript
   (concat
tell application \Microsoft Outlook\\n
 (format open message id %s\n msgid)
 activate\n
 end tell)))
#+end_src

cheers!
--manish


[O] using %(sexp) in capture templates

2013-10-10 Thread Manish
i am trying to use %(org-mac-outlook-message-insert-selected) in a
capture template to create a todo entry from an email selected in
outlook on mac os x.  i was expecting that the function will get
executed when the template is called and enter a link to the email but
seems to return nothing.  the function works when used outside of
template.  any ideas how i can begin to debug this or if i should be
doing anything differently?

cheers!
--manish


[O] Viewing notes in agenda log mode

2013-08-07 Thread Manish
I like to take notes with z in agenda mode logging progress of tasks as I
move through the day.  Is it possible today to enable viewing these notes
(first line only) when log mode is turned on the agenda mode the way todo
state changes or clock lines are shown?

Cheers!
--Manish


Re: [O] Question re. Bernt's agenda setup

2012-11-26 Thread Manish
On Mon, Nov 26, 2012 at 6:15 AM, Bernt Hansen wrote:
 Manish writes:

 On Sat, Nov 24, 2012 at 12:25 PM, Bernt Hansen wrote:
 Viktor Rosenfeld writes:

 Alan Schmitt wrote:

 Viktor Rosenfeld writes:

  it's Shift-P and you need to bind the function bh/narrow-to-project to
  the keycode. See the code blocks in the following two sections:
 
  http://doc.norang.ca/org-mode.html#SpeedCommands
  http://doc.norang.ca/org-mode.html#NarrowToSubtree

 I managed to make this work, but if I run the command in the agenda I
 need to refresh it afterwards (using 'g'). Are you seeing the same
 thing?

 Yes, unfortunately. I think I remember that it used to refresh the
 agenda automatically. This is above my pay grade, I'm afraid.

 Cheers,
 Viktor


 And I also want to say I have learned a lot implementing the suggestions
 in that document.

 Alan

 I have also noticed this in Windows at work and actually toyed with the
 idea of dropping the commands from the agenda that don't refresh
 properly anymore ... but quickly found I can't live without that
 functionality.  So I too am doing 'g' to refresh as required ATM.

 If I figure out a fix I'll post that.

 Meanwhile after wasting a couple of hours trying to make it work with
 AutoHotKey, I just recorded an Emacs macro, named and dumped it and tied
 it to a keychord. Following seems to be working well for me:

 #+begin_src emacs-lisp
 ;; work around for V not refreshing on Windows
 ;; use when in agenda after F12-SPC
 (global-set-key (kbd C-f7)
 (fset 'my-next-project
   (lambda (optional arg) Keyboard macro.
 (interactive p)
 (kmacro-exec-ring-item (quote (Vg\274 0 %d)) 
 arg
 #+end_src

 This workaround also seems to fix V on windows:

 --8---cut here---start-8---
 (defun bh/view-next-project ()
   (interactive)
   (unless (marker-position org-agenda-restrict-begin)
 (goto-char (point-min))
 (setq bh/current-view-project (point)))
   (bh/widen)
   (goto-char bh/current-view-project)
   (forward-visible-line 1)
   (while (and ( (point) (point-max))
   (or (not (org-get-at-bol 'org-hd-marker))
   (org-with-point-at (org-get-at-bol 'org-hd-marker)
 (or (not (bh/is-project-p))
 (bh/is-project-subtree-p)
 (forward-visible-line 1))
   (setq bh/current-view-project (point))
   (if (org-get-at-bol 'org-hd-marker)
   (progn
 (bh/narrow-to-project)
 (org-agenda-redo)
 (beginning-of-buffer))
 (error All projects viewed.)))
 --8---cut here---end---8---

 I would prefer something that is consistent on linux and windows
 though...

Nice. Thanks.  I will try to find the right place to place a progn to
wrap narrow, redo and b-o-b to fix =P= as well. :)

Cheers
Manish



Re: [O] Question re. Bernt's agenda setup

2012-11-25 Thread Manish
On Sat, Nov 24, 2012 at 12:25 PM, Bernt Hansen wrote:
 Viktor Rosenfeld writes:

 Alan Schmitt wrote:

 Viktor Rosenfeld writes:

  it's Shift-P and you need to bind the function bh/narrow-to-project to
  the keycode. See the code blocks in the following two sections:
 
  http://doc.norang.ca/org-mode.html#SpeedCommands
  http://doc.norang.ca/org-mode.html#NarrowToSubtree

 I managed to make this work, but if I run the command in the agenda I
 need to refresh it afterwards (using 'g'). Are you seeing the same
 thing?

 Yes, unfortunately. I think I remember that it used to refresh the
 agenda automatically. This is above my pay grade, I'm afraid.

 Cheers,
 Viktor


 And I also want to say I have learned a lot implementing the suggestions
 in that document.

 Alan

 I have also noticed this in Windows at work and actually toyed with the
 idea of dropping the commands from the agenda that don't refresh
 properly anymore ... but quickly found I can't live without that
 functionality.  So I too am doing 'g' to refresh as required ATM.

 If I figure out a fix I'll post that.

Meanwhile after wasting a couple of hours trying to make it work with
AutoHotKey, I just recorded an Emacs macro, named and dumped it and tied
it to a keychord. Following seems to be working well for me:

#+begin_src emacs-lisp
;; work around for V not refreshing on Windows
;; use when in agenda after F12-SPC
(global-set-key (kbd C-f7)
(fset 'my-next-project
  (lambda (optional arg) Keyboard macro.
(interactive p)
(kmacro-exec-ring-item (quote (Vg\274 0 %d)) arg
#+end_src

Cheers
Manish



Re: [O] Question re. Bernt's agenda setup

2012-11-19 Thread Manish
On Mon, Nov 19, 2012 at 7:34 PM, Alan Schmitt wrote:
 Manish writes:

 On Sat, Nov 17, 2012 at 6:25 PM, Manish wrote:
 [snip (21 lines)]

 =F12 SPC= with =V= is so much better at doing project reviews than
 anything else I have ever seen.  My only gripe is that functions called
 by =V= and =P= do not refresh the agenda.  I am trying to understand
 enough elisp to be able to call org-agenda-redo and beginning-of-buffer
 in some right places..

 My bad.  While making the same setup from scratch in home laptop found
 that everything works as advertised.  My work setup must have something
 interfering with it.

 I'd be really curious to know what it is. I'm in the same situation here
 where the agenda is not refreshed when doing a P or V from within it.
 (Doing a W works, though).

Strangely, it refreshes fine on Ubuntu but not on Windows (both with no
code other than Bernt's).  I am using Emacs 24.2 and git head from
master branch.

My half-baked attempts to add some bits to relevant functions to call
org-agenda-redo followed by beginning-of-buffer did not work.  I am now
looking to using AutoHotKey as a duct tape solution.

Cheers!
--Manish



Re: [O] Question re. Bernt's agenda setup

2012-11-18 Thread Manish
On Sat, Nov 17, 2012 at 6:25 PM, Manish wrote:
[snip (21 lines)]

 =F12 SPC= with =V= is so much better at doing project reviews than
 anything else I have ever seen.  My only gripe is that functions called
 by =V= and =P= do not refresh the agenda.  I am trying to understand
 enough elisp to be able to call org-agenda-redo and beginning-of-buffer
 in some right places..

My bad.  While making the same setup from scratch in home laptop found
that everything works as advertised.  My work setup must have something
interfering with it.

Cheers!
Manish



Re: [O] Question re. Bernt's agenda setup

2012-11-17 Thread Manish
On Fri, Nov 16, 2012 at 6:39 PM, Memnon Anon wrote:

 Manish writes:

  a way to
  pick out all #+begin_src parts from the .org version?

 (org-babel-tangle optional ONLY-THIS-BLOCK TARGET-FILE LANG),
 bound to `C-c C-v t' by default.
 Not all emacs-lisp blocks are set to :tangle yes, though.


 Or use a quick Keyboard macro (info (emacs)Keyboard Macros) .


Thank you.

Last night I went through the .org version trimming it line-by-line.  It
was not efficient but it forced me to go slow and read carefully.  It
was so much more enlightening to see the workflow of an org expert.
Midway through the file I realized that this _is_ the .emacs I was
looking for. :-)

=F12 SPC= with =V= is so much better at doing project reviews than
anything else I have ever seen.  My only gripe is that functions called
by =V= and =P= do not refresh the agenda.  I am trying to understand
enough elisp to be able to call org-agenda-redo and beginning-of-buffer
in some right places..

I am officially a fan now.

Cheers!
--Manish



Re: [O] Question re. Bernt's agenda setup

2012-11-16 Thread Manish
   Hello Bernt and others,
  
   I was picking up tips from Bernt's awesome and famous document at
   http://doc.norang.ca/org-mode.html.  In section 7.1, just between
   the two screenshots, I came across following text:
  
   ,[ excerpt from section 7.1 ]
   | After selecting a project (with P on any task in the agenda) the
   | block agenda changes to show the project and any subprojects in
   | the Projects section. Tasks show project-related tasks that are
   | hidden when not narrowed to a project.
   `
  
   The feature/concept seems very useful to be able to zoom into a
   project of interest but I could't figure out how =P= helps with
   this since it seems to move to previous item while in the ageda
   view.
  
   Can someone (or Bernt) using the setup point me to right direction
   please?

  On Fri, Nov 16, 2012 at 3:12 AM, Viktor Rosenfeld wrote:
   Hi Manish,
  
   it's Shift-P and you need to bind the function bh/narrow-to-project
   to the keycode. See the code blocks in the following two sections:
  
   http://doc.norang.ca/org-mode.html#SpeedCommands
   http://doc.norang.ca/org-mode.html#NarrowToSubtree
  

Thank you!  I should learn to read better, I guess.  By any chance,
would you also know if all the configuration is available in one place,
perhaps a git repo (it's not in org-mode-doc repo) or perhaps a way to
pick out all #+begin_src parts from the .org version?

Cheers,
Manish



[O] Question re. Bernt's agenda setup

2012-11-15 Thread Manish
Hello Bernt and others,

I was picking up tips from Bernt's awesome and famous document at
http://doc.norang.ca/org-mode.html.  In section 7.1, just between the
two screenshots, I came across following text:

,[ excerpt from section 7.1 ]
| After selecting a project (with P on any task in the agenda) the block
| agenda changes to show the project and any subprojects in the Projects
| section. Tasks show project-related tasks that are hidden when not
| narrowed to a project.
`

The feature/concept seems very useful to be able to zoom into a project
of interest but I could't figure out how =P= helps with this since it
seems to move to previous item while in the ageda view.

Can someone (or Bernt) using the setup point me to right direction
please?

Regards
--Manish



Re: [O] orgmode html export - cygwin - browser

2012-11-14 Thread Manish
  On Mon, Nov 12, 2012 at 4:20 AM, Jan-Mark Batke wrote:
  
  [snip (19 lines)]
  
   Or is a cygwin browser mandatory anyway (I would like to avoid
   that)?
  
  
   can you please help understand/rephrase this last line?
  
  
   Well, a cygwin browser would expect (and understand) a file locator
   like file:///cygdrive/c/file.html (I guess), whereas chrome wants to
   see the same but c: instead of cygdrive/c
  
   I am wondering if anybody here is using cygwin ...
  

I do use Cygwin but prefer using native Emacs from
http://alpha.gnu.org/gnu/emacs/windows.

Sorry I couldn't be of help.
--Manish



Re: [O] orgmode html export - cygwin - browser

2012-11-11 Thread Manish
On Tue, Nov 6, 2012 at 10:50 PM, Jan-Mark Batke bad...@gmx.net wrote:

 Dear all,
 when exporting to html and starting a browser, I encounter the problem my
 browser cannot find the file. I am using win xp and run emacs inside
 cygwin. Therefore the exported path send to the browser is:

 file:///cygdrive/c/path/file.html

 Since the browser is running natively (outside cygwin), it expects

 file:///c:/path/file.html

 Is it possible to adapt the export path?



 Or is a cygwin browser mandatory anyway (I would like to avoid that)?


can you please help understand/rephrase this last line?

cheers!
--manish


Re: [O] how to insert footnotes

2012-10-19 Thread Manish
On Fri, Oct 19, 2012 at 2:39 PM, Supriya Sawant
wrote:



 hello,

 I am new to emacs.I went through org-mode manual, but I am not getting how
 to insert footnotes.

 eg: [1] should link to http://orgmode.org

 can anyone please help me out...


Try:

M-x org-footnote-action

or

C-h f org-footnote-action

HTH
-- 
Manish



Re: [O] any org[/beamer] experts in the ottawa area available for consulting?

2012-09-13 Thread Manish
 On Mon, Sep 10, 2012 at 4:56 AM, Robert P. J. Day wrote:
[snip: request for help (63 lines)]

   i am not an accomplished user of *any* of the technologies in the
 toolchain -- org-mode, emacs, latex or beamer.  i have used emacs in

Highly recommended series for getting to know Emacs better:
http://www.ibm.com/developerworks/views/aix/libraryview.jsp?search_by=emacs+editing+environment

HTH
--Manish


Re: [O] Exporting to FreeMind - opened in FreeMind failed

2012-07-10 Thread Manish
On Mon, Jul 9, 2012 at 10:16 PM, Csanyi Pal wrote:
 Nick Dokos writes:

 Csanyi Pal wrote:

 [snip]

 Well, I suspect that none of us here is a freemind expert (I know I'm
 not), with the possible exception of Lennart Borgman, the author of
 org-freemind.el. So the main question is: is this a bug in freemind or
 is this a bug in the org freemind export? You have not posted the org
 file that produced all of this (or if you have, I cannot see it clearly
 in your mail). That could help. If Lennart could be persuaded to take a
 look, that might help.  And if you could be persuaded to simplify the
 example (ECM = complete *minimal* example) so that it exhibits the
 problem with as few nodes as possible (I count seven nodes in your .mm
 file: does it need to be that complicated?), that might help.

 Here is an example of an org file that produces a map that works:


 * foo

 this

 How much do you need to complicate it to produce something that does
 *not* work?

 I start with this example abowe and exported it successfully.
 Then I add again and again more and more to it and get a working
 file.mm that I can to open in FreeMind.

 Finally I did export successfully my first Arduino.org file, that is
 complicated.

I tried exporting to Freemind with your file and I also got the same
error while I can export my other files.  There's definitely something
funny going on with your file (perhaps encoding related?)


 Well, it works now.

 What did I to get it working?

 I'm start using an .emacs file that has the following content  only:
 (custom-set-variables
  ;; custom-set-variables was added by Custom.
  ;; If you edit it by hand, you could mess it up, so be careful.
  ;; Your init file should contain only one such instance.
  ;; If there is more than one, they won't work right.
  )
 (custom-set-faces
  ;; custom-set-faces was added by Custom.
  ;; If you edit it by hand, you could mess it up, so be careful.
  ;; Your init file should contain only one such instance.
  ;; If there is more than one, they won't work right.
  '(default ((t (:family Bitstream Vera Sans Mono :foundry \
  bitstream :slant normal :weight normal :height 150 \
 :width normal)


 (setq initial-frame-alist
  '((top . 16) (left . 64) (width . 122) (height . 41))
 )

 (setq default-frame-alist
  '((top . 16) (left . 64) (width . 122) (height . 41)
   (menu-bar-lines . 1) (vertical-scroll-bars . nil) \
 (tool-bar-lines . 0))
 )


Can you now export your original (that was attached in previous emails)
file also now?

Regards
Manish



Re: [O] HTML export of inline tasks

2012-05-09 Thread Manish
On Wed, May 9, 2012 at 1:11 PM, Eric S Fraga wrote:
 Manish writes:

 Dear List,

 How can I export SCHEDULED, DEADLINE and tags for inlinetasks?  I have
 org-inlinetask.el loaded and am using older HTML exporter (the one not
 based on org-elements.el).  I looked at variable
 org-inlinetasl-export-template but still unsure how should I set it to
 exposed scheduling information in HTML.  I am using the default css.

 GNU Emacs 24.1.50.1 on Windows 7
 Org-mode from Git as of May 7 2012 with head on commit
 b797c88d700a5e636c0f9fdb108d1846ce6e1f08

 Thanks!
 --
 Manish

 Sorry, I missed that you had already looked at that variable.  I set it
 as follows, which might help you figure this out:


 (setq org-inlinetask-export-templates
   '((html ulli%s%sp%s/p/li/ul
  '((unless
   (eq todo )
 (format span class=\%s %s\%s%s /span class 
 todo todo priority))
 heading content

 This assumes the default CSS so that the appropriate TODO styles have
 been defined.

 I must admit that I seldom export to HTML (esp. now with the ODT
 exporter) so I cannot remember if this was a good template or not.

 Hope this helps.


Thanks for looking, Eric.  I think that setting is pretty much the
default.  Following note from the source file and a look at
org-inlinetask-export-handler makes me believe that these were never
supposed to be treated as proper todos (I don't speak elisp so I could
be mistaken though).

,
| ;; Export commands do not treat these nodes as part of the sectioning
| ;; structure, but as a special inline text that is either removed, or
| ;; formatted in some special way.  This in handled by
| ;; `org-inlinetask-export' and `org-inlinetask-export-templates'
| ;; variables.
`

Out of curiosity I tried ODT export and that produces weird results for
inlinetasks. Does it work for you?

Cheers!
Manish



[O] HTML export of inline tasks

2012-05-08 Thread Manish
Dear List,

How can I export SCHEDULED, DEADLINE and tags for inlinetasks?  I have
org-inlinetask.el loaded and am using older HTML exporter (the one not
based on org-elements.el).  I looked at variable
org-inlinetasl-export-template but still unsure how should I set it to
exposed scheduling information in HTML.  I am using the default css.

GNU Emacs 24.1.50.1 on Windows 7
Org-mode from Git as of May 7 2012 with head on commit
b797c88d700a5e636c0f9fdb108d1846ce6e1f08

Thanks!
--
Manish



Re: [O] Default prewarning time for each deadline

2012-04-06 Thread Manish
On Fri, Apr 6, 2012 at 2:01 AM, Karl Voit wrote:
 * Manish  wrote:
 On Thu, Apr 5, 2012 at 2:12 PM, Karl Voit wrote:
 Hi!

 Is there a way to define a default pre-warning time string for new
 DEADLINE (only) timestamps?

 Have you considered setting org-deadline-warning-days?  It sets the
 default warning period for DEADLINE items.

 When I set org-deadline-warning-days to 0, I do not get warnings even
 for DEADLINE strings containing a desired warning definition like -3d
 :-(


My bad.  I should have read the docstring again before posting.  It
clearly states:

When 0 or negative, it means use this number (the absolute value of
it) even if a deadline has a different individual lead time
specified.

 I tried that but unfortunately with this setting, an entry like
 «DEADLINE: 2012-04-23 Mon -20d» does not appear on todays agenda at
 all :-(

 Is this due to another setting on my side (only)?

I don't think there's any other setting that helps with this.

-- 
Manish



Re: [O] Default prewarning time for each deadline

2012-04-05 Thread Manish
On Thu, Apr 5, 2012 at 2:12 PM, Karl Voit wrote:
 Hi!

 Is there a way to define a default pre-warning time string for new
 DEADLINE (only) timestamps?

Have you considered setting org-deadline-warning-days?  It sets the
default warning period for DEADLINE items.

HTH
-- 
Manish



Re: [O] Remaining Work Report

2012-03-24 Thread Manish
 On Thu, Mar 22, 2012 at 8:03 PM, Myles English wrote:

 Hi Sebastian,

  On Mon, 19 Mar 2012 14:33:17 +0100, Sebastien Vauban said:

   #+COLUMNS: %40ITEM(Task) %6Effort(Estim.){:} * Context

   The question I'm trying to give an answer to is: *what's the
   remaining number of hours (or days) to finish my project*?

 I have just been through this myself so I hope I will be able to
 help.

 To exclude DONE items from the columnview I moved the Effort
 property out of the way to the Old_Effort property when the state
 changes to DONE:

 ,---
 | (require 'org)
 | (defun my-move-effort-if-done ()
 | For TOC style columnview table.  Don't want to include DONE
 |   items in the TODO Effort column so copy Effort to Old_Effort
 |   property
 | (interactive)
 | ( when (string= (org-get-todo-state) DONE)
 |   (member (org-get-todo-state) org-done-keywords)
 |   ;; check if changing to DONE
 |   (org-entry-put nil Old_Effort (org-get-effort))
 |   ;; get the :Effort: property
 |   ;(message (format Got: %s when changin to %s ( org-get-effort ) 
 (org-get-todo-state)))
 |   (setq org-clock-effort (org-get-effort))
 |   (org-entry-delete nil Effort)))
 |
 | (setq org-after-todo-state-change-hook nil)
 |
 | (add-hook 'org-after-todo-state-change-hook
 |   'my-move-effort-if-done)
 `---

 Unlike your example I made heavy use of inline tasks and also wanted
 heading numbers instead of asterisks, so that the final table looks
 like a table of contents with estimated times remaining.  I had to
 do some more things to achieve this and can elaborate if you like.


This is a very nice solution.  Please do elaborate on the other steps
when you have time.

Cheers!
-- 
Manish



Re: [O] The Org-ODT exporter is now in Org's core (latest git)

2011-12-11 Thread Manish
On Sat, Dec 10, 2011 at 9:22 PM, Bastien wrote:
 Dear all,

 as the subject says.  Please all test this heavily and report
 any problems.  This will be part of Org 7.8 and soon in Emacs.

 Thanks a lot to Jambunathan for all this efforts, let's make
 sure everything is smooth before the release!


this is wonderful!  many thanks to Jambu, Bastien, Christian and
everyone involved.

best regards
--
manish



Re: [O] The Org-ODT exporter is now in Org's core (latest git)

2011-12-11 Thread Manish
  On Sun, Dec 11, 2011 at 7:37 PM, Christian Moe wrote:
  
   this is wonderful! many thanks to Jambu, Bastien, Christian and
   everyone involved.
  
  
   That would be Jambu, for developing the whole thing, and Bastien, for
   integrating it. (I have only done a bit of testing and cheerleading.)
  

yes.  but you too took the responsibility for testing and cheering
from day zero and never dropped the ball.  i truly appreciate that
too.

-- 
manish



[O] [OFFTOPIC] Happy Birthday!

2011-09-11 Thread Manish
Dear Carsten,

Van harte gefeliciteerd met je verjaardag! :)

--
Manish



Re: [O] The Orgfather

2011-08-29 Thread Manish
On Sat, Aug 27, 2011 at 9:16 PM, suvayu ali wrote:
 On Sat, Aug 27, 2011 at 5:05 PM, Bastien wrote:
 Hi folks,

 http://lumiere.ens.fr/~guerry/theorgfather.html

 Enjoy!

 Ignoring the Hindi audio was a bit difficult for me. :D :D


Ditto. But loved it nonetheless.  :)

-- 
Manish



Re: [O] Re: agenda view opening multiple buffers

2011-03-28 Thread Manish
On Mon, Mar 28, 2011 at 8:48 PM, Carsten Dominik wrote:

 On 27.3.2011, at 20:55, Manish wrote:

 On Sun, Mar 27, 2011 at 8:21 PM, Julian Burgos wrote:
 Thanks.  Using x is good enough for now.  I´ll explore also Michael´s
 suggestions.  It would be good to have the agenda open in a buffer
 without having all the agenda files opened too.


 Following code should do what you want (I think).

 #+begin_src emacs-lisp
 ;; function code copied from definition of org-agenda-exit
  (add-hook 'org-finalize-agenda-hook
            (lambda ()
              (interactive)
              (org-release-buffers org-agenda-new-buffers)
              (setq org-agenda-new-buffers nil)))
 #+end_src

 This will make the agenda disfunctional.  Each line in the agenda contains a 
 pointer to the entry the line was derived from, so remote editing etc will 
 stop working.

 Exiting with x is the much better solution.



Thanks for pointing that out.  Wouldn't x that close the agenda as
well along with the buffers?  OP said:  It would be good to have the
agenda open in a buffer without having all the agenda files opened
too.  May be a special custom agenda command that calls the above
lambda function at the end would work better by limiting the damaged
behaviour to just one command?

/manish



Re: [O] Re: agenda view opening multiple buffers

2011-03-27 Thread Manish
On Sun, Mar 27, 2011 at 8:21 PM, Julian Burgos wrote:
 Thanks.  Using x is good enough for now.  I´ll explore also Michael´s
 suggestions.  It would be good to have the agenda open in a buffer
 without having all the agenda files opened too.


Following code should do what you want (I think).

#+begin_src emacs-lisp
;; function code copied from definition of org-agenda-exit
  (add-hook 'org-finalize-agenda-hook
(lambda ()
  (interactive)
  (org-release-buffers org-agenda-new-buffers)
  (setq org-agenda-new-buffers nil)))
#+end_src

HTH
-- 
Manish

 On Sun, Mar 27, 2011 at 2:21 PM, Michael Markert
 markert.mich...@googlemail.com wrote:
 On 27 Mar 2011, Bernt Hansen wrote:
 Julian Burgos jmbur...@uw.edu writes:

 Dear list,

 When asking for an agenda view (C-c a), org mode opens all files in
 the agenda list in individual buffers.  I keep lots of files in my
 list (one per project), so having all those buffers open each time I
 visit my agenda is pretty annoying.  Is there a way to make org mode
 not open each file in a buffer (or close the buffers after reading the
 file) when asking for an agenda view?
 Thanks,

 Julian

 Hi Julian,

 I think 'e' in the agenda is supposed to exit the agenda and close
 automatically opened agenda files.

 It's `x'. But I think Julian meant that the buffers should be closed
 automatically and not open at least as long as the agenda is shown.

 For the original issue I think the following would help:
 #+begin_src emacs-lisp
 (defun project-agenda (optional args keys restriction)
  (interactive)
  (let ((org-agenda-files '(~/project-file1
~/project-file2)))
(org-agenda args keys restriction)))
 #+end_src

 Or pressing `' in the prompt buffer, for more see (describe-function
 'org-agenda)

 Michael




 --
 Julian Mariano Burgos
 Hafrannsóknastofnunin/Marine Research Institute
 Skúlagata 4, 121 Reykjavík, Iceland
 Sími/Telephone : +354-5752037
 Bréfsími/Telefax:  +354-5752001
 Netfang/Email: jul...@hafro.is, jmbur...@uw.edu





Re: [O] OT: Another great application for Org

2011-03-21 Thread Manish
On Mon, Mar 21, 2011 at 1:55 PM, Bastien wrote:
 Carsten Dominik writes:

 Another great way to use Org-mode..

 http://xkcd.com/874/

 :)

 I won't stop hacking Org till it is explicitely quoted in xkcd.
 That's the only true test for success!

Amen!

-- 
Manish



Re: [O] OT: Another great application for Org

2011-03-19 Thread Manish
On Sat, Mar 19, 2011 at 6:33 PM, Carsten Dominik wrote:
 Another great way to use Org-mode..

 http://xkcd.com/874/


Sounds like me alright (minus the blog post bit ;-) )

Thanks for sharing.

-- 
Manish



Re: [O] Custom Agenda View for Projects

2011-03-15 Thread Manish
On Tue, Mar 15, 2011 at 11:54 AM, Christian Zang wrote:
 2011/3/15 Manish:
 On Tue, Mar 15, 2011 at 12:54 AM, Christian Zang wrote:
 Dear all,

 I might be overlooking something very obvious, but I cannot find the
 solution: I have various org files, in which projects (anything
 requiring more than one action step...) are first level headings
 marked using the TODO kwd PROJ. If I tell my agenda to list all items
 with kwd PROJ (either via C-a T PROJ or as a custom agenda view via
 tags-todo LEVEL=1), only the ones without siblings are returned.
 I've looked into org-tags-match-list-sublevels but this is not quite
 the right thing to calibrate...

 Could you show a sample outline please?

 --
 Manish


 Sure, here is a sample outline:

 * PROJ Write Proposal

 ** TODO write introduction

 * PROJ Clean Lab

 * PROJ Get Birthday Present

 ** TODO get dad's hat size

 From that list, only Clean Lab will show up in the list of projects.
 Below are my settings regarding custom agenda views:

 (setq org-agenda-custom-commands
      '((W Weekly Review
         ((agenda  ((org-agenda-ndays 7)))
          (stuck ) ;; review stuck projects
          (todo PROJ) ;; review all projects
          (todo SDMB) ;; review someday/maybe items
          (todo WAIT))) ;; review waiting items

        (P Projects tags-todo LEVEL=1
         ((org-agenda-overriding-header List of Projects)))

        (O Today-View               ; like OF due  flagged
         ((agenda Due or scheduled within next week
                  ((org-agenda-ndays 7)
                   (org-agenda-start-on-weekday nil)
                   (org-agenda-overriding-header \nDue or scheduled
 within next week\n--\n)
                   ))
                                        ; due within next week
          (tags-todo +PRIORITY=\A\
                     ((org-agenda-overriding-header \nHigh
 priority\n--\n)))
                                        ; pseudo-flagged items
          ))
        ))

 Neither W nor P shows all projects, but rather only the ones
 without siblings. This is what I use as TODO kwds:

 (setq org-todo-keywords '((sequence TODO(t) WAIT(w@/!) | DONE(d!))
                          (sequence STRT(s!) |)
                          (sequence | CNCL(c@!))
                          (sequence FXME(f) | FIXD(x!))
                          (sequence PROJ(p!) PRSC(u) PROH(o) |
 PRDN(r!) PRCL(o@/!))
                          (sequence LIST(l) |)
                          (sequence SDMB(m) |)))

 And these are the agenda-relevant settings in custom.el:

  '(org-agenda-compact-blocks t)
  '(org-agenda-dim-blocked-tasks (quote invisible))
  '(org-stuck-projects (quote (+LEVEL=1/+PROJ-PRDN-PROH-SDMB (TODO
 NEXT FXME STRT) nil )))


Here's what I did:

I started Emacs with -Q, eval'ed the variables and custom agenda
commands you sent set up the org-agenda-files and ran the custom
commands `W' and `P'.  Both listed all the items marked PROJ where
they should have.  So it worked for me.. I am not sure what could be
wrong in your setup.  I know it's a non-answer but FWIW, removing
everything and add bits and pieces in steps could help.

HTH
-- 
Manish



Re: [O] another (possibly) noob question

2011-03-15 Thread Manish
I could not replicate it.  C-c C-c on [/] at the end of an item with
keyword PROJECT updated the cookie and did not switch the state to
TODO.  Changing a sub-item state to DONE also correctly (and
automagically) updated the cookie.

-- 
Manish

On Tue, Mar 15, 2011 at 10:50 PM, Filippo A. Salustri
salus...@ryerson.ca wrote:
 Sorry for the lack of info.
 org version 7.4

 I created a new/test org file.  It contains:
 * PROJECT aaa
 ** TODO t1
 ** TODO t2
 * TODO bbb [0/2]
 :PROPERTIES:
 :CATEGORY: dummy
 :END:
 ** TODO t3
 ** TODO t4
 If I leave out the [/], then all is well.
 If I add the [/] at the end of a level 1 heading that WAS a PROJECT, then do
 a C-c C-c there to update it, the PROJECT changes to TODO (which is the
 nearest KEYWORD both before  after.
 I have
 org-hierarchical-todo-statistics set to nil cuz I'd like to gather info on
 all tasks in the subtree.
 org-provide-todo-statistics set to t.
 Just as a reminder, I have
 (setq org-todo-keywords
       '((sequence REVIEW(r) TODO(t) ACTIVE(a!) WAIT(w@) SOMEDAY(s)
                   |
                   DONE(d) CANCELED(c@))
         (sequence OPEN(O@!) WIP(W!) PAUSED(P@!) | CLOSED(C@!))
         (sequence PROJECT(p) | COMPLETED(x))
         ))

 Can anyone shed light on this?
 Cheers.
 Fil
 On 15 March 2011 10:54, John Hendy jw.he...@gmail.com wrote:

 On Mon, Mar 14, 2011 at 11:15 PM, Filippo A. Salustri
 salus...@ryerson.ca wrote:
  So,
  I've set org-provide-todo-statistics to t
  and org-hierarchical-todo-statistics to nil.
  I use a TODO sequence to identify projects.  That is,
  (setq org-todo-keywords
        '((sequence REVIEW(r) TODO(t) ACTIVE(a!) WAIT(w@)
  SOMEDAY(s)
                    |
                    DONE(d) CANCELED(c@))
          (sequence OPEN(O@!) WIP(W!) PAUSED(P@!) | CLOSED(C@!))
          (sequence PROJECT(p) | COMPLETED(x))
          ))
  I then set level 1 headlines to be PROJECT and put [/] at the end of the
  headline.
  The hope is to see projects at a glance and get the fraction done too.
  All is as it should be, but for one thing.
  When I toggle or insert within a subtree, the headline for that project
  changes from PROJECT to ACTIVE if less than all tasks are done, and DONE
  if
  all tasks are done.
  Obviously, I want it to stay PROJECT.
  I've spent over an hour trying to figure this one out and I can't.
  Anyone got any advice?

 I don't use this, but replicating your example, I don't get the behavior
 you do.
 - I added your todo definitions to my .emacs
 - I created a simple top-level headline in a blank file and used C-c
 C-t to make it a PROJECT
 - I added three second-level headlines and made them all TODOs
 - I marked them done one by one and the top level always stayed as a
 PROJECT

 My end result:
 ,-
 | * PROJECT some project [3/3]
 | ** DONE do something
 |   CLOSED: [2011-03-15 Tue 09:51]
 | ** DONE do something else
 |   CLOSED: [2011-03-15 Tue 09:50]
 | ** DONE do something further
 |   CLOSED: [2011-03-15 Tue 09:49]
 `-

 Perhaps list your org-mode version? Others will be able to debug
 better than I can. Perhaps start with a simple, blank file as well (or
 maybe you already are?). I can't figure out what would trigger it from
 PROJECT to the keyword in another sequence without directly specifying
 such.


 Good luck,
 John


  Cheers.
  Fil
 
  --
  Filippo A. Salustri, Ph.D., P.Eng.
  Mechanical and Industrial Engineering
  Ryerson University
  350 Victoria St, Toronto, ON
  M5B 2K3, Canada
  Tel: 416/979-5000 ext 7749
  Fax: 416/979-5265
  Email: salus...@ryerson.ca
  http://deseng.ryerson.ca/~fil/
 



 --
 Filippo A. Salustri, Ph.D., P.Eng.
 Mechanical and Industrial Engineering
 Ryerson University
 350 Victoria St, Toronto, ON
 M5B 2K3, Canada
 Tel: 416/979-5000 ext 7749
 Fax: 416/979-5265
 Email: salus...@ryerson.ca
 http://deseng.ryerson.ca/~fil/




Re: [O] OrgCamp in India -- Interested?

2011-03-14 Thread Manish
On Mon, Mar 14, 2011 at 11:47 PM, Puneeth Chaganti wrote:
 Hi,

 Inspired by the OrgCamps being conducted in Paris [1] [2], I would like to
 propose an OrgCamp somewhere in India.

+1

 I'm not sure, how many people
 from India are on this list, but I do know that there are a few.

I am in Hyderabad.  Travelling too far would be a constraint.

 Would any of you be interested in such a meet-up?

+1

 What would be a
 good place and time for such a meet-up?


So far we have three responders are from three different locations. :-(

Thanks for proposing the idea.

Regards
Manish



Re: [O] Custom Agenda View for Projects

2011-03-14 Thread Manish
On Tue, Mar 15, 2011 at 12:54 AM, Christian Zang wrote:
 Dear all,

 I might be overlooking something very obvious, but I cannot find the
 solution: I have various org files, in which projects (anything
 requiring more than one action step...) are first level headings
 marked using the TODO kwd PROJ. If I tell my agenda to list all items
 with kwd PROJ (either via C-a T PROJ or as a custom agenda view via
 tags-todo LEVEL=1), only the ones without siblings are returned.
 I've looked into org-tags-match-list-sublevels but this is not quite
 the right thing to calibrate...

Could you show a sample outline please?

-- 
Manish



Re: [O] Release 7.5

2011-03-07 Thread Manish
On Mon, Mar 7, 2011 at 8:12 PM, Bastien wrote:

 Dear all,

 here it is, release 7.5, my first release as Org's new maintainer.

 This release comes with lots of new features, bug fixes, and fun.

Many congratulations to Bastien and everyone who made it possible.  I
love the new append agenda feature especially the fact that filtering
works on all agendas. :)

Best regards
-- 
Manish



Re: [Orgmode] Feature request [7.3]

2010-12-09 Thread Manish
On Wed, Dec 8, 2010 at 2:29 AM, Dave Abrahams wrote:

 When using Org for planning, I often find myself corrupting my Org
 files.  All kinds of things can go wrong, but the basic issue is that
 agenda items have a syntax, and it's easy to violate, especially when
 I'm going *fast*, which after all is what Org is supposed to enable!

 For example, a typical captured item looks like:

 ** TODO Set up yasnippet
   SCHEDULED: 2010-11-22 Mon
   :PROPERTIES:
   :Link: [[some-nasty-link]]
   :ID:       A0B4159C-D796-40DF-9ADD-93DF03577B68
   :END:
   [2010-11-20 Sat 20:17]

 Now, suppose I'm looking at this in the agenda and I want to add some
 commentary.

I am not sure what you mean by agenda here since you don't see the
full entry in the agenda.

 Where should I open the new line?  If I choose wrongly, my
 agenda will start to misbehave (e.g. items will appear to be
 un-reschedulable because they'll acquire a second SCHEDULED date).


When in the entry in org file, use `C-c C-z' and when in agenda just
use `z' to add a correctly formatted  and timestamped note.

 So I'm requesting some more help from Org in maintaining proper Org
 syntax.  Could Org have a mode that prevents things from being modified
 incorrectly?  For example, it'd be awesome if dates were smart (TAB into
 one, hit return, get a smart date editor).

FWIW, I find shift+up/down arrow sufficiently magical for my use case,
but I suppose you have already tried that.

 It'd be great if there were
 a way to make the ID property read-only (or really really hard to
 change). I'd love it if there were a way to create a link to an org
 item that narrows the view to just that item, so I don't inadvertently
 mess anything else up.  Do you get the idea?

You mean like if you clicked/returned on an item in agenda it should
take you to the entry in org file but narrowed to that item?  I had
earlier added a call to org-narrow (I think) to the code that enables
follow mode and the code that jumps to the entry in the org file.  It
used to work nice but was a minor irritation when I needed to widen it
all the time.  I have since lost the code but it should be reasonable
easy to reproduce.

HTH
-- 
Manish

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


Re: [Orgmode] Tutorial on advanced searches

2010-11-29 Thread Manish
On Mon, Nov 29, 2010 at 8:33 AM, Matt Lundin wrote:

 These days I find myself frequently searching a mountainous pile of org
 files. To clarify my own understanding of Org-mode's powerful search
 tools, I wrote a tutorial on advanced searches. It's available on
 Worg:

 http://orgmode.org/worg/org-tutorials/advanced-searching.php

 I hope the tutorial proves useful. If nothing else, I'd like to bring
 some attention of one of Org-mode's hidden gems: C-c a s
 (org-search-view).

Indeed.  Even a simple use of C-c a s on my notes file has saved me
countless times.

Thanks for the impressive writeup.

-- 
Manish

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


Re: [Orgmode] Re: Bastien is going to become the maintainer of Org mode in January

2010-11-18 Thread Manish
On Thu, Nov 18, 2010 at 5:21 PM, Alan E. Davis wrote:
 I am a keen user of org-mode, whose uses for which seem never to
 become well defined: as soon as I think I understand it, it
 morphs, or the horizons of my understanding recede from view. No
 amount of praise can adequately pay tribute to the massively
 ingenious organic entity that is org-mode. This has been the work
 conceived of a rare intellect with unusually broad and creative
 vision, and well executed. One such as myself, who dabbles
 unafraid in the world of minds far better schooled and far more
 brilliant than my own, finds the use for such tools as this an
 expedient, towards his own purposes, as he tries almost hopelessly
 to fathom its mysteries--and Carsten Dominick, seemingly a man of
 uncommon intellectual clarity and humanity, the renaissance man,
 perhaps has from time to time led me both willingly and patiently
 through it's brambles and tangles and lighted the way. How you
 have done this remains a humbling mystery.

 For both the personal advice and assistance, and the broad vision
 that has nurtured this system, I would offer my humble thanks. I
 for one felt relieved that you intend to stay involved.


You expressed pretty much all I wanted to say, Alan.

I tried learning Emacs for over a decade but always dropped it due to
its zillion of commands and crazy key combination. And when I found and
started using Org, courtesy John Wiegley's tutorial (a planner refugee
in 2008) those key chords started sinking into my muscle memory; and Org
became a doorway to a richer and broader Emacs world.

Carsten, you have been an inspiration to me personally with your
extraordinary competence, dedication and human understanding. I wish I
could emulate even a fraction of that.

Org has been a mirror which showed me how truly messy and
procrastinating I was. Sometimes I avoid it for the bitter truth it
tells; but the alternatives are mediocre and mediocrity. So I keep
coming back improving a little every time in this love-hate
relationship.

I couldn't be more thankful for your gift and I am proud to be (a
little) part of this great community you have built.

 And to Bastien, who has also on a number of occasions patiently
 offered his insights, I also offer a thank you, and a kind hope
 for your stewardship of this project.

 Would that I could offer some more substantial to org-mode that
 mostly a spectator's praise and appreciation. Perhaps in time.

Bastien, thanks for creating Worg and stepping up to this large role. I
feel safe having my life management system in your hands.

-- 
Manish

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


Re: [Orgmode] [PATCH] Apply patch for hour/minute repeater support

2010-09-21 Thread Manish
Hello Andrew,

I copied the diff from --- to the version number at the end of the
diff to a file and ran a git apply patch file while on a local
branch. It fails with fatal: corrupt patch at line 12 which is:

,
| @cindex timestamp, with repeater interval
`

Any clues what I could be doing wrong?

Thanks
-- 
Manish


On Tue, Sep 21, 2010 at 6:16 PM, Carsten Dominik wrote:
 Hi everyone,

 do we have any volunteers who are willing to test this patch?

 Thanks.

 - Carsten

 On Sep 14, 2010, at 7:06 PM, Andrew J. Korty wrote:

 This patch adds hour and minute granularity to repeaters.  Let me know if
 there's interest in incorporating it, and I'll start the FSF paperwork
 process.

 Andrew Korty

 ---
 doc/org.texi   |4 ++--
 lisp/org-agenda.el |2 +-
 lisp/org.el|   27 +++
 3 files changed, 18 insertions(+), 15 deletions(-)

 diff --git a/doc/org.texi b/doc/org.texi
 index d6ea141..e9ede5a 100644
 --- a/doc/org.texi
 +++ b/doc/org.texi
 @@ -5006,8 +5006,8 @@ plain timestamp will be shown exactly on that date.
 @cindex timestamp, with repeater interval
 A timestamp may contain a @emph{repeater interval}, indicating that it
 applies not only on the given date, but again and again after a certain
 -interval of N days (d), weeks (w), months (m), or years (y).  The
 -following will show up in the agenda every Wednesday:
 +interval of N minutes(M), hours(H), days (d), weeks (w), months (m), or
 +years (y).  The following will show up in the agenda every Wednesday:
 @example
 * Pick up Sam at school 2007-05-16 Wed 12:30 +1w
 diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
 index 9f94fa6..176c8f0 100644
 --- a/lisp/org-agenda.el
 +++ b/lisp/org-agenda.el
 @@ -4385,7 +4385,7 @@ the documentation of `org-diary'.
  (apply 'encode-time  ; DATE bound by calendar
 (list 0 0 0 (nth 1 date) (car date) (nth 2 date
 1 11))
 -  \\|\\([0-9]+-[0-9]+-[0-9]+[^\n]+?\\+[0-9]+[dwmy]\\)
 +  \\|\\([0-9]+-[0-9]+-[0-9]+[^\n]+?\\+[0-9]+[MHdwmy]\\)
   \\|\\(%%\\(([^\n]+)\\)\\)))
 marker hdmarker deadlinep scheduledp clockp closedp inactivep
 donep tmp priority category ee txt timestr tags b0 b3 e3 head
 diff --git a/lisp/org.el b/lisp/org.el
 index 70dd482..ace8291 100644
 --- a/lisp/org.el
 +++ b/lisp/org.el
 @@ -621,7 +621,7 @@ An entry can be toggled between QUOTE and normal with
  :type 'string)
 (defconst org-repeat-re
 -  [0-9]\\{4\\}-[0-9][0-9]-[0-9][0-9]
 [^\n]*?\\([.+]?\\+[0-9]+[dwmy]\\(/[0-9]+[dwmy]\\)?\\)
 +  [0-9]\\{4\\}-[0-9][0-9]-[0-9][0-9]
 [^\n]*?\\([.+]?\\+[0-9]+[MHdwmy]\\(/[0-9]+[dwmy]\\)?\\)
  Regular expression for specifying repeated events.
 After a match, group 1 contains the repeat expression.)
 @@ -11392,7 +11392,8 @@ This function is run automatically after each
 state change to a DONE state.
 (aa (assoc last-state org-todo-kwd-alist))
 (interpret (nth 1 aa))
 (head (nth 2 aa))
 -(whata '((d . day) (m . month) (y . year)))
 +(whata '((M . minute) (H . hour) (d . day) (m . month)
 +  (y . year)))
 (msg Entry repeats: )
 (org-log-done nil)
 (org-todo-log-states nil)
 @@ -11429,7 +11430,7 @@ This function is run automatically after each
 state change to a DONE state.
(setq type (if (match-end 1) org-scheduled-string
 (if (match-end 3) org-deadline-string Plain:))
  ts (match-string (if (match-end 2) 2 (if (match-end 4) 4
 0
 -   (when (string-match \\([.+]\\)?\\(\\+[0-9]+\\)\\([dwmy]\\) ts)
 +   (when (string-match \\([.+]\\)?\\(\\+[0-9]+\\)\\([MHdwmy]\\) ts)
  (setq n (string-to-number (match-string 2 ts))
what (match-string 3 ts))
  (if (equal what w) (setq n (* n 7) what d))
 @@ -11438,13 +11439,15 @@ This function is run automatically after each
 state change to a DONE state.
(setq time (save-match-data (org-time-string-to-time ts)))
(cond
 ((equal (match-string 1 ts) .)
 - ;; Shift starting date to today
 + ;; Shift starting date to now
  (org-timestamp-change
 -  (- (time-to-days (current-time)) (time-to-days time))
 -  'day))
 +   (truncate (/ (- (time-to-seconds (current-time))
 +   (time-to-seconds time)) 60))
 +  'minute))
 ((equal (match-string 1 ts) +)
  (while (or (= nshift 0)
 -(= (time-to-days time) (time-to-days
 (current-time
 +(= (time-to-seconds time)
 + (time-to-seconds (current-time
(when (= (incf nshift) nshiftmax)
  (or (y-or-n-p (message %d repeater intervals were not
 enough to shift date past today.  Continue?  nshift))
  (error Abort)))
 @@ -11456,7 +11459,7 @@ This function is run

Re: [Orgmode] Get weekly agenda for the current file only, NOT from the agenda list

2010-09-10 Thread Manish
Have you tried C-c a  a?

-- Manish

On Fri, Sep 10, 2010 at 1:13 PM, James Harkins jamshar...@gmail.com wrote:
 (Yay! I get to subscribe to yet another mailing list for [probably] a simple
 question.)

 (Yay! http://orgmode.org/emacs-orgmode@gnu.org is broken for me - 404
 error.)

 OK... I'm falling in love with org-mode but I would like to run C-c a a and
 have it make an agenda for only the current buffer. One of the files I use
 routinely is on removable storage and I don't want to add it to the agenda
 list.

 I looked at the FAQ - no answer. Documentation on custom agenda commands is
 too dense for me to parse through just now (I'm under some tight deadlines).
 Hoping there's a quick, easy way to do it.

 Thanks!
 James


 --
 James Harkins /// dewdrop world
 jamshar...@dewdrop-world.net
 http://www.dewdrop-world.net

 Come said the Muse,
 Sing me a song no poet has yet chanted,
 Sing me the universal.  -- Whitman

 blog: http://www.dewdrop-world.net/words
 audio clips: http://www.dewdrop-world.net/audio
 more audio: http://soundcloud.com/dewdrop_world/tracks

 ___
 Emacs-orgmode mailing list
 Please 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
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Babel: ob-plantuml fails on Windows

2010-09-07 Thread Manish
On Fri, Sep 3, 2010 at 12:19 AM, Eric Schulte wrote:
 Hi Manish,

 Are you sure that org-plantuml-jar-path is set when the function
 produces that error? I've just pushed up a slight change to
 ob-plantuml which is more explicit about ensuring the correctness of
 org-plantuml-jar-path before it is used. Could you retry with this new
 addition?

Sorry for the late reply, Eric. Yes, org-plantuml-jar-path was set
correctly. I just tried with the new code and noticed that I was missing
:file option in the begin_src line. With new code and :file set
correctly, it worked for me. May be the error messages could be indicate
if :file is required and missing?

Thanks
-- Manish


 Thanks -- Eric

 Manish mailtomanish.sha...@gmail.com writes:

 Hello!

 I was trying to test ob-plantuml and it failed with following trace.

 Setup:

 - GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600) of 2010-08-30 on 3249CTO
 - Windows XP SP 2
 - Org mode from git head
 - org-plantuml-jar-path is set
 - This example works from command-line and does not require dot.

 Trace:

 Debugger entered--Lisp error: (wrong-type-argument stringp nil)
   string-match([^\] nil)
   shell-quote-argument(nil)
   (concat java -jar  (shell-quote-argument org-plantuml-jar-path) 
 -p  cmdline(shell-quote-argument in-file)   
 (shell-quote-argument out-file))
   (let* ((result-params ...) (out-file ...) (cmdline ...) (in-file
 ...) (cmd ...)) (unless (file-exists-p org-plantuml-jar-path) (error
 Could not find plantuml.jar at %s org-plantuml-jar-path))
 (with-temp-file in-file (insert ...)) (message %s cmd)
 (org-babel-eval cmd ) out-file)
   org-babel-execute:plantuml(skinparam defaultFontName
 Candara\nskinparam defaultFontSize 8\nparticipant  User\nUser  -  A:
 DoWork\nactivate  A\nA  -  B:createRequest  \nactivate  B\nB
 -  C:  DoWork\nactivate  C\nC  --  B:  WorkDone\ndestroy  C\nB  --
 A:  RequestCreated\ndeactivate  B\nA  -  User:  Done\ndeactivate
 A\n ((:cache . no) (:comments . ) (:exports . results) (:hlines
 . no) (:noweb . no) (:result . \sequence.png\) (:results .
 replace file) (:session . none) (:shebang . ) (:tangle . )))
   funcall(org-babel-execute:plantuml skinparam defaultFontName
 Candara\nskinparam defaultFontSize 8\nparticipant  User\nUser  -  A:
 DoWork\nactivate  A\nA  -  B:createRequest  \nactivate  B\nB
 -  C:  DoWork\nactivate  C\nC  --  B:  WorkDone\ndestroy  C\nB  --
 A:  RequestCreated\ndeactivate  B\nA  -  User:  Done\ndeactivate
 A\n ((:cache . no) (:comments . ) (:exports . results) (:hlines
 . no) (:noweb . no) (:result . \sequence.png\) (:results .
 replace file) (:session . none) (:shebang . ) (:tangle . )))
   (setq result (funcall cmd body params))
   (if (and (not arg) new-hash (equal new-hash old-hash))
 (save-excursion (goto-char ...) (end-of-line 1) (forward-char 1) (setq
 result ...) (message ...) result) (message executing %s code
 block%s... (capitalize lang) (if ... ... )) (setq result (funcall
 cmd body params)) (if (eq result-type ...) (setq result ...))
 (org-babel-insert-result result result-params info new-hash indent
 lang) (run-hooks (quote org-babel-after-execute-hook)) result)
   (progn (fset (quote call-process-region) (function* ...)) (unless
 (fboundp cmd) (error No org-babel-execute function for %s! lang))
 (if (and ... new-hash ...) (save-excursion ... ... ... ... ... result)
 (message executing %s code block%s... ... ...) (setq result ...) (if
 ... ...) (org-babel-insert-result result result-params info new-hash
 indent lang) (run-hooks ...) result))
   (unwind-protect (progn (fset ... ...) (unless ... ...) (if ... ...
 ... ... ... ... ... result)) (if --cl-letf-bound-- (fset ...
 --cl-letf-save--) (fmakunbound ...)))
   (let* ((--cl-letf-bound-- ...) (--cl-letf-save-- ...))
 (unwind-protect (progn ... ... ...) (if --cl-letf-bound-- ... ...)))
   (letf ((... ...)) (unless (fboundp cmd) (error No org-babel-execute
 function for %s! lang)) (if (and ... new-hash ...) (save-excursion
 ... ... ... ... ... result) (message executing %s code block%s...
 ... ...) (setq result ...) (if ... ...) (org-babel-insert-result
 result result-params info new-hash indent lang) (run-hooks ...)
 result))
   (letf* ((... ...)) (unless (fboundp cmd) (error No
 org-babel-execute function for %s! lang)) (if (and ... new-hash ...)
 (save-excursion ... ... ... ... ... result) (message executing %s
 code block%s... ... ...) (setq result ...) (if ... ...)
 (org-babel-insert-result result result-params info new-hash indent
 lang) (run-hooks ...) result))
   (flet ((call-process-region ... ...)) (unless (fboundp cmd) (error
 No org-babel-execute function for %s! lang)) (if (and ... new-hash
 ...) (save-excursion ... ... ... ... ... result) (message executing
 %s code block%s... ... ...) (setq result ...) (if ... ...)
 (org-babel-insert-result result result-params info new-hash indent
 lang) (run-hooks ...) result))
   (unwind-protect (flet (...) (unless ... ...) (if ... ... ... ... ...
 ... ... result)) (setq call

Re: [Orgmode] dynamically calculated timestamps?

2010-09-02 Thread Manish
On Thu, Sep 2, 2010 at 6:44 PM, Matt Price wrote:
 Hi,

 Yet another question (I've had a bunch lately).

 In my syllabus I have a bunch of headings like this:

 * Outline: Semester 1
 ** Introduction: What is History For?
 ** History and the Public Sphere
 ** Recursive Publics
 ** Abundant Information and the Digitial Divide
 ** Crowdsourcing

 (there are subheadings and text in between). While i'm planning I like
 to move the headings around quite a bit, but it would be nice, while
 I'm doing that, to still know what date the class meeting will take
 place on. So I would like to do something like this:
 * Outline: Semester 1
 ** Introduction: What is History For? 2010-09-16 Thu
 ** History and the Public Sphere last timestamp+7 days 
 ** Recursive Publicslast timestamp+7 days 


last timestamp here refers to the date in previous item or last date
class was held?

 So essentially, have something like a spreadsheet formula embedded in the
 timestamp.  Does anyone have any ideas how I might jerryrig something like
 that? It would certainly be helpful to me.

The reference to spreadsheet like formula suggests that you want the
date from previous item to be used to calculate the date for current
item and a change in the former should cause an appropriate change on
the latter. org-depend.el (in contrib/lisp) can be used to define the
relationships but I don't know how you could link dates that way.

Not very helpful.  Sorry.

-- Manish

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


Re: [Orgmode] Wrong count? Me or Org?

2010-09-02 Thread Manish
On Thu, Sep 2, 2010 at 11:27 PM, C64 Whiz wrote:
 I have the following tree and notice the % done value...

  Actions [80%]
 * DONE See if existing credentials work
 ** DONE 2010/07/26 17:12:24 (05:12:24 PM)
I'll be working from home on Wed and will see if the existing
credentials still work.  I can find them [[file:c:/path/to/file][in
 here]].
 * CANCEL Create new credentials
 * DONE Email new credentials to S. W.
 * DONE Store new credentials in folder


 Why 80%??

Did you change the state of any item by hand (as opposed to using
shift-arrow or C-c C-t and such?) Have you tried doing a C-c C-c on the
statistics cookie?

-- Manish

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


Re: [Orgmode] tag or property names with dashes

2010-08-30 Thread Manish
On Mon, Aug 30, 2010 at 2:04 PM, Carsten Dominik wrote:
 Hi Manish,

 this looks pretty good.  I just went over the patch and
 found something like 5 locations where you did not make
 the change, and I fixed those.

 Have you been testing your patch extensively?  Some testing
 needs to be done before we can merge it.

Yes, I have been running with this patch for over a week now and
haven't faced any issues so far.  I have tested it with HTML, Latex
and ASCII exports, with block agenda, tag filtering, special ctrl-a/e
etc. and haven't faced any issues so far.  It did not break any thing
for me.. so far.

-- Manish

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


Re: [Orgmode] Printing Multiple Lines For Agenda Export

2010-08-21 Thread Manish
On Sat, Aug 21, 2010 at 10:39 AM, Carsten Dominik wrote:
 Hi,

 this is now fixed.

 Thanks for the report.


Debug on error gives this dump:
,
| Debugger entered--Lisp error: (wrong-number-of-arguments eobp 1)
|   (eobp (forward-char 1))
|   (or (eobp (forward-char 1)))
|   (if (string-match \\S- txt) (insert \n txt) (or (eobp ...)))
|   (if (not (setq m ...)) (beginning-of-line 2) (setq txt
(org-agenda-get-some-entry-text m org-agenda-add-entry-text-maxlines 
)) (end-of-line 1) (if (string-match \\S- txt) (insert \n
txt) (or ...)))
|   (while (not (eobp)) (if (not ...) (beginning-of-line 2) (setq txt
...) (end-of-line 1) (if ... ... ...)))
|   (let (m txt) (goto-char (point-min)) (while (not ...) (if ... ...
... ... ...)))
|   (progn (let (m txt) (goto-char ...) (while ... ...)))
|   (if (and ( org-agenda-add-entry-text-maxlines 0) (not ...))
(progn (let ... ... ...)))
|   (when (and ( org-agenda-add-entry-text-maxlines 0) (not ...))
(let (m txt) (goto-char ...) (while ... ...)))
|   org-agenda-add-entry-text()
|   run-hooks(org-agenda-before-write-hook)
|   (progn (rename-buffer Agenda View t) (set-buffer-modified-p nil)
(insert bs) (org-agenda-remove-marked-text (quote org-filtered))
(while (setq beg ...) (delete-region beg ...)) (run-hooks (quote
org-agenda-before-write-hook)) (cond (... ...) (... ... ... ... ...
... ...) (... ... ... ...) (... ... ... ... ... ...) (... ... ...) (t
...)))
|   (unwind-protect (progn (rename-buffer Agenda View t)
(set-buffer-modified-p nil) (insert bs) (org-agenda-remove-marked-text
...) (while ... ...) (run-hooks ...) (cond ... ... ... ... ... ...))
(and (buffer-name temp-buffer) (kill-buffer temp-buffer)))
|   (save-current-buffer (set-buffer temp-buffer) (unwind-protect
(progn ... ... ... ... ... ... ...) (and ... ...)))
|   (with-current-buffer temp-buffer (unwind-protect (progn ... ...
... ... ... ... ...) (and ... ...)))
|   (let ((temp-buffer ...)) (with-current-buffer temp-buffer
(unwind-protect ... ...)))
|   (with-temp-buffer (rename-buffer Agenda View t)
(set-buffer-modified-p nil) (insert bs) (org-agenda-remove-marked-text
(quote org-filtered)) (while (setq beg ...) (delete-region beg ...))
(run-hooks (quote org-agenda-before-write-hook)) (cond (... ...) (...
... ... ... ... ... ...) (... ... ... ...) (... ... ... ... ... ...)
(... ... ...) (t ...)))
|   (let ((bs ...) beg) (org-agenda-unmark-filtered-text)
(with-temp-buffer (rename-buffer Agenda View t)
(set-buffer-modified-p nil) (insert bs) (org-agenda-remove-marked-text
...) (while ... ...) (run-hooks ...) (cond ... ... ... ... ... ...)))
|   (save-window-excursion (org-agenda-mark-filtered-text) (let (...
beg) (org-agenda-unmark-filtered-text) (with-temp-buffer ... ... ...
... ... ... ...)))
|   (save-excursion (save-window-excursion
(org-agenda-mark-filtered-text) (let ... ... ...)))
|   (let ((ps-number-of-columns 1) (ps-landscape-mode t)
(htmlize-output-type ...) (ps-print-color-p ...)) (save-excursion
(save-window-excursion ... ...)) #buffer *Org Agenda*)
|   eval((let ((ps-number-of-columns 1) (ps-landscape-mode t)
(htmlize-output-type ...) (ps-print-color-p ...)) (save-excursion
(save-window-excursion ... ...)) #buffer *Org Agenda*))
|   org-let(((ps-number-of-columns 1) (ps-landscape-mode t)
(htmlize-output-type (quote css)) (ps-print-color-p (quote
black-white))) (save-excursion (save-window-excursion
(org-agenda-mark-filtered-text) (let ... ... ...))) #buffer *Org
Agenda*)
|   org-write-agenda(d:/home/zms/zrepo.hg/org/2010-08-21.txt nil)
|   call-interactively(org-write-agenda nil nil)
`

Could my setup be messed up somehow?

Thanks
-- Manish

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


Re: [Orgmode] Printing Multiple Lines For Agenda Export

2010-08-21 Thread Manish
Yes, it works now.  Sweet.

Thanks a lot.

Regards
-- Manish

On Sat, Aug 21, 2010 at 12:07 PM, Carsten Dominik
carsten.domi...@gmail.com wrote:

 On Aug 21, 2010, at 8:09 AM, Manish wrote:

 On Sat, Aug 21, 2010 at 10:39 AM, Carsten Dominik wrote:

 Hi,

 this is now fixed.

 Thanks for the report.


 Debug on error gives this dump:

 Not anymore. Thanks.

 - Carsten

 ,
 | Debugger entered--Lisp error: (wrong-number-of-arguments eobp 1)
 |   (eobp (forward-char 1))
 |   (or (eobp (forward-char 1)))
 |   (if (string-match \\S- txt) (insert \n txt) (or (eobp ...)))
 |   (if (not (setq m ...)) (beginning-of-line 2) (setq txt
 (org-agenda-get-some-entry-text m org-agenda-add-entry-text-maxlines 

 )) (end-of-line 1) (if (string-match \\S- txt) (insert \n

 txt) (or ...)))
 |   (while (not (eobp)) (if (not ...) (beginning-of-line 2) (setq txt
 ...) (end-of-line 1) (if ... ... ...)))
 |   (let (m txt) (goto-char (point-min)) (while (not ...) (if ... ...
 ... ... ...)))
 |   (progn (let (m txt) (goto-char ...) (while ... ...)))
 |   (if (and ( org-agenda-add-entry-text-maxlines 0) (not ...))
 (progn (let ... ... ...)))
 |   (when (and ( org-agenda-add-entry-text-maxlines 0) (not ...))
 (let (m txt) (goto-char ...) (while ... ...)))
 |   org-agenda-add-entry-text()
 |   run-hooks(org-agenda-before-write-hook)
 |   (progn (rename-buffer Agenda View t) (set-buffer-modified-p nil)
 (insert bs) (org-agenda-remove-marked-text (quote org-filtered))
 (while (setq beg ...) (delete-region beg ...)) (run-hooks (quote
 org-agenda-before-write-hook)) (cond (... ...) (... ... ... ... ...
 ... ...) (... ... ... ...) (... ... ... ... ... ...) (... ... ...) (t
 ...)))
 |   (unwind-protect (progn (rename-buffer Agenda View t)
 (set-buffer-modified-p nil) (insert bs) (org-agenda-remove-marked-text
 ...) (while ... ...) (run-hooks ...) (cond ... ... ... ... ... ...))
 (and (buffer-name temp-buffer) (kill-buffer temp-buffer)))
 |   (save-current-buffer (set-buffer temp-buffer) (unwind-protect
 (progn ... ... ... ... ... ... ...) (and ... ...)))
 |   (with-current-buffer temp-buffer (unwind-protect (progn ... ...
 ... ... ... ... ...) (and ... ...)))
 |   (let ((temp-buffer ...)) (with-current-buffer temp-buffer
 (unwind-protect ... ...)))
 |   (with-temp-buffer (rename-buffer Agenda View t)
 (set-buffer-modified-p nil) (insert bs) (org-agenda-remove-marked-text
 (quote org-filtered)) (while (setq beg ...) (delete-region beg ...))
 (run-hooks (quote org-agenda-before-write-hook)) (cond (... ...) (...
 ... ... ... ... ... ...) (... ... ... ...) (... ... ... ... ... ...)
 (... ... ...) (t ...)))
 |   (let ((bs ...) beg) (org-agenda-unmark-filtered-text)
 (with-temp-buffer (rename-buffer Agenda View t)
 (set-buffer-modified-p nil) (insert bs) (org-agenda-remove-marked-text
 ...) (while ... ...) (run-hooks ...) (cond ... ... ... ... ... ...)))
 |   (save-window-excursion (org-agenda-mark-filtered-text) (let (...
 beg) (org-agenda-unmark-filtered-text) (with-temp-buffer ... ... ...
 ... ... ... ...)))
 |   (save-excursion (save-window-excursion
 (org-agenda-mark-filtered-text) (let ... ... ...)))
 |   (let ((ps-number-of-columns 1) (ps-landscape-mode t)
 (htmlize-output-type ...) (ps-print-color-p ...)) (save-excursion
 (save-window-excursion ... ...)) #buffer *Org Agenda*)
 |   eval((let ((ps-number-of-columns 1) (ps-landscape-mode t)
 (htmlize-output-type ...) (ps-print-color-p ...)) (save-excursion
 (save-window-excursion ... ...)) #buffer *Org Agenda*))
 |   org-let(((ps-number-of-columns 1) (ps-landscape-mode t)
 (htmlize-output-type (quote css)) (ps-print-color-p (quote
 black-white))) (save-excursion (save-window-excursion
 (org-agenda-mark-filtered-text) (let ... ... ...))) #buffer *Org
 Agenda*)
 |   org-write-agenda(d:/home/zms/zrepo.hg/org/2010-08-21.txt nil)
 |   call-interactively(org-write-agenda nil nil)
 `

 Could my setup be messed up somehow?

 Thanks
 -- Manish

 - Carsten


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


Re: [Orgmode] Some useful timestamp s-expressions

2010-08-21 Thread Manish
I added these to Worg.

-- Manish


On Thu, Aug 19, 2010 at 1:52 AM, Paul Sexton psex...@xnet.co.nz wrote:
 In org, timestamps can be in the usual angle-bracket format,
 eg 2010-08-19 +2w, or you can use lisp s-expressions. These are in the same
 format as the s-expressions used in the 'diary'/'calendar' emacs packages. I
 only discovered these recently but have been able to use them to schedule some
 complex recurring items. I thought I would share the code here.

 1. Recurring items with a limited number of occurrences

 For example, say you are taking night classes in Spanish. The class is every
 Wednesday evening at 7pm, starting on 18 August, and runs for 8 weeks. AFAIK
 Org's timestamps do not support limited occurrences of recurrent items -- you
 have to schedule the item with infinite recurrences, then delete it when it
 finishes.

 To schedule the Spanish classes, put the following in your .emacs:

 (defun diary-limited-cyclic (recurrences interval m d y)
  For use in emacs diary. Cyclic item with limited number of recurrences.
 Occurs every INTERVAL days, starting on -MM-DD, for a total of
 RECURRENCES occasions.
  (let ((startdate (calendar-absolute-from-gregorian (list m d y)))
        (today (calendar-absolute-from-gregorian date)))
    (and (not (minusp (- today startdate)))
         (zerop (% (- today startdate) interval))
         ( (floor (- today startdate) interval) recurrences

 The item in the org file looks like this:


 ** 19:00-21:00 Spanish lessons
 %%(diary-limited-cyclic 8 7 8 18 2010)


 2. Public holiday that is the nearest Monday to DATE

 In New Zealand each regional capital has an Anniversary Day. The date of
 Auckland's anniversary day is the nearest Monday to 29 January.

 Put this in your .emacs:

 (defun calendar-nearest-to (target-dayname target-day target-month)
  Recurring event that occurs in the nearest TARGET-DAYNAME to
 the date TARGET-DAY, TARGET-MONTH each year.
  (interactive)
  (let* ((dayname (calendar-day-of-week date))
         (target-date (list target-month target-day (calendar-extract-year 
 date)))
         (days-diff (abs (- (calendar-day-number date)
                            (calendar-day-number target-date)
    (and (= dayname target-dayname)
         ( days-diff 4

 Now we can schedule Auckland Anniversary Day. The first argument, 1, means
 Monday (days of the week are numbered starting with Sunday=0).


 *** Auckland Anniversary Day
 %%(calendar-nearest-to 1 29 1)


 3. Public holiday on the 4th Monday in October.

 This does not require any additions to .emacs:


 *** Labour Day (NZ)
 %%(diary-float 10 1 4)


 4. Easter

 Easter's date moves around from year to year according to a complicated set of
 criteria which I do not claim to understand. However the following code will
 allow you to schedule recurring events relative to Easter sunday.

 Note: the function da-easter is from:
 http://github.com/soren/elisp/blob/master/da-kalender.el

 Put the following in your .emacs:

 (defun da-easter (year)
  Calculate the date for Easter Sunday in YEAR. Returns the date in the
 Gregorian calendar, ie (MM DD YY) format.
  (let* ((century (1+ (/ year 100)))
         (shifted-epact (% (+ 14 (* 11 (% year 19))
                              (- (/ (* 3 century) 4))
                              (/ (+ 5 (* 8 century)) 25)
                              (* 30 century))
                           30))
         (adjusted-epact (if (or (= shifted-epact 0)
                                 (and (= shifted-epact 1)
                                      ( 10 (% year 19
                             (1+ shifted-epact)
                           shifted-epact))
         (paschal-moon (- (calendar-absolute-from-gregorian
                           (list 4 19 year))
                          adjusted-epact)))
    (calendar-dayname-on-or-before 0 (+ paschal-moon 7


 (defun da-easter-gregorian (year)
  (calendar-gregorian-from-absolute (da-easter year)))

 (defun calendar-days-from-easter ()
  When used in a diary sexp, this function will calculate how many days
 are between the current date (DATE) and Easter Sunday.
  (- (calendar-absolute-from-gregorian date)
     (da-easter (calendar-extract-year date

 Now we can schedule the public holidays associated with Easter as
 recurring events. Good Friday is 2 days before Easter, Easter Monday is one
 day after.


 *** Good Friday
 %%(= -2 (calendar-days-from-easter))

 *** Easter Sunday
 %%(= 0 (calendar-days-from-easter))

 *** Easter Monday
 %%(= 1 (calendar-days-from-easter))


 Paul



 ___
 Emacs-orgmode mailing list
 Please 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
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] tag or property names with dashes

2010-08-20 Thread Manish
On Fri, Aug 20, 2010 at 12:57 PM, Carsten Dominik wrote:

 On Aug 17, 2010, at 9:40 PM, Ilya Shlyakhter wrote:

 When doing an agenda tags match for tags or properties with dashes in
 their name,
 the dashes become negation operators: my-prop0 means entries that
 have the tag
 'my' and do not have a positive property 'prop', rather than entries
 that have a positive
 property 'my-prop'.  Is there a way to escape the dashes to get the
 latter meaning?

 Dashes are not valid in TODO keywords and tags, but you are right,
 properties do allow them.  hmmm.  I don't remember why I did allow hem
 - but surely enough I did.


Are # and % are disallowed in the tags?  Can they be made to work please?

Regards
-- Manish

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


Re: [Orgmode] tag or property names with dashes

2010-08-20 Thread Manish
On Fri, Aug 20, 2010 at 11:02 PM, Manish wrote:
 On Fri, Aug 20, 2010 at 7:15 PM, Carsten Dominik wrote:

 On Aug 20, 2010, at 3:36 PM, Manish wrote:

[snip: accepting -'s in properties (17 lines)]

 Are # and % are disallowed in the tags? Can they be made to work
 please?

 This is non-trivial and I shy away from the work for now. Make me a
 patch and I will look at it.

 Attempting something that /you/ call non-trivial is nigh impossible
 for me. :(

 But even if I were to dare.. any hints where I could start?


Attaching a naive first attempt. With this patch, I have tested special
behavior of ctrl-a/e respecting tags in org files, ascii and HTML
exports, agenda, and tag filtering. LaTeX export was not working so
could not test and do not have the setup for testing Docbook exports.
Please do take a look -- I do not understand the larger
repurcussions/side effects of the changes to all the regexes.

Thanks
-- Manish

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


Re: [Orgmode] Printing Multiple Lines For Agenda Export

2010-08-20 Thread Manish
On Sat, Aug 21, 2010 at 8:18 AM, Andre Powell wrote:
 Maybe I asked the wrong question, maybe there is another mailing list,
 but I hope that there is a solution to the issue that I am having. I
 Googled around and the only thing that that I saw even remotely close
 was this link
 http://www.mail-archive.com/emacs-orgmode@gnu.org/msg11636.html .

 Original Message: I have some task that have/need more descriptive
 text, but I am not able to get the text to show up when I export the
 view. I have set the command : Org Agenda Add Entry Text Maxlines to
 display more than 0, but then the program hangs and I have to force it
 to quit.


 This is the custom command that I would like to add the function to:

 (@ Print for the day
 ((agenda 
 ((org-agenda-ndays 2)
 (org-agenda-overriding-header Today List)
 (org-agenda-sorting-strategy
 '(time-up priority-down tag-up))
 (org-deadline-warning-days 2)
 (org-agenda-filter-preset
 '(-Personal 

 (todo DELEGATE)

 (todo WAITING
 ((org-agenda-filter-preset
 '(-Personal
 (tags-todo REPORTS
 ((org-agenda-overriding-header Report Detail)
 ))
 (tags-todo Order)
 (tags-todo Repair)

 )

 nil
 (~/Documents/Magic Briefcase/Mobile Folders/notes/@.txt)
 )

 I am using Emacs 23 for Windows and Aquamacs for OSX

I can confirm the behavior. Exporting agenda with
org-agenda-add-entry-text-maxlines set to any non-zero value causes
Emacs to eat cycles endlessly and has to be interrupted. The behavior is
same when org-agenda-add-entry-text-descriptive-links is set to nil or
t.

I am on GNU Emacs 23.2.1 (i386-mingw-nt5.1.2600) running Org-mode git
head.

-- Manish

___
Emacs-orgmode mailing list
Please 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 release 7.01

2010-07-19 Thread Manish
 On Mon, Jul 19, 2010 at 6:43 AM, Carsten Dominik
 carsten.domi...@gmail.com wrote:
 Hi everyone,

 I have just released version 7.01 of Org mode.

 This is a major release, and we have worked months on getting
 it together.

Sincere thanks and congratulations on the release to all contributors.

There is more happening in Org than I can try out and integrate in my
workflow at a sane pace.. the backlog has been growing for a while now.
One Carsten was difficult to keep pace with and now we have others too.
Sheesh. :)  Can't thank you all enough for your hard work.

Best regards
-- 
Manish

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


Re: [Orgmode] New implementation of the Org remember process ready for comments and testing

2010-06-22 Thread Manish
On Tue, Jun 22, 2010 at 6:06 PM, Carsten Dominik wrote:
New implementation of the Org remember process
==
[snip: announcement of org-capture (287 lines)]


I got some compilation warnings for the latest files.  I have not yet
tried the new system so don't know if these are these of any
consequence or not or if they are specific to my setup.


$ make
emacs-nox -batch -q -no-site-file -eval (setq load-path (cons
(expand-file-name \./lisp/\) (cons
\/usr/local/share/emacs/site-lisp\ load-path))) -f
batch-byte-compile lisp/org-capture.el

In org-capture-select-template:
org-capture.el:841:25:Warning: `error' called with 0 args to fill 1 format
field(s)

In org-capture-import-remember-templates:
org-capture.el:1110:45:Warning: reference to free variable
`org-remember-default-headline'
org-capture.el:1120:12:Warning: reference to free variable
`org-remember-templates'

In end of data:
org-capture.el:1129:1:Warning: the function `org-datetree-find-date-create' is
not known to be defined.
Wrote /home/zms/elisp/org-mode.git/lisp/org-capture.elc
emacs-nox -batch -q -no-site-file -eval (setq load-path (cons
(expand-file-name \./lisp/\) (cons
\/usr/local/share/emacs/site-lisp\ load-path))) -f
batch-byte-compile lisp/org-mks.el

In org-mks:
org-mks.el:75:45:Warning: assignment to free variable `re'
org-mks.el:75:32:Warning: reference to free variable `re'
org-mks.el:98:31:Warning: assignment to free variable `pressed'
org-mks.el:99:41:Warning: reference to free variable `pressed'

In end of data:
org-mks.el:127:1:Warning: the following functions are not known to be defined:
org-switch-to-buffer-other-window, cadar, org-fit-window-to-buffer
Wrote /home/zms/elisp/org-mode.git/lisp/org-mks.elc
emacs-nox -batch -q -no-site-file -eval (setq load-path (cons
(expand-file-name \./lisp/\) (cons
\/usr/local/share/emacs/site-lisp\ load-path))) --eval (require
'autoload) \
--eval '(find-file org-install.el)'  \
--eval '(erase-buffer)' \
--eval '(mapc (lambda (x) (generate-file-autoloads
(symbol-name x))) (quote (lisp/org.el lisp/org-agenda.el
lisp/org-ascii.el lisp/org-attach.el lisp/org-archive.el
lisp/org-bbdb.el lisp/org-beamer.el lisp/org-bibtex.el
lisp/org-capture.el lisp/org-clock.el lisp/org-colview.el
lisp/org-colview-xemacs.el lisp/org-compat.el lisp/org-crypt.el
lisp/org-ctags.el lisp/org-datetree.el lisp/org-docview.el
lisp/org-entities.el lisp/org-exp.el lisp/org-exp-blocks.el
lisp/org-docbook.el lisp/org-faces.el lisp/org-feed.el
lisp/org-footnote.el lisp/org-freemind.el lisp/org-gnus.el
lisp/org-habit.el lisp/org-html.el lisp/org-icalendar.el
lisp/org-id.el lisp/org-indent.el lisp/org-info.el
lisp/org-inlinetask.el lisp/org-jsinfo.el lisp/org-irc.el
lisp/org-latex.el lisp/org-list.el lisp/org-mac-message.el
lisp/org-macs.el lisp/org-mew.el lisp/org-mhe.el lisp/org-mks.el
lisp/org-mobile.el lisp/org-mouse.el lisp/org-publish.el
lisp/org-plot.el lisp/org-protocol.el lisp/org-remember.el
lisp/org-rmail.el lisp/org-src.el lisp/org-table.el
lisp/org-taskjuggler.el lisp/org-timer.el lisp/org-vm.el
lisp/org-w3m.el lisp/org-wl.el lisp/org-xoxo.el)))' \
--eval '(insert \n(provide (quote org-install))\n)' \
--eval '(save-buffer)'
Loading vc-git...
Generating autoloads for lisp/org.el...

[rest of compilation log snipped]


Best regards
-- 
Manish

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


Re: [Orgmode] Re: [ANN] Exporter for taskjuggler

2010-06-09 Thread Manish
On Tue, Jun 8, 2010 at 2:51 PM, Christian Egli wrote:
 Manish writes:

 From where can I get the latest version of org-taskjuggler?

 I finally managed to push the taskjuggler exporter to the public repo.
 It's located in the branch taskjuggler-export and should be ready to
 be merged into the mainline.

Thank you.  I hope to try it soon with TJ3 on Windows.

Regards
-- 
Manish

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


Re: [Orgmode] emacs 23.1 crash on small org file (org-version 6.36)

2010-05-21 Thread Manish
On Fri, May 21, 2010 at 5:13 AM, Fritz Kunze wrote:

 From:  fku...@gmail.com
 To: emacs-orgmode@gnu.org
 Subject: Bug: loading a small org file crashes emacs - no backtrace [6.36]
 --text follows this line--
 I am a novice org-mode user.  I am trying to learn how to use some of the 
 features of org-mode to implement a GTD system.
 Emacs crashes when I load a file (named todobug.org) containing the text 
 between the dashed lines (and not including the dashed lines).  It took some 
 time to get a small version of the file that reliably crashes (at least my) 
 emacs. I could not get a backtrace, because emacs simply crashes.  I am on a 
 windows vista machine.
 -
 MY TASKS -*- mode: org; fill-column: 78; after-save-hook: 
 (archive-done-tasks)   -*-
 #+STARTUP: indent
 #+STARTUP: content
 * Tasks
 #+CATEGORY: Tasks
 ** TODO Buy dead companies! Michael Rabson of wsgr says that valuable patents
 can arise through this process.  Especially since it takes so long for a 
 patent to come through.  The company may be gone, but the patent might be 
 valuable.
   [2010-05-19 Wed]

I could not duplicate this both with given value for the
after-save-hook and Jan B�cker's suggested modification.

- Windows XP SP2
- GNU Emacs 23.2.1 (i386-mingw-nt5.1.2600) of 2010-05-08 on G41R2F1
- Org-mode version 6.36trans (release_6.36.92.g6733) as of Fri May 21
09:26:04 2010 +0200

Regards
-- 
Manish

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


Re: [Orgmode] [ANN] Exporter for taskjuggler

2010-05-10 Thread Manish
From where can I get the latest version of org-taskjuggler?

Thanks
-- 
Manish

On Tue, Apr 20, 2010 at 1:39 PM, Christian Egli christian.e...@sbszh.ch wrote:
 John Hendy jw.he...@gmail.com writes:

 I'd stick with looking into TJ3 org-mode integration over 2.4. Or
 perhaps take a look at the first of the references on how to use both:

 - http://www.taskjuggler.org/tj3/manual/TaskJuggler_2x_Migration.html

 The exporter is pretty agnostic towards either tj3 or tj2.4. It pretty
 much just exports the properties you define in your nodes. It also does
 some magic with regards to dependecy and resource export, but these have
 not changed in tj3. While I haven't tested it with tj3 the export from
 an org file should also work for tj3. You might have to tweak the
 reports some, but this can be done with the customize interface.

 HTH
 Christian
 --
 Christian Egli
 Swiss Library for the Blind, Visually Impaired and Print Disabled
 Grubenstrasse 12, CH-8045 Zürich, Switzerland


 ___
 Emacs-orgmode mailing list
 Please 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
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Gmane readers - please subscribe

2010-04-27 Thread Manish Sharma
Ben Finney ben+em...@benfinney.id.au writes:

 Sebastian Rose sebastian_r...@gmx.de writes:

 Ben Finney ben+em...@benfinney.id.au writes:
  Since it's an infrequently-to-never accessed service, it's an
  unreasonable burden to expect the user to maintain unique
  passphrases for every such service. If for this list, why not for
  every such list?

 It's easy to maintain unique passphrases, and to create them.

 Having done so for many accounts and using many different systems for
 doing so, I can assure you that it's easier and more reliable to just
 avoid creating such accounts where possible.

Other have already made some excellent suggestions.  About multiple
system issue: you could look at a web based password manager like
passpack.com or such.

Regards
-- 
Manish



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


[Orgmode] Re: Agenda View window splits vertically

2010-04-27 Thread Manish Sharma
Juri Artamonov writes:

 Guys,

 I'm newbie in emacs. Could please advice. Somehow I get my agenda view
appears vertically, i.e from the right side from my org file.

 I open org file then press C-c a and I see Agenda Commands in the
 window to the right, not to the bottom as it was before. Could you
 please advice, how to make it back and make agenda view open
 horizontally?

I suspect I did not quite understand but this might help:
http://orgmode.org/worg/org-hacks.php#sec-8

HTH
-- 
Manish



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


[Orgmode] Re: declaring items as implicit TODO entries

2010-04-25 Thread Manish Sharma
Nick writes:

 Hi,

 I have an .org file I currently use as a TODO list.  Everything
 below a certain level (currently 3) is a TODO item (of some
 sort).

 Is there a way to tell org-mode to assume any item below this
 level is by default a TODO item, such that the agenda view
 displays all of them which aren't explicitly marked as DONE?

C-c a t should show all the TODO items.  You may also want to
take a look at org-agenda-todo-ignore-deadlines,
org-agenda-todo-ignore-scheduled and
org-agenda-todo-ignore-with-date as well.

HTH
-- 
Manish



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


Re: [Orgmode] Increase width in agenda view?

2010-04-20 Thread Manish
On Mon, Apr 19, 2010 at 10:19 PM, Johan Ekh wrote:
 Hi all, is it possible to increase the width in the Week-agenda
 view such that the TODO keyword and the title task text get
 more space? My tags to the right of the title text gets
 misaligned if the title text is too long.

If you are okay with hiding CATEGORY then you can try the following
hack from Manuel Hermenegildo[fn:1]

--8---cut here---start-8---
;;
;; With this typing L in agenda and todo buffers allows toggling
;; whether category/file names appear or not at the left or entries in
;; agenda/todo listings.
;;

(defvar my-org-agenda-list-category t)
(defun my-org-agenda-toggle-list-category ()
 Toggles whether category/file name appears or not at the left
  of entries in agenda listings. Useful to unclutter listings.
  (interactive)
  (if my-org-agenda-list-category
  (progn
(setq my-org-agenda-list-category nil)
(setq org-agenda-prefix-format
  '((agenda  .   %-12:c%?-12t% s)
(timeline  .   % s)
(todo  .   %-12:c)
(tags  .   %-12:c)
(search .   %-12:c)))
)
(setq my-org-agenda-list-category t)
(setq org-agenda-prefix-format
  '((agenda  .   %?-12t% s)
(timeline  .   % s)
(todo  .   )
(tags  .   )
(search .   )))
)
  (org-agenda-redo))
(my-org-agenda-toggle-list-category)

(add-hook
 'org-mode-hook
 (lambda ()
   (define-key org-agenda-keymap   L 'my-org-agenda-toggle-list-category)
   (define-key org-agenda-mode-map L 'my-org-agenda-toggle-list-category)
 ))
--8---cut here---end---8---

Regards
-- 
Manish

Footnotes:
[fn:1] http://article.gmane.org/gmane.emacs.orgmode/10909


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


Re: [Orgmode] LaTeX package dependencies

2010-03-26 Thread Manish
On Fri, Mar 26, 2010 at 10:22 AM, Carsten Dominik wrote:
 Hi everyone,

 I am working on better entity (special symbol) support for
 export, based on a list Ulf Stegemann has compiled. The list
 Ulf has sent me requires the following LaTeX packages to be
 available:

 * t1enc * textcomp * marvosym * wasysym * MnSymbol

 Before I introduce new dependencies on these packages, I would
 like to ask that many of you check if these packages are
 available in the LaTeX distribution you are using. Please
 check, and let me know which package you do not have.


I ran Alexander find command and and Robert's test latex document on
Cygwin with Texlive 2008. Find does report MnSybol but the latex
document compilation does not find it. All other packages are ok.

Regards
-- 
Manish


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


Re: [Orgmode] Showing scheduled blocked tasks [SEC=UNCLASSIFIED]

2010-03-15 Thread Manish
On Thu, Mar 11, 2010 at 7:04 AM, Matthew Phillips wrote:
 Hello all,

 I am trying to get a TODO tags view in my daily agenda just shows
 the first TODO of a “Project” (a la the “next action” in GTD).
 This allows me to have a TODO “tags” block in my custom agenda
 that doesn’t run to several pages: I just see the next action for
 each project, and, as each action is marked DONE, the next one
 pops up.

have you considered using org-depend? this is what i use for almost
exactly what you described:

1. a project has several TODOs
2. the first TODO (manually) is assigned a TRIGGER property with
   chain-siblings(NEXT) as value
3. as this task is marked DONE, the one below is switched to NEXT
   state and also gets the property
4. switching to NEXT causes org-todo-state-tags-triggers to tag the
   task with NEXT tag
5. a custom agenda view adds a block of these NEXT tasks

hth
-- 
manish


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


Re: [Orgmode] Clocking feature request

2010-03-05 Thread Manish
2010/3/5 Sébastien Vauban :
 Hi all,

 Sorry to have some answers delayed. I have troubles accessing Gmane from
 certain locations... hence, almost can't access Org-mode (yes, I know, but I
 don't like the ML style -- I prefer newsgroups).

 So, to come back to my title, I have a feature request around clocking.

 Currently, we know how much time we spend on tasks since the beginning (it
 depends the file contents). For example, having one clock file per month, I
 always see in the modeline how much time I spent reading mails since March
 1st.

 Though, I think it'd be very interesting to know how much time I spent reading
 mails *today* as well. This can help me distributing my work better.

please check out variable org-clock-modeline-total.  and a clock
report can show the time for monthly time consumption.

-- 
manish


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


Re: [Orgmode] Clocktable: Include non-clock items

2010-03-03 Thread Manish
On Thu, Mar 4, 2010 at 1:51 AM, Nathan Neff wrote:
 Is there a way to get a clock table to show items
 that do not have a clock entry?

i don't think so.



 Here's the use-case:

 I'm working on Task 1, and encounter an unusual problem.
 I want my clock report to show some detail about why Task 1
 took more time than usual.

 I don't want to create a sub-heading and clock into it, and
 adjust the clock, etc.  I just want to store a note about this, and
 have the note appear in the clock report.

i understand that creating a new task and adjusting clocks could be more
context switches than you'd like but once you have setup and executed a
few times following may not really a big diversion although it does require
one to be conscious of the change in the nature of task as it happens
(e.g. unusual problem delaying the task.)

1. call remember to create a child task (so the child's clock time
   contributes towards the parent task)
2. remember clocks in to the task automatically and can record a link to
   the task was interrupted by creation of this one (%K in a remember
   template)
3. once this task is over you clock back into the interrupted task

#3 probably sounds like something you don't want to do.  Bernt Hanson
has documented his setup in abundant detail and that has helped me a
lot.  i'd specifically point you to his f9 SPC setup.

references:
1. http://doc.norang.ca/org-mode.html#Remember
2. http://doc.norang.ca/org-mode.html#Clocking

hth,
-- 
manish


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


Re: [Orgmode] Remove scheduled date when switch TODO states

2010-02-20 Thread Manish
On Sun, Feb 21, 2010 at 1:43 AM, Nathaniel Flath wrote:
 Hello,

 I have a todo state, PENDING, that I organize tasks that I
 cannot perform immediately.  Is there a way to configure
 org-todoconfigure so that when a task is switched to PENDING,
 if it has a scheduled date that date is removed?

i'm not aware of any in-built way of doing this but org-schedule can be
called with org-trigger-hook to do the job but i still don't know
sufficient elisp to help with an implementation. :(

http://orgmode.org/worg/org-configs/org-hooks.php#sec-1.15

-- 
manish


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


Re: [Orgmode] Hiding items on agenda until day they are scheduled

2010-02-20 Thread Manish
On Sat, Feb 20, 2010 at 11:42 PM, Nathaniel Flath wrote:
 Hello,

 Is there a property that will hide an item from the agenda
 until the day it is scheduled?  I don't want to do this
 globally, just for specific items.  Setting the style to
 'habit' does this, but I was wondering if there was a more
 semantically-correct way.

i'm not clear which agenda you're talking about (a custom agenda block
or a daily/weekly agenda.  please take a look at following variables,
they may do what you need:

1. org-agenda-skip-scheduled-if-deadline-is-shown
2. org-agenda-skip-scheduled-if-done
3. org-agenda-skip-timestamp-if-done
4. org-agenda-todo-ignore-deadlines
5. org-agenda-todo-ignore-scheduled
6. org-agenda-todo-ignore-with-date

hth
-- 
manish


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


Re: [Orgmode] Org-depends: schedule X days after last completion

2010-02-20 Thread Manish
On Sat, Feb 20, 2010 at 11:28 PM, Nathaniel Flath wrote:
 Hello, using the org-depends package, is there any way to set
 the next task to be scheduled a certain number of days after
 the current one is finished?

not at the moment.  though one can visualize the TRIGGER property
chain-siblings-scheduled to be like chain-siblings-scheduled(x) where
x is the number of days to be added to the CLOSED time of the previous
entry to compute new SCHEDULED time.  wish i knew sufficient elisp.

-- 
manish


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


[Orgmode] Re: listing tasks with no TODO keyword in global TODO list

2010-02-20 Thread Manish
On Sat, Feb 20, 2010 at 8:00 AM, Matt Lundin wrote:
[snip (15 lines)]
 i seem to recall that there was an instance where an item
 without a TODO keyword could be treated as if it was an unDONE
 item but i can't seem to find it anymore.

 Assuming that you only use DONE as an inactive todo, I believe
 you can get all headings *not* marked done with the following
 search:

 C-c a m /-DONE

thanks!  a custom agenda built around this does the job well.

 Are you perhaps thinking of the default setting for stuck
 projects?

 (setq org-stuck-projects '(+LEVEL=2/-DONE (TODO NEXT
  NEXTACTION) nil ))

 This defines projects based on their level (i.e., all level two
 items not marked DONE).

possibly.. but i suspect it was something else.

thanks again.

-- 
manish


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


[Orgmode] listing tasks with no TODO keyword in global TODO list

2010-02-19 Thread Manish
hello!

i've been unable to find the variable that controls whether
items/tasks with no TODO keyword should be treated like the ones with
TODO so they can appear in the global TODO list.  can someone please
point me in the right direction?

thanks
-- 
manish


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


Re: [Orgmode] listing tasks with no TODO keyword in global TODO list

2010-02-19 Thread Manish
On Sat, Feb 20, 2010 at 4:07 AM, Jan Böcker wrote:
 On 19.02.2010 16:44, Manish wrote:
 hello!

 i've been unable to find the variable that controls whether
 items/tasks with no TODO keyword should be treated like the
 ones with TODO so they can appear in the global TODO
 list.  can someone please point me in the right direction?

 thanks

 Your question seems a bit confusing to me. Headlines without
 TODO keywords are by definition not a todo item, so they should
 not appear in the global todo list.

i seem to recall that there was an instance where an item without a TODO
keyword could be treated as if it was an unDONE item but i can't seem to
find it anymore.


 You can schedule them or put a deadline on them, and they will
 appear in the agenda view, but not in the todo list (C-c a t).

 Please clarify how you distinguish an item/task with no TODO
 keyword from an ordinary headline used to structure the
 outline.

i understand what you're saying.  imho, for those who use outlines
solely for the purposes of defining the projects and tasks treating an
item without TODO as if it was an unDONE one if configured with a
variable and at least for the purposes of appearing in a global TODO
list makes sense.


 Also, take a look at custom agenda views. You could define an
 agenda view that lists the todo list, and additionally includes
 the results of a search (e.g. all items with a certain tag)
 below that.

i'll look into how i can pull together such items/tasks with a search
perhaps using FILETAGS.

thanks
-- 
manish


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


Re: [Orgmode] Wiki?

2010-02-19 Thread Manish
On Sat, Feb 20, 2010 at 3:54 AM, Andrea Crotti wrote:

 Today I had to modify some wiki pages for a project and I
 realized how it sucked..  Stupid editor, annoying markup
 language, difficult to remember/track down what you've written
 and so on.

 So wouldn't be great to do something like this

 * Wiki stuff ** Page1 This is a wiki page, automatically
 created if not existing - item - item

 ** Page2 Another page.

 Than with one command like org-export-to-wiki look if the page
 is existing, if not create it, convert it to the right format
 and it's done!

 I think it should involve some rpc php stuff which is not
 directly related, and also if the page is modified by someone
 else is not so easy (unless we're able to update our
 org-version).
 But to create new pages it would be great (for me at least).

have you tried Wes Hardaker's generic exporter?  C-c C-e g RET.  it
should already be able to do a lot of what you want.

-- 
manish


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


Re: [Orgmode] Only show a certain weekday in the agenda view

2010-02-03 Thread Manish
2010/1/29 Björn Steffen :
 Hello,

 I'm teaching every thursday at a school. So I made a recurring entry
 in my org-file like this:

 * Teaching
   2010-02-04 Thu 7:45-9:25 +1w

 I would like to have a custom agenda view where I only see an entry
 for all the Thursdays. But I cannot filter for the specific entry
 above because I also would like to see other timestamped items which
 fall on Thursdays.

 Is there some kind of filtering function for this purpose?

I am guessing you probably want to see items related to your classes.
In that case if you tag the items related to classes, then you can
filter based on the tag ('/' in agenda or timeline view or 'C-c a m
tag').

HTH
-- 
Manish


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


Re: [Orgmode] Blog posts about Org-mode

2010-01-26 Thread Manish
On Tue, Jan 26, 2010 at 5:45 PM, Giovanni Ridolfi wrote:
 Carsten Dominik writes:

 On Jan 26, 2010, at 11:42 AM, Giovanni Ridolfi wrote:

 Carsten Dominik writes:

 links to Blog posts about Org-mode:

 Manoj Srivastava

 [[http://www.golden-gryphon.com/blog/manoj/blog/2008/06/08/Using_org-mode_with_Ikiwiki/
 ][Using org-mode with Ikiwiki]]

 Giovanni

 Will you add this to WOrg?
 Carsten,
 I can't: I haven't my account on worg, yet;
   and also I haven't installed git, yes  :-/


no problem.  i added the link to worg.

thanks
-- 
manish


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


Re: [Orgmode] org-clock mode-line format configuration

2010-01-26 Thread Manish
+1

On Tue, Jan 26, 2010 at 3:30 PM, Kiwon Um wrote:
 Dear orgmode dev team:

 When the clock is started on an item, the item is shown on the mode
 line. But the string on the mode line just shows the raw string of the
 item, so sometimes it looks ugly when it contains a link.

 So I suggest to make it customizable, or to vanish the link string, e.g.
 using
  (replace-regexp-in-string \\[\\[.*\\]\\[\\(.*\\)\\]\\] \\1 str)

 Sincerely,

 Kiwon Um


 ___
 Emacs-orgmode mailing list
 Please 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
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] [Worg] Addition to org-hacks: Remove redundant tags

2010-01-26 Thread Manish
On Tue, Jan 26, 2010 at 9:52 PM, David Maus wrote:
 At Tue, 26 Jan 2010 11:04:06 +0530,
 Manish wrote:

 Applied to Worg.

 Thanks

 Ooops, attached patch fixes a small glitch in this function that
 prevented it working on headlines without tags.

Applied to Worg.

Thanks
-- 
Manish


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


Re: [Orgmode] [babel] Moving to babel the whole configuration

2010-01-26 Thread Manish
On Thu, Jan 21, 2010 at 10:15 PM, Dan Davison wrote:
 andrea writes:

 I'm really tempted to move all my emacs configuration in only
 one big file.  This would also help me to make it more
 consistent and readable.

 But I'm afraid to mess up something, in theory I just need: -
 a simple org and babel loader - one big file containing
 everything


 Hi Andrea,

 I've used a single org mode file to keep all my emacs
 configuration code for the last 5 months or so and I have not
 had any problems at all. I highly recommend it.  I am using a
 simple set up:

 My ~/.emacs contains

 --
 (add-to-list 'load-path /usr/local/src/org-mode/lisp)
 (add-to-list 'load-path /usr/local/src/org-mode/contrib/lisp)
 (require 'org-install) (require 'org-babel-init)
 (org-babel-load-file
 ~/config/emacs/emacs.org) 
 --

 and all the rest of my emacs config code is in
 ~/config/emacs/emacs.org


This works very nicely.  Thank you.

I am thinking about making my config a little leaner while I
reorganize without affecting functionality I have gotten used to by
preventing sections of config from loading.  I thought setting :tangle
to `no' should help but the default is already `no' and all my config
is loaded.  How would one go about marking a section of configuration
so that it remains in the configuration file but does not get tangled
while Emacs boots?

Thanks
-- 
Manish


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


Re: [Orgmode] [babel] Moving to babel the whole configuration

2010-01-26 Thread Manish
On Wed, Jan 27, 2010 at 2:04 AM, Dan Davison wrote:
 Eric Schulte writes:

 Manish writes:

 On Thu, Jan 21, 2010 at 10:15 PM, Dan Davison wrote:
 andrea writes:

 I'm really tempted to move all my emacs configuration in
 only one big file.  This would also help me to make it more
 consistent and readable.

 But I'm afraid to mess up something, in theory I just need:
 - a simple org and babel loader - one big file containing
 everything


 Hi Andrea,

 I've used a single org mode file to keep all my emacs
 configuration code for the last 5 months or so and I have
 not had any problems at all. I highly recommend it.  I am
 using a simple set up:

 My ~/.emacs contains

 --
 (add-to-list 'load-path /usr/local/src/org-mode/lisp)
 (add-to-list 'load-path
 /usr/local/src/org-mode/contrib/lisp) (require
 'org-install) (require 'org-babel-init) (org-babel-load-file
 ~/config/emacs/emacs.org)
 --

 and all the rest of my emacs config code is in
 ~/config/emacs/emacs.org


 This works very nicely.  Thank you.

 I am thinking about making my config a little leaner while I
 reorganize without affecting functionality I have gotten used
 to by preventing sections of config from loading.  I thought
 setting :tangle to `no' should help but the default is
 already `no' and all my config is loaded.  How would one go
 about marking a section of configuration so that it remains
 in the configuration file but does not get tangled while
 Emacs boots?


 Hi Manish,

 I think this will require a little development/bug-fixing on
 my part before it works easily.  As I recall the elisp
 tangling in `org-babel-load-file' is fairly aggressive and may
 not respect tangle header arguments.  But the method you
 described above (setting the tangle header argument to no --
 either in a subtree property or by block) is certainly the
 correct approach.

 Hi Eric -- I believe you already have it working in exactly
 this way :)

 Manish -- could you double check please? I use :tangle no to
 exclude blocks of elisp from my emacs init file, and it is
 working.


You are right.  I just did not try it at all after reading that
:tangle no was the default.  My apologies.

I ran some tests and here are the results.

| SET AS| VALUE | RESULT  |
|---+---+-|
| not set   | n/a   | tangled |
| property :TANGLE:   | no| not tangled |
| property :TANGLE:   | yes   | backtrace   |
| header argument :tangle | no| not tangled |
| header argument :tangle | yes   | backtrace   |

--8---cut here---start-8---
Debugger entered--Lisp error: (void-variable compilation-mode-map)
  (define-key compilation-mode-map (kbd n) (quote compilation-next-error))
  eval-buffer(#buffer  *load*2 nil d:/home/zms/.emacs.d/emacs.el
nil t)  ; Reading at buffer position 3862
  load-with-code-conversion(d:/home/zms/.emacs.d/emacs.el
d:/home/zms/.emacs.d/emacs.el nil nil)
  load(d:/home/zms/.emacs.d/emacs.el nil nil t)
  load-file(~/.emacs.d/emacs.el)
  (let* ((base-name ...) (exported-file ...)) (unless (and ... ...)
(org-babel-tangle-file file base-name emacs-lisp)) (load-file
exported-file) (message loaded %s exported-file))
  (progn (fset (quote age) (function* ...)) (let* (... ...) (unless
... ...) (load-file exported-file) (message loaded %s
exported-file)))
  (unwind-protect (progn (fset ... ...) (let* ... ... ... ...)) (if
--cl-letf-bound-- (fset ... --cl-letf-save--) (fmakunbound ...)))
  (let* ((--cl-letf-bound-- ...) (--cl-letf-save-- ...))
(unwind-protect (progn ... ...) (if --cl-letf-bound-- ... ...)))
  (letf ((... ...)) (let* (... ...) (unless ... ...) (load-file
exported-file) (message loaded %s exported-file)))
  (letf* ((... ...)) (let* (... ...) (unless ... ...) (load-file
exported-file) (message loaded %s exported-file)))
  (flet ((age ... ...)) (let* (... ...) (unless ... ...) (load-file
exported-file) (message loaded %s exported-file)))
  org-babel-load-file(~/.emacs.d/emacs.org)
  eval-buffer(#buffer  *load* nil d:/home/zms/.emacs.d/init.el nil
t)  ; Reading at buffer position 1576
  load-with-code-conversion(d:/home/zms/.emacs.d/init.el
d:/home/zms/.emacs.d/init.el t t)
  load(d:/home/zms/.emacs.d/init t t)
  #[nil 
--8---cut here---end---8---

Thanks
-- 
Manish


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


[Orgmode] how to print agenda with entry text

2010-01-26 Thread Manish
hello!

is there a way one can print/save agenda /with/ the entry text exposed
by `E' in agenda?

thanks
-- 
manish


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


Re: [Orgmode] repo.or.cz

2010-01-25 Thread Manish
pull works for me but only ends up telling me that org is already
up-to-date.  i was also able to push a typo fix to worg.

regards
-- 
manish

On Mon, Jan 25, 2010 at 10:20 PM, Carsten Dominik wrote:
 Hi everyone,

 is there anyone here with an account on repo.or.cz (access with git+ssh) who
 can currently pull or push?  Because I cannot.

 Thanks.

 - Carsten





 ___
 Emacs-orgmode mailing list
 Please 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
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: [babel] Moving to babel the whole configuration

2010-01-25 Thread Manish
On Sat, Jan 23, 2010 at 2:16 AM, Greg Newman wrote:
 Eric, you hit the nail on the head.  Now I'll be spending my
 Friday night redoing my configs (and probably Saturday, and the
 next…)

 On Fri, Jan 22, 2010 at 3:44 PM, Eric S Fraga wrote:

  Amazing isn't it? I just blew a day by moving to org-babel
  for my init file and managed to miss the + in my
  #+end_src marker ... but now its working its all smiles
  despite another day configuring rather than doing ;) It's an
  emacs problem in general. A shame there are no jobs
  configuring your editor 

 Yeah, it's amazing how much time we can spend increasing our
 productivity... ;-)


there goes my weekend too. :-(

-- 
manish


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


Re: [Orgmode] [Worg] Addition to org-hacks: Remove redundant tags

2010-01-25 Thread Manish
Applied to Worg.

Thanks
-- 
Manish

On Tue, Jan 26, 2010 at 12:53 AM, David Maus wrote:
 Hello,

 Attached patch adds a section to the org-hacks page of Worg with a
 function that removes redundant tags, that is: tags that are inherited
 by a parent headline or the #+FILETAGS headline and local to a
 headline.

 This function is useful for me as I generally use tags to denote a
 todo's context (priv for private, work for work related etc.) and in
 addition split my agenda files by context, too (work.org,
 private.org). If I file new todo headlines using `org-remember' they
 go in a central file (bucket.org) and I tag them so they show up on
 tags searches.  After refiling the context denoting tags are
 duplicated -- hence I wrote this little function to remove them:

 (defun dmj/org-remove-redundant-tags ()
  Remove redundant tags of headlines in current buffer.

  A tag is considered redundant if it is local to a headline and
  inherited by a parent headline.
  (interactive)
  (when (eq major-mode 'org-mode)
    (save-excursion
      (org-map-entries
       '(lambda ()
          (let ((alltags (split-string (org-entry-get (point) ALLTAGS) :))
                local inherited tag)
            (dolist (tag alltags)
              (if (get-text-property 0 'inherited tag)
                  (push tag inherited) (push tag local)))
            (dolist (tag local)
              (if (member tag inherited) (org-toggle-tag tag 'off)
       t nil

 Regards

  -- David

 --
 OpenPGP... 0x99ADB83B5A4478E6
 Jabber dmj...@jabber.org
 Email. maus.da...@gmail.com

 ___
 Emacs-orgmode mailing list
 Please 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
Please 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 combine the analogue (Moleskine) world with digital (org-mode) world ?

2010-01-24 Thread Manish
On Sun, Jan 24, 2010 at 7:39 PM, Torsten Wagner wrote:
[...]
 Thus, today I bought one of these moleskine paper organizers
 (no advertisement, all other organizers would be nice as
 well). I hope to have it always with me and to use it in all
 this cases where I do not have access to org-mode ( I'm still
 waiting that someone comes up with a org-mode-brain interface).

 My question is now. What would be the best way to combine the
 moleskine and org-mode ? Does someone have experience with a
 paper based and digital mixture system? One of my ideas was to
 print out the weekly or monthly agenda as small as possible and
 just attach it to the molenskine (it has a little card holder
 at the back). This would allow me to check what is in my
 org-mode agenda. However, I would still have two independent
 systems.

 What I'am looking for is a smart way to keep both in sync and
 that without big hassle. It has to be something which does the
 job quite quick thus I will do it directly e.g., every morning
 before starting work... instead of pushing and pushing it away
 from me. Thought maybe I simply mark the entries in the paper
 version whether I added them to org-mode already or not and
 create a tag in org-mode for the vice versa reason.

 Any ideas and experience would be welcome.

I am also beginning with something similar.  My plan is to print the
day's agenda every morning (or previous night) and may be fold it
like pocketmod [1] using Christian Egli's org2pocketMod [2].  Then
the digital system can be updated at the end of the day.

1. http://www.pocketmod.com/
2. http://www.mail-archive.com/emacs-orgmode@gnu.org/msg04044.html

Regards
-- 
Manish


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


Re: [Orgmode] clock and WAIT

2010-01-15 Thread Manish
On Fri, Jan 15, 2010 at 4:52 PM, Richard Riley wrote:

 When I put a task into certain states it would be nice to stop the clock
 automatically. It is done for DONE at the moment.

 Would it make sense to make

 org-clock-out-when-done

 a list of state names rather than (or in addition to) a bool?

 That way I could make it DONE, WAIT so when I cycle the state to WAIT (eg for
 an email confirming something works) the clock is stopped automatically?

 Or is there another mechanism for this? Or is the mantra more to keep
 stop/start manual until the obvious state for DONE?


Not for a list of states but it can be done for at least one state.
See variable org-clock-out-switch-to-state.

HTH
-- 
Manish


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


Re: [Orgmode] Re: clock and WAIT

2010-01-15 Thread Manish
On Fri, Jan 15, 2010 at 10:40 PM, Richard Riley wrote:
 Manish writes:

 On Fri, Jan 15, 2010 at 4:52 PM, Richard Riley wrote:

 When I put a task into certain states it would be nice to stop the clock
 automatically. It is done for DONE at the moment.

 Would it make sense to make

 org-clock-out-when-done

 a list of state names rather than (or in addition to) a bool?

 That way I could make it DONE, WAIT so when I cycle the state to WAIT (eg 
 for
 an email confirming something works) the clock is stopped automatically?

 Or is there another mechanism for this? Or is the mantra more to keep
 stop/start manual until the obvious state for DONE?


 Not for a list of states but it can be done for at least one state.
 See variable org-clock-out-switch-to-state.

 HTH

 Thats a different issue. That determines which state the task is
 automatically switched to when you actually remember to clock out.

You are right.  I misunderstood.  Sorry.


 I'm not sure I would find that useful since there are multiple states I
 might be in with and without the clock running and I wouldnt want stopping the
 clock to reset the state.

How about this?

--8---cut here---start-8---
(add-hook 'org-after-todo-state-change-hook
 '(lambda ()
;; clock out when switching to WAIT
;; based on Eric Fraga's recent post to org-mode list
(if (string= state WAIT) (org-clock-out t
--8---cut here---end---8---

Not sure if this is exactly what you need but guess it's a starting point..

-- 
Manish


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


Re: [Orgmode] odd table behavior

2010-01-14 Thread Manish
On Thu, Jan 14, 2010 at 9:33 PM, David Ellis wrote:
 I haven't used tables much so please forgive me if this is a dumb question.

 I thought if I typed the following:

 |this|is|a|test|
 |will tables work?|

 and I pressed the enter key with the cursor at the end of the second
 line, the tables would reformat. This doesn't seem to be working
 anymore for me. If I press the TAB key that reformats.

 I am using GNU Emacs 23.1.1on Windows with org version 6.33f.

 I also noticed that if I type |- at the beginning of a line and then
 hit return, it remains |-. If I press TAB, it works correctly.

 First of all, am I correct that return should reformat.

I don't think so.  I don't recall tables ever functioning that way.
Did they behave this way earlier?

 If so, what should I check to try to fix this.

May be you can rebind org-cycle to another key if TAB is inconvenient,
say C-j or something?  But I guess that is not what you need.

-- 
Manish


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


Re: [Orgmode] refiling

2010-01-13 Thread Manish
On Wed, Jan 13, 2010 at 10:00 PM, Richard Riley wrote:

 I'm a bit rusty so please excuse any stupid questions.

 I decided to clear up my org files which are, frankly, a mess.

 Two major issues for me to get my head around.

 1) Tags v Categories. Its not entirely obvious to me what categories are
 for. Are they like a more specialised tag?

To me they are a means to provide some more context only.  But I do
not use them at all - I hide them using the excellent
my-org-agenda-toggle-list-category function courtesy Manuel
Hermengildo (http://article.gmane.org/gmane.emacs.orgmode/10909).


 2) Refiling. Lets says I have something like this in linux.org:-

 * general:general:
 #+CATEGORY: general
 ** learn org mode   :emacs:org:
 blah blah
 * debian:debian:
 #+CATEGORY: debian

 * test

 if I refile from elsewhere, it picks ALL items at a level to refile to when I 
 select
 linux.org.

 e.g linux.org/general, linux.org/debian, linux.org/test

 If I then select general it also prompts for me now to select learn
 org mode. Is this because of some hangover from me using org-mode? In
 other words I cant refile to linux.org/debian.

Not sure.. may be looking at varible
org-refile-allow-creating-parent-nodes would help.

HTH
-- 
Manish


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


Re: [Orgmode] Re: refiling

2010-01-13 Thread Manish
On Thu, Jan 14, 2010 at 1:10 AM, Richard Riley wrote:
[...]

 Also thanks to the others - I used manish' funtion to toggle category
 appearance and I changed my categories to be more Pretty Printing for
 the agenda e.g

 :CATEGORY:The XyZ Project


The function is credit to Manuel Hermengildo.

-- 
Manish


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


[Orgmode] no SPACE allowed in new node/item name created during refiling

2010-01-13 Thread Manish
Hello Carsten,
A SPACE is not allowed in the name when creating a new node/item while
refiling, is it a bug, restriction or configuration issue?

Regards
-- 
Manish


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


Re: [Orgmode] org-babel-R and windows ?

2010-01-12 Thread Manish
On Tue, Jan 12, 2010 at 11:13 PM, Dan Davison wrote:
[snip:  snipped (43 lines)]

 The org-babel default is to invoke R as an external shell command, and I
 think this is what is causing the problem. It requires that the emacs
 function shell-command can use the string R to invoke an R process,
 i.e. the R installation and the shell path must be such that this is the
 case.

 Seeing as you have ESS installed, how about using session-based
 evaluation? This means that org-babel uses an interactive R session
 running under the control of ESS. In general it is a better way to work
 with R in org-babel. It is described in the section Session-based
 Evaluation in

 http://orgmode.org/worg/org-contrib/babel/intro.php

 and also in the reference manual:

 http://orgmode.org/worg/org-contrib/babel/reference.php#header-argument-session

 basically you just set the :session header argument, e.g.

 #+srcname:trial
 #+begin_src R :session org-babel-R-session
   c(4,5,6,7,8,9)
 #+end_src


Thanks for the advice regarding using sessions.  It works now.  But I
have something interesting to report.

With following test org file, evaluation of R block fails to produce
desired results.  If the lines with require are removed, the
evaluation works fine.  R session buffer contents are pasted below as
well just in case they are of any help.

--8---cut here---start-8---
* Test

Here's how to set it up.

(require 'org_babel_init)
(require 'org_babel_R)
(org_babel_load_library_of_babel)

#+srcname: strings
#+begin_src R :colnames t :session org-babel-R-strings
  t(sort(table(tolower(scan(~/personal/test-org-babel.org, what=,
na.strings=|))), decreasing=TRUE)[1:10])
#+end_src

#+results: strings
--8---cut here---end---8---


--8---cut here---start-8---
R version 2.10.0 (2009-10-26)
Copyright (C) 2009 The R Foundation for Statistical Computing
ISBN 3-900051-07-0

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

 options(chmhelp = FALSE)
 options(STERM='iESS', editor='gnuclient.exe')

t(sort(table(tolower(scan(~/personal/test-org-babel.org, what=,
na.strings=|))), decreasing=TRUE)[1:10])
write.table(.Last.value, file=d:/home/zms/tmp/org-babel-R1752nPK,
sep=\t, na=nil,row.names=FALSE, col.names=TRUE, quote=FALSE)
'org_babel_R_eoe'

 t(sort(table(tolower(scan(~/personal/test-org-babel.org, what=, 
 na.strings=|))), decreasing=TRUE)[1:10])
Read 27 items

   strings #+begin_src #+end_src #+results: #+srcname:
  [1,]   2   1 1  1  1

   (org_babel_load_library_of_babel) (require * :colnames :session
  [1,] 11 1 11
 write.table(.Last.value, file=d:/home/zms/tmp/org-babel-R1752nPK, sep=\t, 
 na=nil,row.names=FALSE, col.names=TRUE, quote=FALSE)
 'org_babel_R_eoe'
[1] org_babel_R_eoe

--8---cut here---end---8---

Thank you
-- 
Manish


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


Re: [Orgmode] viewing task notes in agenda

2010-01-08 Thread Manish
On Fri, Jan 8, 2010 at 1:07 PM, Carsten Dominik wrote:

 On Jan 7, 2010, at 7:34 PM, Manish wrote:

 is there a way to show the notes taken with `z' in agenda view (C-c
 C-z in org file) in agenda log view?  I take small/quick notes about
 the progress of a TODO with quick access to `z' key but the log mode
 only shows the title of the TODO item in the log view.  The notes go
 inside a LOGBOOK drawer and are not visible even when I activate
 inactive time stamps with `[' key.  Is this be a viable feature
 request?  Would others find it useful?  In case it's not, would it be
 possible to just force open the LOGBOOK when follow-mode is `on' for
 the inactive timestamped item?

 Hi Manish,

 I am not sure I understand.  When I press `[', a new entry shows
 up in the agenda, with the text the headline of that entry.
 If I go to that line and press SPACE, I see the note.

 What exactly would you have happen?

Currently when I enable inactive timestamps and press SPACE on the
entry in agenda, the LOGBOOK stays of the entry in other window stays
folded.  Repeated SPACE does cycle through various visibility states
but it never opens the LOGBOOK drawer.  I must be missing some
setting..

Ideally (may be as an option), I would love to see the first line of
the note itself instead of the entry headline (the context is anyways
available in the minibuffer, if needed.)  This will save from
switching attention between agenda and org file windows when reviewing
activities.

Regards
-- 
Manish


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


[Orgmode] incorrect checkbox statistics

2010-01-08 Thread Manish
Hello Carsten,

The inconsistency between TODO and list statistics works now.  Thanks!

Statistics cookie updates still have some quirks.  In Heading 1, the
cookie shows whatever is the value in the cookie for item 1
irrespective of the number of items in the list or the cookie position
(even COOKIE_DATA recursive is ignored, e.g. Heading 3)  Heading 4
works perfectly only if the leading cookie for first item does not use
[/] or [%].  Hope these various combination are of some help.

--8---cut here---start-8---
* Heading 1 [1/4]
  1. [1/4] item 1
 1. [X] item 1.1
 2. [ ] item 1.2
 3. [ ] item 1.3
 4. [ ] item 1.4
  2. [0/2] item 2
 1. [ ] item 2.1
 2. [ ] item 2.2
  3. [0/2] item 3
 1. [ ] item 3.1
 2. [ ] item 3.2

* Heading 2 [0/4]
  1. item 1 [0/4]
 1. [ ] item 1.1
 2. [ ] item 1.2
 3. [ ] item 1.3
 4. [ ] item 1.4
  2. [0/2] item 2
 1. [ ] item 2.1
 2. [ ] item 2.2
  3. [0/2] item 3
 1. [ ] item 3.1
 2. [ ] item 3.2

* Heading 3 [3/4]
  :PROPERTIES:
  :COOKIE_DATA: recursive
  :END:
  1. [3/4] item 1
 1. [ ] item 1.1
 2. [X] item 1.2
 3. [X] item 1.3
 4. [X] item 1.4
  2. [0/2] item 2
 1. [ ] item 2.1
 2. [ ] item 2.2
  3. [0/2] item 3
 1. [ ] item 3.1
 2. [ ] item 3.2

* Heading 4 [2/9]
  :PROPERTIES:
  :COOKIE_DATA: recursive
  :END:
  1. [-] item 1 [2/4]
 1. [X] item 1.1
 2. [X] item 1.2
 3. [-] item 1.3
 4. [ ] item 1.4
  2. [0/2] item 2
 1. [ ] item 2.1
 2. [ ] item 2.2
  3. [0/2] item 3
 1. [ ] item 3.1
 2. [ ] item 3.2


--8---cut here---end---8---

Regards
-- 
Manish


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


[Orgmode] viewing task notes in agenda

2010-01-07 Thread Manish
is there a way to show the notes taken with `z' in agenda view (C-c
C-z in org file) in agenda log view?  I take small/quick notes about
the progress of a TODO with quick access to `z' key but the log mode
only shows the title of the TODO item in the log view.  The notes go
inside a LOGBOOK drawer and are not visible even when I activate
inactive time stamps with `[' key.  Is this be a viable feature
request?  Would others find it useful?  In case it's not, would it be
possible to just force open the LOGBOOK when follow-mode is `on' for
the inactive timestamped item?

Thank you
-- 
Manish


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


[Orgmode] a small inconsistency in summary cookie updation

2010-01-07 Thread Manish
I noticed a small inconsistency.  If you start with following sample
org file and press C-c C-c in the first cookie, it doesn't get updated
correctly whereas the second one does.  The only difference is that
one has children TODO tasks and the other has a list of checkboxes.

Starting file:

--8---cut here---start-8---
* Item 1 [/]
  1. [X] line 1
  2. [ ] line 2
* Item 2 [/]
*** TODO Sub-item 2.1
*** DONE Sub-item 2.2
--8---cut here---end---8---

Status after C-c C-c in the summary cookie.

--8---cut here---start-8---
* Item 1 [0/0]
  1. [X] line 1
  2. [ ] line 2
* Item 2 [1/2]
*** TODO Sub-item 2.1
*** DONE Sub-item 2.2
--8---cut here---end---8---

Thanks
-- 
Manish


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


Re: [Orgmode] Orgmode + other modes for outlining and studying.

2010-01-07 Thread Manish
On Fri, Jan 8, 2010 at 4:51 AM, Marcelo de Moraes Serpa wrote:
 Hello guys,

 Orgmode files are great for studying, for example, code.

 Everytime I need to study some unknown code, I create a new org file, put a
 * code headline, paste the code in there and start making notes below or in
 the code (as comments). it is extremelly fast and efficient to do something
 like that, things just flow.

 what i'd like to know is if there's a way to have, for example, orgmode +
 javascript-mode, so that i can get syntax-highlighting/coloring on the
 pasted javascript code. i've tried with javascript mode, but since it is a
 major mode, it just kills org and all its goodies, and i don't want that.

 is there a way to have two major modes at the same time, such as org +
 js-mode?

have you seen this http://www.emacswiki.org/emacs/mumamo ?

hth
-- 
manish


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


Re: [Orgmode] Question about end date for a scheduled task

2010-01-04 Thread Manish
Marking it DONE also works.

-- 
Manish

On Mon, Jan 4, 2010 at 8:53 PM, Avinash Kulkarni avinas...@gmail.com wrote:
 Hi,
 Is there a way to specify when a particular task should stop repeating? For
 instance, I need to backup the server in my office once a week for the next
 3 weeks, after which the employee in charge will take it over again. Right
 now, I just added it as a C-x C-s +1w scheduled task, but this causes it to
 show up on my agenda even after the third week. Is archiving this task the
 only option?

 Avinash.

 ___
 Emacs-orgmode mailing list
 Please 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
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Emacs initialization problem on Windows after latest git pull of Org

2010-01-04 Thread Manish
On Mon, Jan 4, 2010 at 11:02 PM, Manish wrote:
 Hello List,

 After the latest git update, Emacs init is interrupted with this message:

 Symbol's function definition is void: mailcap-parse-mailcaps

 Recent changes and related info:

 - Windows XP SP2
 - GNU Emacs 23.1.1 (i386-mingw-nt5.1.2600) of 2009-07-30 on SOFT-MJASON
 - Cygwin 1.7 (recently updated) - I use Cygwin Emacs only to compile Org
 - Latest git pull of Org-mode

 Any ideas how I can begin to debug this?


Doh.. use --debug-init

There seem to have been some conflict with extview.el.  Commenting out
following lines seems to solve the problem:

,
| ;; for invoking external viewers from within dired
| (require 'extview)
|
| ;; (push '(\\.pdf$ . acroread %s) extview-application-associations)
| (push '(\\.html$ . ask) extview-application-associations)
| (push '(\\.doc$ . C:/PROGRA~1/OFFICE11/WINWORD.EXE %s)
extview-application-associations)
| (push '(\\.xls$ . C:/PROGRA~1/OFFICE11/EXCEL.EXE %s)
extview-application-associations)
| (push '(\\.pdf$ . C:/PROFRA~1/Adobe/Reader\\
8\\.0/Reader/AcroRd32.exe %s) extview-application-associations)
`

I have had extview since Emacs 22, may be it is not needed anymore
with the recent change about special ways of opening files.. Will have
to test it.

Sorry for the noise.
-- 
Manish


___
Emacs-orgmode mailing list
Please 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 use org-info.js?

2010-01-04 Thread Manish
On Tue, Jan 5, 2010 at 12:07 PM, Water Lin wrote:

 I want to use org-info.js to build a navigator for my knowledge base.

 So I set something like this:
 -
 #+INFOJS_OPT: path:http://orgmode.org/org-info.js
 #+LINK_UP:
 #+LINK_HOME:
 -

 but after I publish my project, there is no this kind of navigator.

 What's the correct way to set it? But I can't find the detail
 description in Worg.


Does this help http://orgmode.org/worg/code/org-info-js/#sec-1

-- 
Manish


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


[Orgmode] typo in org.texi

2010-01-03 Thread Manish
In line# 12340 of org.texi:

  s/fiel/file/

Thanks
-- 
Manish


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


  1   2   3   4   >