From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.help Subject: Re: Why does using aset sometimes output raw bytes? Date: Sun, 09 Dec 2018 18:20:29 +0100 Message-ID: <871s6qobvm.fsf@gmx.net> References: <87h8fmohmo.fsf@gmx.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1544375950 5695 195.159.176.226 (9 Dec 2018 17:19:10 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 9 Dec 2018 17:19:10 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: help-gnu-emacs@gnu.org To: Stefan Monnier Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Dec 09 18:19:06 2018 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 1gW2jS-0001Ok-GS for geh-help-gnu-emacs@m.gmane.org; Sun, 09 Dec 2018 18:19:06 +0100 Original-Received: from localhost ([::1]:56098 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gW2lZ-0005Su-7l for geh-help-gnu-emacs@m.gmane.org; Sun, 09 Dec 2018 12:21:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36459) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gW2l0-0005So-OY for help-gnu-emacs@gnu.org; Sun, 09 Dec 2018 12:20:43 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gW2kx-00021H-L7 for help-gnu-emacs@gnu.org; Sun, 09 Dec 2018 12:20:42 -0500 Original-Received: from mout.gmx.net ([212.227.15.15]:38981) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gW2kx-0001zP-Bq for help-gnu-emacs@gnu.org; Sun, 09 Dec 2018 12:20:39 -0500 Original-Received: from rosalinde ([88.74.23.82]) by mail.gmx.com (mrgmx002 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MBWo2-1geJxZ1zXy-00ATrp; Sun, 09 Dec 2018 18:20:31 +0100 In-Reply-To: (Stefan Monnier's message of "Sun, 09 Dec 2018 12:10:00 -0500") X-Provags-ID: V03:K1:yTE+OyEt8XYcblaqHYFgK+cc8Q7S55OP+jcLoRk7vs5b7GtkaBN WbIufOZ60ZbzEfJHmoOuMnGdlTrTV9/6uPa53QdVJAhEDXAmUnVDA+4ska5M4eNmW0Z6jM0 IU726hsjKjBeRue/PP5jRJ1OgLxYjBv2B0XzYm3I2jmz7PUt8pMAjIjGRNGMyWQNY3PAeIM idTGYljQ8cm+fI4DQ97VQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:rdjS39Wblew=:7r758cugigT5mK3GbH0bny cxUF+gLAcrNtjCuRuEQx8CyDdbqypwEKiCPpdeKyFN1UDuQRhdcfFu/rncsF6pyBtzqQTM6d+ zGMbNXepYIyqm0C1phyCJwMU2EZLSRd6C3nhyShxQBsifzL3N/9hAi2XCEMdpeNtBnEcQe4sH IYKuwTfov0ChcOdhNuwmmVHyQM1VnCuJXs5nxCLAV1+Bl6ln78X+hmFewjMh55NhloUCHqCWf wP1HJzTEY/PoGGRifxx0rpbXMI97IGXT4VeY09YRR2PiqJTCGgsQZkfKVFx2z0lTygve2Cf90 bFPSyyox3u8Uj3KHj7deH/7pgr3W64eHo6Gg31f3mNflTEvI6GMyIb0kLaNRXysvVhgvI5dW/ NcLVyiHQF3aB2AZi1+a/2V+yKWNlfZYiqpGmRKjgS3cRUuR3GHWHIdd8OfGBMyNiNqJ8E5blF mPbB5BV7hFxlOJ9i3tyWb08QgZXXDgVQ6TRe4bb/sbDFHP3Xi3ICEnfKPHSl4qwjSl0frZVbm owN+byTd/oVvW59Gkp4D4EWhspbBkvosBtZMjlHnM0Xbv7k0IqmDiAWkGYmq7XBIAW1cIvWve WFCVJA67+YWXgxpFRv0uYGyQ9KnuesHdBJ3kQf/P0VlCZ2/qZQ+PitWcZnI7Q5EZ9fVCvanv3 iz3bqKypx4Kn8pNRqsDMocoFrQwiq3fmBOWmKNqwJVHeYwGdWvZl52ONJruoALmIMLVxvj21x 9arXvlpu5U2ULh28Lg/4B+p87ekkMsfiAZKnld+YeL3pfIV3mxrl828+sgfr3STEKmeNdX/V X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.15.15 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:118944 Archived-At: On Sun, 09 Dec 2018 12:10:00 -0500 Stefan Monnier wrote: >> When I use aset to change characters in a string > > I recommend you don't do that unless it's *really* indispensable. > >> (insert (aset "aous" i (aref "=C3=A4=C3=B6=C3=BC=C3=9F" i))) > > I also recommend you don't use the return value of `aset`. I don't have a use case where using aset like this is indispensable, I was just experimenting. Are your reservations because the implementation of aset is brittle, leading to things like the observations I reported -- maybe too hard to fix and not worth the trouble? Or are there other reasons not to use aset as above? Steve Berman