emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* question about link syntax
@ 2011-01-14  1:06 Filippo A. Salustri
  2011-01-14  1:22 ` Jeff Horn
  2011-01-14  5:17 ` David Maus
  0 siblings, 2 replies; 6+ messages in thread
From: Filippo A. Salustri @ 2011-01-14  1:06 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 666 bytes --]

Consider this example:
[[http://some.site.com][text text]]
It seems that the spaces in the label part (between, say, the 2 "text"s)
stops the link from forming.
My current workaround is to use single word labels, including WikiWords.
Is this how it's supposed to work?  I would have thought I could put spaces
in those labels.
Is there some variable or other I can set to have orgmode understand the
spaces?

Cheers.
Fil

-- 
Filippo A. Salustri, Ph.D., P.Eng.
Mechanical and Industrial Engineering
Ryerson University
350 Victoria St, Toronto, ON
M5B 2K3, Canada
Tel: 416/979-5000 ext 7749
Fax: 416/979-5265
Email: salustri@ryerson.ca
http://deseng.ryerson.ca/~fil/

[-- Attachment #1.2: Type: text/html, Size: 944 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

* Re: question about link syntax
  2011-01-14  1:06 question about link syntax Filippo A. Salustri
@ 2011-01-14  1:22 ` Jeff Horn
  2011-01-14  4:04   ` Filippo A. Salustri
  2011-01-14  5:17 ` David Maus
  1 sibling, 1 reply; 6+ messages in thread
From: Jeff Horn @ 2011-01-14  1:22 UTC (permalink / raw)
  To: Filippo A. Salustri; +Cc: emacs-orgmode

I noticed fontification was weird on my end, as well. Now, I only use
=C-c C-l= to create and edit links. Haven't had issues since making
the change.

On Thu, Jan 13, 2011 at 8:06 PM, Filippo A. Salustri
<salustri@ryerson.ca> wrote:
> Consider this example:
> [[http://some.site.com][text text]]
> It seems that the spaces in the label part (between, say, the 2 "text"s)
> stops the link from forming.
> My current workaround is to use single word labels, including WikiWords.
> Is this how it's supposed to work?  I would have thought I could put spaces
> in those labels.
> Is there some variable or other I can set to have orgmode understand the
> spaces?
> Cheers.
> Fil
>
> --
> Filippo A. Salustri, Ph.D., P.Eng.
> Mechanical and Industrial Engineering
> Ryerson University
> 350 Victoria St, Toronto, ON
> M5B 2K3, Canada
> Tel: 416/979-5000 ext 7749
> Fax: 416/979-5265
> Email: salustri@ryerson.ca
> http://deseng.ryerson.ca/~fil/
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
>



-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/

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

* Re: question about link syntax
  2011-01-14  1:22 ` Jeff Horn
@ 2011-01-14  4:04   ` Filippo A. Salustri
  2011-01-14  4:20     ` Jeff Horn
  0 siblings, 1 reply; 6+ messages in thread
From: Filippo A. Salustri @ 2011-01-14  4:04 UTC (permalink / raw)
  To: Jeff Horn; +Cc: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 1749 bytes --]

Hmm.  On my installation, =C-c C-l= isn't bound to anything.  I haven't
mucked with that.
To what should =C-c C-l= be bound?
Cheers.
Fil

On 13 January 2011 20:22, Jeff Horn <jrhorn424@gmail.com> wrote:

> I noticed fontification was weird on my end, as well. Now, I only use
> =C-c C-l= to create and edit links. Haven't had issues since making
> the change.
>
> On Thu, Jan 13, 2011 at 8:06 PM, Filippo A. Salustri
> <salustri@ryerson.ca> wrote:
> > Consider this example:
> > [[http://some.site.com][text text]]
> > It seems that the spaces in the label part (between, say, the 2 "text"s)
> > stops the link from forming.
> > My current workaround is to use single word labels, including WikiWords.
> > Is this how it's supposed to work?  I would have thought I could put
> spaces
> > in those labels.
> > Is there some variable or other I can set to have orgmode understand the
> > spaces?
> > Cheers.
> > Fil
> >
> > --
> > Filippo A. Salustri, Ph.D., P.Eng.
> > Mechanical and Industrial Engineering
> > Ryerson University
> > 350 Victoria St, Toronto, ON
> > M5B 2K3, Canada
> > Tel: 416/979-5000 ext 7749
> > Fax: 416/979-5265
> > Email: salustri@ryerson.ca
> > http://deseng.ryerson.ca/~fil/
> >
> > _______________________________________________
> > Emacs-orgmode mailing list
> > Please use `Reply All' to send replies to the list.
> > Emacs-orgmode@gnu.org
> > http://lists.gnu.org/mailman/listinfo/emacs-orgmode
> >
> >
>
>
>
> --
> Jeffrey Horn
> http://www.failuretorefrain.com/jeff/
>



-- 
Filippo A. Salustri, Ph.D., P.Eng.
Mechanical and Industrial Engineering
Ryerson University
350 Victoria St, Toronto, ON
M5B 2K3, Canada
Tel: 416/979-5000 ext 7749
Fax: 416/979-5265
Email: salustri@ryerson.ca
http://deseng.ryerson.ca/~fil/

[-- Attachment #1.2: Type: text/html, Size: 2908 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

* Re: question about link syntax
  2011-01-14  4:04   ` Filippo A. Salustri
@ 2011-01-14  4:20     ` Jeff Horn
  0 siblings, 0 replies; 6+ messages in thread
From: Jeff Horn @ 2011-01-14  4:20 UTC (permalink / raw)
  To: Filippo A. Salustri; +Cc: emacs-orgmode

When in an *org-mode buffer*, =C-h k C-c C-l= says

,----
| ^C ^L runs the command org-insert-link, which is an interactive
| compiled Lisp function in `org.el'.
`----

Org-mode version 7.4 (release_7.4.165.gca0e6.dirty)

On Thu, Jan 13, 2011 at 11:04 PM, Filippo A. Salustri
<salustri@ryerson.ca> wrote:
> Hmm.  On my installation, =C-c C-l= isn't bound to anything.  I haven't
> mucked with that.
> To what should =C-c C-l= be bound?
> Cheers.
> Fil
>
> On 13 January 2011 20:22, Jeff Horn <jrhorn424@gmail.com> wrote:
>>
>> I noticed fontification was weird on my end, as well. Now, I only use
>> =C-c C-l= to create and edit links. Haven't had issues since making
>> the change.
>>
>> On Thu, Jan 13, 2011 at 8:06 PM, Filippo A. Salustri
>> <salustri@ryerson.ca> wrote:
>> > Consider this example:
>> > [[http://some.site.com][text text]]
>> > It seems that the spaces in the label part (between, say, the 2 "text"s)
>> > stops the link from forming.
>> > My current workaround is to use single word labels, including WikiWords.
>> > Is this how it's supposed to work?  I would have thought I could put
>> > spaces
>> > in those labels.
>> > Is there some variable or other I can set to have orgmode understand the
>> > spaces?
>> > Cheers.
>> > Fil
>> >
>> > --
>> > Filippo A. Salustri, Ph.D., P.Eng.
>> > Mechanical and Industrial Engineering
>> > Ryerson University
>> > 350 Victoria St, Toronto, ON
>> > M5B 2K3, Canada
>> > Tel: 416/979-5000 ext 7749
>> > Fax: 416/979-5265
>> > Email: salustri@ryerson.ca
>> > http://deseng.ryerson.ca/~fil/
>> >
>> > _______________________________________________
>> > Emacs-orgmode mailing list
>> > Please use `Reply All' to send replies to the list.
>> > Emacs-orgmode@gnu.org
>> > http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>> >
>> >
>>
>>
>>
>> --
>> Jeffrey Horn
>> http://www.failuretorefrain.com/jeff/
>
>
>
> --
> Filippo A. Salustri, Ph.D., P.Eng.
> Mechanical and Industrial Engineering
> Ryerson University
> 350 Victoria St, Toronto, ON
> M5B 2K3, Canada
> Tel: 416/979-5000 ext 7749
> Fax: 416/979-5265
> Email: salustri@ryerson.ca
> http://deseng.ryerson.ca/~fil/
>



-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/

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

* Re: question about link syntax
  2011-01-14  1:06 question about link syntax Filippo A. Salustri
  2011-01-14  1:22 ` Jeff Horn
@ 2011-01-14  5:17 ` David Maus
  2011-01-14  5:49   ` Filippo A. Salustri
  1 sibling, 1 reply; 6+ messages in thread
From: David Maus @ 2011-01-14  5:17 UTC (permalink / raw)
  To: Filippo A. Salustri; +Cc: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 975 bytes --]

At Thu, 13 Jan 2011 20:06:07 -0500,
Filippo A. Salustri wrote:
> Consider this example:
> [[http://some.site.com][text text]]
> It seems that the spaces in the label part (between, say, the 2 "text"s)
> stops the link from forming.

Which Org mode and Emacs version are you using?

M-x emacs-version RET
M-x org-version RET

> My current workaround is to use single word labels, including WikiWords.
> Is this how it's supposed to work?  I would have thought I could put spaces
> in those labels.

It works here with

Org-mode version 7.4 (release_7.4.135.g84087)

GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0)
 of 2010-12-11 on raven, modified by Debian

Without any configuration of Org mode (i.e. emacs -Q & just load Org mode).

[[http://example.tld][Text text]]

Is display as "Text text" (without quotes, ofc) and C-c o opens the
link in my browser.

best,
  -- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber.... dmjena@jabber.org
Email..... dmaus@ictsoc.de

[-- Attachment #1.2: Type: application/pgp-signature, Size: 230 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

* Re: question about link syntax
  2011-01-14  5:17 ` David Maus
@ 2011-01-14  5:49   ` Filippo A. Salustri
  0 siblings, 0 replies; 6+ messages in thread
From: Filippo A. Salustri @ 2011-01-14  5:49 UTC (permalink / raw)
  To: David Maus; +Cc: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 1777 bytes --]

Sorry, sorry - my bad.
My browser/client was rendering a lower case L to look just like a pipe.
So I was trying to do C-c C-<pipe>

All is well.  Everything's working as it should.  Cancel red alert.
Cheers.
Fil

On 14 January 2011 00:17, David Maus <dmaus@ictsoc.de> wrote:

> At Thu, 13 Jan 2011 20:06:07 -0500,
> Filippo A. Salustri wrote:
> > Consider this example:
> > [[http://some.site.com][text text]]
> > It seems that the spaces in the label part (between, say, the 2 "text"s)
> > stops the link from forming.
>
> Which Org mode and Emacs version are you using?
>
> M-x emacs-version RET
> M-x org-version RET
>
> > My current workaround is to use single word labels, including WikiWords.
> > Is this how it's supposed to work?  I would have thought I could put
> spaces
> > in those labels.
>
> It works here with
>
> Org-mode version 7.4 (release_7.4.135.g84087)
>
> GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0)
>  of 2010-12-11 on raven, modified by Debian
>
> Without any configuration of Org mode (i.e. emacs -Q & just load Org mode).
>
> [[http://example.tld][Text text]]
>
> Is display as "Text text" (without quotes, ofc) and C-c o opens the
> link in my browser.
>
> best,
>  -- David
> --
> OpenPGP... 0x99ADB83B5A4478E6
> Jabber.... dmjena@jabber.org
> Email..... dmaus@ictsoc.de
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
>


-- 
Filippo A. Salustri, Ph.D., P.Eng.
Mechanical and Industrial Engineering
Ryerson University
350 Victoria St, Toronto, ON
M5B 2K3, Canada
Tel: 416/979-5000 ext 7749
Fax: 416/979-5265
Email: salustri@ryerson.ca
http://deseng.ryerson.ca/~fil/

[-- Attachment #1.2: Type: text/html, Size: 2782 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

end of thread, other threads:[~2011-01-14  5:49 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-14  1:06 question about link syntax Filippo A. Salustri
2011-01-14  1:22 ` Jeff Horn
2011-01-14  4:04   ` Filippo A. Salustri
2011-01-14  4:20     ` Jeff Horn
2011-01-14  5:17 ` David Maus
2011-01-14  5:49   ` Filippo A. Salustri

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