emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: =?utf-8?Q?Fran=C3=A7ois_Pinard?= <pinard@iro.umontreal.ca>
Cc: emacs-orgmode@gnu.org
Subject: Re: Little link difficulty
Date: Tue, 29 May 2012 19:04:16 -0400	[thread overview]
Message-ID: <14028.1338332656@alphaville> (raw)
In-Reply-To: Message from =?utf-8?Q?Fran=C3=A7ois_Pinard?= <pinard@iro.umontreal.ca> of "Tue\, 29 May 2012 17\:03\:17 EDT." <868vgau2cq.fsf@mercure.progiciels-bpi.ca>

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

  reply	other threads:[~2012-05-29 23:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-29 21:03 Little link difficulty François Pinard
2012-05-29 23:04 ` Nick Dokos [this message]
2012-05-31 11:48   ` François Pinard
2012-05-30  8:53 ` Michael Brand
2012-11-07  3:34   ` François Pinard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=14028.1338332656@alphaville \
    --to=nicholas.dokos@hp.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=pinard@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).