emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Adam Spiers <orgmode@adamspiers.org>
To: org-mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: ITEM in column view in the agenda
Date: Thu, 29 May 2008 18:11:26 +0100	[thread overview]
Message-ID: <20080529171126.GB22579@atlantic.linksys.moosehall> (raw)
In-Reply-To: <161575E2-1F95-4F59-9E6C-42C273ECB70A@uva.nl>

On Thu, May 29, 2008 at 07:49:20AM +0200, Carsten Dominik wrote:
> 
> On May 29, 2008, at 1:09 AM, Adam Spiers wrote:
> >
> >Works great!  FYI, I have org-columns-default-format set to:
> >
> >%TODO %PRIORITY %40ITEM(Task) %Effort(ETC){:} %CLOCKSUM(Taken){:}  
> >%TAGS(Tags)
> >
> >I noticed one tiny thing which could be improved - links are rendered
> >as their raw text.  I guess this will be slightly tricky to handle
> >since in many cases the text of the link will end up being truncated
> >by the %40 - but it would be VERY cool if it was handled gracefully,
> >e.g. by truncating with ellipses.
> 
> I cannot have links shown with parts hidden, because column view already
> uses display properties, and I don't think you can nest display  
> properties.

Hrm :-(

> Ellipses could be done, but so far I opted against is because you
> will loose even more characters.  Maybe it is actually better to
> make sure the user knows that some characters have been
> removed......  OK, done.

Hmm, you have a point about losing characters.  I'm not sure what's
best here.

But now I get an error when entering column view:

Debugger entered--Lisp error: (wrong-type-argument integerp nil)
  substring("Saturday   28 June 2008" nil)
  (let* ((org-complex-heading-regexp cphr) (prefix ...) (rest ...) (fake ...) (cleaned ...)) (if org-agenda-columns-remove-prefix-from-item cleaned (concat prefix cleaned)))
  org-agenda-columns-cleanu-item("Saturday   28 June 2008" nil nil (("TODO" "TODO" nil nil nil nil) ("PRIORITY" "PRIORITY" nil nil nil nil) ("ITEM" "Task" 40 nil nil nil) ("Effort" "ETC" nil ":" add_times nil) ("CLOCKSUM" "Taken" nil ":" add_times nil) ("TAGS" "Tags" nil nil nil nil)))
  org-columns-display-here((("TODO" . "") ("PRIORITY" . "") ("ITEM" . #("Saturday   28 June 2008" 0 23 ...)) ("Effort" . #("2:15" 0 4 ...)) ("CLOCKSUM" . #("0:00" 0 4 ...)) ("TAGS" . "")))
  byte-code(" [snipped...]
  org-agenda-colview-summarize(((129 ("Effort" . #("1:00" 0 4 ...)) ("TIMESTAMP" . "2008-05-31 Sat 12:30-13:30 +1w") ("ID" . [snipped...]

  reply	other threads:[~2008-05-29 17:11 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-28 15:26 ITEM in column view in the agenda Adam Spiers
2008-05-28 22:09 ` Carsten Dominik
2008-05-28 23:09   ` Adam Spiers
2008-05-28 23:11     ` Adam Spiers
2008-05-29  5:49       ` Carsten Dominik
2008-05-29  5:49     ` Carsten Dominik
2008-05-29 17:11       ` Adam Spiers [this message]
2008-05-30  4:06         ` Carsten Dominik
2008-05-30 14:01           ` Adam Spiers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080529171126.GB22579@atlantic.linksys.moosehall \
    --to=orgmode@adamspiers.org \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).