From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: recoding a buffer coding system Date: Sun, 16 Aug 2009 23:09:44 +0200 Message-ID: <69A2E477-A9F9-40A8-8F60-DC315A0E72A5@Web.DE> References: <87zla29j5p.fsf@uchicago.edu> <833a7tk2hb.fsf@gnu.org> <87hbw9m9mb.fsf@uchicago.edu> <6F6305D2-A661-4DA3-A5BB-02EA10068BB5@Web.DE> <87ab204hl6.fsf@uchicago.edu> <2644E203-1D16-44C2-9999-B7357386CD49@Web.DE> <83r5vcih1o.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=WINDOWS-1252; delsp=yes; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1250457030 6455 80.91.229.12 (16 Aug 2009 21:10:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 16 Aug 2009 21:10:30 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Eli Zaretskii Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Aug 16 23:10:22 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Mcmzd-00009t-3p for geh-help-gnu-emacs@m.gmane.org; Sun, 16 Aug 2009 23:10:21 +0200 Original-Received: from localhost ([127.0.0.1]:58432 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mcmzc-00088A-AO for geh-help-gnu-emacs@m.gmane.org; Sun, 16 Aug 2009 17:10:20 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1McmzH-00086k-Ba for help-gnu-emacs@gnu.org; Sun, 16 Aug 2009 17:09:59 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1McmzC-00084K-WA for help-gnu-emacs@gnu.org; Sun, 16 Aug 2009 17:09:58 -0400 Original-Received: from [199.232.76.173] (port=39425 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1McmzC-00084H-R0 for help-gnu-emacs@gnu.org; Sun, 16 Aug 2009 17:09:54 -0400 Original-Received: from fmmailgate02.web.de ([217.72.192.227]:57882) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mcmz9-0000FG-OC; Sun, 16 Aug 2009 17:09:52 -0400 Original-Received: from smtp07.web.de (fmsmtp07.dlan.cinetic.de [172.20.5.215]) by fmmailgate02.web.de (Postfix) with ESMTP id 72A1C114ADE3F; Sun, 16 Aug 2009 23:09:46 +0200 (CEST) Original-Received: from [91.35.240.99] (helo=[192.168.1.2]) by smtp07.web.de with asmtp (WEB.DE 4.110 #314) id 1Mcmz4-00007n-00; Sun, 16 Aug 2009 23:09:46 +0200 In-Reply-To: <83r5vcih1o.fsf@gnu.org> X-Mailer: Apple Mail (2.753.1) X-Sender: Peter_Dyballa@web.de X-Provags-ID: V01U2FsdGVkX1/iGHSxRqiQueniZ4Vtg/JL10j2W6YlvhiiayUK A+V2MEOR7yN+2HN/lhe/6QbfoehOFrXsRgg0+iXAHsY6BbFWL0 s/eEwf1VM5OnOVn1NJmw== X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:67209 Archived-At: Am 16.08.2009 um 05:17 schrieb Eli Zaretskii: > Sounds like a bug that should be reported. I think there is no bug in url-retrieve-synchronously! This function =20 needs to be kind of universal, i.e., don't assume or set anything. =20 =46rom the internet one can download anything, 7-bit US-ASCII, 8-bit =20= umlauts, Unicodes =96 and real binary data (PDF, JPEG, MPEG,...). It =20 would be nice if this function would accept another argument, the =20 encoding for the buffer created. Right now the user has to take care =20 of this, because the user knows what kind of "data" will be (or =20 already was) downloaded. The variables save-buffer-coding-system or =20 buffer-file-coding-system determine how the buffer will be saved in a =20= file. And this should suffice... -- Greetings Pete Theory and practice are the same, in theory, but, in practice, they =20 are different.