From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ihor Radchenko Newsgroups: gmane.emacs.devel Subject: Re: Exposing buffer text modifications to Lisp Date: Wed, 29 Jun 2022 20:24:23 +0800 Message-ID: <87o7ybk688.fsf@localhost> References: <2c2746e5f2558a87e8eab6f0914264a020173a9d.camel@pm.me> <27630AA3-8026-4E24-8852-ACCD9325B99D@gmail.com> <0E9E702B-B07C-4794-8498-29B9320E14CC@gmail.com> <871qvorqvv.fsf@localhost> <83tu8jq2vl.fsf@gnu.org> <87sfo37etn.fsf@localhost> <834k0jplcm.fsf@gnu.org> <878rpuwm9w.fsf@localhost> <83mteao3oj.fsf@gnu.org> <87edzmv3i0.fsf@localhost> <83k09eo1p5.fsf@gnu.org> <878rpuv17q.fsf@localhost> <83fsk2nyrm.fsf@gnu.org> <878rpr4kd4.fsf@localhost> <8335fzms6q.fsf@gnu.org> <87h74cya4u.fsf@tcd.ie> <83v8ssisll.fsf@gnu.org> <87bkuhwdf7.fsf@localhost> <83wnd5b8ip.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9705"; mail-complaints-to="usenet@ciao.gmane.io" Cc: contovob@tcd.ie, casouri@gmail.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Jun 29 14:26:46 2022 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 1o6WmM-0002NJ-6Z for ged-emacs-devel@m.gmane-mx.org; Wed, 29 Jun 2022 14:26:46 +0200 Original-Received: from localhost ([::1]:48794 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o6WmK-0007hZ-PD for ged-emacs-devel@m.gmane-mx.org; Wed, 29 Jun 2022 08:26:44 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56236) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o6Wj0-0005mQ-9f for emacs-devel@gnu.org; Wed, 29 Jun 2022 08:23:18 -0400 Original-Received: from mail-pf1-x42e.google.com ([2607:f8b0:4864:20::42e]:35817) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o6Wiy-0007tl-Sp; Wed, 29 Jun 2022 08:23:18 -0400 Original-Received: by mail-pf1-x42e.google.com with SMTP id x4so14976396pfq.2; Wed, 29 Jun 2022 05:23:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=/CyYwykQaXSuukpP9oa92aoDozOPext709Hl1h1BYPQ=; b=Yz+8s6kb/uTcYRxJ0/GE+yO5nrkfSOshNqv/VT0q/CNxwUSlE3ZswURws21SvgsqyQ zKKEGqq6fw+ylRMtKjkX/SpiDutHAiSLPrV5a3hGf7VCb3osVjJYNtPbpqp0KqEUF3Yr oPzOAPgWvNWJ+WKmyw/4xMvdBeYX+fm3p0qFhPdGajA98BxcJGYGjHNITxJXj5Tt4ih+ mS47i4bFwy967PatkkDi5gw72DKWC+KyahZBRRX0j9T4VE97+uQ0D+8B4nBsobW8z2b3 nnZ6AlAlagqJ+aRltC/4TIzp22Ctzzj/EDDpSxx3bN4u7w1QhGSavh7zUvFe3IvG2+mO 0GmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=/CyYwykQaXSuukpP9oa92aoDozOPext709Hl1h1BYPQ=; b=E59kLbvuIewz/Dvs3Gz7Dp/1XtdFGB53R5ACdwmrMazr3YBIY2Pe8Uql23Y3sCKdmQ cbIofyvK0AsWAL/+FwiJIe4JIG5f45n5Uik0Fdhwj3ogj9JE3wwti46axbFEJKF6ANdO 2eoWrMS4Sv80JBo7frMAQ+XULcTV7ScUzyCQMnQrcDmo0mDeTQd5IqA8XhbV9Crlaox1 MwYjjKboziQC3aAfvg6KSFfn1DjIajRUVAMQ8odRx7UcK0YgAer9QHfDjacQUQAn56gs dP4xKgswut3K9IfLT4Lu2pF2fYVRGAarTaJKFuGCp7QZO/xmxiV77FxS9JQzoJQ72fgI rymg== X-Gm-Message-State: AJIora+7vPs9D4SgbnizqmWaVLbXWZoZaox15OSfnH18LUb+7au5Kz4+ MB820bc2Xd3twXRrHaVHQgmmcqBs05s= X-Google-Smtp-Source: AGRyM1uRV9pUcml8FHBGZdaiWOWYl9yxazDNKpdocmGpWJqVVscRZSvpClyjkJwy/Q9c38zKH5Vofg== X-Received: by 2002:a62:6dc2:0:b0:525:43c8:79f7 with SMTP id i185-20020a626dc2000000b0052543c879f7mr10003469pfc.49.1656505394694; Wed, 29 Jun 2022 05:23:14 -0700 (PDT) Original-Received: from localhost ([155.94.207.39]) by smtp.gmail.com with ESMTPSA id j2-20020a654282000000b003fe28130b12sm11078223pgp.62.2022.06.29.05.23.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Jun 2022 05:23:13 -0700 (PDT) In-Reply-To: <83wnd5b8ip.fsf@gnu.org> Received-SPF: pass client-ip=2607:f8b0:4864:20::42e; envelope-from=yantar92@gmail.com; helo=mail-pf1-x42e.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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:291713 Archived-At: Eli Zaretskii writes: > Thanks. However, that Lisp includes Org code, and I wonder why is > that relevant and how it could affect the results. Using regexp > search shouldn't need any Org code, and is quite simple to write, I > think. The main problem is to find a recipe that puts many markers in > a buffer. If this is what the Org code in that recipe is about, then > it's one situation where benchmarking ASCII vs non-ASCII buffers will > help. Another use case is a buffer with a lot of overlays. It is harder than just putting many markers. I was unable to create a simpler reproducer. Best, Ihor