From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "T. V. Raman" Newsgroups: gmane.emacs.devel Subject: Re: Things I would like to be added after the release Date: Sat, 16 Jun 2007 16:37:46 -0700 Message-ID: <18036.29770.79749.537013@gargle.gargle.HOWL> References: <86fy5ghs0s.fsf@lola.quinscape.zz> <18035.28326.988640.435412@gargle.gargle.HOWL> Reply-To: raman@users.sf.net NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1182037082 20335 80.91.229.12 (16 Jun 2007 23:38:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 16 Jun 2007 23:38:02 +0000 (UTC) Cc: raman@users.sf.net, klaus.berndl@sdm.de, joakim@verona.se, emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 17 01:38:00 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 1Hzhq8-0003wA-HV for ged-emacs-devel@m.gmane.org; Sun, 17 Jun 2007 01:37:56 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hzhq8-0006a7-4t for ged-emacs-devel@m.gmane.org; Sat, 16 Jun 2007 19:37:56 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Hzhq4-0006Zp-Jx for emacs-devel@gnu.org; Sat, 16 Jun 2007 19:37:52 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Hzhq2-0006ZU-8B for emacs-devel@gnu.org; Sat, 16 Jun 2007 19:37:51 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hzhq1-0006ZQ-VT for emacs-devel@gnu.org; Sat, 16 Jun 2007 19:37:50 -0400 Original-Received: from rwcrmhc14.comcast.net ([216.148.227.154]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Hzhq0-0003dt-1z; Sat, 16 Jun 2007 19:37:48 -0400 Original-Received: from localhost (c-71-202-191-236.hsd1.ca.comcast.net[71.202.191.236]) by comcast.net (rwcrmhc14) with ESMTP id <20070616233746m14006de5fe>; Sat, 16 Jun 2007 23:37:46 +0000 Original-Received: by localhost (Postfix, from userid 1000) id 2F0AD12A4529; Sat, 16 Jun 2007 16:37:46 -0700 (PDT) In-Reply-To: X-Mailer: VM alpha-457 under Emacs 22.1.50.10 (i686-pc-linux-gnu) x-attribution: tvr X-detected-kernel: NetCache Data OnTap 5.x 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:73128 Archived-At: Time will tell, but I believe the form of exntension envisioned here will make Emacs' codebase less maintainable over time -- that is just a personal opini >>>>> "Richard" == Richard Stallman writes: Richard> 0) ECB works fine as is with advice. ECB is Richard> currently an add-on, distributed separately from Richard> Emacs. If we install it, it will be a part of Richard> Emacs. Richard> Richard> It is bad design to use advice _within_ Emacs. Richard> Advice is a kind of "come from" construct, and such Richard> constructs are very bad for clarity of a large Richard> program. Richard> Richard> A few years ago, some programs were installed that Richard> contain advice, and that is a problem. We need to Richard> fix these problems, not add more of them. Thus, to Richard> install ECB, we need to rewrite the parts that use Richard> advice, make them use other mechanisms. Richard> Richard> For instance, we can put the code (or explicit calls Richard> to it) into the functions which currently are Richard> advised by ECB. That is not perfectly elegant, but Richard> it is better than using advice. Richard> Richard> This means instead of Richard> Richard> (defadvice foo ...) Richard> Richard> we have Richard> Richard> (defun ecb-foo-extension ...) Richard> Richard> and we put an explicit conditional call to Richard> ecb-foo-extension into the definition of foo. -- Best Regards, --raman Email: raman@users.sf.net WWW: http://emacspeak.sf.net/raman/ AIM: emacspeak GTalk: tv.raman.tv@gmail.com PGP: http://emacspeak.sf.net/raman/raman-almaden.asc Google: tv+raman IRC: irc://irc.freenode.net/#emacs