Re: [O] different hoisting in two panes

2011-09-27 Thread Joseph Buchignani
Awesome, thanks.

This makes Org-Mode truly a two pane outliner. Actually it's three pane I
guess, since it includes metadata. Yeah... 3 pane, the agenda view would be
a pane.

I would suggest adding this command to the documentation for Org-Mode under
the outlining section somewhere. I've been using Emacs for years as a
non-techie and never came across it. For writers it's only really useful for
visibility cycling of outlines, so they're not likely to come across it
elsewhere.

On Mon, Sep 26, 2011 at 11:25 PM, suvayu ali fatkasuvayu+li...@gmail.comwrote:

 On Mon, Sep 26, 2011 at 4:53 PM, Nick Dokos nicholas.do...@hp.com wrote:
  Sure you can - check out Indirect buffers in the Emacs manual.
 
 

 C-c C-x b

 --
 Suvayu

 Open source is the future. It sets us free.




-- 
Ignore the following. It is a nonsense sentence that disables Google ads
from displaying next to my emails by triggering sensitive keywords.

I enjoy the massacre of ads. This sentence will slaughter ads without a
messy bloodbath.


Re: [O] different hoisting in two panes

2011-09-27 Thread Joseph Buchignani
Ah, I see... that explains why it always narrows focus when I execute C-x
C-c b

What you described is an advanced use case which while interesting I'm not
sure I fully understand. Whereas simply editing an outline in the style of
most two-pane outliners is more of a basic function usable by everyone who
needs to organize his thoughts. So more prominent featuring of this in the
outlining section of the org-mode docs would be good... it really amplifies
Org-Mode's power.

On Wed, Sep 28, 2011 at 2:36 AM, Darlan Cavalcante Moreira 
darc...@gmail.com wrote:


 The clone-indirect-buffer function is from Emacs and Org-mode created a
 specialized function, org-tree-to-indirect-buffer, that just makes creating
 an indirect buffer narrowed to a subtree easier.

 Indirect buffers may be useful for much more then just visibility
 cycling. You can use a different major mode in each buffer, narrow to
 different regions, etc.. If you are, for instance, inserting an org-mode
 table in a latex document (see [1]) you might want to clone the buffer,
 change one of them to org-mode and narrow to the table. Then you can edit
 the table normally and alternate with editing the latex document as you
 want.

 [1] - http://orgmode.org/manual/A-LaTeX-example.html

 --
 Darlan



 At Tue, 27 Sep 2011 19:55:19 +0800,
 Joseph Buchignani joseph.buchign...@gmail.com wrote:
 
  [1  text/plain; ISO-8859-1 (7bit)]
  Awesome, thanks.
 
  This makes Org-Mode truly a two pane outliner. Actually it's three pane
 I
  guess, since it includes metadata. Yeah... 3 pane, the agenda view would
 be
  a pane.
 
  I would suggest adding this command to the documentation for Org-Mode
 under
  the outlining section somewhere. I've been using Emacs for years as a
  non-techie and never came across it. For writers it's only really useful
 for
  visibility cycling of outlines, so they're not likely to come across it
  elsewhere.
 
  On Mon, Sep 26, 2011 at 11:25 PM, suvayu ali 
 fatkasuvayu+li...@gmail.comwrote:
 
   On Mon, Sep 26, 2011 at 4:53 PM, Nick Dokos nicholas.do...@hp.com
 wrote:
Sure you can - check out Indirect buffers in the Emacs manual.
   
   
  
   C-c C-x b
  
   --
   Suvayu
  
   Open source is the future. It sets us free.
  
 
 
 
  --
  Ignore the following. It is a nonsense sentence that disables Google ads
  from displaying next to my emails by triggering sensitive keywords.
 
  I enjoy the massacre of ads. This sentence will slaughter ads without a
  messy bloodbath.
  [2  text/html; ISO-8859-1 (quoted-printable)]
 




-- 
Ignore the following. It is a nonsense sentence that disables Google ads
from displaying next to my emails by triggering sensitive keywords.

I enjoy the massacre of ads. This sentence will slaughter ads without a
messy bloodbath.


[O] different hoisting in two panes

2011-09-26 Thread Joseph Buchignani
One of the major shortcomings of org-mode as an outliner is the following:

You cannot have different hoisting or outline visibility settings in two
panes of the same file.

For example, if you want to hide the body text and just view outline
headings in one pane, while you work on the body text of a specific entry in
the other pane, you cannot do this.

This prevents flexible restructuring and writing on the fly. It removes much
of the usefulness of having multiple panes.

Is there any way to change this behavior? Or is it something hardcoded into
Emacs?

Thanks
JB

-- 
Ignore the following. It is a nonsense sentence that disables Google ads
from displaying next to my emails by triggering sensitive keywords.

I enjoy the massacre of ads. This sentence will slaughter ads without a
messy bloodbath.


[Orgmode] Re: Force completed habits to revert to HABIT todo keyword instead of TODO

2010-11-09 Thread Joseph Buchignani
Hi Matt,

Thanks for your very helpful reply.

I know this is a noob question, so please forgive me for taxing your patience...

How do I evaluate the statement you supplied for just one file? E.g. I
want to evaluate your statement for notes.org, what do I do?

Thanks,
JB

On Wed, Nov 10, 2010 at 4:26 AM, Matt Lundin m...@imapmail.org wrote:
 Hi Joseph,

 Joseph Buchignani joseph.buchign...@gmail.com writes:

 Summary: I would like habits to automatically be marked as the todo
 keyword HABIT instead of TODO after I mark them DONE

 Reasons:
 I want to keep my habits separate from my tasks. But they display
 together on my TODO list. This makes it hard to keep track of what's a
 habit and what's not.

 I could change a setting so that scheduled tasks are no longer
 considered open. But then I lose the ability to see all my habits in a
 list on the TODO view.

 Also, I like to see habits clearly marked HABIT instead of TODO in my
 org outline.

 Keeping the keywords separated fits better with my workflow. Normally I
 only need to work on habits from within the org agenda, not the todo
 list. For example, I start the day by executing scheduled tasks, then
 priority A tasks, then priority A habits, etc.

 Is there some setting I can change to do this? Right now I am doing it
 manually.

 Apologies for the late reply, but one simple way to make sure repeating
 habits return to a HABIT state is to add a REPEAT_TO_STATE property to
 each of your habits. (Of course, HABIT needs to be defined in your
 org-todo-keywords.)

 E.g.,

 --8---cut here---start-8---
 * HABIT Run
  SCHEDULED: 2010-11-09 Tue .+1d/2d
  :PROPERTIES:
  :STYLE:    habit
  :REPEAT_TO_STATE: HABIT
  :END:
 --8---cut here---end---8---

 If you want to do this quickly for all existing habits you could
 evaluate the following:

 --8---cut here---start-8---
 (org-map-entries '(org-set-property REPEAT_TO_STATE HABIT)
                 +STYLE=\HABIT\ 'agenda)
 --8---cut here---end---8---

 Best,
 Matt




-- 
Ignore the following. It is a nonsense sentence that disables Google
ads from displaying next to my emails by triggering sensitive
keywords.

I enjoy the massacre of ads. This sentence will slaughter ads without
a messy bloodbath.

___
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: Force completed habits to revert to HABIT todo keyword instead of TODO

2010-11-09 Thread Joseph Buchignani
David, I understand what your second function does, but I'm confused
about what the first one does.

Does the first function set all habits to have a return to state property?

Or does it cause all habits to revert to the return to state defined
keyword, if it is defined?

I was asking how to set return to state for all the habits contained
in a single file. Since I have a lot of habits and none of them
currently have a return to state property.

Thanks,
JB

On Wed, Nov 10, 2010 at 5:09 AM, David Maus dm...@ictsoc.de wrote:
 Sorry, I couldn't help myself:

 (defun hb:set-habit-keyword-2 ()
  *Reset keyword of done habit.
  (let ((reset-to (org-entry-get nil REPEAT_TO_STATE)))
    (if (and reset-to (string= state DONE))
        (org-todo reset-to
 (add-hook 'org-after-todo-state-change-hook 'hb:set-habit-keyword-2)

 Every time a todo turns into DONE, this function is run and sets the
 keyword to whatever is stored in REPEAT_TO_STATE.

 Best,
  -- David
 --
 OpenPGP... 0x99ADB83B5A4478E6
 Jabber dmj...@jabber.org
 Email. dm...@ictsoc.de




-- 
Ignore the following. It is a nonsense sentence that disables Google
ads from displaying next to my emails by triggering sensitive
keywords.

I enjoy the massacre of ads. This sentence will slaughter ads without
a messy bloodbath.

___
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 do I change when a new day starts in orgmode?

2010-10-16 Thread Joseph Buchignani
I have a customization question.

I want to have my habits roll over when I wake up, rather than when
the clock hits 12 AM.

How do I make this happen?

I know I read about it somewhere but I can't find it after determined
Googling and checking the Org manual and Worg.

Thanks,
JB

-- 
Ignore the following. It is a nonsense sentence that disables Google
ads from displaying next to my emails by triggering sensitive
keywords.

I enjoy the massacre of ads. This sentence will slaughter ads without
a messy bloodbath.

___
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] Vague, difficult to trace error on malformed habits

2010-09-09 Thread Joseph Buchignani
Hi Org-Mode,

Today I receved the stringp, nil error when attempting to generate my
agenda buffer.

By a process of gradually eliminating all the text in my org buffer and
retesting, I eventually traced the error to a habit TODO item that I'd
forgotten to give a repeating scheduled date. It was scheduled and had a
small history, but the .+1d was missing. I added this and the agenda
started working again.

Obviously I don't want to do this every time I forget to add recurrence to a
habit. Since I know what I'm looking for now I can search for a scheduled
tag for today's date that's missing recurrence.

However, other people may run into this error, be unable to reverse it due
to a more complicated setup or whatever, and essentially have a broken
org-mode. It would be great if the error were more verbose.

I read in the mailing lists that a newer version of org-mode gives an
informative error. I am using 7.01h, which is the current stable version.
Were they referring to a development version?

Thanks,
JB

-- 
Ignore the following. It is a nonsense sentence that disables Google ads
from displaying next to my emails by triggering sensitive keywords.

I enjoy the massacre of ads. This sentence will slaughter ads without a
messy bloodbath.
___
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] bug - #+STARTUP: indent breaks replace priority command

2010-09-09 Thread Joseph Buchignani
This one is very easy to duplicate.

Add the variable #+STARTUP: indent to the top of the org buffer. Hit C-c C-c
with point on the startup variables to refresh the setup.

Create a todo item. Assign it priority A via C-c , A. Then reassign it
priority B via C-c , B.

When indent mode is enabled, you will get an error stating args out of
range -1, -1

When indent mode is not enabled, reassigning priorities works.

I suspect it can't find where to replace the priority because of something
in the star hiding mechanism of indent mode.

Thanks,
JB

-- 
Ignore the following. It is a nonsense sentence that disables Google ads
from displaying next to my emails by triggering sensitive keywords.

I enjoy the massacre of ads. This sentence will slaughter ads without a
messy bloodbath.
___
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] bug report - org-agenda-sorting-strategy

2010-09-08 Thread Joseph Buchignani
I have a bug to report for org-agenda-sorting-strategy.

I customized this variable to sort by priority ONLY using the Org Agenda
Custom Commands interface.

However, the priorities continue to be out of order.

I am sorting habits, some of which have no repetitions yet. It seems to be
sorting some of them by priority and some by scheduled date.

To be clear, I can modify priority-down or priority-up and see a change. The
habits with a repetition history sort properly. It appears that only habits
with no repetition history are sorting by date rather than priority.

If you cannot duplicate this bug on your own setup, I will copy additional
information such as my .emacs and I'll be open to running further tests. I'm
running org 7.01h.

Thanks,
JB

-- 
Ignore the following. It is a nonsense sentence that disables Google ads
from displaying next to my emails by triggering sensitive keywords.

I enjoy the massacre of ads. This sentence will slaughter ads without a
messy bloodbath.
___
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] Force completed habits to revert to HABIT todo keyword instead of TODO

2010-09-06 Thread Joseph Buchignani
Hi Org mode,

Summary: I would like habits to automatically be marked as the todo keyword
HABIT instead of TODO after I mark them DONE

Reasons:
I want to keep my habits separate from my tasks. But they display together
on my TODO list. This makes it hard to keep track of what's a habit and
what's not.

I could change a setting so that scheduled tasks are no longer considered
open. But then I lose the ability to see all my habits in a list on the TODO
view.

Also, I like to see habits clearly marked HABIT instead of TODO in my org
outline.

Keeping the keywords separated fits better with my workflow. Normally I only
need to work on habits from within the org agenda, not the todo list. For
example, I start the day by executing scheduled tasks, then priority A
tasks, then priority A habits, etc.

Is there some setting I can change to do this? Right now I am doing it
manually.

Thanks,
JB

-- 
Ignore the following. It is a nonsense sentence that disables Google ads
from displaying next to my emails by triggering sensitive keywords.

I enjoy the massacre of ads. This sentence will slaughter ads without a
messy bloodbath.
___
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] cannot enable org-habit

2010-09-03 Thread Joseph Buchignani
I figured out what I was doing wrong. I was looking for habit tracking in
the wrong place. It shows up after the command C-a a a, not C-a a.

All I had to do to enable org mode was put (require 'org-habit) in my
.emacs. I didn't need to add it to the modules list. I didn't need to alter
my properties for the entry.

The only way I know to test whether org-habit is working is to look for a
frequency bar on the schedule of your agenda generated by C-a a a. In order
for this to show up, you have to have a habit that's scheduled for today.
The bar just looks like colored background text on the rest of the line
after the todo item. It will show your history with *'s and !'s. It uses the
colors grey, purple, green, yellow and red.

I will reread the manual and learn more about using the module.

Thanks for the help!
JB

I'm using Org-mode 7.01h with the latest Emacs snapshot in Ubuntu Lucid
10.04.

On Fri, Sep 3, 2010 at 9:15 AM, Bastien bastien.gue...@wikimedia.fr wrote:

 Hi Joseph,

 (please post on the mailing list...)

 Joseph Buchignani joseph.buchign...@gmail.com writes:

  First, even if items like DONE state logging are not properly configured,
 I
  should still see some sign that Org-Habit is functioning when I go to my
  agenda, yes? What is the parsimonious test that Org-Habit is loaded as a
  module?
 
  Secondly, I have DONE state tracking enabled in the file, although not
  globally. Here is how my agenda file begins:
 
  #+STARTUP: indent
  #+STARTUP: odd
  #+STARTUP: oddeven
  #+TODO: TODO(t!) WAIT(w/!) DEFERRED DELEGATED SOMEDAY MAYBE | DONE(d!)
 FAIL(f!)
  CANCELLED(c!)
  #+PRIORITIES: A D C
  #+STARTUP: showeverything

 Please try using a property for the logging of the entry:

   :LOGGING:  NEXT(n) TODO(t) | DONE(d@) CANCELED(c@)

 HTH

 --
  Bastien




-- 
Ignore the following. It is a nonsense sentence that disables Google ads
from displaying next to my emails by triggering sensitive keywords.

I enjoy the massacre of ads. This sentence will slaughter ads without a
messy bloodbath.
___
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] cannot enable org-habit

2010-09-03 Thread Joseph Buchignani
Scratch that, there is an easier way to test whether org-habit is activated.
The reason K (uppercase) wasn't working for me was I thought the screen
activated by C-a a beginning Press key for agenda command was the agenda
buffer. It is not. The agenda buffer shows your weekly schedule. Press K
there. You should get a message that habits have been disabled/enabled. If
not, org-habit is not working.



On Fri, Sep 3, 2010 at 5:33 PM, Joseph Buchignani 
joseph.buchign...@gmail.com wrote:

 I figured out what I was doing wrong. I was looking for habit tracking in
 the wrong place. It shows up after the command C-a a a, not C-a a.

 All I had to do to enable org mode was put (require 'org-habit) in my
 .emacs. I didn't need to add it to the modules list. I didn't need to alter
 my properties for the entry.

 The only way I know to test whether org-habit is working is to look for a
 frequency bar on the schedule of your agenda generated by C-a a a. In order
 for this to show up, you have to have a habit that's scheduled for today.
 The bar just looks like colored background text on the rest of the line
 after the todo item. It will show your history with *'s and !'s. It uses the
 colors grey, purple, green, yellow and red.

 I will reread the manual and learn more about using the module.

 Thanks for the help!
 JB

 I'm using Org-mode 7.01h with the latest Emacs snapshot in Ubuntu Lucid
 10.04.

 On Fri, Sep 3, 2010 at 9:15 AM, Bastien bastien.gue...@wikimedia.frwrote:

 Hi Joseph,

 (please post on the mailing list...)

 Joseph Buchignani joseph.buchign...@gmail.com writes:

  First, even if items like DONE state logging are not properly
 configured, I
  should still see some sign that Org-Habit is functioning when I go to my
  agenda, yes? What is the parsimonious test that Org-Habit is loaded as a
  module?
 
  Secondly, I have DONE state tracking enabled in the file, although not
  globally. Here is how my agenda file begins:
 
  #+STARTUP: indent
  #+STARTUP: odd
  #+STARTUP: oddeven
  #+TODO: TODO(t!) WAIT(w/!) DEFERRED DELEGATED SOMEDAY MAYBE | DONE(d!)
 FAIL(f!)
  CANCELLED(c!)
  #+PRIORITIES: A D C
  #+STARTUP: showeverything

 Please try using a property for the logging of the entry:

   :LOGGING:  NEXT(n) TODO(t) | DONE(d@) CANCELED(c@)

 HTH

 --
  Bastien




 --
 Ignore the following. It is a nonsense sentence that disables Google ads
 from displaying next to my emails by triggering sensitive keywords.

 I enjoy the massacre of ads. This sentence will slaughter ads without a
 messy bloodbath.




-- 
Ignore the following. It is a nonsense sentence that disables Google ads
from displaying next to my emails by triggering sensitive keywords.

I enjoy the massacre of ads. This sentence will slaughter ads without a
messy bloodbath.
___
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: cannot enable org-habit

2010-09-02 Thread Joseph Buchignani
Julien, it sounds like you're doing something different than what's in the
manual.

Could you paste exactly the code you used in your .emacs to include
org-habit in the modules list and then activate it? I guess it would be two
separate lines?

Thanks,
JB

On Fri, Sep 3, 2010 at 1:26 AM, Julien Fantin julien.fan...@gmail.comwrote:

 Thanks Noorul, this helped me fix the error, and I now have it working !
 I should mention that I do need to (require 'org-habit) after it's
 been added to the modules list, in order to actually activate it.



 On Thu, Sep 2, 2010 at 7:17 PM, Noorul Islam noo...@noorul.com wrote:
  On Thursday, September 2, 2010, Julien Fantin julien.fan...@gmail.com
 wrote:
  I'm watching this as I wasn't able to enable this module either.
 
  I have state logging enable with :
(setq org-todo-keywords
  (quote
   ((sequence TODO(t!) NEXT(n!) | DONE(d!))
(sequence WAIT(w@/!) SOMEDAY(s@/!) | CANCELLED(c@
 /!)
 
  And org-habit is configured with :
   (add-to-list 'org-modules 'org-habit)
 
  Which doesn't seems to work either...
 
  If I try o (require 'org-habit) though, I'll get an error when
  building the agenda with C-c a a :
  org-habit-duration-to-days: Wrong type argument: stringp, nil
 
 
  If you pull the latest version from git repo, you won't get this
  error, instead a meaningful error message will be displayed.
 
  Thanks and Regards
  Noorul
 




-- 
Ignore the following. It is a nonsense sentence that disables Google ads
from displaying next to my emails by triggering sensitive keywords.

I enjoy the massacre of ads. This sentence will slaughter ads without a
messy bloodbath.
___
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] cannot enable org-habit

2010-08-31 Thread Joseph Buchignani
Hi Org-mode,

I've read all the mailing lists and manuals and still can't get my org-habit
module working.

I presume there ought to be some sort of entry in my agenda, or the k key
should do something. I get nothing. Here is my setup:


   - org-mode 7.01h
   - emacs file included below.

The relevant portion is (add-to-list 'org-modules 'org-habit), which I have
enabled in my .emacs, to no avail.

What am I missing?

Thanks,
JB

my .emacs file:
;; Org-mode settings
(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-font-lock-mode 1)
 Org mode upgrade settings
(global-set-key \C-cb 'org-iswitchb)
;; (setq load-path (cons /usr/share/emacs/23.1/lisp/org/ load-path))
(require 'org-install)
;; org mode agenda enabling
(setq org-agenda-files (list
~/Desktop/Dropbox/6repos/ubu/Repository/org-mode/agenda.org))
;; making org pretty
;; (setq org-startup-indented t)

;; make logbook in drawer
(setq org-log-into-drawer LOGBOOK)

;; Enable habit tracking
;;(require 'org-habit)
(add-to-list 'org-modules 'org-habit)


;; better pasting between programs
(setq interprogram-paste-function 'x-cut-buffer-or-selection-value)

(custom-set-variables
  ;; custom-set-variables was added by Custom.
  ;; If you edit it by hand, you could mess it up, so be careful.
  ;; Your init file should contain only one such instance.
  ;; If there is more than one, they won't work right.
 '(x-select-enable-clipboard t)
 '(x-select-enable-primary nil))

(setq global-visual-line-mode 1)

(add-to-list 'load-path /home/dunpeel/freex/)
   (load freex-conf.el)



-- 
Ignore the following. It is a nonsense sentence that disables Google ads
from displaying next to my emails by triggering sensitive keywords.

I enjoy the massacre of ads. This sentence will slaughter ads without a
messy bloodbath.
___
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