Re: [PATCH] Don't append final newline when copying URIs to text



On 10/8/06, Christian Neumair <chris gnome-de org> wrote:
Am Sonntag, den 08.10.2006, 15:48 +1300 schrieb Matthew Paul Thomas:
> Commas are valid characters in URIs. (They feature heavily in the URIs
> of Web pages managed by Vignette StoryServer, for example.)
>
> Some programs guess that a trailing comma probably isn't part of the
> URI, but others don't.

Good point, I also thought of this. But when users want to paste
multiple URIs into a text, doesn't the assumption usually hold that it
should be embedded into a floating text?

Not for me at least, no. Reason being that URLs rarely are short and sweet in real cases, and so don't work very well in floating text, so if I'm including multiple URLs in a row in text, it's usually as a bullet point list or something like that.

Commas really won't work, because it could be a valid part of the URL, and may be interpreted as such in automatic highlights etc. URLs really have no place in normal text, because there are too many clashes of conventions. That's why we use alternative names in HTML and footnotes otherwise...

-- Stoffe
 


When apps are specifically interested in "valid" URI lists, they can
explicitly use gtk_selection_data_targets_include_uri() and
gtk_selection_data_get_uris().

--
Christian Neumair <chris gnome-de org>

--
nautilus-list mailing list
nautilus-list gnome org
http://mail.gnome.org/mailman/listinfo/nautilus-list



--
Kristoffer Lundén
kristoffer lunden gmail com
kristoffer lunden gamemaker nu
http://www.gamemaker.nu/
☎ 0704 48 98 77


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]