From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?windows-1252?Q?Andreas_R=F6hler?= Newsgroups: gmane.emacs.help Subject: Re: `looking-back' strange warning Date: Fri, 02 Oct 2015 08:16:53 +0200 Message-ID: <560E2155.7060401@easy-emacs.de> References: <560B9C7F.2060301@easy-emacs.de> <560CD7CE.4010404@yandex.ru> <6524c81a-949c-40d1-b990-d214d6ee5b60@default> <560D73DF.8040403@yandex.ru> <560D7A68.8040404@easy-emacs.de> <560D8289.6010409@yandex.ru> <560D8F96.5040200@easy-emacs.de> <4e720684-b2cf-4e74-be53-a20208f94328@default> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1443766692 26881 80.91.229.3 (2 Oct 2015 06:18:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 2 Oct 2015 06:18:12 +0000 (UTC) Cc: Stefan Monnier To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Oct 02 08:18:05 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZhtfP-0005lS-0x for geh-help-gnu-emacs@m.gmane.org; Fri, 02 Oct 2015 08:18:03 +0200 Original-Received: from localhost ([::1]:57701 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZhtfO-00062c-G7 for geh-help-gnu-emacs@m.gmane.org; Fri, 02 Oct 2015 02:18:02 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39336) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zhtf6-0005zz-Kw for help-gnu-emacs@gnu.org; Fri, 02 Oct 2015 02:17:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zhtf3-0006IV-Cr for help-gnu-emacs@gnu.org; Fri, 02 Oct 2015 02:17:44 -0400 Original-Received: from mout.kundenserver.de ([212.227.126.131]:51707) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zhtf3-0006IP-7Z for help-gnu-emacs@gnu.org; Fri, 02 Oct 2015 02:17:41 -0400 Original-Received: from [192.168.178.31] ([95.119.55.225]) by mrelayeu.kundenserver.de (mreue004) with ESMTPSA (Nemesis) id 0MSVlI-1a7EWw0tQy-00RXft; Fri, 02 Oct 2015 08:17:34 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 In-Reply-To: <4e720684-b2cf-4e74-be53-a20208f94328@default> X-Provags-ID: V03:K0:TIpja54E70Fmy++QrRBgSrhVLLlR+fJ00S6qon0Rn0djoKz1go4 ROEwvcZZ1KVjGLPyjLXsCqO6NeNxhj2iD0OcyFjIIbg59IL0KMuZjcNo9hZGu9MR/ygrWc5 OjuC3LiJI1WmG5CRvhrMHDompm9kpT4wPtUAgFxKRMOY+EZRqErEEcYBQCFh446u3lZPY+X XSvCZCY5BseQyE5ifCFTg== X-UI-Out-Filterresults: notjunk:1;V01:K0:lRJysl1S5Dw=:f26T0/8yAyyMDH1ZWdRMQt fmiWpu0mHk/3K+29lSpSYwk/qA3yB//pf1Vm9Ip1v6GJ/b0osZHeSBBv4rHyIW9ZWrTiOt16a Kj/noe9yZuWINeql1hCR1vimGVPaNBL3NT+9YYd7a8l9d4/D9IfG5AJjeBP9tqRNmH72eRhiH uQ11GM+ucFKIYAbgjj22c+TFuklNGC7/YKCK8pNa+CZG3qda431RA2cB+UKrSy6j086nFOQQj Vb2sATEIdhmbp8AEdGx4u20WzWP2DcPBVkThCbdmLV0d+Gh1uPBOIhHUV8XtTNifWoQIpD8BG iGi5QHd8NADKMR94MfQU/HwJsC5ISfQ2UUNg+0ZXuCE1xombH/xPq0YeqJC+58if/AKajJ/5Y o5qMlTcyoJlgN6474L5cdWYbd6VIELHUp0D0IKK63fCUmozjWFQ4w8VoOkdpUXhZevr+V0FWe XZBUdT52eE+xC4xYyOgEBOYTDPtp1tu9TtfHIlK3SG2h0oiBrE5Dyn0B4dD9u1tspw0hY7kMb 9GZqbMwA/z98mDXSIgIUia8jsLNH4xz7VQ1jvjUzuP1z9aUeVb7uRnKDgrkFNA99V7uZ3oS+P KZ/DxVSIkbY62j3syXXd8blGV0lO5VpMj7nQPxd9qVpTrQ9E3NRpDyFiSTLARajOBu8qZt3iX ththRjsBsL3G2I80HLr87sBD4d2HlGmXwzNE/MIsIMVHqUY6H8Z/SKsEQyOE1Lw/hZsF3fJkO BlcO3zeuNcaK1WuiIMnFnlCzV1/BTzB84qN/yCcv5zmvLUiBprL+vEXmG2I6tRS7XFFUrngp X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.126.131 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:107456 Archived-At: Am 02.10.2015 um 07:12 schrieb Drew Adams: >> Making it optional Encourages people to think that looking-at is just >> like looking-back, with the same performance characteristic, > Clarifying such things is what doc is for. (Yes, and even > sometimes byte-compiler messages.) > >> whereas making it mandatory encourages people to put a >> reasonable limit and hence avoid pathological behavior >> at the end of large buffers. > But you have _not_ made it mandatory. Have you? > > And yet you issue a "warning" saying that it is mandatory > (or whatever "2-3 required" arguments is supposed to mean). > False alarm. (Circulez ; il n'y a rien a voir.) > > There are many, many "best practices" that are handled > normally by documenting them, including many, many that > involve far more serious consequences than a slowdown from > leaving off a LIMIT argument for `looking-back'. Really. > > Programmers are used to such notes. And even much more > important performance (and correctness and completeness) > guidelines are not blown out of proportion and dressed up > as phony "warnings". > > (This "M'as-tu vu ?!!" is the equivalent of a flashy 1995 > web page with loads of revolving animated GIFs. Another > distraction in a sea of distraction.) > > Not a big deal in any case, on its own. But symptomatic > of a misguided approach to communicating such helpful > but non-critical info to users. > > Sprinkling "**WARNING!!!**" everywhere, for even the > slightest bits of notable information, dilutes what real > warnings are about. It decreases the signal-to-noise > ratio, and just "encourages" people to ignore such > messages altogether, which is not helpful and no doubt > not what was intended. > Thanks Drew, that's it. Stefan, that's bad gouvernants style. What about "respect users freedom" and blah?