From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: Towards a cleaner build: erc.el Date: Fri, 14 Jun 2019 13:49:13 +0200 Message-ID: References: <83zhn6zkgf.fsf@gnu.org> <83a7eo9nsh.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="151956"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 14 13:51:41 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hbkk7-000dBJ-TB for ged-emacs-devel@m.gmane.org; Fri, 14 Jun 2019 13:51:40 +0200 Original-Received: from localhost ([::1]:50428 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hbkk1-0005nk-B1 for ged-emacs-devel@m.gmane.org; Fri, 14 Jun 2019 07:51:33 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46318) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hbkhu-0005lB-T1 for emacs-devel@gnu.org; Fri, 14 Jun 2019 07:49:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hbkhp-000110-Jz for emacs-devel@gnu.org; Fri, 14 Jun 2019 07:49:19 -0400 Original-Received: from quimby.gnus.org ([80.91.231.51]:40676) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hbkhp-0000yz-CB for emacs-devel@gnu.org; Fri, 14 Jun 2019 07:49:17 -0400 Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=stories) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hbkhl-0002eY-WA; Fri, 14 Jun 2019 13:49:16 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAMFBMVEVKb9PO1ucDDTD6+vdm iuBdgt0lRakSKW5rkOMcOZV/oux0mOf////+//4zV8H+/v2GhY39AAAB0klEQVQ4jZ3UMUvDQBQH 8FsEp0JxEycXF0U0q9DlDgIuHbyvcJLROGQpdIlwkL2hX+G6OoTeJCqIDdRBQXTPWJCiIgTju9z1 Etsq6J8O4X68e713IeggXZpL9FcY/wovTZO9tT2nueY4Bwb2N+eyPQdBsAS2AhPfQp6+B9/i2woF fZNYyQw+1Eqvx5jX9+Ap8DsG3pjHbLx+bOGTsUmZDH7Mq+BuUkvG4qBjZnWHTBpKWH8RSsoqeEV1 ybx4BtcIUUrbWjQUGqiNhq7TKuEeVo5ICW0E3eNuruGKUuJiTAxAxVTDDcaYc471VgpaBrjrRjIh Fk5NjxHnkZRJaLc6cZwZSDFIdJdGreKZR0OAEFph0siq5qNICiET6M+TM1XRdXKzlQK1LmWoKk5z PZIRLnvjo0gMzgGC3bGuuF7BRE1qdWhgO9XwsOISNb9VUcFUwaOr/iylh9DpXN3HDJ4EZCDl0IB6 fUq4FTY/QzjJYn9nAeD4cB3zMBxAAYGDV1tJvQ0kpACbFUizDqOHY9QBxl5OkbQNlCe/VfckechD TNtwvgqwyyVcOYZ1BC0sjCisYf32oGO/gotmPetCbPznkwEwTtOiWIAparYKSJ6O61rk0y/9WocU FVLg6QAAAABJRU5ErkJggg== In-Reply-To: (Stefan Monnier's message of "Thu, 13 Jun 2019 12:21:22 -0400") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 80.91.231.51 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:237593 Archived-At: Stefan Monnier writes: >> Would a way forward here be to obsolete this hook variable and add a new >> function along those lines? > > I haven't looked in detail, but an erc-pre-send-function that filters the > string sounds good, yes. OK, I'll add that and deprecate the hook and adjust the documentation. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no