emacs-devel
[Top][All Lists]
Advanced

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

Re: with-url


From: Lars Ingebrigtsen
Subject: Re: with-url
Date: Thu, 29 Dec 2016 19:52:18 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Eli Zaretskii <address@hidden> writes:

>> (But in a networking environment, the Emacs terminology is very
>> confusing.  You have `coding system' where all standards say `charset',
>> and in addition you have all the standards talking about `encoding',
>> which is things like base64 and url-encoding.  So the parameter list, if
>> changed, will talk about :data-coding-system and
>> :data-transfer-encoding, which is probably not as helpful as it should
>> be.
>
> How about :coding-system and :transfer-encoding instead?

It's the coding system for the data, not the rest of what's transferred,
so you need the `data' in there...  The headers are each encoded
according to various other conventions (the Host is punycode, the
User-Agent is ... er...  I haven't looked up the standard, but I'm
guessing url-encode).  

> I think this eventually boils down to the question whether most users
> of this feature feel more at home with network-style "charset" or with
> Emacs-style "coding-system".  I don't know the answer.

I think calling the parameters :data-coding-system (etc) and then
clarifying in the doc string that it's the charset (if you squint at it)
is OK...  I was just kinda digressing: I think the nomenclature
`coding-system' in Emacs is unfortunate, but it's what we're stuck with.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



reply via email to

[Prev in Thread] Current Thread [Next in Thread]