From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: Towards a cleaner build: rmailmm Date: Fri, 14 Jun 2019 13:45:59 +0200 Message-ID: References: <83a7eo9nsh.fsf@gnu.org> <83muiky6im.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="162555"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Stefan Monnier , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 14 13:53:45 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hbkm9-000g71-JB for ged-emacs-devel@m.gmane.org; Fri, 14 Jun 2019 13:53:45 +0200 Original-Received: from localhost ([::1]:50448 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hbkm8-0007qU-Kl for ged-emacs-devel@m.gmane.org; Fri, 14 Jun 2019 07:53:44 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45256) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hbken-0004m4-Ky for emacs-devel@gnu.org; Fri, 14 Jun 2019 07:46:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hbkel-0006K5-K6 for emacs-devel@gnu.org; Fri, 14 Jun 2019 07:46:09 -0400 Original-Received: from quimby.gnus.org ([80.91.231.51]:40630) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hbkel-0006E1-C2; Fri, 14 Jun 2019 07:46:07 -0400 Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=stories) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hbked-0002bW-Ko; Fri, 14 Jun 2019 13:46:02 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAMFBMVEVKb9PO1ucDDTD6+vdm iuBdgt0lRakSKW5rkOMcOZV/oux0mOf////+//4zV8H+/v2GhY39AAAB0klEQVQ4jZ3UMUvDQBQH 8FsEp0JxEycXF0U0q9DlDgIuHbyvcJLROGQpdIlwkL2hX+G6OoTeJCqIDdRBQXTPWJCiIgTju9z1 Etsq6J8O4X68e713IeggXZpL9FcY/wovTZO9tT2nueY4Bwb2N+eyPQdBsAS2AhPfQp6+B9/i2woF fZNYyQw+1Eqvx5jX9+Ap8DsG3pjHbLx+bOGTsUmZDH7Mq+BuUkvG4qBjZnWHTBpKWH8RSsoqeEV1 ybx4BtcIUUrbWjQUGqiNhq7TKuEeVo5ICW0E3eNuruGKUuJiTAxAxVTDDcaYc471VgpaBrjrRjIh Fk5NjxHnkZRJaLc6cZwZSDFIdJdGreKZR0OAEFph0siq5qNICiET6M+TM1XRdXKzlQK1LmWoKk5z PZIRLnvjo0gMzgGC3bGuuF7BRE1qdWhgO9XwsOISNb9VUcFUwaOr/iylh9DpXN3HDJ4EZCDl0IB6 fUq4FTY/QzjJYn9nAeD4cB3zMBxAAYGDV1tJvQ0kpACbFUizDqOHY9QBxl5OkbQNlCe/VfckechD TNtwvgqwyyVcOYZ1BC0sjCisYf32oGO/gotmPetCbPznkwEwTtOiWIAparYKSJ6O61rk0y/9WocU FVLg6QAAAABJRU5ErkJggg== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 80.91.231.51 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:237594 Archived-At: Eli Zaretskii writes: > I think we should simply remove that call and use the result of > buffer-string directly. The buffer whose text we are receiving from > buffer-string is a unibyte buffer, so the string will also be unibyte. > I just tried this on my recent mail and didn't see any problems. OK; I'll remove the string-as-unibyte call (but I'll add an assert about the unibyteness in case there are some call sequences that leave the buffer somehow multibyte). -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no