emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* BUG: clock table gets corrupted (Emacs 21)
@ 2009-01-12 22:42 Stefan Ring
  2009-01-12 23:39 ` Stefan Ring
  2009-01-14  6:48 ` Carsten Dominik
  0 siblings, 2 replies; 8+ messages in thread
From: Stefan Ring @ 2009-01-12 22:42 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

today I decided to bisect a major annoyance that has bugged me for quite 
some time now. I'm using a relatively old version of Emacs on Fedora 5. 
Emacs 21.4.1 from emacs-21.4-14.x86_64.rpm, to be exact.

Upon clocking in, a single CLOCK: line is converted to a :CLOCK: block, 
and this is where the trouble is. On my machine, this is what happens. 
Before:

* Test
   CLOCK: [2009-01-12 Mon 22:57]--[2009-01-12 Mon 22:57] =>  0:00

After clocking in:

* Test
   :CLOCK:

   CLOCK: [2009-01-12 Mon 22:57]--[2009-01-12 Mon 22:57] =>  0:00
   :END:CLOCK: [2009-01-12 Mon 23:27]

The exact changeset that broke this is: 
f70127dd3f95473ac80aa407bafca8f68f08e002
And within that specifically the "(org-clock-in): Use 
org-indent-line-function to indent clock lines." part (+1/-1 line).

When I revert this single line in the current head, it starts working again.

HTH
Stefan

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: BUG: clock table gets corrupted (Emacs 21)
  2009-01-12 22:42 BUG: clock table gets corrupted (Emacs 21) Stefan Ring
@ 2009-01-12 23:39 ` Stefan Ring
  2009-01-13 14:34   ` Stefan Ring
  2009-01-14  6:48 ` Carsten Dominik
  1 sibling, 1 reply; 8+ messages in thread
From: Stefan Ring @ 2009-01-12 23:39 UTC (permalink / raw)
  To: emacs-orgmode

> When I revert this single line in the current head, it starts working 
> again.

Actually I also have to revert the change to org-clock-find-position. 
Sorry, missed that before.

Stefan

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: BUG: clock table gets corrupted (Emacs 21)
  2009-01-12 23:39 ` Stefan Ring
@ 2009-01-13 14:34   ` Stefan Ring
  0 siblings, 0 replies; 8+ messages in thread
From: Stefan Ring @ 2009-01-13 14:34 UTC (permalink / raw)
  To: emacs-orgmode

Stefan Ring wrote:
>> When I revert this single line in the current head, it starts working 
>> again.
> 
> Actually I also have to revert the change to org-clock-find-position. 
> Sorry, missed that before.

But then creating the clock table doesn't work anymore...
So all is lost ;).

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: BUG: clock table gets corrupted (Emacs 21)
  2009-01-12 22:42 BUG: clock table gets corrupted (Emacs 21) Stefan Ring
  2009-01-12 23:39 ` Stefan Ring
@ 2009-01-14  6:48 ` Carsten Dominik
  2009-01-15  8:56   ` Stefan Ring
  1 sibling, 1 reply; 8+ messages in thread
From: Carsten Dominik @ 2009-01-14  6:48 UTC (permalink / raw)
  To: Stefan Ring; +Cc: emacs-orgmode

Hi Stefan,

this problem seems only to happen in Emacs 21, and I have
stopped putting time into Emacs 21 support.  Can't you just
get a more recent version of Emacs?

- Carsten

On Jan 12, 2009, at 11:42 PM, Stefan Ring wrote:

> Hi,
>
> today I decided to bisect a major annoyance that has bugged me for  
> quite some time now. I'm using a relatively old version of Emacs on  
> Fedora 5. Emacs 21.4.1 from emacs-21.4-14.x86_64.rpm, to be exact.
>
> Upon clocking in, a single CLOCK: line is converted to a :CLOCK:  
> block, and this is where the trouble is. On my machine, this is what  
> happens. Before:
>
> * Test
>  CLOCK: [2009-01-12 Mon 22:57]--[2009-01-12 Mon 22:57] =>  0:00
>
> After clocking in:
>
> * Test
>  :CLOCK:
>
>  CLOCK: [2009-01-12 Mon 22:57]--[2009-01-12 Mon 22:57] =>  0:00
>  :END:CLOCK: [2009-01-12 Mon 23:27]
>
> The exact changeset that broke this is:  
> f70127dd3f95473ac80aa407bafca8f68f08e002
> And within that specifically the "(org-clock-in): Use org-indent- 
> line-function to indent clock lines." part (+1/-1 line).
>
> When I revert this single line in the current head, it starts  
> working again.
>
> HTH
> Stefan
>
>
> _______________________________________________
> 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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: BUG: clock table gets corrupted (Emacs 21)
  2009-01-14  6:48 ` Carsten Dominik
@ 2009-01-15  8:56   ` Stefan Ring
  2009-01-15  9:17     ` Scot Becker
  2009-01-17  8:01     ` Carsten Dominik
  0 siblings, 2 replies; 8+ messages in thread
From: Stefan Ring @ 2009-01-15  8:56 UTC (permalink / raw)
  To: emacs-orgmode

Carsten Dominik wrote:
> Hi Stefan,
> 
> this problem seems only to happen in Emacs 21, and I have
> stopped putting time into Emacs 21 support.  Can't you just
> get a more recent version of Emacs?

I guess I'll have to...

I wasn't aware that Emacs 21 is not supported anymore. Maybe you could 
put a prerequisites note in the installation section of the manual.

Stefan

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: BUG: clock table gets corrupted (Emacs 21)
  2009-01-15  8:56   ` Stefan Ring
@ 2009-01-15  9:17     ` Scot Becker
  2009-01-17  8:01     ` Carsten Dominik
  1 sibling, 0 replies; 8+ messages in thread
From: Scot Becker @ 2009-01-15  9:17 UTC (permalink / raw)
  To: Stefan Ring; +Cc: emacs-orgmode

There is a small cautionary note on the org-mode homepage under
"current version," which says:

.::  This package works on Emacs 23 and 22, and (with minor
restrictions) on Emacs 21 and XEmacs 21.  ::.

..perhaps it should read with minor, surprise restrictions... :-)  You
must have found one of them.

Scot


On Thu, Jan 15, 2009 at 8:56 AM, Stefan Ring
<e9725446@student.tuwien.ac.at> wrote:
>
> Carsten Dominik wrote:
>>
>> Hi Stefan,
>>
>> this problem seems only to happen in Emacs 21, and I have
>> stopped putting time into Emacs 21 support.  Can't you just
>> get a more recent version of Emacs?
>
> I guess I'll have to...
>
> I wasn't aware that Emacs 21 is not supported anymore. Maybe you could put a prerequisites note in the installation section of the manual.
>
> Stefan
>
>
> _______________________________________________
> 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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: BUG: clock table gets corrupted (Emacs 21)
  2009-01-15  8:56   ` Stefan Ring
  2009-01-15  9:17     ` Scot Becker
@ 2009-01-17  8:01     ` Carsten Dominik
  2009-01-19 11:05       ` Stefan Ring
  1 sibling, 1 reply; 8+ messages in thread
From: Carsten Dominik @ 2009-01-17  8:01 UTC (permalink / raw)
  To: Stefan Ring; +Cc: emacs-orgmode

Hi Stefan,

you may also be able to work around this problem with

     (setq org-clock-into-drawer t)

(wich will put already the first clock line into a drawer), or with

     (setq org-clock-into-drawer nil)

(which will never create clock drawers).

HTH

- Carsten

On Jan 15, 2009, at 9:56 AM, Stefan Ring wrote:

> Carsten Dominik wrote:
>> Hi Stefan,
>> this problem seems only to happen in Emacs 21, and I have
>> stopped putting time into Emacs 21 support.  Can't you just
>> get a more recent version of Emacs?
>
> I guess I'll have to...
>
> I wasn't aware that Emacs 21 is not supported anymore. Maybe you  
> could put a prerequisites note in the installation section of the  
> manual.
>
> Stefan
>
>
> _______________________________________________
> 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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: BUG: clock table gets corrupted (Emacs 21)
  2009-01-17  8:01     ` Carsten Dominik
@ 2009-01-19 11:05       ` Stefan Ring
  0 siblings, 0 replies; 8+ messages in thread
From: Stefan Ring @ 2009-01-19 11:05 UTC (permalink / raw)
  To: emacs-orgmode

Carsten Dominik wrote:
> Hi Stefan,
> 
> you may also be able to work around this problem with
> 
>     (setq org-clock-into-drawer t)
> 
> (wich will put already the first clock line into a drawer), or with
> 
>     (setq org-clock-into-drawer nil)
> 
> (which will never create clock drawers).
> 
> HTH
> 
> - Carsten

Thanks a lot for your help. I will use (setq org-clock-into-drawer nil) 
on all my Emacs installations; I've never very much liked those drawers 
anyway.

I've already upgraded my Emacs in the meantime, though ;).

Stefan

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-01-19 11:05 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-12 22:42 BUG: clock table gets corrupted (Emacs 21) Stefan Ring
2009-01-12 23:39 ` Stefan Ring
2009-01-13 14:34   ` Stefan Ring
2009-01-14  6:48 ` Carsten Dominik
2009-01-15  8:56   ` Stefan Ring
2009-01-15  9:17     ` Scot Becker
2009-01-17  8:01     ` Carsten Dominik
2009-01-19 11:05       ` Stefan Ring

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).