emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@science.uva.nl>
To: Piotr Zielinski <piotr.zielinski@gmail.com>
Cc: org-mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: commas in URLs?
Date: Fri, 1 Feb 2008 23:31:50 +0100	[thread overview]
Message-ID: <AF03BB7B-E228-4FB3-9B13-BD1DBCA07C80@science.uva.nl> (raw)
In-Reply-To: <3c12eb8d0802010709q5467003cu9ef02806f2a193e5@mail.gmail.com>


On Feb 1, 2008, at 4:09 PM, Piotr Zielinski wrote:

> Just to to add one vote for including commas in the urls by default
> (at least in some cases); I often copy long links directly from the
> browser and have this problem quite often.
>
>>>> So URLs should just exclude commas that are followed by a  
>>>> whitespace
>>>> or a line break, not all commas - right?
>>
>>> Yes, but this is harder to do with a regexp.  I wish Emacs had look-
>>> ahead assertions like perl.
>
> What about saying that a url cannot end with a comma, but can contain
> commas?  Something like [a-z,]*[a-z] (this is a big big  
> simplication!).

Excellent suggestion, yes, this works.  Sometimes there are good ways to
work around, and in this case this works perfectly.  Thanks!

- Carsten

      reply	other threads:[~2008-02-01 22:32 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-30 18:53 commas in URLs? Adam Spiers
2008-01-31  5:43 ` Carsten Dominik
2008-01-31 14:46   ` Adam Spiers
2008-01-31 14:59     ` Carsten Dominik
2008-01-31 16:29       ` Adam Spiers
2008-01-31 17:39       ` Bastien
2008-01-31 18:22         ` Adam Spiers
2008-01-31 18:34         ` Carsten Dominik
2008-01-31 23:16           ` Leo
2008-01-31 23:43             ` Adam Spiers
2008-01-31 23:59               ` Leo
2008-02-01  0:40                 ` Adam Spiers
2008-02-01  8:58           ` Phil Jackson
2008-02-01 15:09             ` Piotr Zielinski
2008-02-01 22:31               ` Carsten Dominik [this message]

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=AF03BB7B-E228-4FB3-9B13-BD1DBCA07C80@science.uva.nl \
    --to=dominik@science.uva.nl \
    --cc=emacs-orgmode@gnu.org \
    --cc=piotr.zielinski@gmail.com \
    /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).