emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Org-mode version 6.30; Links in categories break layout


From: Carsten Dominik
Subject: Re: [Orgmode] Org-mode version 6.30; Links in categories break layout
Date: Thu, 3 Sep 2009 15:56:14 +0200


On Sep 3, 2009, at 3:29 PM, Peter Westlake wrote:


On Thu, 03 Sep 2009 14:12 +0200, "Carsten Dominik"
<address@hidden> wrote:

On Sep 3, 2009, at 1:12 PM, Peter Westlake wrote:

On Thu, 03 Sep 2009 08:50 +0200, "Carsten Dominik"
<address@hidden> 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. address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode







reply via email to

[Prev in Thread] Current Thread [Next in Thread]