From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.devel Subject: Re: bytecomp warning for CL functions Date: Fri, 19 Jul 2002 08:09:22 +0200 Sender: emacs-devel-admin@gnu.org Message-ID: <20020719075811.54D9.LEKTU@terra.es> References: <20020703091701.8A71.LEKTU@terra.es> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1027059032 17015 127.0.0.1 (19 Jul 2002 06:10:32 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 19 Jul 2002 06:10:32 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17VQyF-0004QK-00 for ; Fri, 19 Jul 2002 08:10:31 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17VRAU-0003u7-00 for ; Fri, 19 Jul 2002 08:23:10 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17VQy8-0003R3-00; Fri, 19 Jul 2002 02:10:24 -0400 Original-Received: from [62.22.27.141] (helo=mail.peoplecall.com) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17VQxH-0003Kp-00 for ; Fri, 19 Jul 2002 02:09:31 -0400 Original-Received: from [62.22.27.143] (jbarranquero.ofi.peoplecall.com [62.22.27.143]) by mail.peoplecall.com (8.11.6/8.11.6) with ESMTP id g6J69LM18043; Fri, 19 Jul 2002 08:09:21 +0200 Original-To: Dave Love In-Reply-To: X-Mailer: Becky! ver. 2.05.03 Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:5885 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:5885 On 18 Jul 2002 19:48:38 +0100, Dave Love wrote: > Comments: > > 1. The warning is being issued correctly. Perhaps, but if defadvice has been patched to stop it, that must mean that it was useless and annoying nonetheless. > 2. It's not a good idea to load cl in .emacs -- you can fail to spot > problems, apart from the bloat. Oh, come on. I happen to *like* cl and don't consider it a bloat. Obviously it is a matter of taste, but I feel vaguely offensive that you answer to a comment about a newly introduced warning saying what I should do with my .emacs. As two recent posters on gnu.emacs.help have said: "You don't need (require 'cl) though I expect like me you have it in your .emacs file somewhere so you never quite know whether you need it or not." (Rob Thorpe) "The proper place for '(require 'cl)' is in your .emacs file, at the top level :)" (Marco Antoniotti) > 3. You can turn off implicit compilation by defadvice. Yes. > 4. defadvice should normally be avoided, apart from the bloat. Again, I don't consider it bloat. And I don't know why should I avoid it. AFAICS there's a policy of avoiding it in modules, but for my own customizations? What is advice.el intended for, if not that? > If a modification you want to make with it is useful, it normally > indicates the lack of a hook. I'd just copy the function and > modify it to avoid sucking in advice in a case like that. Are you suggesting that would be better to copy the eight functions I'm currently advising to my .emacs and then manually monitoring if they ever change in their original sources? Excuse me, but I think you're taking your likes or dislikes as a measure of what's good for another user... /L/e/k/t/u