emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* cosmetic: link-syntax, diary files & faces
@ 2006-05-08 13:09 Eric J Haywiser
  2006-05-10 14:08 ` Bug? deadlines, links & faces (was cosmetic: link-syntax...) Eric J Haywiser
  2006-05-11  8:38 ` cosmetic: link-syntax, diary files & faces Carsten Dominik
  0 siblings, 2 replies; 5+ messages in thread
From: Eric J Haywiser @ 2006-05-08 13:09 UTC (permalink / raw)
  To: emacs-orgmode

This is cosmetic, but ....

Should link syntax fontification be supported when entries
from diary files are displayed in the org-agenda view?

Currently, they appear as a raw text.  However,
links in org-agenda view entries coming from org files
hide the URL portion and only display the "description" portion of the 
link.  The latter display more closely resembles the link display 
behavior of the base org mode.  For example:

-------------------------------------------------------------------------
Consider two entries, in a diary and testing.org file respectively:

%%(diary-cyclic 1 5 07 2006) 8:20 Visit [[http://www.google.com][Google]]

* Visit [[http://www.google.com][Google]] <2006-05-07 Sun 10:00>

which appear as:

  Diary:        8:20...... Visit [[http://www.google.com][Google]]
  testing:     10:00...... Visit Google

-------------------------------------------------------------------------

Also, in either case, would it be a good thing to have the
links display in the same face as in org buffers (eg underline)?
Currently, links created from org files are displayed in standard face
in org-agenda view.

However, they all function as links despite their face.
This behavior is super. :)

P.S. The rate of progress in org-mode is amazing.
Kudos to all for this wonderful tool.

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

* Bug? deadlines, links & faces (was cosmetic: link-syntax...)
  2006-05-08 13:09 cosmetic: link-syntax, diary files & faces Eric J Haywiser
@ 2006-05-10 14:08 ` Eric J Haywiser
  2006-05-11  8:38 ` cosmetic: link-syntax, diary files & faces Carsten Dominik
  1 sibling, 0 replies; 5+ messages in thread
From: Eric J Haywiser @ 2006-05-10 14:08 UTC (permalink / raw)
  To: emacs-orgmode

Related to my earlier post, the assymetric behavior described below seems 
like a clear bug in rendering deadlines in org-agenda view:

> links in org-agenda view entries coming from org files
> hide the URL portion and only display the "description" portion of the link.

This is not true for upcoming and expired org-deadline-warning of deadline 
entries containing links.  Both display raw link text. However, the same 
entry displays only the description portion of the link when it is 
rendered on the day of the deadline.

Example follows:
-------------------------------------------------------------------------

* Visit [[http://www.google.com][Google]]

DEADLINE: <2006-05-10 Wed>
DEADLINE: <2006-05-11 Thu>

-------------------------------------------------------------------------

Which appears as:

Wednesday 10 May 2006
                8:00...... ----------------
               10:00...... ----------------
               12:00...... ----------------
               14:00...... ----------------
               14:00...... ----------------
               16:00...... ----------------
               18:00...... ----------------
               19:00...... ----------------
               20:00...... ----------------
   testing:    Deadline:   Visit Google
   testing:    In   1 d.:  Visit [[http://www.google.com][Google]]

  -------------------------------------------------------------------------

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

* Re: cosmetic: link-syntax, diary files & faces
  2006-05-08 13:09 cosmetic: link-syntax, diary files & faces Eric J Haywiser
  2006-05-10 14:08 ` Bug? deadlines, links & faces (was cosmetic: link-syntax...) Eric J Haywiser
@ 2006-05-11  8:38 ` Carsten Dominik
  2006-05-12 13:36   ` Eric J Haywiser
  1 sibling, 1 reply; 5+ messages in thread
From: Carsten Dominik @ 2006-05-11  8:38 UTC (permalink / raw)
  To: Eric J Haywiser; +Cc: emacs-orgmode


On May 8, 2006, at 15:09, Eric J Haywiser wrote:

> ----------------------------------------------------------------------- 
> --
> Consider two entries, in a diary and testing.org file respectively:
>
> %%(diary-cyclic 1 5 07 2006) 8:20 Visit  
> [[http://www.google.com][Google]]
>
> * Visit [[http://www.google.com][Google]] <2006-05-07 Sun 10:00>
>
> which appear as:
>
>  Diary:        8:20...... Visit [[http://www.google.com][Google]]
>  testing:     10:00...... Visit Google
>
> ----------------------------------------------------------------------- 
> --
>
> Also, in either case, would it be a good thing to have the
> links display in the same face as in org buffers (eg underline)?
> Currently, links created from org files are displayed in standard face
> in org-agenda view.
>
> However, they all function as links despite their face.
> This behavior is super. :)

I do not understand this.  What do you mean by they function as links?   
In the agenda buffer they don't as far as I can see.  What trick are  
you using?

- Carsten



--
Carsten Dominik
Sterrenkundig Instituut "Anton Pannekoek"
Universiteit van Amsterdam
Kruislaan 403
NL-1098SJ Amsterdam
phone: +31 20 525 7477

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

* Re: cosmetic: link-syntax, diary files & faces
  2006-05-11  8:38 ` cosmetic: link-syntax, diary files & faces Carsten Dominik
@ 2006-05-12 13:36   ` Eric J Haywiser
  2006-05-12 14:08     ` Carsten Dominik
  0 siblings, 1 reply; 5+ messages in thread
From: Eric J Haywiser @ 2006-05-12 13:36 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: emacs-orgmode

On Thu, 11 May 2006, Carsten Dominik wrote:

>> On May 8, 2006, at 15:09, Eric J Haywiser wrote:
>> -------------------------------------------------------------------------
>> Consider two entries, in a diary and testing.org file respectively:
>> 
>> %%(diary-cyclic 1 5 07 2006) 8:20 Visit [[http://www.google.com][Google]]
>> 
>> * Visit [[http://www.google.com][Google]] <2006-05-07 Sun 10:00>
>> 
>> which appear as:
>> 
>>  Diary:        8:20...... Visit [[http://www.google.com][Google]]
>>  testing:     10:00...... Visit Google
>> 
>> -------------------------------------------------------------------------
>> 
>> Also, in either case, would it be a good thing to have the
>> links display in the same face as in org buffers (eg underline)?
>> Currently, links created from org files are displayed in standard face
>> in org-agenda view.
>> 
>> However, they all function as links despite their face.
>> This behavior is super. :)
>
> I do not understand this.  What do you mean by they function as links?  In 
> the agenda buffer they don't as far as I can see.

I simply place the cursor on a link and M-x org-open-at-point
which is precisely how one can follow links in an org-mode file. Right?

For me, this works just as one might expect it to.
Do you observe a different behavior?

BTW:  You may want to map the C-c C-o sequence to org-open-at-point
in both org-mode and org-agenda mode. This key sequence is currently 
undefined in the latter.

> What trick are you using?

I'm just a humble emacs user, not a magician. ;)

-Eric

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

* Re: cosmetic: link-syntax, diary files & faces
  2006-05-12 13:36   ` Eric J Haywiser
@ 2006-05-12 14:08     ` Carsten Dominik
  0 siblings, 0 replies; 5+ messages in thread
From: Carsten Dominik @ 2006-05-12 14:08 UTC (permalink / raw)
  To: Eric J Haywiser; +Cc: emacs-orgmode


On May 12, 2006, at 15:36, Eric J Haywiser wrote:
> I simply place the cursor on a link and M-x org-open-at-point
> which is precisely how one can follow links in an org-mode file. Right?

Only if one is really in love with typing or has RSI so badly that you 
are not allowed to even touch your mouse.

I always use C-c C-o   or the mouse to follow links in org-mode files.  
But indeed, with M-x org-open-at-point you can do this in agenda files 
as well.  Would people find it useful if I bind C-c C-o also in the 
agenda buffer?  never occurred to me to use it from there - but maybe 
it is actually useful.

- Carsten

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

end of thread, other threads:[~2006-05-12 14:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-08 13:09 cosmetic: link-syntax, diary files & faces Eric J Haywiser
2006-05-10 14:08 ` Bug? deadlines, links & faces (was cosmetic: link-syntax...) Eric J Haywiser
2006-05-11  8:38 ` cosmetic: link-syntax, diary files & faces Carsten Dominik
2006-05-12 13:36   ` Eric J Haywiser
2006-05-12 14:08     ` Carsten Dominik

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