From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Automatic (e)tags generation and incremental updates Date: Tue, 12 Jan 2021 12:24:44 -0500 Message-ID: References: <779a6328-9ca5-202a-25a2-b270c66fe6dd@yandex.ru> <8fc5e96c-ebb8-c668-9b2a-c7c4ee54c0b9@yandex.ru> <83r1mwltob.fsf@gnu.org> <0bee9ab4-46bc-b6fd-97b6-e26cc80f1610@yandex.ru> <875z45dbm7.fsf@tromey.com> <1e9c9572-52ee-339b-78a2-731b9eb5f3de@yandex.ru> <871resd93f.fsf@tromey.com> <83mtxffrou.fsf@gnu.org> <106abdbb-ce7a-4911-0831-149da3dccfb3@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7757"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Eli Zaretskii , tom@tromey.com, philipk@posteo.net, john@yates-sheets.org, emacs-devel@gnu.org To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Jan 12 19:12:38 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kzO9k-0001pF-Ou for ged-emacs-devel@m.gmane-mx.org; Tue, 12 Jan 2021 19:12:36 +0100 Original-Received: from localhost ([::1]:40806 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kzO9j-0005nz-Qv for ged-emacs-devel@m.gmane-mx.org; Tue, 12 Jan 2021 13:12:35 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38448) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kzNPW-0006uY-EN for emacs-devel@gnu.org; Tue, 12 Jan 2021 12:24:50 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:61566) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kzNPU-000054-5B; Tue, 12 Jan 2021 12:24:50 -0500 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id BD4D580BAF; Tue, 12 Jan 2021 12:24:46 -0500 (EST) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id F01CE80810; Tue, 12 Jan 2021 12:24:44 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1610472284; bh=HlVYJ4H57ZUAjudYgYu4rkjZkvZdIa+0bq2ndCCAmG0=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=EEU8YcyxNbb+6PH5ah4c4OCNIN5NwG7AzdFxHsWaYglqSiF4pT+2iptNSmeVNaqCr OuzMsXhLmHSklwHkRDM4Vwghy5GIvNUno0hjqliObEkIQu2jxNTHHggQQzELu3cu+e rpC9UP02V4jzqbRdPlLSoCOC4zXBkzs9+9QduSdzrxnzwTGDHY80CdHr2+v0nDSyLN z18g+VuKUWby4pumVbxvcWCO9jzEzhgJ9spUqyNPSRmErWmAK1sw9qLEZGGsGeB+UV MfQrPwlsReqBOmUzQFq++otA96UQ32QtaNeLBtN4YRz6g1aE8llu68O9zIHYrH9N7X VJCyCh4HN/JVg== Original-Received: from alfajor (unknown [45.72.224.181]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id A285F1204EA; Tue, 12 Jan 2021 12:24:44 -0500 (EST) In-Reply-To: (Dmitry Gutov's message of "Tue, 12 Jan 2021 18:59:36 +0200") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:263012 Archived-At: >> How 'bout saving it in `utf-8-emacs`? > > Am I doing it right? > > (let ((coding-system-for-write 'utf-8-emacs)) > (write-region (point-min) (point-max) buffer-file-name))) > > shows only a 5-20% improvement in speed. How disappointing :-( Stefan