[Orgmode] Compilation warnings from latest org from git

2009-08-03 Thread Manish
Hello Carsten, Bastien!

Just noticed some odd messages from compilation of latest org from git.

,[ org-clock ]
| emacs -batch -q -no-site-file -eval (progn (add-to-list (quote
load-path) \/usr/local/share/emacs/site-lisp\) (add-to-list (quote
load-path) (expand-file-name \./lisp/\))) -f batch-byte-compile
lisp/org-clock.el
|
| In end of data:
| org-clock.el:1550:1:Warning: the function `popup-menu' is not known to be
| defined.
| Wrote /home/zms/elisp/org-mode.git/lisp/org-clock.elc
`

,[ org-html ]
| emacs -batch -q -no-site-file -eval (progn (add-to-list (quote
load-path) \/usr/local/share/emacs/site-lisp\) (add-to-list (quote
load-path) (expand-file-name \./lisp/\))) -f batch-byte-compile
lisp/org-html.el
|
| In org-export-as-html:
| org-html.el:1444:10:Warning: `format' called with 4 args to fill 0 format
| field(s)
| Wrote /home/zms/elisp/org-mode.git/lisp/org-html.elc
`

,[ org-mouse ]
| emacs -batch -q -no-site-file -eval (progn (add-to-list (quote
load-path) \/usr/local/share/emacs/site-lisp\) (add-to-list (quote
load-path) (expand-file-name \./lisp/\))) -f batch-byte-compile
lisp/org-mouse.el
|
| In org-mouse-yank-link:
| org-mouse.el:645:9:Warning: assignment to free variable
| `mouse-selection-click-count'
|
| In end of data:
| org-mouse.el:1152:1:Warning: the following functions are not known to be
| defined: popup-menu, mouse-save-then-kill, mouse-set-point,
| mouse-drag-region
| Wrote /home/zms/elisp/org-mode.git/lisp/org-mouse.elc
`

,[ org-src ]
| emacs -batch -q -no-site-file -eval (progn (add-to-list (quote
load-path) \/usr/local/share/emacs/site-lisp\) (add-to-list (quote
load-path) (expand-file-name \./lisp/\))) -f batch-byte-compile
lisp/org-src.el
|
| In end of data:
| org-src.el:472:1:Warning: the function `mouse-set-point' is not known to be
| defined.
| Wrote /home/zms/elisp/org-mode.git/lisp/org-src.elc
`

Best regards,
-- 
Manish


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


Re: [Orgmode] Cannot install 6.29c on Ubuntu 8.04 with emacs 22.1.1

2009-08-09 Thread Manish
On Mon, Aug 10, 2009 at 3:31 AM, Charles Howard wrote:
[snip: making 6.29c work (26 lines)]
 Org-mode loads now and mostly works, but I cannot export to latex.
 When I do C-c C-e l
 (or L or p) I get the message `Loading tabify ...done' and emacs
 freezes. No cursor movement,
 no response to input. Doing C-g unfreezes but there is no .tex
 output. HTML export works fine.

 Somebody asked about this problem back in January at
 http://lists.gnu.org/archive/html/emacs-orgmode/2009-01/msg00104.html
 but there was no solution. Does anyone know what causes this?

 The *Message* file follows. Chas
[snip: excerpt from *Message file (40 lines)]


I tested Latex export on the latest git and it works flawlessly; most likely
it's somthing to do with your specific setup.  Again, I don't know the
solution to your problem but I would start with creating a sample .org
file and a minimal .emacs loaded manually after starting Emacs with -Q.  Keep
adding/removing from/to the .emacs till you find the offending setting.  May
be someone more knowledgeable might have a better clue.  Sorry.

-- 
Manish


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


Re: [Orgmode] Re: Faces in agenda view

2009-08-10 Thread Manish
On Mon, Aug 10, 2009 at 2:49 PM, Carsten Dominik wrote:

 M-x customize-face RET org-agenda-clocking RET

 - Carsten


Awesome!  Thanks.

-- 
Manish


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


Re: [Orgmode] overzealous file link creation

2009-08-12 Thread Manish
On Wed, Aug 12, 2009 at 1:59 AM, Dan Davison wrote:
 Recently I've been randomly losing the string 'file' from all sorts of
 documents. Up until now I had no explanation. It's not the sort of
 question one wants to ask on public mailing lists.

 OK, so if you call org-cycle in the vicinity of a word that starts
 with the string 'file', then it eats up 'file' and prompts for link
 insertion. This is true in buffers that are not in org-mode or
 orgstruct*-mode. (I call org-cycle the whole time in order to use
 outline-minor-mode, but o-m-m doesn't have to be turned on to cause
 this.)

 Try putting the following fragment into python-mode, and getting rid of
 the asterisks. Then org-cycle issued with point at any of the asterisked
 locations eats the string 'file' and prompts for a link.

 --8---cut here---start-8---
 def f(filepath):
  print(
*filepath*)*
 *
 *def g(arg):
  return arg
 --8---cut here---end---8---

 This is with latest git.

Tried the test with following text with numbers removed.

--8---cut here---start-8---
def f(filepath):
 print(
   1filepath2)3
4
5def g(arg):
 return arg
--8---cut here---end---8---

With buffer in python mode, I executed org-cycle at the positions marked with
numbers and got the results below:

at 1,2,3: nothing happens
at 4: inserts a tab (four spaces in my case)
at 5: eats the line with return arg (also can not revert this change
with undo.)

The buffer looks as if it ends at def g(arg): line but when I tried to
paste the resultant buffer with return arg removed, I got the following
strange result.

--8---cut here---start-8---
def f(filepath):
   print(
   filepath)

def g(arg):
   return arg
   return arg

   return arg

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

I tried it several times, also tried saving the buffer and opening it in that
other editor as well.

Tested with git commit 5834ad01b617430c0207627ad425758bcf9b921a of
Tue Aug 11 16:32:05 2009 +0200

-- 
Manish


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


Re: [Orgmode] Re: Customizing main Agenda view??

2009-08-12 Thread Manish
On Wed, Aug 12, 2009 at 3:57 PM, Paul Meadpaul.d.m...@gmail.com wrote:
 Carsten Dominik carsten.domi...@gmail.com writes:


 I *only* want dated, scheduled, deadlined and STARTED.

 I think you want a block agenda, first block the normal agenda,
 second block a TODO search for STARTED.

 - Carsten

 I didn't know you could combine different blocks like this, but that
 sounds exactly what I need. I'll do some reading about block agendas
 and come back if I have any trouble.

You may want to take a look at an older post from Matthew Lundin for
inspiration here http://article.gmane.org/gmane.emacs.orgmode/10819

-- 
Manish


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


Re: [Orgmode] Custom agenda question

2009-08-19 Thread Manish
On Wed, Aug 19, 2009 at 8:14 AM, Anthony Fairchild wrote:
 Hi,

 Is there a way to get the text underneath a todo heading to show up in the
 agenda screen? I like to put extra info there, like driving directions, and
 it would be nice to have that info when I print out the agenda.

I don't think that's possible.  You can display display information stored in
a drawer by switching to column view while in agenda.  You will need to
customize org-drawers and org-columns-default-format.

-- 
Manish


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


Re: [Orgmode] Custom agenda question

2009-08-19 Thread Manish
On Wed, Aug 19, 2009 at 3:04 PM, Carsten Dominik wrote:

 On Aug 19, 2009, at 3:44 AM, Anthony Fairchild wrote:

 Hi,

 Is there a way to get the text underneath a todo heading to show up in the
 agenda screen?

 No this is not possible.

It would be real nice to be able to toggle the effect of
org-agenda-add-entry-text-maxlines even in agenda view.  Follow mode is not
exactly the same thing because when turning it off it leaves the window behind
which has to be killed with C-x 1.  But since we have it already working for
printing agenda and not for screen display, I am sure there are sufficient
reasons behind it.  But then it's Org mode -- anything is possible. :)

-- 
Manish


 I like to put extra info there, like driving directions, and it would be
 nice to have that info when I print out the agenda.

 This, on the other hand *is* possible.

 (setq org-agenda-add-entry-text-maxlines 10)

 I believe you can also set this variable in the options section
 of the custom command.


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


Re: [Orgmode] [PATCH 0/2] Teach org-version to include git version information

2009-08-19 Thread Manish
On Wed, Aug 19, 2009 at 12:45 AM, Carsten Dominik wrote:

 On Aug 18, 2009, at 8:10 PM, Bernt Hansen wrote:

 I don't know if that will work on Windows (with git). I've only tested
 it on Linux here. You may want to test drive it before including it.

 I have already included it, please test

 M-x org-version

 on your system and let me know if it causes problems anywhere.

It doesn't work on Windows (at least in my setup.)  My git is from Cygwin and
Windows native Emacs from GNU.

- GNU Emacs 23.1.1 (i386-mingw-nt5.1.2600) of 2009-07-30 on SOFT-MJASON
- Windows XP
- Cygwin git version 1.6.1.2

-- 
Manish


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


Re: [Orgmode] [PATCH 0/2] Teach org-version to include git version information

2009-08-19 Thread Manish
On Wed, Aug 19, 2009 at 4:54 PM, Bernt Hansen wrote:
 Manish writes:

 On Wed, Aug 19, 2009 at 12:45 AM, Carsten Dominik wrote:

 On Aug 18, 2009, at 8:10 PM, Bernt Hansen wrote:

 I don't know if that will work on Windows (with git). I've only tested
 it on Linux here. You may want to test drive it before including it.

 I have already included it, please test

 M-x org-version

 on your system and let me know if it causes problems anywhere.

 It doesn't work on Windows (at least in my setup.)  My git is from Cygwin and
 Windows native Emacs from GNU.

 - GNU Emacs 23.1.1 (i386-mingw-nt5.1.2600) of 2009-07-30 on SOFT-MJASON
 - Windows XP
 - Cygwin git version 1.6.1.2

 Does it crash and cause an error or report the old org version as before?

It just reports the version as before; no crashing or error of any sort.

-- 
Manish


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


Re: [Orgmode] [PATCH 0/2] Teach org-version to include git version information

2009-08-19 Thread Manish
On Wed, Aug 19, 2009 at 5:38 PM, Bernt Hansenbe...@norang.ca wrote:
 Manish mailtomanish.sha...@gmail.com writes:

 On Wed, Aug 19, 2009 at 4:54 PM, Bernt Hansen wrote:
 Does it crash and cause an error or report the old org version as before?

 It just reports the version as before; no crashing or error of any sort.

 Okay that's good. I don't have Emacs on windows here. If you have time
 to step through the org-version function in debug and figure out where
 it fails we might be able to get it working on windows too.

I'll find out how to do this and let you know the results.


 My guess is that determining the location of the .git directory fails so
 it acts just like it's not running from a git repository.

 What do you get when evaluating the following form?

 (file-name-directory (locate-library org))

 I need to move up one directory from what that returns to see if the
 .git directory exists and I append '../' to the path to move up on *nix
 systems. That probably doesn't work for windows. Maybe there's a
 better way to strip off the last directory from the path that
 file-name-directory returns.

It returns d:/home/zms/elisp/org-mode.git/lisp/ cd'ing into
d:/home/zms/elisp/org-mode.git/lisp/.. works in Cygwin but fails in
Windows shell due to front slahes.

-- 
Manish


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


Re: [Orgmode] [PATCH 0/2] Teach org-version to include git version information

2009-08-19 Thread Manish
On Wed, Aug 19, 2009 at 5:51 PM, Nick Dokos wrote:
 Manish wrote:

 On Wed, Aug 19, 2009 at 12:45 AM, Carsten Dominik wrote:
 
  On Aug 18, 2009, at 8:10 PM, Bernt Hansen wrote:
 
  I don't know if that will work on Windows (with git). I've only tested
  it on Linux here. You may want to test drive it before including it.
 
  I have already included it, please test
 
  M-x org-version
 
  on your system and let me know if it causes problems anywhere.

 It doesn't work on Windows (at least in my setup.)  My git is from Cygwin and
 Windows native Emacs from GNU.

 - GNU Emacs 23.1.1 (i386-mingw-nt5.1.2600) of 2009-07-30 on SOFT-MJASON
 - Windows XP
 - Cygwin git version 1.6.1.2


 Does it break? Or does it just not provide the git information?

It continues to work the way it used to work with no error or breakage.
Although I have reloaded and restarted org a few times, I will report again
after rebooting Emacs.

-- 
Manish


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


Re: [Orgmode] [PATCH 0/2] Teach org-version to include git version information

2009-08-19 Thread Manish
On Wed, Aug 19, 2009 at 6:00 PM, Bernt Hansenbe...@norang.ca wrote:
 Manish,

 Could you try this patch - does it work?

Patch application fails.  I tried with patch -p1 as well.

,
| [Wed 19 18:47] (2118) ~/elisp/org-mode.git $ git apply
org-version-patch-by-bernt.patch
| error: patch failed: lisp/org.el:104
| error: lisp/org.el: patch does not apply
`

-- 
Manish


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


Re: [Orgmode] [PATCH 0/2] Teach org-version to include git version information

2009-08-19 Thread Manish
On Wed, Aug 19, 2009 at 5:38 PM, Bernt Hansen wrote:
 Manish  writes:

 On Wed, Aug 19, 2009 at 4:54 PM, Bernt Hansen wrote:
 Does it crash and cause an error or report the old org version as before?

 It just reports the version as before; no crashing or error of any sort.

 Okay that's good. I don't have Emacs on windows here. If you have time
 to step through the org-version function in debug and figure out where
 it fails we might be able to get it working on windows too.

I had not compiled the latest git and hence an older copy was
getting loaded because of which it kept working without any errors.
Now it returns: Org-mode version 6.29trans (The system cannot find
the path specified..dirty) Sorry about that.

When I tried to run the function under debug the *Shell Command
Output* buffer displays this message The system cannot find the path
specified.  Perhaps this is because of the slashes since Windows
shell does not understand them?  Could we detect if we are on Windows
and use \ instead of /?

Thanks
-- 
Manish


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


Re: [Orgmode] Presentation... and first question

2009-08-19 Thread Manish
On Wed, Aug 19, 2009 at 5:50 PM, Godofredo Fdez. Requena wrote:
 Hello.

 I am Godo, and I am working with org-mode from one year ago. I would like to
 congratulate developers on their great effort.

 The question: I used to work with a black background on emacs, but now, I
 would like to change to a white background... I have seen the capture screen
 on the site: http://orgmode.org/, so... does anyone know which color theme
 is that?

I guess that is default theme with Monaco size 10 font.  You may want
to take a look at http://bc.tech.coop/blog/070615.html if you switch
between light and dark color themes.

-- 
Manish


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


Re: [Orgmode] [PATCH 0/2] Teach org-version to include git version information

2009-08-19 Thread Manish
On Wed, Aug 19, 2009 at 7:02 PM, Bernt Hansen wrote:
 Manish writes:

 On Wed, Aug 19, 2009 at 6:00 PM, Bernt Hansen wrote:
 Manish,

 Could you try this patch - does it work?

 Patch application fails.  I tried with patch -p1 as well.

 ,
 | [Wed 19 18:47] (2118) ~/elisp/org-mode.git $ git apply
 org-version-patch-by-bernt.patch
 | error: patch failed: lisp/org.el:104
 | error: lisp/org.el: patch does not apply
 `

 --
 Manish

 Can you try evaluating this? and then M-x org-version and report the
 results?

 (defun org-version (optional here)
  Show the org-mode version in the echo area.
 With prefix arg HERE, insert it at point.
  (interactive P)
  (let* ((org-version org-version)
         (git-version)
         (dir (file-truename (concat (file-name-directory (locate-library 
 org)) ../ 
    (if (file-exists-p (expand-file-name .git dir))
        (progn
         (shell-command (concat GITDIR= dir   git describe --abbrev=4 
 HEAD))
         (save-excursion
           (set-buffer *Shell Command Output*)
           (goto-char (point-min))
           (replace-regexp - .)
           (goto-char (point-min))
           (re-search-forward [^\n]+)
           (setq git-version (match-string 0))
           (shell-command (concat GITDIR= dir   git diff-index 
 --name-only HEAD --))
           (unless (eql 1 (point-max))
             (setq git-version (concat git-version .dirty)))
           (setq org-version (concat org-version  ( git-version ))
    (let ((version (format Org-mode version %s org-version)))
      (if here (insert version))
      (message version)
      version)))

 -Bernt


Results follows:

Org-mode version 6.29trans ('GITDIR' is not recognized as an internal
or external command,.dirty)

Sorry for the delay.. had to step away for sometime.

-- 
Manish


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


Re: [Orgmode] [PATCH 0/2] Teach org-version to include git version information

2009-08-19 Thread Manish
On Wed, Aug 19, 2009 at 7:32 PM, Nick Dokosnicholas.do...@hp.com wrote:
 Bernt Hansen be...@norang.ca wrote:

 ...
(shell-command (concat GITDIR= dir   git describe --abbrev=4 HEAD))
 ...

 Disclaimer: I touch Windows once a day to check a mail account and
 possibly surf the web - other than that, I'm pretty much at sea in it
 (and I've never used emacs on Windows, let alone install git on it.)
 Please excuse the elementary questions.

 How does shell-command work under Windows?

No idea.

 What shell is it using?

Windows has it's own CMD shell (CMD.exe).

 Is cygwin a prerequisite for it?

Prerequisite for CMD? No.  CMD is native and comes with Windows.

 Is cygwin a prerequisite for git?

Native git on Windows was reported to have issues quite sometime back.  I read
somewhere that the situation is much better now.  Cygwin git has always worked
for me without any issues.

-- 
Manish


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


Re: [Orgmode] [PATCH 0/2] Teach org-version to include git version information

2009-08-19 Thread Manish
On Wed, Aug 19, 2009 at 7:47 PM, Bernt Hansen wrote:
[snip: attempting to make git reporting functionality in org-version (29 lines)]

 Maybe I should just disable the git version for now on ms-dos,
 windows-nt, and cygwin since I don't know how to make it work reliably
 on windows.

 Opinions?

It appears there are very few Windows users on the list so I guess the
effort involved does not benefit a lot of people anyways.  I am okay
if you would like to disable the functionality on Windows.

-- Manish


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


Re: [Orgmode] [PATCH 0/2] Teach org-version to include git version information

2009-08-19 Thread Manish
On Wed, Aug 19, 2009 at 8:12 PM, Bernt Hansen wrote:
 Nick Dokos writes:

 Thanks! IIUC, there are then multiple forks in the decision tree:

 o running on Windows or on something else?

 o if on Windows, running native or under cygwin?

 o what shell am I using? cmd.exe and bash under cygwin accept
 different syntax - in particular, the GITDIR=foo solution of
 setting env variables has no hope of working under cmd.exe -
 is that correct?

 Sounds complicated. Maybe the best solution for now is to punt on
 the git information on Windows?

   (when (not (member system-type '(ms-dos windows-nt cygwin)))
  ...add git info...)

 What about system-type == darwin? Does Bernt's code work there?

 Yes it'll be complicated. Right now I think we should punt and just go
 back to the old org-version reporting for windows until we can get a
 better working solution since the current version breaks on windows.
 I'll try to provide a patch for this.

 Manish:

 What value do you have for system-type? I expect it says 'windows-nt'

Yes, it does.


 If that's true then the problem is determining if
 - git is installed
  - what version? Msysgit? cygwin git?
 - what shells are available (since CMD.exe has little hope of working)
  - msysgit bash
  - cygwin shell
  - cmd (won't work if msysgit was installed with git in the msysgit
  bash shell only)
 - running some other shell (git-bash, cygwin) so the git executable is
  available and provide the right syntax for each to Do The Right
  Thing(tm)

Do we test if git is installed if we are on a non-Windows system or
show whatever error shell returns in case git is not installed?

I tried calling cygwin git from CMD shell and it seems to work okay.
So I am guessing we need to figure out how to correctly pass git
command from Emacs to Windows shell.  I will try to find examples from
Org's PDF processing code.


 Right now I'm inclined to skip the git-version magic if system-type is
 windows-nt just to stop it from breaking on that platform.

Sure.  I will share some information/examples if I can find anything
to make it work.

Thanks
-- 
Manish


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


Re: [Orgmode] [PATCH 0/2] Teach org-version to include git version information

2009-08-19 Thread Manish
On Wed, Aug 19, 2009 at 8:46 PM, Bernt Hansen wrote:
 Nick Dokos writes:

[...]

 Bernt's code checks for the existence of the .git subdirectory
 in the parent directory of wherever emacs get the org.el[c] library:
 if it's present, then the assumption is that git is installed.

 Well maybe. I have an older version of Emacs 23 installed on my
 windows Eee PC system and I have msysGit installed (not cygwin git) but
 it's not available to the shell as a command.

It should be, I think.  May be it's not added to PATH environment variable?
You can set it up like so:

1. Right-click on My Computer, click Properties
2. Click on Advanced tab
3. Click Environment Variables button
4. Add the path to git binary under System or User PATH variable.
5. Restart Emacs and test again.

-- 
Manish

 Nothing prevents me from
 running org-mode from a git repository there.

 -Bernt



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


Re: [Orgmode] Custom agenda question

2009-08-23 Thread Manish
On Sun, Aug 23, 2009 at 10:27 PM, Carsten Dominik wrote:

 On Aug 19, 2009, at 11:59 AM, Manish wrote:

 On Wed, Aug 19, 2009 at 3:04 PM, Carsten Dominik wrote:

 On Aug 19, 2009, at 3:44 AM, Anthony Fairchild wrote:

 Hi,

 Is there a way to get the text underneath a todo heading to show up in
 the
 agenda screen?

 No this is not possible.

 It would be real nice to be able to toggle the effect of
 org-agenda-add-entry-text-maxlines even in agenda view. Follow mode is
 not
 exactly the same thing because when turning it off it leaves the window
 behind
 which has to be killed with C-x 1.

 You can also kill the window with o, a bit easier.

Oh, yes.  I had forgotten about this.  Thanks.



 But since we have it already working for
 printing agenda and not for screen display, I am sure there are sufficient
 reasons behind it. But then it's Org mode -- anything is possible. :)


 For me, the reason is that the agenda should be compact, as
 much as possible.

Once you've got your agenda organized right with todo's in order etc. then
it's just a little disruptive to go anywhere else for a little extra detail to
get some more context.  But I agree agenda should be as compact as
possible.. may be the extra lines could be a toggle switch?

-- 
Manish


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


Re: [Orgmode] Please test org-indent-mode

2009-08-23 Thread Manish
On Fri, Aug 21, 2009 at 11:45 AM, Carsten Dominik wrote:
 Hi everyone,

 this is only relevant for people who use the latest CVS Emacs.
 If you do that, please consider doing some testing of the new
 org-indent-mode which establishes the clean outline view
 without any by-hand indentation.

 Emacs 23.1 did still crashes occasionally with this new mode, due to
 a bug in the Emacs display engine. But I have, during the last week,
 used this new mode without problems, with the latest CVS.
 And I *loved* it, so I would like to have it tested more and then
 advertise it more.

It appears to add an extra level of indentation to subheadings.

When you do S-right on the second heading in the outline below.

,
| * This is heading one.
|   This is some text.
| * This is heading one point one.
`

It turns into this:

,
| * This is heading one.
|   This is some text.
| * This is heading one point one.
`

-- 
Manish
PS: I have added two spaces at the beginning of line no. 2 and 3 to make it
appear like it does in Org Ind buffer.
PPS: I use oddlevels.


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


Re: [Orgmode] Custom agenda question

2009-08-25 Thread Manish
On Mon, Aug 24, 2009 at 11:33 PM, Carsten Dominik wrote:

 On Aug 24, 2009, at 2:21 AM, Manish wrote:

 Once you've got your agenda organized right with todo's in order etc. then
 it's just a little disruptive to go anywhere else for a little extra
 detail to
 get some more context. But I agree agenda should be as compact as
 possible.. may be the extra lines could be a toggle switch?

 H.

 I am not yet convinced, but I have made a little toy implementation
 for you and others to try out and commet on.

 Please get the latest version and press `E' in the agenda to
 toggle the display of a small amount (see variable
 `org-agenda-entry-text-maxlines') of text from the entry in
 the agenda.

Thanks!  I like it very much so far.  Refreshing the agenda removes the
snippets/excerpts though.  Will use it for a few days and report back.

-- 
Manish


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


Re: [Orgmode] POLL: Change of keys to move agenda through time

2009-08-25 Thread Manish
On Tue, Aug 25, 2009 at 2:42 PM, Carsten Dominik
carsten.domi...@gmail.com wrote:

 Hi,

 we have the proposal to do the following key changes in the agenda:

 1. Make the cursor keys LEFT and RIGHT do normal cursor motion again
 2. Use the keys n and p to switch the agenda to earlier
  and later dates.

 I would like to call a vote on this issue. Please weigh in.
 Should we make this change? yes or no?

I would have to go with Benny on this. -1

-- 
Manish


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


Re: [Orgmode] Re: POLL: Change of keys to move agenda through time

2009-08-25 Thread Manish
On Tue, Aug 25, 2009 at 8:38 PM, Christian Egli wrote:
 Carsten Dominik writes:

 we have the proposal to do the following key changes in the agenda:

 1. Make the cursor keys LEFT and RIGHT do normal cursor motion again

 No. Why would you want to do cursor motion in the agenda?

One could make part of a heading a link to, say, an email, and may want to
visit that.

I used to make the mistake (using arrows in agenda) but I learnt to replace
them with forward-word and backward-word commands.

-- 
Manish


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


Re: [Orgmode] Re: Subversion for backups?

2009-08-26 Thread Manish
On Wed, Aug 26, 2009 at 7:08 PM, Kyle Sexton wrote:
 At Wed, 26 Aug 2009 14:49:41 +0200,
 Rainer Stengele wrote:

 I use subversion to backup and track my org files.
 I have a server in my office running the subversion server.

 Access is by port forwarding the subversion port via ssh - no matter
 being under windows (putty) or under Linux (ssh).
 In this way I have my subversion server and repository virtually
 local, that is acces is always via

 svn://localhost/repository


 I also track all my .emacs.d specific files, especially the org-mode
 files themselves as well as icicles and all kinds of libraries etc.
 This makes it easy to update my whole emacs installation on any of my 3
 desktops and 3 notebooks.


 Interesting, can you describe your workflow a bit?

  1. Do you commit a change to subversion every time you update an org
  file, or are commits scheduled through a cronjob?

  2. When you open new files, do you always check them out of the
  repository / work / check them back in?  Or do you work on a local
  directory structure and sync outside of emacs?

  3. Can you post some of the relevant config lines you have, and the
  key sequences you use for commits?  (This may be asking too much. :))

 Thanks in advance, I've seen several ways to do this and I'm trying to
 weigh the merits of each approach.


FWIW, another informative place for such discussion is vcs-home
mailing list which is dedicated for this kind of discussion.

http://vcs-home.madduck.net/
http://lists.madduck.net/listinfo/vcs-home

HTH
-- 
Manish


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


Re: [Orgmode] Unable to compile using Emacs 23 in Windows

2009-08-27 Thread Manish
On Thu, Aug 27, 2009 at 8:18 PM, Paul Mead wrote:
 I had everything working fine using NT Emacs v22.xxx but now that I've
 completely upgraded to 23 I'm getting numerous warnings comiling org.el,
 org-agenda.el, and it just hangs on org-attach.el. Not even an error to
 work with.

 If there's one thing I can't stand it's silent failure :-)

 I tried to redirect the errors to a text file, but it only captured the
 commands, not the errors. Any suggestions?

 Just my luck, everything works fine on my Linux machine, but I use org-mode
 mostly on the work laptop which is Windows.

How do you compile Org on Windows?  Using the solution that Sebastian and
others recently worked out or some other way?

FWIW, I use Cygwin Emacs (23) to compile Org but use Windows GNU Emacs
exclusively.  There are some odd looking messages but they have never bothered
me (compilation log at http://paste.lisp.org/display/86127)

-- 
Manish


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


Re: [Orgmode] [misc-new-features 1/5] Add two new special properties, SINCE and SINCE_IA.

2009-08-27 Thread Manish
On Sat, Jul 18, 2009 at 3:05 PM, Bastien wrote:
 Hi James,

 this small patch against current org-colview.el lets you have a custom
 function for computing a summary of a property and displaying it in
 the column.

 To compute the time since the timestamp, you can use this patch and some
 of your code like this:

 --8---cut here---start-8---
 (setq org-columns-custom-summary-function
      'my-org-compute-since)

 (defun org-time-since (time)
  Get the number of days since `time'
  (time-to-number-of-days
  (time-since (apply 'encode-time
                     (org-parse-time-string time)

 (defun my-org-compute-since (rest values)
  Eval elapsted days since the entry's timestamp.
  (let* ((ts (org-entry-get (point) TIMESTAMP)))
    (when ts (org-time-since ts
 --8---cut here---end---8---

 This patch is just a workaround, though.  I think we should have a way
 of adding more than one custom function, as Mikael Fornius suggested
 when sending his first patch.

 Let's see what's Carsten take on this.


This is/was a very interesting idea.  Any thoughts if this would go
in?  Or did it already go in and I missed it?

-- 
Manish


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


Re: [Orgmode] Is it possible to edit Effort remotely from the Agenda?

2009-08-28 Thread Manish
On Fri, Aug 28, 2009 at 2:07 PM, Michael Gilbert wrote:
 Hi --

 A few weeks into stable org usage (thanks again for getting Aquamacs to fix
 that issue) and I am starting to push past basic knowledge. I realize that
 there are many things that can be editing remotely from the agenda. One of
 the properties I most want to be able to edit is Effort. Is this possible?

If you display effort in the agenda in column view (C-c C-x C-c), you can edit
the effort by using Shift-right or Shift-left or e.

This is from my .emacs.

--8---cut here---start-8---
(setq org-drawers (quote (PROPERTIES CLOCK EFFORT HIDE LOGBOOK)))
(setq org-global-properties (quote ((Effort_ALL . 00:00 00:10 00:20
00:30 01:00 01:30 02:00 02:30 03:00 04:00 05:00 06:00 07:00 08:00
(setq org-columns-default-format %TODO %CATEGORY %60ITEM(Task)
%5Effort(Estim){:} %5CLOCKSUM(Clock) %SCHEDULED(Time) %DEADLINE)
--8---cut here---end---8---

HTH
-- 
Manish


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


Re: [Orgmode] BUG: blank items in the agenda

2009-09-02 Thread Manish
On Wed, Sep 2, 2009 at 10:37 PM, Peter Westlake wrote:
 This is quite obscure, and an odd corner case, but here it is.

 If you have an item which is:

 - a TODO
 - scheduled
 - ordered
 - blocked by a child TODO

 then it leaves an empty line in the agenda.

 Here's a test case:
 ,
 | * Press t r on this line in the agenda
 |   SCHEDULED: 2009-09-02 Wed
 |   :PROPERTIES:
 |   :ORDERED: t
 |   :END:
 | *** TODO Report invisible scheduled items
 `

 C-a a a will show an agenda with Scheduled: Press t r 
 Press t on that line to add a TODO.
 Press r to redisplay, and see the line go blank.

Is the value of org-use-fast-todo-selection set to t?

And what's the value for org-agenda-dim-blocked-tasks in your setup?

,[ org-agenda-dim-blocked-tasks ]
| org-agenda-dim-blocked-tasks is a variable defined in `org-agenda.el'.
| Its value is t
|
| Documentation:
| Non-nil means, dim blocked tasks in the agenda display.
| This causes some overhead during agenda construction, but if you
| have turned on `org-enforce-todo-dependencies',
| `org-enforce-todo-checkbox-dependencies', or any other blocking
| mechanism, this will create useful feedback in the agenda.
|
| Instead ot t, this variable can also have the value `invisible'.
| Then blocked tasks will be invisible and only become visible when
| they become unblocked.  An exemption to this behavior is when a task is
| blocked because of unchecked checkboxes below it.  Since checkboxes do
| not show up in the agenda views, making this task invisible you remove any
| trace from agenda views that there is something to do.  Therefore, a task
| that is blocked because of checkboxes will never be made invisible, it
| will only be dimmed.
`

-- 
Manish


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


Re: [Orgmode] Easier customization of TODO keyword colors

2009-09-05 Thread Manish
On Sat, Sep 5, 2009 at 3:47 AM, Ryan C. Thompson wrote:
 Bastien wrote:

 Interesting - would you like to add this in org-hacks?

  http://orgmode.org/worg/org-hacks.php

 If so, please send me your username on repo.or.cz (if you are not
 already a Worger...)

 Thank!


 I'm not on either, actually. I'm a relative newcomer to org-mode and elisp
 hacking in general. But I'd love to see it on Worg.

Added that for you.  Should be online in an hour or so.

http://orgmode.org/worg/org-contribute.php

-- 
Manish


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


Re: [Orgmode] org-agenda-suffix-format ?

2009-09-17 Thread Manish
On Thu, Sep 17, 2009 at 6:57 AM, Eraldo Helal wrote:
 In one of my agenda views I have org-agenda-prefix-format setup like this:
 (org-agenda-prefix-format  %-8:c )
 The whole thing then looks like that:
 eraldo:  TODO clean garage
 In this example eraldo is the name of the org file  eraldo.org
 I would like to have the same thing just not at the begining of the like...
 like this:
 TODO clean garageeraldo
 Is that possible?

You could use FILETAGs.

-- 
Manish


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


[Orgmode] Re: compile fails for latest git pull

2009-09-30 Thread Manish
On Wed, Sep 30, 2009 at 7:24 PM, Manish mailtomanish.sha...@gmail.com wrote:
 Latest git pull (a few minutes old) fails compilation.  Log below:

 ,
 | [Wed 30 18:58] (2024) ~/elisp/org-mode.git $ make clean  make  make doc
 | make cleanelc
 | make[1]: Entering directory `/home/zms/elisp/org-mode.git'
 | rm -f lisp/org.elc lisp/org-agenda.elc lisp/org-ascii.elc
 lisp/org-attach.elc lisp/org-archive.elc lisp/org-bbdb.elc
 lisp/org-bibtex.elc lisp/org-clock.elc lisp/org-colview.elc
 lisp/org-colview-xemacs.elc lisp/org-compat.elc lisp/org-crypt.elc
 lisp/org-exp.elc lisp/org-exp-blocks.elc lisp/org-docbook.elc
 lisp/org-faces.elc lisp/org-feed.elc lisp/org-footnote.elc
 lisp/org-gnus.elc lisp/org-html.elc lisp/org-icalendar.elc
 lisp/org-id.elc lisp/org-indent.elc lisp/org-info.elc
 lisp/org-inlinetask.elc lisp/org-jsinfo.elc lisp/org-irc.elc
 lisp/org-latex.elc lisp/org-list.elc lisp/org-mac-message.elc
 lisp/org-macs.elc lisp/org-mew.elc lisp/org-mhe.elc
 lisp/org-mobile.elc lisp/org-mouse.elc lisp/org-publish.elc
 lisp/org-plot.elc lisp/org-protocol.elc lisp/org-remember.elc
 lisp/org-rmail.elc lisp/org-src.elc lisp/org-table.elc
 lisp/org-timer.elc lisp/org-vm.elc lisp/org-w3m.elc lisp/org-wl.elc
 lisp/org-xoxo.elc lisp/org-install.elc
 | make[1]: Leaving directory `/home/zms/elisp/org-mode.git'
 | make cleandoc
 | make[1]: Entering directory `/home/zms/elisp/org-mode.git'
 | (cd doc; rm -f org.pdf org org.html orgcard.pdf orgcard.ps)
 | (cd doc; rm -f *.aux *.cp *.cps *.dvi *.fn *.fns *.ky *.kys *.pg *.pgs)
 | (cd doc; rm -f *.toc *.tp *.tps *.vr *.vrs *.log *.html *.ps)
 | (cd doc; rm -f orgcard_letter.tex orgcard_letter.pdf)
 | (cd doc; rm -rf manual)
 | make[1]: Leaving directory `/home/zms/elisp/org-mode.git'
 | make cleanrel
 | make[1]: Entering directory `/home/zms/elisp/org-mode.git'
 | rm -rf RELEASEDIR
 | rm -rf org-6.*
 | rm -rf org-6*zip org-6*tar.gz org-snapshot*
 | make[1]: Leaving directory `/home/zms/elisp/org-mode.git'
 | rm -f *~ */*~ */*/*~
 | emacs -batch -q -no-site-file -eval (progn (add-to-list (quote
 load-path) \/usr/local/share/emacs/site-lisp\) (add-to-list (quote
 load-path) (expand-file-name \./lisp/\))) -f batch-byte-compile
 lisp/org.el
 |
 | In org-set-tags-to:
 | org.el:11258:4:Warning: malformed cond form: `t'
 | org.el:11258:4:Warning: malformed cond form: `nil'
 | org.el:11258:4:Warning: malformed cond form: `t'
 | org.el:11267:44:Error: Wrong type argument: listp, t
 | make: *** [lisp/org.elc] Error 1
 | %
 `

 Regards
 --
 Manish


It was a problem due to a conflict with a local patch I had applied to
org-latex.el.  After removing that patch Org compiles cleanly.

Sorry for the noise.

Regards
-- 
Manish


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


Re: [Orgmode] [off-topic/GTD]Only Next Actions list to rule them all ?

2009-10-20 Thread Manish
On Wed, Oct 21, 2009 at 10:45 AM, Marcelo de Moraes Serpa wrote:
 Hello list,

 This is for the GTD orgers out there. I've taken the article written by
 Charles as a basis for my GTD implementation. In the end, it's all about
 what works for you, but I'd like to get some insights/opinions from you: For
 Next Actions, are you using a single list OR you organize them
 hierarchically under each project (in the projects list)?

 I started with the second one, putting each next action (TODO) item under
 its correspondent project, however, it quickly became too bloated, and a mix
 of projects, sub-projects and next-actions. Of course, org helps there with
 sparse trees and other functions to filter trees, but still, I found it was
 too complex, albeit more specific and I did felt I was more organized,
 even though I was getting lost.

 So, I just let go of my obsession about the perfect thing and decided to try
 a single Next Actions list, together with a Projects list. The next actions
 is a single list with all the actionable items from all the projects. I've
 lost the relationship between a next action item and a project, but I can do
 this easily by just looking at the action, having the system tell me is not
 that important.

Usually, you define all actions for a project under the same hierarchy.  You
can decide how you want actions to be designated next (and projects to be
designated project) -- using keywords or tags and have a custom agenda
command collect the next actions for you from all agenda files in a single
list.

-- 
Manish


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


Re: [Orgmode] feature request: show context in agenda

2009-11-11 Thread Manish
On Thu, Nov 12, 2009 at 6:06 AM, Samuel Wales wrote:
 In the agenda, it is difficult to find where you are in
 the hierarchy. I find that I have to switch to the outline,
 then scroll up, if I want to know what the parent headline
 is, or any ancestor.

 Others have proposed showing the parent headline, but that
 could clutter the agenda and will not show other ancestors.

 Here is a simple proposal: put the olpath of the current
 header in header-line-format.

 Then you always know where you are, without having to switch
 to the outline buffer.

+10

I proposed something similar six months ago.

-- 
Manish


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


Re: [Orgmode] feature request: show context in agenda

2009-11-12 Thread Manish
On Thu, Nov 12, 2009 at 1:26 PM, Carsten Dominik wrote:

 On Nov 12, 2009, at 3:03 AM, Manish wrote:

 On Thu, Nov 12, 2009 at 6:06 AM, Samuel Wales wrote:

 In the agenda, it is difficult to find where you are in
 the hierarchy. I find that I have to switch to the outline,
 then scroll up, if I want to know what the parent headline
 is, or any ancestor.

 Others have proposed showing the parent headline, but that
 could clutter the agenda and will not show other ancestors.

 Here is a simple proposal: put the olpath of the current
 header in header-line-format.

 Then you always know where you are, without having to switch
 to the outline buffer.

 +10

 I proposed something similar six months ago.

 You did? I don't remember. Can you find the thread on gmane?

I could not locate that post on gmane at all!  Closest I could find
was Eraldo's response to my email.  But I found the email in Gmail
archive and am quoting it below.

,
| MIME-Version: 1.0
| Received: by 10.110.53.12 with HTTP; Mon, 18 May 2009 20:01:00 -0700 (PDT)
| In-Reply-To: 2ba22c73-cd1f-4791-ba0c-e7112cabd...@gmail.com
| References: 1e5bcefd0905151433v72384998ub908996d78dcb...@mail.gmail.com
|2ba22c73-cd1f-4791-ba0c-e7112cabd...@gmail.com
| Date: Tue, 19 May 2009 08:31:00 +0530
| Delivered-To: mailtomanish.sha...@gmail.com
| Message-ID: e7cdbe30905182001j113ff356k5cf6446461444...@mail.gmail.com
| Subject: Re: [Orgmode] Show parent PROJECTS for an item
| From: Manish mailtomanish.sha...@gmail.com
| To: Carsten Dominik carsten.domi...@gmail.com
| Cc: Marcelo de Moraes Serpa celose...@gmail.com, emacs-orgmode@gnu.org
| Content-Type: text/plain; charset=ISO-8859-1
| Content-Transfer-Encoding: 7bit
|
|   On Sat, May 16, 2009 at 8:41 PM, Carsten Dominik wrote:
|   
|On May 15, 2009, at 11:33 PM, Marcelo de Moraes Serpa wrote:
|   
|Hello list,
|   
|I'd like to do a little modification to the code that grabs the
|summary of items for the agenda view. For each item that has a
|parent with a PROJECT type, I'd like org to render this parent in
|a hierarchical, tree way, like this:.
|   
|Let's say I search for a specific item using a regexp. This item
|has three parents, which all are PROJECTS, it would show like
|this:
|   
|   
|PROJECT My project
| PROJECT My sub-project
|   PROJECT My sub-sub-project
| NEXT Call Liz to check if the account has been created
|:@call:@work:
|   
|So, searched for Liz and got this specific item, but org then
|would give me more context, showing me to which project it
|belongs to. Not sure if it's already possible, but if not, would
|be a great addition to support the GTD system, IMO :)
|   
|The purpose of the flat agenda list is to be compact, and what you
|want would defeat that purpose.
|   
|If you are working with a single file, a sparse tree might be the
|best alternative. If not, you could give follow mode in the agenda
|a try.
|   
|
| Follow mode is fit for the purpose when you are _in_ Emacs but when
| you want to print and take your lists along then missing context can
| be confusing.  Would it be possible to encode the task hierarchy into
| the task display like so:
|
| ,[ sample tree ]
| | * PROJECT Take over the world
| | ** SUBPROJ Make a plan
| | *** TODO Print a trillion dollars
| `
|
| ,[ sample todo list ]
| |TODO Take over the world/Make a plan/Print a trillion dollars
| | or TODO Print a trillion dollars [Take over the world/Make a plan]
| | or [Take over the world/Make a plan] TODO Print a trillion dollars
| | or TODO [Take over the world/Make a plan] Print a trillion dollars
| | or TODO Print a trillion dollars\Make a plan\Take over the world
| `
|
| Personally I prefer the last one most.  The number of characters added
| from each node, and/or the numbers of nodes added and/or the total
| length of todo item in agenda can be made configurable to limit the
| length of the agenda lines.
|
| At present, some of us try to be more descriptive when defining a task
| so as to identify the context from the task alone.  If this is
| implemented, we can try to be succinct instead.
|
| Of course, I do not know elisp nor do I understand Org internals so
| the idea might just be nonsense from an implementation perspective.
|
| Regards,
| --
| Manish
`

Regards,
-- 
Manish


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


Re: [Orgmode] feature request: show context in agenda

2009-11-13 Thread Manish
On Sat, Nov 14, 2009 at 3:23 AM, Carsten Dominik wrote:

 On Nov 12, 2009, at 1:36 AM, Samuel Wales wrote:

 In the agenda, it is difficult to find where you are in
 the hierarchy. I find that I have to switch to the outline,
 then scroll up, if I want to know what the parent headline
 is, or any ancestor.

 Others have proposed showing the parent headline, but that
 could clutter the agenda and will not show other ancestors.

 Here is a simple proposal: put the olpath of the current
 header in header-line-format.

 Hi Samuel,

 I am not so comfortable with using the header-line-format, because
 that is also used by column view, also in the agenda.

 How about using the echo area?

 I have implemented that, please take a look to see if this works as well.

Thank you!  Although it does force one to keep sweeping the gaze from
top to bottom of the screen but it's way better than having to resort
to other methods.

Regards
-- 
Manish


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


Re: [Orgmode] Emacs snapshot needed for something?

2009-12-07 Thread Manish
On Mon, Dec 7, 2009 at 5:17 AM, Robin Green wrote:
 Hi all,

 I seem to remember Carsten saying that a snapshot version of emacs
 from CVS was recommended for some new org-mode feature, because emacs
 23.1 is buggy, but now I can't find that email again. Is my memory
 playing tricks on me?

Is this what you are looking for?

http://thread.gmane.org/gmane.emacs.orgmode/20274/focus=20299

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] Emacs snapshot needed for something?

2009-12-07 Thread Manish
On Mon, Dec 7, 2009 at 5:54 AM, Robin Green wrote:
 At Mon, 7 Dec 2009 14:00:04 +0530,
 Manish wrote:

 On Mon, Dec 7, 2009 at 5:17 AM, Robin Green wrote:
  Hi all,
 
  I seem to remember Carsten saying that a snapshot version of emacs
  from CVS was recommended for some new org-mode feature, because emacs
  23.1 is buggy, but now I can't find that email again. Is my memory
  playing tricks on me?

 Is this what you are looking for?

 http://thread.gmane.org/gmane.emacs.orgmode/20274/focus=20299

 Actually, no - it was definitely an earlier email. But that's useful -
 thanks.

May be this email about org-indent-mode..
http://thread.gmane.org/gmane.emacs.orgmode/16742

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 needs your vote

2009-12-07 Thread Manish
Done!  Thanks for sharing.

-- 
Manish

On Mon, Dec 7, 2009 at 3:29 PM, PT spamfilteracco...@gmail.com wrote:
 http://lifehacker.com/5419988/five-best-outlining-tools



 ___
 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] Browser Interface to org-mode?

2009-12-20 Thread Manish
On Mon, Dec 21, 2009 at 12:24 PM, sumeet pareek wrote:
 I am not a 100% sure but I believe I heard some where in the google tech
 talk about browser interface to org-mode. Could anybody tell me where can I
 find it? It would be a boon to me as I am mostly on a windows box where
 running org-mode is not the most simple thing to do.

I do not think there is any browser interface to Org mode.

Do you use Org on non-Windows system at present?  Do you use Emacs on
Windows at present?  Have you tried Org with Emacs on Windows?  What
difficulties did you face?

 I also work from multiple systems and would seriously benefit from any
 org-mode interface/clone that works from the browser!?

Most folks here use DVCS based syncing solutions.

-- 
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] Browser Interface to org-mode?

2009-12-21 Thread Manish
On Mon, Dec 21, 2009 at 3:53 PM, sumeet pareek wrote:
 @Manish: Thanks for the reply. Emacs caught my attention this weekend when I
 saw a Google tech talk about org-mode. And I decided to give it a try.
 1. Was able to install it very easily on ubuntu (but I use windows at work)
 2. Was initially clueless on how to get emacs to run on windows but am now
 running ver.GNU Emacs 23.1.1 (i386-mingw-nt5.1.2600) (It comes with org-mode
 built in :)
 3. Spend the last hour playing around with org-mode. Loved it.


:) Welcome.

 ..And now I am hell bent to shift to emacs as my primary editor of choice.
 The first step of which would be to use it (org-mode) for my todos. Once I
 am pretty okay working with my TODOs I shall try other things like syncing
 it with google calendar et al.

You might find it to be a lot like the famous rabbit hole that goes
way deeper than you first thought..

You picked up Emacs pretty fast (I took months and still know only a
few things) but you still might find this useful.
http://www.ibm.com/developerworks/edu/au-dw-au-emacs1-i.html?S_TACT=105AGX01S_CMP=HP

And for Org mode: http://orgmode.org/worg/org-tutorials/index.php

Interestingly, with Org mode you first use it to figure out the way
you work and then you use it to achieve mind like water.

-- 
Manish
PS: Remember to reply-all to send your response to the list as well.


___
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] Browser Interface to org-mode?

2009-12-21 Thread Manish
On Mon, Dec 21, 2009 at 5:37 PM, sumeet pareek wrote:

[snip]

 Thanks for the links. You must have got started with emacs way back.

I tried Emacs 20.. did not last beyond a few hours, then tried Emacs
21.. did not last beyond a day or so.  I guess I was trying too hard
to remember the key chords (and I was coming from vi.)  Then Planner
distracted me while my fingers figured out a few basics on their own
Later I found wonderful Org mode and the community of amazing people
on this list.  It was easier after that.

 I have the advantage of wealth of documentation that is there..

I find http://www.emacswiki.org and http://planet.emacsen.org/
invaluable along with the gold mine within Emacs (C-h i).

-- 
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] custom agenda view

2009-12-24 Thread Manish
On Thu, Dec 24, 2009 at 4:40 PM, Yuri Goncharov wrote:
 I try to make custom agenda view with todo keyword STARTED and tag @HOME
 I wrote this code

 (setq org-agenda-custom-commands
  (quote
((w work tasks tags-todo
+start...@work ((org-agenda-todo-ignore-with-date nil)))
(h home tasks tags-todo
+start...@home ((org-agenda-todo-ignore-with-date nil)))
(n Notes tags NOTE nil

 but it's not work.

I will and run your scenario later but may be this can be of help too
http://orgmode.org/worg/org-tutorials/org-custom-agenda-commands.php

-- 
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] agenda view - assign file name

2009-12-26 Thread Manish
May be you are referring o rename-buffer command or to CATEGORY
property that is prefixed to items in agenda (use C-c Cx p CATEGORY
RET, enter a name, C-c a a)

-- 
Manish

On Sat, Dec 26, 2009 at 1:14 PM, henry atting nsmp...@online.de wrote:
 I once used an option (but can't remember its name) which makes it
 possible to assign a different file name to a file from the agenda list.
 Lets say I have a file `name.org` then this option set in the file setup
 displays the entries after e.g. `another_name:`

 henry

 --
 http://literaturlatenight.de



 ___
 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] How to change CREATED property value to inactive in org-expiry

2009-12-26 Thread Manish
Hello!

I have just spent an hour trying to figure out how to change the
timestamp added as a result of org-expiry-insinuate to inactive with
no success.  It seems to me that I need to change something in
function org-expiry-insert-created but don't know what.  I also do not
understand in which situations does an active timestamp for CREATED
property make sense.

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] How to change CREATED property value to inactive in org-expiry

2009-12-27 Thread Manish
Manish I have just spent an hour trying to figure out how to change
Manish the timestamp added as a result of org-expiry-insinuate to
Manish inactive with no success.  It seems to me that I need to
Manish change something in function org-expiry-insert-created but
Manish don't know what.  I also do not understand in which
Manish situations does an active timestamp for CREATED property make
Manish sense.

David I recently started to patch org-expiry.el and enabling inactive
David timestamps was the first thing I patched. The modified version
David is on the expiry+ branch in a copy of org-mode @github.com:
David
David http://github.com/dmj/org-mode/tree/expiry+
David
David I hope I got the git-things rights this time so fetching and
David merging it with a local branch of the original should work.
David
David Next thing on my list is to toggle auto inserting of the
David creation date for Todo headlines only.
David
David To enable inactive timestamps when using the expiry+ branch
David simply set the variable `org-expiry-inactive-timestamps' to t.

Works as advertised. :)  Hope the patch makes it to org-mode soon.

Thank you.
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] [PATCH] Add min/max/mean age operators to column view.

2009-12-30 Thread Manish
On Mon, Nov 2, 2009 at 12:29 AM, James TD Smith wrote:
 Hi Carsten and Mikael,

 On 2009-11-01 18:24:41(+0100), Carsten Dominik wrote:
 Hi Mikael, thanks for doing the testing!

 Yes, thanks a lot.

 James, do you want to integrate Mikaels changes? If yes, can you please do
 so and let me know when and from where I can pull?

 I've already applied the patch and pushed it to misc-new-features in my repo.

 Also, if one of you would like to go through the trouble to adapt the XEmacs
 version, that would be very nice.

 I'll have a go at it. I had forgotten there was another version of colview;
 if I had known I would made the changes there. I'll let you know when it's
 done.


I cloned the repo at git://yog-sothoth.mohorovi.cc/org-mode.git but
did not find `misc-new-features' branch and could not find the changes
in the org-mode proper as well.  The changes sound very interesting
and I recently found a need for it.  Hope you have not decided to
abandon the feature.

Warm regards and a very happy new year!
-- 
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


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] 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] 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


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] 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] 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] 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] 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] 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] 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] 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


[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] 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


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] 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] 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: [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



[O] [OFFTOPIC] Happy Birthday!

2011-09-11 Thread Manish
Dear Carsten,

Van harte gefeliciteerd met je verjaardag! :)

--
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



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: [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] 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] 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] 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] 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] 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] 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: [Orgmode] possible latex export bug

2008-10-02 Thread Manish
  On Thu, Oct 2, 2008 at 2:45 PM, Austin Frank wrote:
   Hello!
  
   I'll start by confessing up front that I've been tinkering with
   different exporting functions these past few weeks, so it's possible
   that the bug I'm reporting here is of my own making.  I can't track it
   down, so here I am, hat in hand, to ask
  
   a) is this reproducible?  and,
   b) if not, any idea which functions I should look at to chase it
 down?
  
   If I have the following org file
  
   --8---cut here---start-8---
   * this is a test
   #+begin_latex
   \mu
   #+end_latex
   --8---cut here---end---8---
  
   and run org-export-as-latex, I get the following output
  
   --8---cut here---start-8---
   % normal preamble stuff
   % ...
  
   \begin{document}
  
   \maketitle
  
  
   \section*{this is a test}
  
  
   \mu
  
   \end{document}
   --8---cut here---end---8---
  
   That's the correct behavior.  If I use this org file
  
   --8---cut here---start-8---
   * this is a test
   #+begin_latex
   \begin{quote}
   \mu
   \end{quote}
   #+end_latex
   --8---cut here---end---8---
  
  
   and run org-export-as-latex, I get
  
   --8---cut here---start-8---
   % normal preamble stuff
   % ...
   \begin{document}
  
   \maketitle
  
  
   \section*{this is a test}
  
  
   \begin{quote}
   \mu
   \end{quote}
   #+end_latex
  
   \end{document}
   --8---cut here---end---8---
  
   In the second example, the #+end_latex line is not removed during
   org-export-to-latex.
  
   Possibly related, possibly unrelated, I'm also seeing that file-local
   variables defined at the end of a buffer are being exported verbatim
   during org-export-as-latex.  This only happens in cases where the
   #+end_latex is also erroneously exported.
  
   --8---cut here---start-8---
   * this is a test
   #+begin_latex
   \begin{quote}
   \mu
   \end{quote}
   #+end_latex
  
   #+ Local Variables:
   #+ org-export-latex-append-header: 
   #+ \\usepackage{graphicx}
   #+ 
   #+ End:
   --8---cut here---end---8---
  
   gives
  
   --8---cut here---start-8---
   % normal preamble stuff
   % ...
  
   \begin{document}
  
   \maketitle
  
   \begin{quote}
   \mu
   \end{quote}
   #+end_latex
  
   #+ Local Variables:
   #+ org-export-latex-append-header: 
   #+ \\usepackage{graphicx}
   #+ 
   #+ End:
  
   \end{document}
   --8---cut here---end---8---
  
   This doesn't just apply to the quote environment, I've reproduced it
   with other #begin/end_latex blocks that contain latex environments.
   That is to say
  
   --8---cut here---start-8---
   * this is a test
   #+begin_latex
   \begin{verbatim}
   \mu
   \end{verbatim}
   #+end_latex
   --8---cut here---end---8---
  
   has the same problem of including the #+end_latex tag after export.
  
   This is with Org-mode version 6.08-pre01, GNU Emacs 23.0.60.1
   (powerpc-apple-darwin8.11.0, *Step 9.0) of 2008-10-01.
  
  
   Can anyone reproduce this?  Any debugging tips?

Yes, I can reproduce the issue in both the cases.

-- Manish
GNU Emacs 22.3.1 (i386-mingw-nt5.1.2600)
Org-mode version 6.08-pre01 (commit 0ec6021)


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


Re: [Orgmode] RELEASE: Org-mode 6.08a

2008-10-05 Thread Manish
  On Mon, Oct 6, 2008 at 5:59 AM, William Henney wrote:
   On Sun, Oct 5, 2008 at 5:21 PM, Carsten Dominik wrote:
   Maybe a caching problem?
  
  
   Maybe. But caching where?
  
   --
   $ curl -s http://orgmode.org/org.tar.gz | tar tzf - | head -1
   org-6.07b/
   --
  
   I am not using any proxy (to the best of my knowledge).
  
   Are you saying that org.tar.gz is 6.08 for you?

FWIW, it is for me.

,
| lappy:~/tmp $ curl -s http://orgmode.org/org.tar.gz | tar tzf - | head -1
| org-6.08c/
`

-- Manish


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


  1   2   3   4   >