[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Automatic (e)tags generation and incremental updates

From: Dmitry Gutov
Subject: Re: Automatic (e)tags generation and incremental updates
Date: Tue, 12 Jan 2021 18:59:36 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

Hi Stefan,

On 12.01.2021 06:21, Stefan Monnier wrote:
BTW, writing it to disk becomes 10x faster if the tags file is visited
literally. I wonder if that mode could work well for most users. Some quick
testing showed that it's functional, though I'm guessing it won't work for
identifiers containing unicode characters.

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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]