emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Little link difficulty
@ 2012-05-29 21:03 François Pinard
  2012-05-29 23:04 ` Nick Dokos
  2012-05-30  8:53 ` Michael Brand
  0 siblings, 2 replies; 5+ messages in thread
From: François Pinard @ 2012-05-29 21:03 UTC (permalink / raw)
  To: emacs-orgmode

Hi, people.

Using C-c C-l to create a link, I'm replying to the two prompts with the
following contents:

Link: http://www2.stm.info/taz/horaire.php?l=29&d=E&t=52103
Description: Autobus 29 est

The link is then saved as (using fundamental-mode to see it):

[[http://www2.stm.info/taz/horaire.php?l%3D29&d%3DE&t%3D52103][Autobus 29 est]]

If I then use C-c C-o on that link, the browser (Google Chrome if it
matters) apparently receives (as shown in its URL entry bar):

http://www2.stm.info/taz/horaire.php?l=29

which is not what I expected.  Is there some trick I would need to know
for this link to work? 

François

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

* Re: Little link difficulty
  2012-05-29 21:03 Little link difficulty François Pinard
@ 2012-05-29 23:04 ` Nick Dokos
  2012-05-31 11:48   ` François Pinard
  2012-05-30  8:53 ` Michael Brand
  1 sibling, 1 reply; 5+ messages in thread
From: Nick Dokos @ 2012-05-29 23:04 UTC (permalink / raw)
  To: =?utf-8?Q?Fran=C3=A7ois_Pinard?=; +Cc: emacs-orgmode

François Pinard <pinard@iro.umontreal.ca> wrote:

> Hi, people.
> 
> Using C-c C-l to create a link, I'm replying to the two prompts with the
> following contents:
> 
> Link: http://www2.stm.info/taz/horaire.php?l=29&d=E&t=52103
> Description: Autobus 29 est
> 
> The link is then saved as (using fundamental-mode to see it):
> 
> [[http://www2.stm.info/taz/horaire.php?l%3D29&d%3DE&t%3D52103][Autobus 29 est]]
> 
> If I then use C-c C-o on that link, the browser (Google Chrome if it
> matters) apparently receives (as shown in its URL entry bar):
> 
> http://www2.stm.info/taz/horaire.php?l=29
> 
> which is not what I expected.  Is there some trick I would need to know
> for this link to work? 
> 

FWIW, I can't reproduce this problem. Here is how I tested:

I cut-n-pasted the second form of the link

  [[http://www2.stm.info/taz/horaire.php?l%3D29&d%3DE&t%3D52103][Autobus 29 est]]

into an org file, and changed my browser function (I usually use firefox):

  (setq browse-url-browser-function (function browse-url-chromium))

Following the link then gives me a timetable for "Ligne: 29 Rachel" and the
URL shown in the URL entry thingie in chromium is the complete one:

  http://www2.stm.info/taz/horaire.php?l=29&d=E&t=52103

not the partial one that you get.

I also tried it with my usual firefox browser and also got the same result.

Nick

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

* Re: Little link difficulty
  2012-05-29 21:03 Little link difficulty François Pinard
  2012-05-29 23:04 ` Nick Dokos
@ 2012-05-30  8:53 ` Michael Brand
  2012-11-07  3:34   ` François Pinard
  1 sibling, 1 reply; 5+ messages in thread
From: Michael Brand @ 2012-05-30  8:53 UTC (permalink / raw)
  To: François Pinard; +Cc: emacs-orgmode

Hi François

On Tue, May 29, 2012 at 11:03 PM, François Pinard
[...]
> The link is then saved as (using fundamental-mode to see it):
[...]

To check the invisible parts of an Org link here are some alternatives
to Fundamental mode that stay in Org mode:
1) M-x org-toggle-link-display
2) M-x visible-mode    (also toggling)
3) temporarily delete the first "[" or last "]" of the Org link and undo
4) C-c C-l with point on the Org link to show the link part in the minibuffer

Michael

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

* Re: Little link difficulty
  2012-05-29 23:04 ` Nick Dokos
@ 2012-05-31 11:48   ` François Pinard
  0 siblings, 0 replies; 5+ messages in thread
From: François Pinard @ 2012-05-31 11:48 UTC (permalink / raw)
  To: nicholas.dokos; +Cc: emacs-orgmode

Nick Dokos <nicholas.dokos@hp.com> writes:

> François Pinard <pinard@iro.umontreal.ca> wrote:

>> Using C-c C-l to create a link, I'm replying to the two prompts with the
>> following contents: [...]

> FWIW, I can't reproduce this problem. Here is how I tested:

[...]

Thanks a lot for having tried, Nick.  This tells me there might be
something, somehow, somewhere, maybe outside Org, that breaks it.  I
should investigate more aggressively then.  I'm preciously saving your
message until I get some more free time.

François

P.S. Who started a new job on Monday, and now have some difficulty
recovering an equilibrium with free time in it.  Things should settle, I
guess, once new habits will have been created.

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

* Re: Little link difficulty
  2012-05-30  8:53 ` Michael Brand
@ 2012-11-07  3:34   ` François Pinard
  0 siblings, 0 replies; 5+ messages in thread
From: François Pinard @ 2012-11-07  3:34 UTC (permalink / raw)
  To: Michael Brand; +Cc: emacs-orgmode

Michael Brand <michael.ch.brand@gmail.com> writes:

> Hi François

Hello, Michael!

> To check the invisible parts of an Org link here are some alternatives
> to Fundamental mode that stay in Org mode:
> 1) M-x org-toggle-link-display
> 2) M-x visible-mode    (also toggling)
> 3) temporarily delete the first "[" or last "]" of the Org link and undo
> 4) C-c C-l with point on the Org link to show the link part in the minibuffer

I knew 3) and 4), but not 1) and 2).  Thanks for educating me! :-)

François

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

end of thread, other threads:[~2012-11-07 12:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-29 21:03 Little link difficulty François Pinard
2012-05-29 23:04 ` Nick Dokos
2012-05-31 11:48   ` François Pinard
2012-05-30  8:53 ` Michael Brand
2012-11-07  3:34   ` François Pinard

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