From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adam Spiers Subject: Re: ITEM in column view in the agenda Date: Thu, 29 May 2008 18:11:26 +0100 Message-ID: <20080529171126.GB22579@atlantic.linksys.moosehall> References: <20080528152659.GH20846@atlantic.linksys.moosehall> <4E49CF17-EFC8-4A22-B048-6469CDB8C93A@uva.nl> <20080528230930.GL20846@atlantic.linksys.moosehall> <161575E2-1F95-4F59-9E6C-42C273ECB70A@uva.nl> Reply-To: Adam Spiers Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K1lf4-0001ox-Ab for emacs-orgmode@gnu.org; Thu, 29 May 2008 13:11:34 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K1lf1-0001oI-57 for emacs-orgmode@gnu.org; Thu, 29 May 2008 13:11:33 -0400 Received: from [199.232.76.173] (port=46741 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K1lf1-0001oB-2F for emacs-orgmode@gnu.org; Thu, 29 May 2008 13:11:31 -0400 Received: from mail.beimborn.com ([70.84.38.100]:50971) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K1lf0-0007nZ-ML for emacs-orgmode@gnu.org; Thu, 29 May 2008 13:11:30 -0400 Received: from mail.beimborn.com (localhost.localdomain [127.0.0.1]) by mail.beimborn.com (8.12.11.20060308/8.12.8) with ESMTP id m4THBTHE001308 for ; Thu, 29 May 2008 12:11:29 -0500 Received: from localhost (localhost [[UNIX: localhost]]) by mail.beimborn.com (8.12.11.20060308/8.12.11/Submit) id m4THBSXw001303 for emacs-orgmode@gnu.org; Thu, 29 May 2008 18:11:28 +0100 Content-Disposition: inline In-Reply-To: <161575E2-1F95-4F59-9E6C-42C273ECB70A@uva.nl> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: org-mode mailing list 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...]