Re: [Orgmode] reloading causes visibility bug requiring restart

2009-04-08 Thread Carsten Dominik


On Apr 7, 2009, at 10:37 PM, Samuel Wales wrote:


Thanks, Carsten.  That sounds like exactly the right solution.

One question.  Are there any org .elc files that perform actions upon
loading?  e..g. defining a key that the user might have redefined in a
hook or setting a variable that the user might have reset?  If so,
reloading might cause unexpected behavior.  Or is this all taken care
of if the user is careful?  My guess is that you've already considered
this, but thought it worth asking just in case.


I am not sure myself.

- Carsten



___
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] reloading causes visibility bug requiring restart

2009-04-07 Thread Carsten Dominik


I have fixed org-reload, it will now only reload files
that actually have been loaded before.  Also, the reloading
will now also cover any files from the contrib/lisp directory.

- Carsten


On Apr 6, 2009, at 12:57 PM, Carsten Dominik wrote:


I believe I know what s causing this.  Reloading Org actually
does load *all* of org, including, for example,
org-inlinetask.  I think that this is what is causing the problems.

That will mean that org-reload needs fixing, and maybe that there is  
something wrong with the inline tasks.  If more people could test  
the inline tasks, maybe some bug will be identified.


I don't use org-cycle-include-plain-lists, so it ma be that the  
interaction of inline tasks with plain list cycling causes some of  
the problems.


- Carsten

On Apr 6, 2009, at 7:56 AM, Manish wrote:


On Apr 5, 2009, at 8:18 PM, Samuel Wales wrote:

I can't do the typing to formally document this, so I will just  
ask if

others experience it. If not, it will take a while.

Repeatably, with the latest git, emacs 22 cocoa, reloading org  
causes
folding/visibility/cycling problems that are not fixable by  
reverting.

Only restarting emacs fixes it.

The problems are weird enough that it should be obvious if you  
try it.

Seemingly random plain list items being the only visible part, etc.
There is no cycling state in which all is shown, either from bob or
from headline.


On Mon, Apr 6, 2009 at 12:57 AM, Carsten Dominik wrote:

Hi Samuel,

is this something that started recently, or that you have observed  
over a

longer period of time?


I also experienced those cycling issues in past two days (with no  
change in
Org config, only git updates) but I have since Emacs a couple of  
times (for
unrelated reasons.)  I will try gather more details if I see it  
again.


--
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] reloading causes visibility bug requiring restart

2009-04-06 Thread Carsten Dominik


On Apr 6, 2009, at 7:56 AM, Manish wrote:


On Apr 5, 2009, at 8:18 PM, Samuel Wales wrote:

I can't do the typing to formally document this, so I will just  
ask if

others experience it. If not, it will take a while.

Repeatably, with the latest git, emacs 22 cocoa, reloading org  
causes
folding/visibility/cycling problems that are not fixable by  
reverting.

Only restarting emacs fixes it.

The problems are weird enough that it should be obvious if you try  
it.

Seemingly random plain list items being the only visible part, etc.
There is no cycling state in which all is shown, either from bob or
from headline.


 On Mon, Apr 6, 2009 at 12:57 AM, Carsten Dominik wrote:

Hi Samuel,

is this something that started recently, or that you have observed  
over a

longer period of time?


I also experienced those cycling issues in past two days (with no  
change in
Org config, only git updates) but I have since Emacs a couple of  
times (for

unrelated reasons.)  I will try gather more details if I see it again.


I believe the only visibility change I have made in a log time is the  
one
related to inline tasks.  It would be interesting to see if the  
problems disappear by going back to commit  
49878b0387e6eb0a53971548db8b7a1a9313b4f8


- Carsten







--
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] reloading causes visibility bug requiring restart

2009-04-06 Thread Carsten Dominik

I believe I know what s causing this.  Reloading Org actually
does load *all* of org, including, for example,
org-inlinetask.  I think that this is what is causing the problems.

That will mean that org-reload needs fixing, and maybe that there is  
something wrong with the inline tasks.  If more people could test the  
inline tasks, maybe some bug will be identified.


I don't use org-cycle-include-plain-lists, so it ma be that the  
interaction of inline tasks with plain list cycling causes some of the  
problems.


- Carsten

On Apr 6, 2009, at 7:56 AM, Manish wrote:


On Apr 5, 2009, at 8:18 PM, Samuel Wales wrote:

I can't do the typing to formally document this, so I will just  
ask if

others experience it. If not, it will take a while.

Repeatably, with the latest git, emacs 22 cocoa, reloading org  
causes
folding/visibility/cycling problems that are not fixable by  
reverting.

Only restarting emacs fixes it.

The problems are weird enough that it should be obvious if you try  
it.

Seemingly random plain list items being the only visible part, etc.
There is no cycling state in which all is shown, either from bob or
from headline.


 On Mon, Apr 6, 2009 at 12:57 AM, Carsten Dominik wrote:

Hi Samuel,

is this something that started recently, or that you have observed  
over a

longer period of time?


I also experienced those cycling issues in past two days (with no  
change in
Org config, only git updates) but I have since Emacs a couple of  
times (for

unrelated reasons.)  I will try gather more details if I see it again.

--
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] reloading causes visibility bug requiring restart

2009-04-06 Thread Manish
  On Mon, Apr 6, 2009 at 5:35 PM, Sebastian Rose wrote:
  
   Cannot reproduce this on Linux/emacs23 with inline tasks on.
  
   I added scheduling and logbock drawer too, toggled the todo state for
   the inline tasks, reloaded again...
  
   No problem at all.
  
   Maybe a little test file would help to reproduce it?

I experienced it briefly this weekend but not any more.  I can not reproduce
this at will.  I also moved to Emacs pre-test at the same time so it could be
something to do with that as well.. or not.  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] reloading causes visibility bug requiring restart

2009-04-06 Thread Samuel Wales
Only tried repeating it in past few d.  Noticed in last few w but
don't remember details and was transient.

(A complicated standard test case .org distributed with org might help
in cases like this -- less need for reporter to create minimal
reproducible version.  If behavior not reproducible, the reporter can
update the test case.)

Yes, I cycle plain lists.  But the issues do not only affect plain
lists.  Most headlines never show with headline cycling.

-- 
Myalgic encephalomyelitis denialism is causing death and severe
suffering, worse than multiple sclerosis.  It is corrupting science in
the most foul way possible.  Anybody can get the disease at any time
-- permanently.  How much do science and justice matter to you?
http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm


___
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] reloading causes visibility bug requiring restart

2009-04-05 Thread Samuel Wales
I can't do the typing to formally document this, so I will just ask if
others experience it.  If not, it will take a while.

Repeatably, with the latest git, emacs 22 cocoa, reloading org causes
folding/visibility/cycling problems that are not fixable by reverting.
 Only restarting emacs fixes it.

The problems are weird enough that it should be obvious if you try it.
 Seemingly random plain list items being the only visible part, etc.
There is no cycling state in which all is shown, either from bob or
from headline.

Thanks.

-- 
Myalgic encephalomyelitis denialism is causing death and severe
suffering, worse than multiple sclerosis.  It is corrupting science in
the most foul way possible.  Anybody can get the disease at any time
-- permanently.  How much do science and justice matter to you?
http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm


___
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] reloading causes visibility bug requiring restart

2009-04-05 Thread Manish
 On Apr 5, 2009, at 8:18 PM, Samuel Wales wrote:

 I can't do the typing to formally document this, so I will just ask if
 others experience it. If not, it will take a while.

 Repeatably, with the latest git, emacs 22 cocoa, reloading org causes
 folding/visibility/cycling problems that are not fixable by reverting.
 Only restarting emacs fixes it.

 The problems are weird enough that it should be obvious if you try it.
 Seemingly random plain list items being the only visible part, etc.
 There is no cycling state in which all is shown, either from bob or
 from headline.

  On Mon, Apr 6, 2009 at 12:57 AM, Carsten Dominik wrote:
   Hi Samuel,
  
   is this something that started recently, or that you have observed over a
   longer period of time?

I also experienced those cycling issues in past two days (with no change in
Org config, only git updates) but I have since Emacs a couple of times (for
unrelated reasons.)  I will try gather more details if I see it again.

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