From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Org-mode version 6.30; Links in categories break layout Date: Thu, 3 Sep 2009 15:56:14 +0200 Message-ID: References: <1251913586.22623.1332894407@webmail.messagingengine.com><6FD26E66-BBA4-4AD8-9329-70E3024E79FC@gmail.com><1251976346.8320.1333017467@webmail.messagingengine.com> <1251984567.29809.1333027499@webmail.messagingengine.com> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MjCnY-0001Jd-QY for emacs-orgmode@gnu.org; Thu, 03 Sep 2009 09:56:24 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MjCnT-0001Bw-LM for emacs-orgmode@gnu.org; Thu, 03 Sep 2009 09:56:24 -0400 Received: from [199.232.76.173] (port=35305 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MjCnT-0001Bf-Cr for emacs-orgmode@gnu.org; Thu, 03 Sep 2009 09:56:19 -0400 Received: from mail-fx0-f226.google.com ([209.85.220.226]:63208) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MjCnT-0001b8-1A for emacs-orgmode@gnu.org; Thu, 03 Sep 2009 09:56:19 -0400 Received: by fxm26 with SMTP id 26so1837434fxm.42 for ; Thu, 03 Sep 2009 06:56:17 -0700 (PDT) In-Reply-To: <1251984567.29809.1333027499@webmail.messagingengine.com> 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: Peter Westlake Cc: "emacs-orgmode@gnu.org" On Sep 3, 2009, at 3:29 PM, Peter Westlake wrote: > > On Thu, 03 Sep 2009 14:12 +0200, "Carsten Dominik" > wrote: >> >> On Sep 3, 2009, at 1:12 PM, Peter Westlake wrote: >> >>> On Thu, 03 Sep 2009 08:50 +0200, "Carsten Dominik" >>> wrote: >>>> Hi Peter, >>>> >>>> links in categories are not supported...... >>> >>> The thing is, they ever so nearly *are* supported: they are >>> fontified as links, and they work if you click on them or type C-c >>> o. The only thing that isn't quite right is this small cosmetic >>> matter of the missing spaces. >>> >>> Having a link as a category is very useful, because categories have >>> meaning and the link can take you to it. Most of mine are links to >>> bug reports or feature requests, for instance. >> >> But TAB on the entry will get you there as well, right? > > TAB in the agenda takes me to the entry, TAB in the entry opens it up, > and all of those things work properly. Click, ENTER, or C-c o in the > category column of the agenda will follow the link if the category > text > contains one. All of that works properly too. > > To clarify, my second paragraph there was just saying how useful links > are in categories. It isn't part of the bug report. That's just about > missing spaces. > > You said that links aren't supported in categories, but for a feature > that isn't supported, they work very well! In what sense are they not > supported? They are not supported in the sense that I never have tried to make them work as links. It is pure "accident" that they are activated as links, because there is a function running through to activate links that are in headlines, and by accident the regexp search matches in the prefix as well. They are not supported in the way that I guarantee them to continue to work in future versions. Unless this thread convinces me otherwise, of course. I can now see that they can be useful as a connection to an anchestor of the entry.... - Carsten > > I use categories like this: > > ,---- > | * PROJECT Implement BUG-1234, allow users to upload files > | :PROPERTIES: > | :CATEGORY: [[http://example.com/bugtracker/1234][BUG-1234]] > | :ORDERED: t > | :END: > | ** DONE Design uploader UI > | ** TODO Implement authentication > | ** TODO Write a form for directory navigation > | ...etc... > `---- > > Then the global TODO list (C-c a t) shows this as: > > ,---- > | BUG-1234:TODO Implement authentication > `---- > > Where "BUG-1234" is a link that takes me to the bug tracker URL. > Except > that the layout is a bit wrong: > > ,---- > | plaintext: TODO Item with a plain text category > | BUG-1234:TODO Implement authentication > | plaintext: TODO Item with a plain text category > `---- > > There should be some spaces after the colon on the second line, > "BUG-1234: TODO", so it lines up with the other entries. > > Regards, > > Peter. > >> - Carsten >> >>> >>> Peter. >>> >>>> - Carsten >>>> >>>> On Sep 2, 2009, at 7:46 PM, Peter Westlake wrote: >>>> >>>>> >>>>> Remember to cover the basics, that is, what you expected to happen >>>>> and what in fact did happen. You don't know hoe to make a good >>>>> report? See >>>>> >>>>> http://orgmode.org/manual/Feedback.html#Feedback >>>>> >>>>> Your bug report will be posted to the Org-mode mailing list. >>>>> ------------------------------------------------------------------ >>>>> ------ >>>>> >>>>> Here's a plain-text view of my agenda that shows the problem: >>>>> >>>>> meta: TODO Report invisible scheduled items >>>>> [[foo][test]]:TODO Get layout right when category is a link >>>>> >>>>> Because the link is displayed as "test" in the link face, it >>>>> is only four characters long, so it should have seven spaces >>>>> after it. >>>>> >>>>> (Aside: I wondered if this might be simple enough for me to fix it >>>>> myself. Turns out not :-) >>>>> >>>>> Peter. >>>>> >>>>> Emacs : GNU Emacs 23.1.50.1 (i486-pc-linux-gnu, GTK+ Version >>>>> 2.12.12)of 2009-07-30 on elegiac, modified by Debian Package: Org- >>>>> mode version 6.30 >>>>> >>>>> >>>>> _______________________________________________ >>>>> 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 >>>> >>