[Orgmode] org-table: Table Navigation esp. for multi-line cells?

2010-08-27 Thread Livin Stephen Sharma
GNU Emacs 23.1.90.1 (x86_64-apple-darwin10.3.0, NS apple-appkit-1038.29)
 of 2010-05-14 on...
org-mode-2010_08_24: 7.01trans

Hi, I would appreciate some info/help on table-navigation.

The Manual describes these keys like this:
 M-a   Move to beginning of the current table field, or on to the previous 
 field.

 M-e   Move to end of the current table field, or on to the next field.

Are they supposed to work the same within mult-line cells?

If cursor is before 'amet' in entry E-01,
 is there a single command to move it:
 a. to the end of consectetur, or
 b. to the beginning of Lorem in the same cell.

   |---+---+--+--|
   | / | |||
   |   | 5   | 20 | 20 |
   |   | s.no. | type;| text |
   |---+---+--+--|
   |   | E-01  | original | Lorem ipsum dolor|
   |   |   |  | sit amet,|
   |   |   |  | consectetur  |
   |---+---+--+--|
   |   | E-02  | caps | Lorem Ipsum Dolor|
   |   |   |  | Sit Amet,|
   |   |   |  | Consectetur  |
   |---+---+--+--|

I find that the first 'M-a' will move the cursor to just before 'sit',
 and a second 'M-a' will move it into the 'type;' column.


Regards
Livin Stephen Sharma


___
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-table: Table Navigation esp. for multi-line cells?

2010-08-27 Thread Livin Stephen Sharma
Juan, thank you for your response.

 In my particular context, I am using org-tables more for tracking/storing data 
'visually' in columns - rather than as a true spreadsheet with formulae, etc.

 Essentially, I resorted to multi-lines cells since
 I would like to have each field be immediately readable in it's entirety
 (some columns run several english sentences long, really) 


I can experiment with 'regular' single-line cells in this context and see if it 
feels convenient after some use: I will probably either use
 + C-u C-c ` to make the text visible, OR
 + read it off the tooltip 'hovering' over the cell
(both with column-width specifications)

Regards
Livin Stephen Sharma
PS: I *may* be able to get what i need without any tables at all.. using 
column-view and related features. Thanks.



On Aug 27, 2010, at 18:11:01 , Juan Pechiar wrote:

 Hi Livin,
 
 As far as I know, orgmode does not support multi-line cells.
 
 The example table you provided contains 7 rows (+ formatting at top)
 plus 2 h-lines (horizontal separator).
 
 h-lines separate table sections (e.g. headings from contents).
 
 In this context, the behaviour you are reporting with M-a and M-e is
 correct.
 
 Regards,
 .j.
 
 On Fri, Aug 27, 2010 at 03:59:16PM +0530, Livin Stephen Sharma wrote:
 The Manual describes these keys like this:
 M-a Move to beginning of the current table field, or on to the previous 
 field.
 M-e Move to end of the current table field, or on to the next field.
 
 Are they supposed to work the same within mult-line cells?
 
 If cursor is before 'amet' in entry E-01,
 is there a single command to move it:
 a. to the end of consectetur, or
 b. to the beginning of Lorem in the same cell.
 
   |---+---+--+--|
   | / | |||
   |   | 5   | 20 | 20 |
   |   | s.no. | type;| text |
   |---+---+--+--|
   |   | E-01  | original | Lorem ipsum dolor|
   |   |   |  | sit amet,|
   |   |   |  | consectetur  |
   |---+---+--+--|
   |   | E-02  | caps | Lorem Ipsum Dolor|
   |   |   |  | Sit Amet,|
   |   |   |  | Consectetur  |
   |---+---+--+--|
 
 I find that the first 'M-a' will move the cursor to just before 'sit',
 and a second 'M-a' will move it into the 'type;' column.


___
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-iswitchb documentation

2010-06-28 Thread Livin Stephen Sharma
Thanks for mentioning these variables!
 I checked and found that the 'completion' variables were set in a way that 
gave me the C-c b behavior that i did not like/want.

I have now added this to my org init file:
 (setq org-completion-use-iswitchb t)
 (setq org-completion-use-ido nil)


Regards
Livin Stephen Sharma

On Jun 28, 2010, at 15:49:50 , Stephen Eglen wrote:

 Dear all,
 
 As the author of iswitchb, I was very happy to see M-x org-iswitchb
 included.  Further, it is recommended as a default keybinding in the
 manual:
 
 --
 1.3 Activation
 ==
 
 ...
 (add-to-list 'auto-mode-alist '(\\.org\\' . org-mode))
 (global-set-key \C-cl 'org-store-link)
 (global-set-key \C-ca 'org-agenda)
 (global-set-key \C-cb 'org-iswitchb)
 --
 
 So I was surprised when trying org-iswitchb that I didn't see the
 iswitchb feedback when typing buffer names.  I eventually found that I
 needed to set either of the following variables to t so that this would
 work:
 
  org-completion-use-iswitchb, org-completion-use-ido
 
 These variables are not mentioned in the docstrings of either
 org-iswitchb or org-icompleting-read.   Here is a suggested patch to the
 docstring for org-iswitchb.
 
 Thanks for all the good work, as ever!
 
 Stephen
 
 $ git diff org.el
 
 diff --git a/lisp/org.el b/lisp/org.el
 index 7bb4f45..67e0278 100644
 --- a/lisp/org.el
 +++ b/lisp/org.el
 @@ -15201,7 +15201,13 @@ changes from another.  I believe the procedure must 
 be l
 (defun org-iswitchb (optional arg)
   Use `org-icompleting-read' to prompt for an Org buffer to switch to.
 With a prefix argument, restrict available to files.
 -With two prefix arguments, restrict available buffers to agenda files.
 +With two prefix arguments, restrict available buffers to agenda files.
 +
 +To see feedback whilst typing the buffer name, you can use the
 +facilities of either the ido or iswitchb package.  Set either
 +`org-completion-use-iswitchb' or `org-completion-use-ido' to
 +non-nil and see documentation of those variables for further
 +details.
   (interactive P)
   (let ((blist (cond ((equal arg '(4))  (org-buffer-list 'files))
  ((equal arg '(16)) (org-buffer-list 'agenda))
 
 ___
 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] Keeping agenda window

2010-06-15 Thread Livin Stephen Sharma
Radek,
 have you tried 'org-agenda-follow-mode'?
 [ yes, I did see you write ..if i follow the link to one of my outlines.. in 
your email :) ]

Livin Stephen Sharma



On Jun 15, 2010, at 13:23:31 , Radosław Grzanka wrote:

 Hello,
  I'm pretty new user of emacs and orgmode. Here is my problem that I tried to 
 solve for couple of days now.
 When I open agenda window it splits my frame horizontally - I browse my 
 agenda and that is great.
However, if I follow the link to one of my outlines it opens in the window 
 of agenda - this is not what I want. I want it to open in my upper window 
 (preferably moving cursor and focus there) and leave the agenda window intact 
 so I can still see it.
  I've browsed 'org-customize' but foud no variable responsible for such 
 behaviour. Could someone point me in the correct direction?
 
 Org-version 6.36c Emacs version 23.2.1 on windows.
 
 Thanks,
  Radek.
 
 
 ___
 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] org-cycle-agenda-files is not cycling through all my 15 agenda files - bug?

2010-06-01 Thread Livin Stephen Sharma

how many does it iterate over? which does it skip?

is the highlighted entry intentionally included twice?


On Jun 01, 2010, at 12:17:32 , Charles Cave wrote:

 '(org-agenda-files (quote (c:/Charles/GTD/taskdiary.org
c:/Charles/GTD/newgtd.org
c:/Charles/GTD/IR.org
c:/Charles/GTD/kyo.org
c:/Charles/GTD/chinglish.org
c:/Charles/GTD/chat_er_pres.org
c:/Charles/GTD/certiv.org
c:/Charles/GTD/cer_publicity.org
c:/Charles/GTD/storytelling.org  repeat ?
c:/Charles/GTD/reading.org
c:/Charles/GTD/drawing.org
c:/Charles/GTD/fitness.org
c:/Charles/GTD/storytelling.org  ?
c:/Charles/GTD/birthday.org
c:/Charles/GTD/music.org
)
   )
)

___
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] unordered list feature request: new sub-lists automatically switch to different list-character

2010-05-22 Thread Livin Stephen Sharma

Livin Stephen Sharma



On May 22, 2010, at 11:12:38 , Carsten Dominik wrote:

 
 On May 21, 2010, at 9:14 PM, Livin Stephen Sharma wrote:
 
 Scott, Juri,
 thank you for your replies.
 
 'org-list-demote-modify-bullet' is exactly what I was missing.
 
 JohnW, BerntH, Carsten,
 AFAICT, the manual does not mention it?
 
 Maybe you could suggest a place in the manual where you would have liked to 
 find this information?  Maybe even a patch?

Section 2.7 Plain lists.
That was where I went looking for this information.

Perhaps between
a. the description of 'org-empty-line-terminates-plain-lists', and
b. The following commands act on items when the cursor is in the first line of 
an item (the line with the bullet or number)

I can't submit a patch,
 but this is what I might have liked to see (the documentation-addition that I 
might have submitted):

begin
--
If you find that using a different bullet for a sub-list (than that used for 
the current list-level) improves readability,  customize the variable 
'org-list-demote-modify-bullet'. For example, this lisp in your '.emacs'
 (setq org-list-demote-modify-bullet
 (quote (
 (+ . -) ; sub-list uses '-' if cu
 (- . +)
 (* . +

would result in such a 2-level list (which uses only '+'):

  Take 5!
+ Movies
  + Silence of the Lambs
  + My Cousin Vinny
+ Books
  + The Hunt for Red October
  + The Road to Omaha

instead looking like this (using '-' for sub-list)

  Take 5!
+ Movies
  - Silence of the Lambs
  - My Cousin Vinny
+ Books
  - The Hunt for Red October
  - The Road to Omaha
--
end




 
 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


Re: [Orgmode] unordered list feature request: new sub-lists automatically switch to different list-character

2010-05-21 Thread Livin Stephen Sharma
Scott, Juri,
 thank you for your replies.

'org-list-demote-modify-bullet' is exactly what I was missing.

JohnW, BerntH, Carsten,
 AFAICT, the manual does not mention it?

Thanks again!
Livin Stephen Sharma



On May 21, 2010, at 17:52:46 , Juri Krivov wrote:

 
 
 On Fri, May 21, 2010 at 7:54 AM, Livin Stephen Sharma 
 livin.step...@gmail.com wrote:
 
 Context/Sample org content
 
 current
  unordered list
+ topA
  + innerA1
  + innerA2
+ topB
  + innerB1
 
 
 proposed
  unordered list
+ topA
  - innerA1 --- '-' used automatically instead of '+'
  - innerA2 ---   
+ topB
  - innerB1 ---   
 
 -
 
 
 When creating nested/child lists ('innerX' items) under an existing list item 
 ('topX' items),
 the current behaviour does not make an effort to change the leading 
 list-denoter character (-,+,*).
 
 Could a feature be provided where creating a such a child-list would make 
 this list's items begin with a different list-denoter?
 
 I find it helps readability (and hence efficiency when working with lists) 
 when I manually (S-left, S-right) do this. If others agree, perhaps this 
 could be provided as a built-in feature?
 
 I don't know lisp, ( it's increasingly looking like it may be time to *find* 
 the time to learn JJ) so I can't code this myself.
 
 
 There seems to be already a setting that can achieve this.
 It was discussed long time ago, here
 http://thread.gmane.org/gmane.emacs.orgmode/14793/focus=15214
 In org-list.el, there is variable org-list-demote-modify-bullet.  I have not 
 tried,
 but it looks similar to your request.
 Juri

___
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] unordered list feature request: new sub-lists automatically switch to different list-character

2010-05-20 Thread Livin Stephen Sharma

Context/Sample org content

current
 unordered list
 + topA
   + innerA1
   + innerA2
 + topB
   + innerB1


proposed
 unordered list
 + topA
   - innerA1 --- '-' used automatically instead of '+'
   - innerA2 ---   
 + topB
   - innerB1 ---   

-


When creating nested/child lists ('innerX' items) under an existing list item 
('topX' items),
the current behaviour does not make an effort to change the leading 
list-denoter character (-,+,*).

Could a feature be provided where creating a such a child-list would make this 
list's items begin with a different list-denoter?

I find it helps readability (and hence efficiency when working with lists) when 
I manually (S-left, S-right) do this. If others agree, perhaps this could be 
provided as a built-in feature?

I don't know lisp, ( it's increasingly looking like it may be time to *find* 
the time to learn JJ) so I can't code this myself.



___
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: TODO's dependency on nested-Checkboxes -- 'org-enforce-todo-checkbox-dependencies'

2010-05-17 Thread Livin Stephen Sharma
Hi again,
This is regarding a TODO which has:
a. nested-checkboxes AND
b. a statistics-cookie.

Need help to achieve this:
 The TODO should auto-update/-change to 'DONE' when the stats-cookie hits 
'100%'.

--lss


On May 15, 2010, at 23:44:21 , Livin Stephen Sharma wrote:

 This is a tree from a hypothetical minimal org-file:
  TODO meet people [100%]
   - [X] John
   - [X] Jane
 
 
 
 
 How can I achieve this:
  TODO-state should automatically change to DONE when I have checked-off both 
 'John' and 'Jane' ?
 
 1. The manual showed me how to do this if John and Jane are also TODOs: using 
 org-after-todo-statistics-hook.
 I just can't find the check-box equivalent.
 
 2. Google turned up 'org-enforce-todo-checkbox-dependencies' - but that is 
 only half of what I'm looking for.
 
 
 If this feature does not already exist, I'd like to suggest this as a useful 
 enhancement.
 
 
 Livin Stephen Sharma
 
 
 

___
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: TODO's dependency on nested-Checkboxes -- 'org-enforce-todo-checkbox-dependencies'

2010-05-17 Thread Livin Stephen Sharma

Thanks
Livin Stephen Sharma

On May 17, 2010, at 15:16:40 , Carsten Dominik wrote:

 Hi,
 
 
 On May 17, 2010, at 11:40 AM, Livin Stephen Sharma wrote:
 
 Hi again,
 This is regarding a TODO which has:
 a. nested-checkboxes AND
 b. a statistics-cookie.
 
 Need help to achieve this:
 The TODO should auto-update/-change to 'DONE' when the stats-cookie hits 
 '100%'.
 
 I think you should be able to build this using org-checkbox-statistics-hook.  
 Nothing like this is built-in.

Thanks for the info, Carsten.

Too bad the code doesn't already exist.. and I don't know *any* lisp!
Still, I'm trying to give this a shot...

Could you let me know:
1. Where/how are n-done and n-not-done defined/set? I'm trying to see if I can 
reuse the example from the documentation.
2. are 'c-on' and 'c-off' the checkbox-equivalents for the n-(not)-done 
variables? Where/how are *these* set?

FWIW, this attempt did not work for me (this would leave the cursor at the 
TODO):

(defun org-summary-todo-checkbox (c-on c-off)
  Switch entry to DONE when all subentry-checkboxes are done, to TODO 
otherwise.
  (outline-previous-visible-heading 1)
  (let (org-log-done org-log-states); turn off logging
(org-todo (if (= c-off 0) DONE TODO
(add-hook 'org-checkbox-statistics-hook 'org-summary-todo-checkbox)

I get this error:
run-hooks: Wrong number of arguments: #[(c-on c-off) ÃÄ!\210Å\211^X^YÆ
Çu\203...@È\202^t^@É!*\207 [org-log-states org-log-done c-off 
outline-previous-visible-heading 1 nil org-todo 0 DONE TODO] 3 
(/Users/livin/.emacs.d/addons/org/org_stuff.elc . 6903)], 0

Could you suggest a change in the above lisp, or point out what I'm doing wrong?



  You can do it relatively easily when you are using subtasks instead of 
 checkboxes, there are examples for this in the documentation.

Yes, I recently started using this feature (picked it up from the 
documentation) to achieve this for subtask-TODOs ).

 
 - Carsten
 
 
 --lss
 
 
 On May 15, 2010, at 23:44:21 , Livin Stephen Sharma wrote:
 
 This is a tree from a hypothetical minimal org-file:
  TODO meet people [100%]
 - [X] John
 - [X] Jane
 
 
 
 
 How can I achieve this:
 TODO-state should automatically change to DONE when I have checked-off both 
 'John' and 'Jane' ?
 
 1. The manual showed me how to do this if John and Jane are also TODOs: 
 using org-after-todo-statistics-hook.
 I just can't find the check-box equivalent.
 
 2. Google turned up 'org-enforce-todo-checkbox-dependencies' - but that is 
 only half of what I'm looking for.
 
 
 If this feature does not already exist, I'd like to suggest this as a 
 useful enhancement.
 
 
 Livin Stephen Sharma
 
 
 
 
 ___
 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
 
 - 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


[Orgmode] TODO's dependency on nested-Checkboxes -- 'org-enforce-todo-checkbox-dependencies'

2010-05-15 Thread Livin Stephen Sharma
This is a tree from a hypothetical minimal org-file:
  TODO meet people [100%]
- [X] John
- [X] Jane




How can I achieve this:
 TODO-state should automatically change to DONE when I have checked-off both 
'John' and 'Jane' ?

1. The manual showed me how to do this if John and Jane are also TODOs: using 
org-after-todo-statistics-hook.
I just can't find the check-box equivalent.

2. Google turned up 'org-enforce-todo-checkbox-dependencies' - but that is only 
half of what I'm looking for.


If this feature does not already exist, I'd like to suggest this as a useful 
enhancement.


Livin Stephen Sharma



___
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] Poll: Who is using these commands

2010-05-11 Thread Livin Stephen Sharma
On 12 May 2010 06:48, Eric Schulte schulte.e...@gmail.com wrote:

 Scott Randby sran...@gmail.com writes:

 [...]
 
  I don't understand why C-M-a should be bound to take one back to the
  beginning of a heading when C-a already does this. With the proposed
  changes, one might press C-M-a and then C-M-p which is a total of 4
  keys, when the current set-up is to press C-c C-p which is only 3
  keys.  I'm not in favor of increasing the number of keys one needs to
  press to perform a basic motion.
 


 I haven't been following this thread so take this with a grain of salt, but
 I count key-chords as single keys – since they can all be pressed in a
 single motion,

I agree that chording makes for single commands.


Scott,
Also,
the C-M-a to go back to beginning of heading works when one is somewhere
'under' the heading: in the 'content'/text in that section... so I think it
is different from C-a (did I understand you right?).
:)

Scott, you had said

 I'm not in favor of increasing the number of keys one needs to press to
 perform a basic motion.


I too hope there is a 'good' resolution to this.

FWIW, I have already followed the example of other responders and bound
C-M-... to work like the C-c C-... equivalents -- I find this change to be
an improvement over C-c C-... :
 the trivial loss being that C-M-.. no longer works for parentheses-based
movement in org buffers.



  which would mean
C-M-a1 key press C-c C-a2 key presses

 but maybe my hands are just too accustomed to typing in Emacs and it's
 skewing my perception.

 Best – Eric

 ___
 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: Agenda View window splits vertically

2010-04-28 Thread Livin Stephen Sharma
Juri,
Since i prefer horizontal splitting in most contexts
this is what I put into my .emacs:

 ;; 1. window gets split horizontally (one on TOP of the other), AND
 ;; 2. AFTER splitting, further C-x 4 b will NOT lead to any more splitting 
 - reuse gets preferred
 (setq split-height-threshold 40) ; nil
 (setq split-width-threshold nil) ; 100



some unrelated customizations I made at the time (since I want the agenda front 
and center when I'm looking at it):
 (setq org-agenda-window-setup 'reorganize-frame)
 (setq org-agenda-restore-windows-after-quit t)
 (setq org-agenda-window-frame-fractions '(1.0 . 1.0))

Livin Stephen Sharma





On Apr 28, 2010, at 24:09:57 , Manish Sharma wrote:

 Juri Artamonov writes:
 
 Guys,
 
 I'm newbie in emacs. Could please advice. Somehow I get my agenda view
 appears vertically, i.e from the right side from my org file.
 
 I open org file then press C-c a and I see Agenda Commands in the
 window to the right, not to the bottom as it was before. Could you
 please advice, how to make it back and make agenda view open
 horizontally?
 
 I suspect I did not quite understand but this might help:
 http://orgmode.org/worg/org-hacks.php#sec-8
 
 HTH
 -- 
 Manish
 
 
 
 ___
 Emacs-orgmode mailing list
 Please use `Reply All' to send replies to the list.
 Emacs-orgmode@gnu.org
 http://lists.gnu.org/mailman/listinfo/emacs-orgmode

___
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] 'habit' with DEADLINE-style advance warning loses its graph

2010-04-26 Thread Livin Stephen Sharma
* TODO Send query habit/DEADLINE/graph query
  DEADLINE: 2010-04-26 Mon +1m -15d
  :PROPERTIES:
  :STYLE:habit
  :END:
  find out about advance warning (agenda-visibility) for a habit: how to
retain habit-tracking graphs in 'C-a a' agenda-view


I want:a monthly habit-style TODO that

   1. has a warning-period within which the upcoming instance of the
   repeating task may optionally be marked DONE and
   2. if the agenda view lies within the warning period, the item (and
   habit-graph) should be visible - *possibly even without the graph, **if
   it is not 'today'*



So far, after experiments and after searching the manual + google'ing, I
have not been able to achieve these requirements satisfactorily
(simultaneously).

   1. If I use DEADLINE (as shown) I lose the habit-graph
   2. If I use SCHEDULED (instead of DEADLINE), I lose advance warning


What am I missing?
___
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: 'habit' with DEADLINE-style advance warning loses its graph

2010-04-26 Thread Livin Stephen Sharma
Forgot to mention s/w version...

org-mode version from: 2010_02_25
emacs version: 23.1.90.1

Thanks
Livin Stephen Sharma



On 26 April 2010 11:28, Livin Stephen Sharma livin.step...@gmail.comwrote:
(BEGIN org-snip)



 * TODO Send habit/DEADLINE/graph query
   DEADLINE: 2010-04-26 Mon +1m -15d
   :PROPERTIES:
   :STYLE:habit
   :END:
   find out about advance warning (agenda-visibility) for a habit: how to
 retain habit-tracking graphs in 'C-a a' agenda-view


 (END org-snip)



 I want:a monthly habit-style TODO that

1. has a warning-period within which the upcoming instance of the
repeating task may optionally be marked DONE and
2. if the agenda view lies within the warning period, the item (and
habit-graph) should be visible - *possibly even without the graph, **if
it is not 'today'*



 So far, after experiments and after searching the manual + google'ing, I
 have not been able to achieve these requirements satisfactorily
 (simultaneously).

1. If I use DEADLINE (as shown) I lose the habit-graph
2. If I use SCHEDULED (instead of DEADLINE), I lose advance
warning


 What am I missing?


___
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] Are raw org files available on Worg website?

2010-04-14 Thread Livin Stephen Sharma
Curious - is there a custom css that these org-files use?
For example, I'd like to get the look of the contents-section and the fonts on 
the worg sites.

Livin Stephen Sharma



On Apr 14, 2010, at 04:57:26 , Dan Davison wrote:

 Bastien bastien.gue...@wikimedia.fr writes:
 
 Hi Dan,
 
 Dan Davison davi...@stats.ox.ac.uk writes:
 
 Could someone tell me if the plain-text org versions of Worg pages are
 published by default on the Worg website, or if there is a way to make
 the org file available on Worg for a particular Worg page?
 
 Here it is: http://orgmode.org/worg/sources/
 
 Thanks Bastien. I added a link to this in the Pages About Worg section
 of the index.
 
 Dan
 
 
 HTH
 
 
 ___
 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] Exporting to HTML opens resulting file

2010-04-08 Thread Livin Stephen Sharma
Xin, from your email I couldn't determine the org-version you're using.
I believe a /recent/ version would be required for this variable to work.

I'm using the nightly build 6.34trans dated  2010_02_25; I find
things to work fine
- .html buffer does not linger around with
C-e C-x b


___
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] possible bug: TAB after elipsis

2010-03-25 Thread Livin Stephen Sharma
Yep, I see this too!

setup
org-version: 6.34trans (from 2010_02_25)
emacs: 23.1.50.1

Livin Stephen Sharma



On Mar 24, 2010, at 23:34:40 , Anthony Lander wrote:

 If the cursor is after the elipsis on a folded entry like this:
 
    Some entry...|
 
 pressing TAB doesn't expand the entry, or in fact, do anything useful at all. 
 Is it possible to get it to expand the entry, or am I missing something?
 
 Thanks,
 
  -Anthony
 
 
 ___
 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] enhancement request: include check-boxes in Shift-arrow cycling on lists

2010-02-28 Thread Livin Stephen Sharma
I think this would be a useful in daily use: to be able to easily convert a 
list [whether numbers or bullets] into a list of  - [ ] foo check-box items.
 FWIW, I use regex'es to achieve this for now.

Livin Stephen Sharma





___
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] enhancement request: include check-boxes in Shift-arrow cycling on lists

2010-02-28 Thread Livin Stephen Sharma
I just tried this and found it to work well enough for my requirements.
Thanks for the information [and for the Manual-reference], David.

Livin Stephen Sharma



On Mar 01, 2010, at 12:59:27 , David Maus wrote:

 Livin Stephen Sharma wrote: 
 
 I think this would be a useful in daily use: to be able to easily
 convert a list [whether numbers or bullets] into a list of  - [ ]
 foo check-box items.  FWIW, I use regex'es to achieve this for now.
 
 Turning plain list items into checkboxes is already possible:
 
 ,
 | C-c C-x C-b
 | 
 | Toggle checkbox status or (with prefix arg) checkbox presence at point. 
 With double prefix argument, set it to ‘[-]’, which i s considered to be an 
 intermediate state.
 | 
 |   * If there is an active region, toggle the first checkbox in the
 | region and set all remaining boxes to the same status as the
 | first. With a prefix arg, add or remove the checkbox for all items
 | in the region.
 | 
 |   * If the cursor is in a headline, toggle checkboxes in the region
 | between this headline and the next (so not the entire subtree).
 | 
 |   * If there is no active region, just toggle the checkbox at point.
 `
 (Manual, Chp. 5.6)
 
 HTH
 -- 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


[Orgmode] [ORG and emacs-w3m] C-c C-e b: 'configure' it to open html-page within emacs

2010-02-27 Thread Livin Stephen Sharma
When I export an agenda-file as html using the 'open-in-browser' variant ['C-c 
C-e b'],
 how can I have the resulting html 'opened' using emacs-w3m -- instead of the 
'external' browser [Safari in my case]

FWIW, I already have/use this:
 (setq browse-url-browser-function 'w3m-browse-url)



I'm using:
 Emacs 23.50.1
 Org-mode 6.34 from the 2010_02_25 snapshot

On a somewhat related note:
 which, if any, in-emacs browser(s) are the most popular among org-mode users? 
Are any such browsers more friendly/compatible WRT org-mode?

[ In Carsten's google tech-talk, I notice that T.V. Raman mentions using emacs 
as a browser? ]


Thanks
Livin Stephen Sharma




___
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-export [with respect to lists] to HTML

2010-02-18 Thread Livin Stephen Sharma

Livin Stephen Sharma



On Feb 18, 2010, at 17:08:00 , Carsten Dominik wrote:

 
 On Feb 18, 2010, at 7:37 AM, Livin Stephen Sharma wrote:
 
 Well, here's the complaint then:
 I upgraded to the 'released' version [6.34c], but that did NOT fix the 
 problem for me!
 
 Then I turned off some customizations [selected by *intelligent* guessing!].
 Looks like this one makes all the difference:
 (setq org-empty-line-terminates-plain-lists t)
 
 
 Setting it to 'nil' fixed the exported-list for me.
 
  Looks like problem [kinda] solved :)
 
 Still sounds like a bug to me, I'll try to look into it.


First, since I have your attention... let me take this opportunity to join the 
multitude of grateful org-mode users in saying: 
Great piece of work, Carsten and Team!

Also, thanks for tracking this.


 
 
 
 Livin Stephen Sharma
 PS: The 'auto-indent' provided by org-empty-line-terminates-plain-lists is 
 a nice convenience - but I'll live without it.
 
 Can you please explain what you mean here? what auto-indent is provided when 
 setting that variable?

Mistake on my part.. please ignore that!



 
 Thanks
 
 - Carsten
 
 
 
 
 
 On Feb 17, 2010, at 23:50:12 , Mark Elston wrote:
 
 Livin,
 
 On 2/17/2010 7:23 AM, Livin Stephen Sharma wrote:
 If it works for you, then I can't complain!
 
 Well, you *could*, but it would be better to upgrade first...
 :)
 
 Mark
 
 Thank you so much... I'll play with the settings, or move to the new
 version.
 
 
 
 On 17 February 2010 19:57, Mark Elston m_els...@comcast.net
 mailto:m_els...@comcast.net wrote:
 
   Livin,
 
   When I export your file to html I get proper numbering.  I'm
   not sure why you don't.
 
   You are using an older version of org-mode.  I have 6.34 and
   it works as expected.
 
   Mark
 
 
 
 ___
 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
 
 - Carsten
 
 
 



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


Re: [Orgmode] org-export [with respect to lists] to HTML

2010-02-17 Thread Livin Stephen Sharma
Sebastian,
In the 'test.org' file **attached** in my previous mail, indentation was as
you had suggested [you may verify or test/use that as a 'minimal example' to
confirm]. I think text pasted into the email itself [under the title 'org
content'] may have lost some white-space.


Thanks for the BEGIN_QUOTE suggestion.
Here's a funny thing I see:
If I use *begin_quote*, the exported html has list-items numbered *correctly
*. However,
If I use *begin_example*, the numbering gets messed up again!

Attaching slightly modified version of org file and exported-html [ *C-c C-e
b* ]






On 17 February 2010 19:00, Sebastian Rose sebastian_r...@gmx.de wrote:

 Hi Stephan,


 list are made from indentation. The `#+begin_example' (did you mean
 `#+begin_quote'?) must be indented to be considered a part of the first
 list item. This way, it is considered the end of the list.


 It should be:

 * Simonisms
  1. Kodachrome
 #+BEGIN_EXAMPLE
  When I think back on all the crap I learned in high school, It's a
  wonder I can think at all
 #+END_EXAMPLE
  2. Sound of silence


Title: When I think back on all the crap I learned in high school






When I think back on all the crap I learned in high school



Table of Contents


1 Simonisms 'example' 
2 Simonisms 'quote' 





1 Simonisms 'example' 




Kodachrome






When I think back on all the crap I learned in high school, It's a wonder I can think at all






Sound of silence  wrong 
Ten thousand people










2 Simonisms 'quote' 




Kodachrome


When I think back on all the crap I learned in high school, It's a wonder I can think at all





Sound of silence  correct 
Ten thousand people





 Date: 2010-02-17 19:29:19 IST
HTML generated by org-mode 6.31a in emacs 23






test.org
Description: Binary data
___
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-export [with respect to lists] to HTML

2010-02-17 Thread Livin Stephen Sharma
If it works for you, then I can't complain!
Thank you so much... I'll play with the settings, or move to the new
version.



On 17 February 2010 19:57, Mark Elston m_els...@comcast.net wrote:

 Livin,

 When I export your file to html I get proper numbering.  I'm
 not sure why you don't.

 You are using an older version of org-mode.  I have 6.34 and
 it works as expected.

 Mark


 On 2/16/2010 11:03 PM, Livin Stephen Sharma wrote:


 I'm pasting content from an org file, and the HTML generated from it
 below [also attaching files - in case Mail garbles the text here].
 The problem I see is that list-numbering isn't quite correct in the HTML.

 I intended/expected 'Sound of Silence' to be list-item '2' since that is
 what it shows up as in the org-file [even after 'C-c C-c'].

 Any pointers on what I'm doing wrong? Or is hand-tweaking the HTML
 unavoidable? This is on org-mode 6.31a in emacs 23




 ___
 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] org-export [with respect to lists] to HTML

2010-02-17 Thread Livin Stephen Sharma
Well, here's the complaint then:
I upgraded to the 'released' version [6.34c], but that did NOT fix the problem 
for me!

Then I turned off some customizations [selected by *intelligent* guessing!].
Looks like this one makes all the difference:
 (setq org-empty-line-terminates-plain-lists t)


Setting it to 'nil' fixed the exported-list for me.

  Looks like problem [kinda] solved :)


Livin Stephen Sharma
PS: The 'auto-indent' provided by org-empty-line-terminates-plain-lists is a 
nice convenience - but I'll live without it.



On Feb 17, 2010, at 23:50:12 , Mark Elston wrote:

 Livin,
 
 On 2/17/2010 7:23 AM, Livin Stephen Sharma wrote:
 If it works for you, then I can't complain!
 
 Well, you *could*, but it would be better to upgrade first...
 :)
 
 Mark
 
 Thank you so much... I'll play with the settings, or move to the new
 version.
 
 
 
 On 17 February 2010 19:57, Mark Elston m_els...@comcast.net
 mailto:m_els...@comcast.net wrote:
 
Livin,
 
When I export your file to html I get proper numbering.  I'm
not sure why you don't.
 
You are using an older version of org-mode.  I have 6.34 and
it works as expected.
 
Mark
 
 

___
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] org-export [with respect to lists] to HTML

2010-02-16 Thread Livin Stephen Sharma
Title: When I think back on all the crap I learned in high school…
I'm pasting content from an org file, and the HTML generated from it below [also attaching files - in case Mail garbles the text here].The problem I see is that list-numbering isn't quite correct in the HTML.I intended/expected 'Sound of Silence' to be list-item '2' since that is what it shows up as in the org-file [even after 'C-c C-c'].Any pointers on what I'm doing wrong? Or is hand-tweaking the HTML unavoidable?This is onorg-mode 6.31a in emacs 23org file content:#+TITLE: When I think back on all the crap I learned in high school...#+OPTIONS: toc:2 ^:nil author:nil#+STARTUP: content#+STARTUP: hidestars#+FILETAGS: PERSONAL* Simonisms1. Kodachrome	#+BEGIN_EXAMPLE	When I think back on all the crap I learned in high school, It's a wonder I can think at all	#+END_EXAMPLE2. Sound of silence	Ten thousand peoplegenerated HTML content:

When I think back on all the crap I learned in high school…



Table of Contents


1 Simonisms 





1 Simonisms 




Kodachrome






When I think back on all the crap I learned in high school, It's a wonder I can think at all






Sound of silence
Ten thousand people





 Date: 2010-02-17 12:27:00 IST
HTML generated by org-mode 6.31a in emacs 23





Livin Stephen Sharma


Title: When I think back on all the crap I learned in high school






When I think back on all the crap I learned in high school



Table of Contents


1 Simonisms 





1 Simonisms 




Kodachrome






When I think back on all the crap I learned in high school, It's a wonder I can think at all






Sound of silence
Ten thousand people





 Date: 2010-02-17 12:27:00 IST
HTML generated by org-mode 6.31a in emacs 23




Title: When I think back on all the crap I learned in high school…


test.org
Description: Binary data
Title: When I think back on all the crap I learned in high school…
___
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] Leading stars not always hidden

2010-02-11 Thread Livin Stephen Sharma
Thanks, Carsten.
Turning the the threads back to you and Christian... hope my interjection
wasn't too far OT.


On 11 February 2010 21:40, Carsten Dominik carsten.domi...@gmail.comwrote:


 On Feb 11, 2010, at 10:17 AM, Livin Stephen Sharma wrote:

  Possibly related issue: screenshot at end/below.
 After I run a sparse-tree command [say, C-c / m matchers - I used 'A'
 for this example]
  then the matched sub-trees have the stars visible in
 secondary-selection face

 To come out of the sparse-tree view, I use S-TAB even after this the
 previously matched starts remain visible [see screenshot].
 However, this is corrected easily with C-c C-c .


 This is all as it should be.  The stars are highlighted to indicate where
 the search matched.

 - Carsten


 Livin Stephen Sharma



 On Feb 11, 2010, at 13:33:26 , Carsten Dominik wrote:


 On Feb 11, 2010, at 8:28 AM, Christer Enfors wrote:

  In both cases (both the truly hidden stars and the incorrectly visible
 stars) the face is 'org-hide'. It's properties are all unspecified 
 according
 to describe-face except for Foreground which is set to 'black'. I have set
 it to black using Customize, because by default they were white (and I'm
 using a black background).

 Could this be an Emacs bug?


 An Emacs bug for your specific system, very possible, yes.

 - Carsten



 --
 Christer Enfors

 --- On Wed, 2/10/10, Carsten Dominik carsten.domi...@gmail.com wrote:

 From: Carsten Dominik carsten.domi...@gmail.com
 Subject: Re: [Orgmode] Leading stars not always hidden
 To: Christer Enfors cenf...@yahoo.com
 Cc: Emacs org-mode emacs-orgmode@gnu.org
 Date: Wednesday, February 10, 2010, 7:20 PM


 On Feb 10, 2010, at 6:54 PM, Christer Enfors wrote:

  Could it be a problem with my terminal? I'm using GLink, and I think
 the TERM environment variable is set to dtterm, if that's of any relevance.

 Unfortunately, I have no idea.

 If you go to the incorrectly visible stars and execute M-x describe-face
 RET, do you then get something different from when you do it on the normal
 hidden stars?

 - Carsten


 
  --Christer Enfors
 
 
  From: Carsten Dominik carsten.domi...@gmail.com
  To: Christer Enfors cenf...@yahoo.com
  Cc: Emacs org-mode emacs-orgmode@gnu.org
  Sent: Wed, February 10, 2010 6:03:18 PM
  Subject: Re: [Orgmode] Leading stars not always hidden
 
  I have never seen this eeffect
 
  - Carsten
 
  On Feb 10, 2010, at 4:13 PM, Christer Enfors wrote:
 
   I use org-indent-mode and (setq org-hide-leading-stars t). This
 mostly works, but sometimes the supposedly hidden stars are visible as 
 white
 (my default foreground color) on some headlines. I'm not sure, but I think
 it's always the first and / or the last sibling headline that show this
 problem. The middle headings are never affected, if I remember correctly.
  
   Does anybody else have this problem? Is it a known bug?
  
   I've attached a screenshot (in a Word document, because my work
 computer doesn't have MS Paint or similar for some bizarre reason).
  
   - AIX 5.3
   - Emacs 23.1.2
   - Org-mode 6.34c
  
   --Christer Enfors
  
   org-picture.doc___
   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
 
  - Carsten
 
 
 
 
 

 - Carsten





 - 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



 org_stars -  2010-02-11 at 14.45.47 .png

 ___
 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


 - 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


[Orgmode] automatically kill html buffer after org-export

2010-02-11 Thread Livin Stephen Sharma
I find the html [and probably tex, etc] buffers that org-export generates 
during export as html and open file in browser to get in the way quite a lot
 - i end up having to frequently kill them to reduce keystrokes required when 
selecting the buffer I want to switch to.

If a user *wants* the buffer to linger post-export, perhaps a C-u prefix could 
enable that? [just a suggestion!]


This would be a great convenience to have.
 Especially since I prefer to use iswitch-buffer (instead of 'org-iswitchb).

[ have only started using org-mode in everyday-work very recently ]


Livin Stephen Sharma





___
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] Minor bug: Calendar buffer with Lucida Grande

2010-02-10 Thread Livin Stephen Sharma
non-fixed width fonts like Lucida Grande render the Calendar buffer 
unreadable/unusable; specifically, the dates [numerals] don't line up properly 
under the days ['Su', 'Mo'... 'Sa']
Is this a known fact?

Perhaps a fixed-width 'calendar-face' should be added in org-mode to handle 
this?

I don't know lisp to create such a calendar-face and perhaps a calendar-mode 
hook that would apply it


Livin Stephen Sharma




___
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