From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?Cl=c3=a9ment_Pit-Claudel?= Newsgroups: gmane.emacs.devel Subject: Re: Lisp primitives and their calling of the change hooks Date: Wed, 10 Jan 2018 17:06:57 -0500 Message-ID: <5f5a84de-b427-65db-21eb-737b60b2eec5@gmail.com> References: <20180107194845.GE22254@ACM> <838td98mqe.fsf@gnu.org> <20180107211055.GF22254@ACM> <837est81bl.fsf@gnu.org> <20180108192415.GA5531@ACM> <83h8rw6oio.fsf@gnu.org> <20180109195357.GA3869@ACM> <20180110184521.GB6175@ACM> <20180110194839.GC6175@ACM> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1515621917 3342 195.159.176.226 (10 Jan 2018 22:05:17 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 10 Jan 2018 22:05:17 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 Cc: Eli Zaretskii , emacs-devel@gnu.org To: Alan Mackenzie , Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 10 23:05:12 2018 Return-path: Envelope-to: ged-emacs-devel@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 1eZOUa-0008WJ-BG for ged-emacs-devel@m.gmane.org; Wed, 10 Jan 2018 23:05:04 +0100 Original-Received: from localhost ([::1]:44037 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eZOWa-0006nJ-2d for ged-emacs-devel@m.gmane.org; Wed, 10 Jan 2018 17:07:08 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45291) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eZOWT-0006mw-LJ for emacs-devel@gnu.org; Wed, 10 Jan 2018 17:07:02 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eZOWS-0005YL-SE for emacs-devel@gnu.org; Wed, 10 Jan 2018 17:07:01 -0500 Original-Received: from mail-qk0-x22c.google.com ([2607:f8b0:400d:c09::22c]:44793) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eZOWS-0005Xx-LH; Wed, 10 Jan 2018 17:07:00 -0500 Original-Received: by mail-qk0-x22c.google.com with SMTP id u76so1334945qku.11; Wed, 10 Jan 2018 14:07:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=tanHbiTPxxWYvWBq78Qd+sDlRakBZwMLRKWkPXHOvbk=; b=oTd/cH35Bm6JRLLvDuAjwb4N1U8WOnJ50KkOtx4Vn9CBZ75lBlI+7r6K8xn12Tc85v cA/CZC+ABwaQ2ULTPtZ1rVMkYGyLeQ8DUikbj/5oxSlLQc8U1kgKvD45vUoeX2LvF0PG 3lRn2oEgWqeXX6o/ZL2AlRwGEEQbBBQnY1MnzR5WiRN7Y9Z8adTt+vLDYUbWMsrBqee5 xOUcdsnaHxzWVLWibO3FS9uyliNAAKJBj7ioFnE176HrdBjFHXkh85ptkC/o+w2LywgT GWTUfn5Oq1ipAhFdaB1LpZKo+PNHAe69P6vOyvHa8YhbAA1wO2UCGoYUYiHXH/kyCopl NY0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=tanHbiTPxxWYvWBq78Qd+sDlRakBZwMLRKWkPXHOvbk=; b=siSNCEd0qx3Ex/RoJeRIz8Mz1uxB3uUTpRSrjLKWcN25/Ucaabywcwlg0TOTcyaG/k GKLgdOMDGYOD72rKReuzCr18N/+Vt38vd6A9JT2Q/fA1hg6bKqadG9Gj8pMs0NpZLcef s3wL2q65Mst+RFcuA3AiEXghob7J8m9qDm8ceOjfO9H1fqjELJ2pfYXkyGtJJaQlQRRc /buBjvAoMYrjwbxK62DTj4x6QUVPog/eEMX8Xar8YcjEEH7xQjMH+1sJFZoDgDZmFse4 tVNsU4ZQi91hyTm9qXnqisBe5hGm9IwGKOs6/LFEn38BIUyJKNC46+tbsTgmzMdtHW94 OEsQ== X-Gm-Message-State: AKwxytf50dKUSzFNDqiiPCIEUbVrdlktD8tTbeG5i983AzKF8MEubFBe O5hF2YNqU1kGA9tb2safI7G0uxoD X-Google-Smtp-Source: ACJfBouPVpFSj/0GliIPrLn82BEnMKBoyb+aWITHx2uQ0xvU91ay7ptpqV89N2GAqxvnpeyl7AHW1w== X-Received: by 10.55.115.7 with SMTP id o7mr26876213qkc.135.1515622019690; Wed, 10 Jan 2018 14:06:59 -0800 (PST) Original-Received: from ?IPv6:2601:184:4180:66e7:55aa:637e:906b:16ce? ([2601:184:4180:66e7:55aa:637e:906b:16ce]) by smtp.gmail.com with ESMTPSA id c50sm11231958qte.38.2018.01.10.14.06.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 10 Jan 2018 14:06:58 -0800 (PST) In-Reply-To: <20180110194839.GC6175@ACM> Content-Language: en-GB X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c09::22c X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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:221815 Archived-At: On 2018-01-10 14:48, Alan Mackenzie wrote: > At the moment, non-balancing b/a-c-f are used only in primitives which > can't change the length of the buffer - things like > translate-region-internal and upcase-region. Sorry if I missed previous parts of the discussion that make the following irrelevant: in a buffer containing "Straße" a call to (buffer-size) returns 6, and a call to (buffer-size) after C-x h M-x upcase-region returns 7 (because the text becomes STRASSE). Does this contradict your assertion above? Does it matter? (Additionally, and likely unrelatedly, the region boundaries after running upcase-region on that example seem wrong — they don't include the 'E'). Clément.