From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?Andreas_R=c3=b6hler?= Newsgroups: gmane.emacs.devel Subject: Re: New hook before-region-change-functions wanted Date: Tue, 12 Sep 2017 17:46:55 +0200 Message-ID: <8668d7ef-ec15-2b2a-b066-a92236337c9a@online.de> References: <20170908144657.GA3463@ACM> <20170909083326.GA5194@ACM> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------6C312ED0A10486340777CC17" X-Trace: blaine.gmane.org 1505335688 5287 195.159.176.226 (13 Sep 2017 20:48:08 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 13 Sep 2017 20:48:08 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux i686; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 Cc: Alan Mackenzie , rms@gnu.org To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 12 17:33:54 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1drnC2-0007Hr-Vo for ged-emacs-devel@m.gmane.org; Tue, 12 Sep 2017 17:33:43 +0200 Original-Received: from localhost ([::1]:36558 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1drnCA-0006BW-1o for ged-emacs-devel@m.gmane.org; Tue, 12 Sep 2017 11:33:50 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44750) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1drn98-0003w4-1U for emacs-devel@gnu.org; Tue, 12 Sep 2017 11:30:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1drn96-00043Z-Vq for emacs-devel@gnu.org; Tue, 12 Sep 2017 11:30:42 -0400 Original-Received: from mout.kundenserver.de ([212.227.126.130]:57364) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1drn91-0003zq-5C; Tue, 12 Sep 2017 11:30:35 -0400 Original-Received: from [192.168.178.35] ([77.12.111.208]) by mrelayeu.kundenserver.de (mreue001 [212.227.15.167]) with ESMTPSA (Nemesis) id 0MClOM-1diPUS2Qz4-009SRd; Tue, 12 Sep 2017 17:30:30 +0200 In-Reply-To: Content-Language: en-US X-Provags-ID: V03:K0:92w56Xs35PjUgSGTlEDp0o05qOSmR9bcsM4thRZEo5Q6PQrun6i cTPWOb8XXxLzXthEciAAS3jFkm8Ah7KbJNtHZRDMw4i//MhpEagv05amMi5wJMfDRYcm9o+ 8r08RFFx4szu6cuGX/yjnA1FypOOJX1BpHegzxb3FDva4g9okf7Q6ZG9FOwYg/3oxTMlYL9 +a0fSCIY6CDVTm2+nMDxw== X-UI-Out-Filterresults: notjunk:1;V01:K0:L4TIO7zYRJ0=:mJKboZhuRm9VDkmDZZjnAQ nVSxUoEhZ5cTnZjsq0i2+/JmtwHRiV+Umlb2ojBLtS7pSBp2AnkBJvtPfgYImnkTG70lMdZB2 BvbFTndpzJF5DQwbd7gF3QSTTfBLI0VNMnZyhMakdi83jN0LNIrxkFi8lXtVOr1eQvi7+KIuZ /J1MEFnTXPVE8I5zerInQ5MwaRRSq+iyzl6KabGQWXqXovyuxX3srC/tUSERvsbbIXvvUvzsS /KJ0bdDDvIMog/rUyIIaEy3RiHvMEuIbjtChaDWriS0Zw2GM6PTtp/GNs9RBcrpAd6RJJXTGq nhco7/PZjJe9dH4Sc6xuz/n8aAK1LmbJlD5NYC6wiABmTpF3pw8Jj0FMoHsVq37265++1rtyj KrnQD6Lf4Yh96YreF/i6e/4kGFMR1DIV4salj+P4yskoiEuudrWXdjA2v908HX35LtIlFWIVR sWpZgPy3hRW0cke2DKqNqpyKpyRXlhH1C2kaLL2j8UTw0XjKcIQVwTIfhTxBOsilll0N5S4zp GQi4SqvSX+NCQ/MuyxSpLludYjMiTwBcjDFrMPj/sUascYiw6mKuEGt9qa1VTsQALeSPFb25n +XFDmQL9kT5Snu5dJAv4krXnNpUx19T1RntrhfwHJosc2cXRQ4k55L+py0nLmxo5rwxnyfzcG qyNcaspibBQZCvnHL9Qv0QtWJld7jOqL/ivIpwxfhOGlg06PO4zGz3TdQg/pyUXq/q4kK2UX2 r8g58R3XKIS+onbWDA0hHDUKMdUxsJkkfh6J03RoOluYffdb7SA2SY2FqsY= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.126.130 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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:218221 This is a multi-part message in MIME format. --------------6C312ED0A10486340777CC17 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit On 10.09.2017 04:44, Richard Stallman wrote: > [[[ To any NSA and FBI agents reading my email: please consider ]]] > [[[ whether defending the US Constitution against all enemies, ]]] > [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > > > > That kind of hook is pandora's box. It is too powerful, and would > > > interact in complex ways. There will be many cases that are hard to > > > implement correctly, or cause trouble. To implement this probably > > > means future hassles for ourselves and for package developers. > > > I actually implemented it, and it worked as intended. > > I think you mean it works as intended in your use case. I am talking > about something else. > > My experience says that this kind of feature is likely to fail in > various peculiar cases, which would make it a maintenance burder. > Also, it is likely to show show strange confusing behavior which would > lead to trouble in debugging. We are better off without it. > > The other approach has the virtue of being entirely internal. It will > not require an announcement, or adding to the Lisp manual. > +1, likewise a related earlier message. --------------6C312ED0A10486340777CC17 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit



On 10.09.2017 04:44, Richard Stallman wrote:
[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

  > > That kind of hook is pandora's box.  It is too powerful, and would
  > > interact in complex ways.  There will be many cases that are hard to
  > > implement correctly, or cause trouble.  To implement this probably
  > > means future hassles for ourselves and for package developers.

  > I actually implemented it, and it worked as intended.

I think you mean it works as intended in your use case.  I am talking
about something else.

My experience says that this kind of feature is likely to fail in
various peculiar cases, which would make it a maintenance burder.
Also, it is likely to show show strange confusing behavior which would
lead to trouble in debugging.  We are better off without it.

The other approach has the virtue of being entirely internal.  It will
not require an announcement, or adding to the Lisp manual.



+1, likewise a related earlier message.

--------------6C312ED0A10486340777CC17--