From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: hector Newsgroups: gmane.emacs.help Subject: Re: string-bytes and coding systems Date: Thu, 9 Mar 2017 10:23:28 +0100 Message-ID: <20170309092328.GA4418@workstation> References: <87r327nyto.fsf@ericabrahamsen.net> <20170309074620.GA2969@workstation> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1489051669 12220 195.159.176.226 (9 Mar 2017 09:27:49 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 9 Mar 2017 09:27:49 +0000 (UTC) User-Agent: Mutt/1.5.20 (2009-06-14) Cc: help-gnu-emacs@gnu.org To: Yuri Khan Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Mar 09 10:27:46 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cluMC-0001wp-Tr for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Mar 2017 10:27:37 +0100 Original-Received: from localhost ([::1]:32942 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cluMI-0001fL-R4 for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Mar 2017 04:27:42 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56792) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cluLp-0001dk-LL for help-gnu-emacs@gnu.org; Thu, 09 Mar 2017 04:27:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cluLm-00009S-I2 for help-gnu-emacs@gnu.org; Thu, 09 Mar 2017 04:27:13 -0500 Original-Received: from mail-wr0-x244.google.com ([2a00:1450:400c:c0c::244]:36553) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cluLm-000099-Bs for help-gnu-emacs@gnu.org; Thu, 09 Mar 2017 04:27:10 -0500 Original-Received: by mail-wr0-x244.google.com with SMTP id l37so7106036wrc.3 for ; Thu, 09 Mar 2017 01:27:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=QyJgMbYNYODBsKJ/jg6JOfhCpP2yjmVsB1NUzCMntfk=; b=QtXdFkuK+nBMBmvpMdHYgOryj52hYlVtvne4d2PBbUJLhFt3WtawKywQTaMx5hBt4f reVJCntO9z4MMNSjw5oBSzai3VO7fuzh5tJTTJEWvB/b9x/hR0zJDJIkr7Vjhdev4ieH 95hYaskD1XOkM/4x0K0/7rN6nd9ryWABoHXWFRCCTbQQ2OFAXcz/NMMAtBeJ6YnHjJel sGZQvotN0m6Dzic0v3airOUI3iKdAfbTuVcPP1mXFjs7ePwHVZS6tKWJ2oYRnh/HXrtk na5oWphL25aWVVWrTnn75pu6hggWicKXr/JbGVgQzJGk+wBLudmMLeylmhm85mbKjhzr 1uBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=QyJgMbYNYODBsKJ/jg6JOfhCpP2yjmVsB1NUzCMntfk=; b=q3ALAtWrDXkI29bsuKlSIE6qa5pboZPIt97v46Q3w50vyH/IweU7/DstMldqoyihBn vzjzuZcKogB2najk3cB6QdY/zJmDgM1OMn6SwNF09jOfAtrd8OI2tl981rej4gHddoeI yNIJhRxmKf3raevTUCsl232Sw8inM4rv4fDi7j57c9UENU7Gz9taeXUGDPPW/mjbU+xt JLZslpqX15aUE8cPIGh+6YcxCLKwgoC++iQQDuN+CWgHi60vDEu49CEXYidZzQauYgui zOWz7SHOVL/R2srQgkClVRo45F25Sy9hQd8det4+FGbqU4D/X6vBj00rzxT4YGwZXGIP 1ClQ== X-Gm-Message-State: AMke39kEpuasZY4GOKAyUx2RWif86eW/67SFOlRA2ivB+qacGCKQLo76MM7ZVNbTnOgFcQ== X-Received: by 10.223.160.162 with SMTP id m31mr9974497wrm.54.1489051629302; Thu, 09 Mar 2017 01:27:09 -0800 (PST) Original-Received: from workstation ([148.56.211.135]) by smtp.gmail.com with ESMTPSA id z198sm8010004wmz.24.2017.03.09.01.27.08 (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 09 Mar 2017 01:27:08 -0800 (PST) X-Google-Original-From: hector Content-Disposition: inline In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::244 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:112475 Archived-At: On Thu, Mar 09, 2017 at 02:54:16PM +0700, Yuri Khan wrote: > On Thu, Mar 9, 2017 at 2:46 PM, hector wrote: > > On Wed, Mar 08, 2017 at 03:17:07PM -0800, Eric Abrahamsen wrote: > >> I'm writing a function that's supposed to wrap too-long text lines; the > >> RFC says anything over 75 octets (excluding eol) needs to be wrapped, > >> but multibyte characters must not be split. > > > > Why don't you just use fill-paragraph? > > Because that works in terms of characters, not octets? Right. It would be weird for a user command to work in terms of octets, wouldn't it?