emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [bug] Link to filename beginning by a date opens... the agenda
@ 2014-11-14 14:11 Sebastien Vauban
  2014-11-14 17:24 ` Nicolas Goaziou
  0 siblings, 1 reply; 8+ messages in thread
From: Sebastien Vauban @ 2014-11-14 14:11 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

Hello,

Clicking on such a link:

[[file:~/Projects/Type/Client/Folder/2014-11-12-PV.txt][2014-11-12-PV.txt]]

... opens the Org agenda for that day -- while it should open my file, right?

OTOH, a full link such as:

[[file:~/Projects/Type/Client/Folder/2014-11-12-PV.txt][file:~/Projects/Type/Client/Folder/2014-11-12-PV.txt]]

is opened as expected.

You can also notice that the link face is `org-date' on the first link.

Best regards,
  Seb

-- 
Sebastien Vauban

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

* Re: [bug] Link to filename beginning by a date opens... the agenda
  2014-11-14 14:11 [bug] Link to filename beginning by a date opens... the agenda Sebastien Vauban
@ 2014-11-14 17:24 ` Nicolas Goaziou
  2014-11-14 20:37   ` Nick Dokos
  0 siblings, 1 reply; 8+ messages in thread
From: Nicolas Goaziou @ 2014-11-14 17:24 UTC (permalink / raw)
  To: Sebastien Vauban; +Cc: public-emacs-orgmode-mXXj517/zsQ



Hello,

Sebastien Vauban <sva-news-D0wtAvR13HarG/iDocfnWg@public.gmane.org>
writes:

> Hello,
>
> Clicking on such a link:
>
> [[file:~/Projects/Type/Client/Folder/2014-11-12-PV.txt][2014-11-12-PV.txt]]
>
> ... opens the Org agenda for that day -- while it should open my file, right?
>
> OTOH, a full link such as:
>
> [[file:~/Projects/Type/Client/Folder/2014-11-12-PV.txt][file:~/Projects/Type/Client/Folder/2014-11-12-PV.txt]]
>
> is opened as expected.
>
> You can also notice that the link face is `org-date' on the first
> link.

I cannot reproduce it on 8.3beta.


Regards,

-- 
Nicolas Goaziou

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

* Re: [bug] Link to filename beginning by a date opens... the agenda
  2014-11-14 17:24 ` Nicolas Goaziou
@ 2014-11-14 20:37   ` Nick Dokos
  2014-11-14 20:40     ` Nick Dokos
  0 siblings, 1 reply; 8+ messages in thread
From: Nick Dokos @ 2014-11-14 20:37 UTC (permalink / raw)
  To: emacs-orgmode

Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:

> Hello,
>
> Sebastien Vauban <sva-news@mygooglest.com>
> writes:
>
>> Hello,
>>
>> Clicking on such a link:
>>
>> [[file:~/Projects/Type/Client/Folder/2014-11-12-PV.txt][2014-11-12-PV.txt]]
>>
>> ... opens the Org agenda for that day -- while it should open my file, right?
>>
>> OTOH, a full link such as:
>>
>> [[file:~/Projects/Type/Client/Folder/2014-11-12-PV.txt][file:~/Projects/Type/Client/Folder/2014-11-12-PV.txt]]
>>
>> is opened as expected.
>>
>> You can also notice that the link face is `org-date' on the first
>> link.
>
> I cannot reproduce it on 8.3beta.
>

Clicking on it with a mouse button works but <RET> (bound to org-return)
seems to do what Seb reports. And the face is indeed
org-date, not org-link, but that's a different problem probably.

Org-mode version 8.3beta (release_8.3beta-432-g2900f1 @
/home/nick/elisp/org-mode/lisp/)

-- 
Nick

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

* Re: [bug] Link to filename beginning by a date opens... the agenda
  2014-11-14 20:37   ` Nick Dokos
@ 2014-11-14 20:40     ` Nick Dokos
  2014-11-16 13:10       ` Nicolas Goaziou
  0 siblings, 1 reply; 8+ messages in thread
From: Nick Dokos @ 2014-11-14 20:40 UTC (permalink / raw)
  To: emacs-orgmode

Nick Dokos <ndokos@gmail.com> writes:

> Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:
>
>> Hello,
>>
>> Sebastien Vauban <sva-news@mygooglest.com>
>> writes:
>>
>>> Hello,
>>>
>>> Clicking on such a link:
>>>
>>> [[file:~/Projects/Type/Client/Folder/2014-11-12-PV.txt][2014-11-12-PV.txt]]
>>>
>>> ... opens the Org agenda for that day -- while it should open my file, right?
>>>
>>> OTOH, a full link such as:
>>>
>>> [[file:~/Projects/Type/Client/Folder/2014-11-12-PV.txt][file:~/Projects/Type/Client/Folder/2014-11-12-PV.txt]]
>>>
>>> is opened as expected.
>>>
>>> You can also notice that the link face is `org-date' on the first
>>> link.
>>
>> I cannot reproduce it on 8.3beta.
>>
>
> Clicking on it with a mouse button works but <RET> (bound to org-return)
> seems to do what Seb reports. And the face is indeed
> org-date, not org-link, but that's a different problem probably.
>
> Org-mode version 8.3beta (release_8.3beta-432-g2900f1 @
> /home/nick/elisp/org-mode/lisp/)

And org-return-follows-link is set to t in my case.

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

* Re: [bug] Link to filename beginning by a date opens... the agenda
  2014-11-14 20:40     ` Nick Dokos
@ 2014-11-16 13:10       ` Nicolas Goaziou
  2014-11-18  8:41         ` Sebastien Vauban
  0 siblings, 1 reply; 8+ messages in thread
From: Nicolas Goaziou @ 2014-11-16 13:10 UTC (permalink / raw)
  To: Nick Dokos; +Cc: emacs-orgmode

Hello,

Nick Dokos <ndokos@gmail.com> writes:

> And org-return-follows-link is set to t in my case.

I was using C-c C-o instead of RET. It should now be fixed in master.
Thanks to you both.


Regards,

-- 
Nicolas Goaziou

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

* Re: [bug] Link to filename beginning by a date opens... the agenda
  2014-11-16 13:10       ` Nicolas Goaziou
@ 2014-11-18  8:41         ` Sebastien Vauban
  2014-11-18  9:18           ` Nicolas Goaziou
  0 siblings, 1 reply; 8+ messages in thread
From: Sebastien Vauban @ 2014-11-18  8:41 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

Hello Nick and Nicolas,

Nicolas Goaziou wrote:
> Nick Dokos <ndokos-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:
>
>> And org-return-follows-link is set to t in my case.
>
> I was using C-c C-o instead of RET. It should now be fixed in master.
> Thanks to you both.

The face is still wrong (`org-date' instead of `org-link'), but the link
is well opened on RET.  Thanks.

Best regards,
  Seb

-- 
Sebastien Vauban

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

* Re: [bug] Link to filename beginning by a date opens... the agenda
  2014-11-18  8:41         ` Sebastien Vauban
@ 2014-11-18  9:18           ` Nicolas Goaziou
  2014-11-18  9:29             ` Sebastien Vauban
  0 siblings, 1 reply; 8+ messages in thread
From: Nicolas Goaziou @ 2014-11-18  9:18 UTC (permalink / raw)
  To: Sebastien Vauban; +Cc: public-emacs-orgmode-mXXj517/zsQ



Sebastien Vauban <sva-news-D0wtAvR13HarG/iDocfnWg@public.gmane.org>
writes:

> The face is still wrong (`org-date' instead of `org-link'), but the link
> is well opened on RET.  Thanks.

Fontification has many tiny bugs like this one.  It should use the
parser instead of plain regexps.  However, this is a work that cannot be
done lightly.  I suggest to live with for the time being.


Regards,

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

* Re: [bug] Link to filename beginning by a date opens... the agenda
  2014-11-18  9:18           ` Nicolas Goaziou
@ 2014-11-18  9:29             ` Sebastien Vauban
  0 siblings, 0 replies; 8+ messages in thread
From: Sebastien Vauban @ 2014-11-18  9:29 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

Nicolas Goaziou wrote:
> Sebastien Vauban writes:
>
>> The face is still wrong (`org-date' instead of `org-link'), but the
>> link is well opened on RET.  Thanks.
>
> Fontification has many tiny bugs like this one.  It should use the
> parser instead of plain regexps.  However, this is a work that cannot
> be done lightly.  I suggest to live with for the time being.

I can live with it.  And I now you foresee to tackle them someday.

Thanks for quick fix!

Best regards,
  Seb

-- 
Sebastien Vauban

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

end of thread, other threads:[~2014-11-18  9:29 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-14 14:11 [bug] Link to filename beginning by a date opens... the agenda Sebastien Vauban
2014-11-14 17:24 ` Nicolas Goaziou
2014-11-14 20:37   ` Nick Dokos
2014-11-14 20:40     ` Nick Dokos
2014-11-16 13:10       ` Nicolas Goaziou
2014-11-18  8:41         ` Sebastien Vauban
2014-11-18  9:18           ` Nicolas Goaziou
2014-11-18  9:29             ` Sebastien Vauban

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