From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/71090 Path: news.gmane.org!not-for-mail From: Julien Danjou Newsgroups: gmane.emacs.gnus.general Subject: Re: [PATCH] Replace subst-char-in-region by subst-char-in-region Date: Sun, 19 Sep 2010 15:54:14 +0200 Message-ID: <87eicpbzzt.fsf@keller.adm.naquadah.org> References: <1284900370-6551-1-git-send-email-julien@danjou.info> <877hihdf3z.fsf@keller.adm.naquadah.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: dough.gmane.org 1284904502 20812 80.91.229.12 (19 Sep 2010 13:55:02 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 19 Sep 2010 13:55:02 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M19463@lists.math.uh.edu Sun Sep 19 15:54:59 2010 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OxKM6-0003MF-Rk for ding-account@gmane.org; Sun, 19 Sep 2010 15:54:59 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1OxKLz-0008Jm-I1; Sun, 19 Sep 2010 08:54:51 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1OxKLy-0008JO-30 for ding@lists.math.uh.edu; Sun, 19 Sep 2010 08:54:50 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1OxKLw-00023q-LX for ding@lists.math.uh.edu; Sun, 19 Sep 2010 08:54:49 -0500 Original-Received: from prometheus.naquadah.org ([212.85.154.174] helo=mx1.naquadah.org) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1OxKLv-0002AN-00 for ; Sun, 19 Sep 2010 15:54:47 +0200 Original-Received: by mx1.naquadah.org (Postfix, from userid 8) id 225AD5C14A; Sun, 19 Sep 2010 15:54:17 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on prometheus.naquadah.org X-Spam-Level: X-Spam-Status: No, score=-1.4 required=4.5 tests=ALL_TRUSTED,BAYES_00, URIBL_RHS_DOB autolearn=no version=3.3.1 Original-Received: from keller.adm.naquadah.org (unknown [IPv6:2a01:e35:2e39:e900:222:faff:fe9d:ce44]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.naquadah.org (Postfix) with ESMTPSA id 5AFE35C148 for ; Sun, 19 Sep 2010 15:54:15 +0200 (CEST) Original-Received: from jd by keller.adm.naquadah.org with local (Exim 4.72) (envelope-from ) id 1OxKLO-0002lY-PB for ding@gnus.org; Sun, 19 Sep 2010 15:54:14 +0200 In-Reply-To: (Lars Magne Ingebrigtsen's message of "Sun, 19 Sep 2010 15:45:05 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-Spam-Score: -0.4 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:71090 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Sun, Sep 19 2010, Lars Magne Ingebrigtsen wrote: > Ok. It might not even be an issue any more -- I haven't benchmarked > stuff like that in a decade or more. Well, tested on 5K messages. it only takes ~2s here to manipulate the marks with "M C" or M-5000 M-u. :-) > Nope. It's why Gnus uses subst-char-in-region many places where other > solutions might be more natural. I grepped the sources, and anyhow, all other functions using subst-char-in-region are using predefined replacement chars, not user defined like in gnus-summary-update-mark. So they're safe (from me :-)) and should not bug out. =2D-=20 Julien Danjou // =E1=90=B0 http://julien.danjou.info --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAkyWFgYACgkQpGK1HsL+5c12rwCgt0A/GWkQWEmEUO+njcRminpO ZxkAn0B/zFe8EzEvClguBxBV52JQUhc/ =BIB4 -----END PGP SIGNATURE----- --=-=-=--