emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* column view bug
@ 2009-09-13 18:57 George Pearson
  2009-09-16 20:40 ` Carsten Dominik
  0 siblings, 1 reply; 6+ messages in thread
From: George Pearson @ 2009-09-13 18:57 UTC (permalink / raw)
  To: emacs-orgmode

Running org 6.30e and emacs 22.3.1.  Running under fully updated
Windows XP.

Summary:  in column view of a weekly agenda, the rows showing the
days in the week are positioned differently depending on whether
or not there is any item for the day.

For a test file (see below), this is what I see in column view
for the weekly agenda.  (You'll need a fixed-width font to view it 
properly).

CATE | ITEM                                | E | P | A |
Week-agenda (W37-W38):
Sunday     13 September 2009
Monday     14 September 2009 W38
     | Tuesday    15 September 2009        | . |   |   |
Test | TODO task 1                         |   |   |   |
Wednesday  16 September 2009
     | Thursday   17 September 2009        | . |   |   |
Test | TODO task 2                         |   |   |   |
Friday     18 September 2009
Saturday   19 September 2009

Note the alignment difference between Tuesday and Thursday and
the other dates.

Note also I am including the CATEGORY in the display, via:

(org-columns-default-format "%CATEGORY %35ITEM %Effort{:} %PRIORITY 
%ALLTAGS")

The problem is *NOT* VISIBLE if the %CATEGORY is removed, so one
MUST include it to view the problem.

This is probably not a issue with a normal agenda, in which there
are tasks to do every day.  I actually discovered this problem using
a custom view, intended to show only appointments for the week.  But
the test file shows that the problem can be seen even without
a custom agenda.

By the way, I couldn't show it in this posting, but the Tuesday and
Thursday lines, along with their TODO items, have a light grey
background, whereas everything else has a white background.  This
shading problem is odd in appearance, and it happens WHETHER OR NOT
%CATEGORY is use, and so would be a separate, but related, fix.

Here's the test .org file I used:

#+STARTUP: odd
#+STARTUP: hidestars
#+STARTUP: logdone
#+SEQ_TODO: TODO NEXT PENDING | DONE(d!) CANCELLED(c@)

#+CATEGORY: Test
* Test
*** TODO task 1
   SCHEDULED: <2009-09-15 Tue>
*** TODO task 2
   SCHEDULED: <2009-09-17 Thu>

===

To display the result shown at the top of this message, I open
the test.org file in emacs, then type:

C-a < a

Then in the resulting agenda window, switch to weekly if not 
already, and get column mode with

C-c C-x C-c

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

* Re: column view bug
  2009-09-13 18:57 column view bug George Pearson
@ 2009-09-16 20:40 ` Carsten Dominik
  2009-09-17 10:08   ` Giovanni Ridolfi
  0 siblings, 1 reply; 6+ messages in thread
From: Carsten Dominik @ 2009-09-16 20:40 UTC (permalink / raw)
  To: George Pearson; +Cc: emacs-orgmode emacs-orgmode

Hi George,

despite your excellent description (thanks for that) I cannot
reproduce this problem, it works just fine for me.

Could someone else please try as well?  Thanks!

- Carsten

On Sep 13, 2009, at 7:57 PM, George Pearson wrote:

> Running org 6.30e and emacs 22.3.1.  Running under fully updated
> Windows XP.
>
> Summary:  in column view of a weekly agenda, the rows showing the
> days in the week are positioned differently depending on whether
> or not there is any item for the day.
>
> For a test file (see below), this is what I see in column view
> for the weekly agenda.  (You'll need a fixed-width font to view it
> properly).
>
> CATE | ITEM                                | E | P | A |
> Week-agenda (W37-W38):
> Sunday     13 September 2009
> Monday     14 September 2009 W38
>    | Tuesday    15 September 2009        | . |   |   |
> Test | TODO task 1                         |   |   |   |
> Wednesday  16 September 2009
>    | Thursday   17 September 2009        | . |   |   |
> Test | TODO task 2                         |   |   |   |
> Friday     18 September 2009
> Saturday   19 September 2009
>
> Note the alignment difference between Tuesday and Thursday and
> the other dates.
>
> Note also I am including the CATEGORY in the display, via:
>
> (org-columns-default-format "%CATEGORY %35ITEM %Effort{:} %PRIORITY
> %ALLTAGS")
>
> The problem is *NOT* VISIBLE if the %CATEGORY is removed, so one
> MUST include it to view the problem.
>
> This is probably not a issue with a normal agenda, in which there
> are tasks to do every day.  I actually discovered this problem using
> a custom view, intended to show only appointments for the week.  But
> the test file shows that the problem can be seen even without
> a custom agenda.
>
> By the way, I couldn't show it in this posting, but the Tuesday and
> Thursday lines, along with their TODO items, have a light grey
> background, whereas everything else has a white background.  This
> shading problem is odd in appearance, and it happens WHETHER OR NOT
> %CATEGORY is use, and so would be a separate, but related, fix.
>
> Here's the test .org file I used:
>
> #+STARTUP: odd
> #+STARTUP: hidestars
> #+STARTUP: logdone
> #+SEQ_TODO: TODO NEXT PENDING | DONE(d!) CANCELLED(c@)
>
> #+CATEGORY: Test
> * Test
> *** TODO task 1
>  SCHEDULED: <2009-09-15 Tue>
> *** TODO task 2
>  SCHEDULED: <2009-09-17 Thu>
>
> ===
>
> To display the result shown at the top of this message, I open
> the test.org file in emacs, then type:
>
> C-a < a
>
> Then in the resulting agenda window, switch to weekly if not
> already, and get column mode with
>
> C-c C-x C-c
>
>
> _______________________________________________
> 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] 6+ messages in thread

* Re: column view bug
  2009-09-16 20:40 ` Carsten Dominik
@ 2009-09-17 10:08   ` Giovanni Ridolfi
  2009-09-17 14:04     ` George Pearson
  0 siblings, 1 reply; 6+ messages in thread
From: Giovanni Ridolfi @ 2009-09-17 10:08 UTC (permalink / raw)
  To: George Pearson, Carsten Dominik; +Cc: emacs-orgmode emacs-orgmode

--- Mer 16/9/09, Carsten Dominik <carsten.dominik@gmail.com> ha scritto:
> On Sep 13, 2009, at 7:57 PM, George Pearson wrote:
> 
> > Running org 6.30e and emacs 22.3.1.  Running
> under fully updated
> > Windows XP.

GNU Emacs 23.1.1 (i386-mingw-nt5.1.2600) of 2009-07-30 on SOFT-MJASON
Org-mode version 6.30e
Windows XP SP 2

> I cannot
> reproduce this problem, it works just fine for me.
> 
> Could someone else please try as well?  Thanks!

I cannot reproduce it as well; at least with the file below,
I hope the file is correct.

Giovanni


file:----------
* [2009-09-17 gio]  test columns
#+STARTUP: odd
#+STARTUP: hidestars
#+STARTUP: logdone
#+SEQ_TODO: TODO NEXT PENDING | DONE(d!) CANCELLED(c@)
#+CATEGORY: Test

(setq org-columns-default-format "%CATEGORY %35ITEM %Effort{:} %PRIORITY %ALLTAGS")

* C-x C-e on the setq line

* Test
*** TODO task 1
   SCHEDULED: <2009-09-15 Tue>
*** TODO task 2
   SCHEDULED: <2009-09-17 Thu>

* Agenda view: C-c a < a
This is the agenda weekly view:

Week-agenda (W38):
Monday     14 September 2009 W38
Tuesday    15 September 2009
  Test:       Scheduled:  TODO task 1
Wednesday  16 September 2009
Thursday   17 September 2009
  Test:       Sched. 3x:  TODO task 1
  Test:       Scheduled:  TODO task 2
Friday     18 September 2009
Saturday   19 September 2009
Sunday     20 September 2009
* column view: C-c C-x C-c
CATE | ITEM                               | E | P | A |
Week-agenda (W38):
Monday     14 September 2009 W38
     | Tuesday    15 September 2009       | . |   |   |
 Test| TODO task 1
Wednesday  16 September 2009
     | Thursday   17 September 2009        | . |   |   |
 Test| TODO task 1                         | . |   |   |
 Test| TODO task 2                         | . |   |   |
Friday     18 September 2009
Saturday   19 September 2009
Sunday     20 September 2009
----------------------------------

> >
> > Summary:  in column view of a weekly agenda, the
> rows showing the
> > days in the week are positioned differently depending
> on whether
> > or not there is any item for the day.
> >
> > For a test file (see below), this is what I see in
> column view
> > for the weekly agenda.  (You'll need a
> fixed-width font to view it
> > properly).
> >
> > CATE | ITEM           
>                
>     | E | P | A |
> > Week-agenda (W37-W38):
> > Sunday     13 September 2009
> > Monday     14 September 2009 W38
> >    | Tuesday    15 September
> 2009        | .
> |   |   |
> > Test | TODO task 1         
>            
>    |   |   |   |
> > Wednesday  16 September 2009
> >    | Thursday   17 September
> 2009        | .
> |   |   |
> > Test | TODO task 2         
>            
>    |   |   |   |
> > Friday     18 September 2009
> > Saturday   19 September 2009
> >
> > Note the alignment difference between Tuesday and
> Thursday and
> > the other dates.
> >
> > Note also I am including the CATEGORY in the display,
> via:
> >
> > (org-columns-default-format "%CATEGORY %35ITEM
> %Effort{:} %PRIORITY
> > %ALLTAGS")
> >
> > The problem is *NOT* VISIBLE if the %CATEGORY is
> removed, so one
> > MUST include it to view the problem.
> >
> > This is probably not a issue with a normal agenda, in
> which there
> > are tasks to do every day.  I actually discovered
> this problem using
> > a custom view, intended to show only appointments for
> the week.  But
> > the test file shows that the problem can be seen even
> without
> > a custom agenda.
> >
> > By the way, I couldn't show it in this posting, but
> the Tuesday and
> > Thursday lines, along with their TODO items, have a
> light grey
> > background, whereas everything else has a white
> background.  This
> > shading problem is odd in appearance, and it happens
> WHETHER OR NOT
> > %CATEGORY is use, and so would be a separate, but
> related, fix.
> >
> > Here's the test .org file I used:
> >
> > #+STARTUP: odd
> > #+STARTUP: hidestars
> > #+STARTUP: logdone
> > #+SEQ_TODO: TODO NEXT PENDING | DONE(d!)
> CANCELLED(c@)
> >
> > #+CATEGORY: Test
> > * Test
> > *** TODO task 1
> >  SCHEDULED: <2009-09-15 Tue>
> > *** TODO task 2
> >  SCHEDULED: <2009-09-17 Thu>
> >
> > ===
> >
> > To display the result shown at the top of this
> message, I open
> > the test.org file in emacs, then type:
> >
> > C-a < a
> >
> > Then in the resulting agenda window, switch to weekly
> if not
> > already, and get column mode with
> >
> > C-c C-x C-c
> >

__________________________________________________
Do You Yahoo!?
Poco spazio e tanto spam? Yahoo! Mail ti protegge dallo spam e ti da tanto spazio gratuito per i tuoi file e i messaggi 
http://mail.yahoo.it

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

* Re: column view bug
  2009-09-17 10:08   ` Giovanni Ridolfi
@ 2009-09-17 14:04     ` George Pearson
  2009-09-18  6:40       ` Carsten Dominik
  0 siblings, 1 reply; 6+ messages in thread
From: George Pearson @ 2009-09-17 14:04 UTC (permalink / raw)
  To: emacs-orgmode

On 17 Sep 2009 at 3:08, Giovanni Ridolfi wrote:

> --- Mer 16/9/09, Carsten Dominik <carsten.dominik@gmail.com> ha scritto:

> > I cannot
> > reproduce this problem, it works just fine for me.
> >
> > Could someone else please try as well?  Thanks!
>
> I cannot reproduce it as well; at least with the file below,
> I hope the file is correct.

But wait - you HAVE reproduced it!  Look at your result below,
and note the vertical bar | in front of the Tuesday and
Thursday date lines.

> * column view: C-c C-x C-c
> CATE | ITEM                               | E | P | A |
> Week-agenda (W38):
> Monday     14 September 2009 W38
>      | Tuesday    15 September 2009       | . |   |   |
>  Test| TODO task 1
> Wednesday  16 September 2009
>      | Thursday   17 September 2009        | . |   |   |
>  Test| TODO task 1                         | . |   |   |
>  Test| TODO task 2                         | . |   |   |
> Friday     18 September 2009
> Saturday   19 September 2009
> Sunday     20 September 2009
> ----------------------------------

Incidentally, I have NOT seen the recurrence of Task 1 on
Thursday, as seen in your results.  Possibly the result of
some option setting?

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

* Re: column view bug
  2009-09-17 14:04     ` George Pearson
@ 2009-09-18  6:40       ` Carsten Dominik
  2009-09-18  8:25         ` Giovanni Ridolfi
  0 siblings, 1 reply; 6+ messages in thread
From: Carsten Dominik @ 2009-09-18  6:40 UTC (permalink / raw)
  To: George Pearson; +Cc: emacs-orgmode

Hi Geaorge,

the text further down in the mail was just a citation of the original  
message,
not my attempt to reproduce the bug.

- Carsten

On Sep 17, 2009, at 3:04 PM, George Pearson wrote:

> On 17 Sep 2009 at 3:08, Giovanni Ridolfi wrote:
>
>> --- Mer 16/9/09, Carsten Dominik <carsten.dominik@gmail.com> ha  
>> scritto:
>
>>> I cannot
>>> reproduce this problem, it works just fine for me.
>>>
>>> Could someone else please try as well?  Thanks!
>>
>> I cannot reproduce it as well; at least with the file below,
>> I hope the file is correct.
>
> But wait - you HAVE reproduced it!  Look at your result below,
> and note the vertical bar | in front of the Tuesday and
> Thursday date lines.
>
>> * column view: C-c C-x C-c
>> CATE | ITEM                               | E | P | A |
>> Week-agenda (W38):
>> Monday     14 September 2009 W38
>>     | Tuesday    15 September 2009       | . |   |   |
>> Test| TODO task 1
>> Wednesday  16 September 2009
>>     | Thursday   17 September 2009        | . |   |   |
>> Test| TODO task 1                         | . |   |   |
>> Test| TODO task 2                         | . |   |   |
>> Friday     18 September 2009
>> Saturday   19 September 2009
>> Sunday     20 September 2009
>> ----------------------------------
>
> Incidentally, I have NOT seen the recurrence of Task 1 on
> Thursday, as seen in your results.  Possibly the result of
> some option setting?
>
>
>
>
> _______________________________________________
> 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] 6+ messages in thread

* Re: column view bug
  2009-09-18  6:40       ` Carsten Dominik
@ 2009-09-18  8:25         ` Giovanni Ridolfi
  0 siblings, 0 replies; 6+ messages in thread
From: Giovanni Ridolfi @ 2009-09-18  8:25 UTC (permalink / raw)
  To: George Pearson, Carsten Dominik; +Cc: emacs-orgmode

--- Ven 18/9/09, Carsten Dominik <carsten.dominik@gmail.com> ha scritto:
> the text further down in the mail was just a citation of
> the original  
> message, not my attempt to reproduce the bug.

Carsten, George was talking of *my* message,  not yours ;-)
 
so let's sum up:

file to work with:
-----------------------------
#+STARTUP: odd
#+STARTUP: hidestars
#+STARTUP: logdone
#+SEQ_TODO: TODO NEXT PENDING | DONE(d!) CANCELLED(c@)
#+CATEGORY: Test

* test columns
(setq org-columns-default-format "%CATEGORY %35ITEM %Effort{:} %PRIORITY %ALLTAGS")
* Test
*** TODO task 1
   SCHEDULED: <2009-09-15 Tue>
*** TODO task 2
   SCHEDULED: <2009-09-17 Thu>
*** C-c a < a
*** column view: C-c C-x C-c
-------------------------------------------EOF-----------

1.   The result of the Agenda command is:

-----------------------------------
Week-agenda (W38):
Monday     14 September 2009 W38
Tuesday    15 September 2009
  Test:       Scheduled:  TODO task 1
Wednesday  16 September 2009
Thursday   17 September 2009
  Test:       Sched. 3x:  TODO task 1
  Test:       Scheduled:  TODO task 2
Friday     18 September 2009
Saturday   19 September 2009
Sunday     20 September 2009
-------------------------------------------------

2. Yesterday the result of the column view command  was:
   (for the today's one please see the image attached;
    please noitice the red circle indicating the "bug?" )
-----------------------------------Result:

CATE | ITEM                               | E | P | A |
Week-agenda (W38):
Monday     14 September 2009 W38
     | Tuesday    15 September 2009       | . |   |   |
 Test| TODO task 1
Wednesday  16 September 2009
     | Thursday   17 September 2009        | . |   |   |
 Test| TODO task 1                         | . |   |   |
 Test| TODO task 2                         | . |   |   |
Friday     18 September 2009
Saturday   19 September 2009
Sunday     20 September 2009
-----------------------------------------------


> On Sep 17, 2009, at 3:04 PM, George Pearson wrote:
> > But wait - you HAVE reproduced it!  Look at your
Giovanni's ;-)

> > result below,
> > and note the vertical bar | in front of the Tuesday
                         ^^^^^^^^^^^^^
> > and  Thursday date lines.

> > Incidentally, I have NOT seen the recurrence of Task 1
> > on Thursday, as seen in your results.  Possibly the
> > result of some option setting?
George, I don't know.

HTH
Giovanni




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

end of thread, other threads:[~2009-09-18  8:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-13 18:57 column view bug George Pearson
2009-09-16 20:40 ` Carsten Dominik
2009-09-17 10:08   ` Giovanni Ridolfi
2009-09-17 14:04     ` George Pearson
2009-09-18  6:40       ` Carsten Dominik
2009-09-18  8:25         ` Giovanni Ridolfi

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