emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Increase width in agenda view?
@ 2010-04-19 16:49 Johan Ekh
  2010-04-20 13:33 ` Carsten Dominik
  2010-04-20 13:58 ` Manish
  0 siblings, 2 replies; 4+ messages in thread
From: Johan Ekh @ 2010-04-19 16:49 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 243 bytes --]

Hi all,
is it possible to increase the width in the Week-agenda view such that the
TODO keyword
and the title task text get more space? My tags to the right of the title
text gets misaligned
if the title text is too long.

Best regards,
Johan

[-- Attachment #1.2: Type: text/html, Size: 267 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
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

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

* Re: Increase width in agenda view?
  2010-04-19 16:49 Increase width in agenda view? Johan Ekh
@ 2010-04-20 13:33 ` Carsten Dominik
  2010-04-20 19:42   ` Johan Ekh
  2010-04-20 13:58 ` Manish
  1 sibling, 1 reply; 4+ messages in thread
From: Carsten Dominik @ 2010-04-20 13:33 UTC (permalink / raw)
  To: Johan Ekh; +Cc: emacs-orgmode

Hi Johan,

On Apr 19, 2010, at 6:49 PM, Johan Ekh wrote:

> Hi all,
> is it possible to increase the width in the Week-agenda view such  
> that the TODO keyword
> and the title task text get more space? My tags to the right of the  
> title text gets misaligned
> if the title text is too long.


Take a look at this page

http://orgmode.org/worg/org-tutorials/org-customize.php

and then try if you can find the variable yourself.
If not, get back to me and I will tell you :-)

- Carsten

Hint: this has to do with the line format.



>
> Best regards,
> Johan
> _______________________________________________
> 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

- Carsten

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

* Re: Increase width in agenda view?
  2010-04-19 16:49 Increase width in agenda view? Johan Ekh
  2010-04-20 13:33 ` Carsten Dominik
@ 2010-04-20 13:58 ` Manish
  1 sibling, 0 replies; 4+ messages in thread
From: Manish @ 2010-04-20 13:58 UTC (permalink / raw)
  To: Johan Ekh; +Cc: emacs-orgmode

On Mon, Apr 19, 2010 at 10:19 PM, Johan Ekh wrote:
> Hi all, is it possible to increase the width in the Week-agenda
> view such that the TODO keyword and the title task text get
> more space? My tags to the right of the title text gets
> misaligned if the title text is too long.

If you are okay with hiding CATEGORY then you can try the following
hack from Manuel Hermenegildo[fn:1]

--8<---------------cut here---------------start------------->8---
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; With this typing "L" in agenda and todo buffers allows toggling
;; whether category/file names appear or not at the left or entries in
;; agenda/todo listings.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

(defvar my-org-agenda-list-category t)
(defun my-org-agenda-toggle-list-category ()
 "Toggles whether category/file name appears or not at the left
  of entries in agenda listings. Useful to unclutter listings."
  (interactive)
  (if my-org-agenda-list-category
      (progn
	(setq my-org-agenda-list-category nil)
	(setq org-agenda-prefix-format
	      '((agenda  . "  %-12:c%?-12t% s")
		(timeline  . "  % s")
		(todo  . "  %-12:c")
		(tags  . "  %-12:c")
		(search . "  %-12:c")))
	)
    (setq my-org-agenda-list-category t)
    (setq org-agenda-prefix-format
	  '((agenda  . "  %?-12t% s")
	    (timeline  . "  % s")
	    (todo  . "  ")
	    (tags  . "  ")
	    (search . "  ")))
    )
  (org-agenda-redo))
(my-org-agenda-toggle-list-category)

(add-hook
 'org-mode-hook
 (lambda ()
   (define-key org-agenda-keymap   "L" 'my-org-agenda-toggle-list-category)
   (define-key org-agenda-mode-map "L" 'my-org-agenda-toggle-list-category)
 ))
--8<---------------cut here---------------end--------------->8---

Regards
-- 
Manish

Footnotes:
[fn:1] http://article.gmane.org/gmane.emacs.orgmode/10909

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

* Re: Increase width in agenda view?
  2010-04-20 13:33 ` Carsten Dominik
@ 2010-04-20 19:42   ` Johan Ekh
  0 siblings, 0 replies; 4+ messages in thread
From: Johan Ekh @ 2010-04-20 19:42 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 1146 bytes --]

Ha! I found it! Thanks Carsten.
For this advice and for the super org-mode!

Oh, the variable is "Org Agenda Tags Column" in the group "Org Agenda/Org
Agenda Line Format"
if someone else also wants to know...

/Johan

On Tue, Apr 20, 2010 at 3:33 PM, Carsten Dominik
<carsten.dominik@gmail.com>wrote:

> Hi Johan,
>
>
> On Apr 19, 2010, at 6:49 PM, Johan Ekh wrote:
>
>  Hi all,
>> is it possible to increase the width in the Week-agenda view such that the
>> TODO keyword
>> and the title task text get more space? My tags to the right of the title
>> text gets misaligned
>> if the title text is too long.
>>
>
>
> Take a look at this page
>
> http://orgmode.org/worg/org-tutorials/org-customize.php
>
> and then try if you can find the variable yourself.
> If not, get back to me and I will tell you :-)
>
> - Carsten
>
> Hint: this has to do with the line format.
>
>
>
>
>> Best regards,
>> Johan
>>
>> _______________________________________________
>> 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
>>
>
> - Carsten
>
>
>
>

[-- Attachment #1.2: Type: text/html, Size: 2164 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
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

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

end of thread, other threads:[~2010-04-20 19:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-19 16:49 Increase width in agenda view? Johan Ekh
2010-04-20 13:33 ` Carsten Dominik
2010-04-20 19:42   ` Johan Ekh
2010-04-20 13:58 ` Manish

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