emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: Inherited tags alignment problem in block agendas [9.1.13 (release_9.1.13-751-g9dcc52 @ c:/D-Drive/bin/org-mode/lisp/)]
@ 2018-05-12  5:04 Bernt Hansen
  2018-06-20 10:05 ` Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: Bernt Hansen @ 2018-05-12  5:04 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

There seems to be an issue with inherited tag alignment in block agendas
in the master branch.

ECM follows.

Thanks,
Bernt

-- test.el ------------------------------------------------------------------------------
(setq org-agenda-custom-commands
      (quote ((" " "Agenda"
	       ((agenda "" nil)
		(tags-todo "-CANCELLED+WAITING|HOLD/!"
			   ((org-agenda-overriding-header "Waiting and Postponed Tasks")
			    (org-tags-match-list-sublevels nil)))
		(tags-todo "-REFILE-CANCELLED-WAITING-HOLD/!"
			   ((org-agenda-overriding-header "Project Subtasks")
			    (org-agenda-sorting-strategy
			     '(category-keep))))
		(tags-todo "-CANCELLED/!"
			   ((org-agenda-overriding-header "Projects")
			    (org-tags-match-list-sublevels 'indented)
			    (org-agenda-sorting-strategy
			     '(category-keep))))
		)
	       nil))))
-- test.org ------------------------------------------------------------------------------
#+FILETAGS: TEST
#+STARTUP: content

*Keys To Reproduce*

1) Lock agenda to this file
   C-c C-x <

2) Show custom agenda
   Note this is a simplified version of my agenda so the sections don't work
   properly but they show the tags problem

   C-c a SPC

   Note the tags appear both left and right aligned in the block agenda
   It seems file tags and inherited tags are on the left and task tags 
   are on the right.  I was expecting all tags to be aligned on the right.

#+begin_example
Week-agenda (W19):
Monday      7 May 2018 W19
Tuesday     8 May 2018
Wednesday   9 May 2018
Thursday   10 May 2018
Friday     11 May 2018
Saturday   12 May 2018
Sunday     13 May 2018

================================================================================
Waiting and Postponed Tasks

================================================================================
Project Subtasks
  test:       TODO Test Parent :TEST::                         :PRODUCTION:MISC:
  test:       TODO do something :TEST:                        :PRODUCTION:MISC::
  test:       TODO foo :TEST: :PRODUCTION:MISC::                           :BAR:

================================================================================
Projects
  test:       TODO Test Parent :TEST::                         :PRODUCTION:MISC:
  test:       .TODO do something :TEST:                       :PRODUCTION:MISC::
  test:       .TODO foo :TEST: :PRODUCTION:MISC::                          :BAR:
#+end_example

In maint it looks correct (like this)

#+begin_example
Week-agenda (W19):
Monday      7 May 2018 W19
Tuesday     8 May 2018
Wednesday   9 May 2018
Thursday   10 May 2018
Friday     11 May 2018
Saturday   12 May 2018
Sunday     13 May 2018

============================================================================================
Waiting and Postponed Tasks

============================================================================================
Project Subtasks
  test:       TODO Test Parent                                       :TEST::PRODUCTION:MISC:
  test:       TODO do something                                      :TEST:PRODUCTION:MISC::
  test:       TODO foo                                           :TEST:PRODUCTION:MISC::BAR:

============================================================================================
Projects
  test:       TODO Test Parent                                       :TEST::PRODUCTION:MISC:
  test:       .TODO do something                                     :TEST:PRODUCTION:MISC::
  test:       .TODO foo                                          :TEST:PRODUCTION:MISC::BAR:
#+end_example
* TODO Test Parent                                          :PRODUCTION:MISC:
  :PROPERTIES:
  :EFFORT:   15:30
  :END:
** TODO do something
   :PROPERTIES:
   :EFFORT:   15
   :END:
   :LOGBOOK:
   CLOCK: [2018-05-12 Sat 00:26]--[2018-05-12 Sat 00:26] =>  0:00
   CLOCK: [2018-05-12 Sat 00:23]--[2018-05-12 Sat 00:23] =>  0:00
   CLOCK: [2018-05-12 Sat 00:22]--[2018-05-12 Sat 00:22] =>  0:00
   CLOCK: [2018-05-12 Sat 00:22]--[2018-05-12 Sat 00:22] =>  0:00
   CLOCK: [2018-05-12 Sat 00:07]--[2018-05-12 Sat 00:08] =>  0:01
   CLOCK: [2018-05-12 Sat 00:00]--[2018-05-12 Sat 00:04] =>  0:04
   :END:
** TODO foo                                                             :BAR:
   :PROPERTIES:
   :EFFORT:   00:30
   :END:

--------------------------------------------------------------------------------

Emacs  : GNU Emacs 25.1.1 (x86_64-w64-mingw32)
 of 2016-09-17
Package: Org mode version 9.1.13 (release_9.1.13-751-g9dcc52 @ c:/D-Drive/bin/org-mode/lisp/)

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

* Re: Bug: Inherited tags alignment problem in block agendas [9.1.13 (release_9.1.13-751-g9dcc52 @ c:/D-Drive/bin/org-mode/lisp/)]
  2018-05-12  5:04 Bug: Inherited tags alignment problem in block agendas [9.1.13 (release_9.1.13-751-g9dcc52 @ c:/D-Drive/bin/org-mode/lisp/)] Bernt Hansen
@ 2018-06-20 10:05 ` Nicolas Goaziou
  2018-06-20 13:27   ` Bernt Hansen
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2018-06-20 10:05 UTC (permalink / raw)
  To: Bernt Hansen; +Cc: emacs-orgmode

Hello,

Bernt Hansen <bernt@norang.ca> writes:


> There seems to be an issue with inherited tag alignment in block agendas
> in the master branch.
>
> ECM follows.

I cannot reproduce this issue. Was it somehow fixed since your report?

Regards,

-- 
Nicolas Goaziou

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

* Re: Bug: Inherited tags alignment problem in block agendas [9.1.13 (release_9.1.13-751-g9dcc52 @ c:/D-Drive/bin/org-mode/lisp/)]
  2018-06-20 10:05 ` Nicolas Goaziou
@ 2018-06-20 13:27   ` Bernt Hansen
  0 siblings, 0 replies; 3+ messages in thread
From: Bernt Hansen @ 2018-06-20 13:27 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: emacs-orgmode

Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:

> Hello,
>
> Bernt Hansen <bernt@norang.ca> writes:
>
>
>> There seems to be an issue with inherited tag alignment in block agendas
>> in the master branch.
>>
>> ECM follows.
>
> I cannot reproduce this issue. Was it somehow fixed since your report?
>
> Regards,

Yes this was fixed in a previous commit on master since reporting the
problem.  It is working fine now.

I have another annoying bug I run into once a week which I will report
separately.

Short version:

  In the daily agenda showing a single day
  if you jump back 3 days
  turn on log mode (or set a restriction or start clock check mode)
  and then jump back to today
  you can't turn those modes off again.

  My workaround is to jump back 3 days again to turn it off and then it
  works normally.

Will send an ECM when I have time later this week.

Thanks,
Bernt

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

end of thread, other threads:[~2018-06-20 13:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-12  5:04 Bug: Inherited tags alignment problem in block agendas [9.1.13 (release_9.1.13-751-g9dcc52 @ c:/D-Drive/bin/org-mode/lisp/)] Bernt Hansen
2018-06-20 10:05 ` Nicolas Goaziou
2018-06-20 13:27   ` Bernt Hansen

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