From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: Nonsensical byte compiler warning. Date: Thu, 05 Apr 2007 00:13:03 +0200 Message-ID: <85lkh7bxg0.fsf@lola.goethe.zz> References: <85ps6okoe5.fsf@lola.goethe.zz> <87lkhcj791.fsf@stupidchicken.com> <87tzvwvj6c.fsf@gmx.at> <861wj04qcq.fsf@lola.quinscape.zz> <873b3gpn4u.fsf@gmx.at> <86fy7g34tk.fsf@lola.quinscape.zz> <877issii2y.fsf@gmx.at> <86bqi430kv.fsf@lola.quinscape.zz> <87d52kvvx1.fsf@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1175724809 11174 80.91.229.12 (4 Apr 2007 22:13:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 4 Apr 2007 22:13:29 +0000 (UTC) Cc: acm@muc.de, Chong Yidong , rms@gnu.org, emacs-devel@gnu.org To: Markus Triska Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Apr 05 00:13:22 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HZDjG-0003vW-3c for ged-emacs-devel@m.gmane.org; Thu, 05 Apr 2007 00:13:22 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HZDmY-0005Ue-HW for ged-emacs-devel@m.gmane.org; Wed, 04 Apr 2007 18:16:46 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HZDmM-0005TH-DY for emacs-devel@gnu.org; Wed, 04 Apr 2007 18:16:34 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HZDmK-0005Sc-Eo for emacs-devel@gnu.org; Wed, 04 Apr 2007 18:16:33 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HZDmK-0005SZ-7r for emacs-devel@gnu.org; Wed, 04 Apr 2007 18:16:32 -0400 Original-Received: from mail-in-02.arcor-online.net ([151.189.21.42]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HZDiz-00015l-PW; Wed, 04 Apr 2007 18:13:06 -0400 Original-Received: from mail-in-04-z2.arcor-online.net (mail-in-04-z2.arcor-online.net [151.189.8.16]) by mail-in-02.arcor-online.net (Postfix) with ESMTP id 446F12D883D; Thu, 5 Apr 2007 00:13:04 +0200 (CEST) Original-Received: from mail-in-02.arcor-online.net (mail-in-02.arcor-online.net [151.189.21.42]) by mail-in-04-z2.arcor-online.net (Postfix) with ESMTP id 35EA1ABAE0; Thu, 5 Apr 2007 00:13:04 +0200 (CEST) Original-Received: from lola.goethe.zz (dslb-084-061-062-086.pools.arcor-ip.net [84.61.62.86]) by mail-in-02.arcor-online.net (Postfix) with ESMTP id 1763F2D883D; Thu, 5 Apr 2007 00:13:04 +0200 (CEST) Original-Received: by lola.goethe.zz (Postfix, from userid 1002) id AFC981C2BC02; Thu, 5 Apr 2007 00:13:03 +0200 (CEST) In-Reply-To: <87d52kvvx1.fsf@gmx.at> (Markus Triska's message of "Wed\, 04 Apr 2007 20\:25\:46 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.96 (gnu/linux) X-detected-kernel: Linux 2.4-2.6 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:69075 Archived-At: Markus Triska writes: > David Kastrup writes: > >> So you are of the opinion that a function that calls any other >> function from more than one place is a grave problem, and the byte >> compiler is not supposed to be helpful with grave problems? > > No, I think it's already good enough in this case. For example, set > `byte-optimize-log' to t. It is good enough, since by setting some variables nobody would know about one can get a complete log of everything and thus be able to figure out that the warning points to the wrong place and cause? > The warning is then preceded by: > > (char-before) ==> (char-after (1- (point))) > (if (and (= arg 0) (c-syntactic-skip-backward "^}") (eq (char-after > ...) 125)) nil) ==> (progn (and (= arg 0) (c-syntactic-skip-backward > "^}") (eq (char-after ...) 125)) nil) > eq called for effect; deleted > > I hope you find that remotely helpful. So far, I have not been able to find your contributions to this thread anything apart from bizarre. I suppose we are wired differently. I can't see your arguments doing anything to support your point of view, quite contrary. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum