all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "T. V. Raman" <raman@users.sf.net>
To: dak@gnu.org
Cc: emacs-devel@gnu.org, joakim@verona.se, klaus.berndl@sdm.de
Subject: Re: Things I would like to be added after the release
Date: Fri, 15 Jun 2007 22:01:26 -0700	[thread overview]
Message-ID: <18035.28326.988640.435412@gargle.gargle.HOWL> (raw)
In-Reply-To: <86fy5ghs0s.fsf@lola.quinscape.zz>


Rather than asking "how can ECB be written to not use advice"
here is one way to think of the issue:

0)   ECB works fine as is with advice.
1)   aAdvice is an interesting implementation technique for
     identifying extension points and hooks. 
     Said differently, the ecb authors probably used advice
     because Emacs' builtin hook facilities didn't provide the
     extension facilities they needed.

2) Assuming you believe (at least partially) (1) above, then
     rather than asking "how can we rewrite ECB without advice",
     ask the following alternative question:

3) By observing what extension points ECB needed, what
     hooks/extension points can base Emacs provide? What can we
     learn?  Which of the ECB extension points are ECB specific,
     and which aren't? 

4) Having answered (3), sensibily add extension points /hooks to
     Emacs to obviate those advice fragments that were deemed to

5)   Leave the issue of whether ECB is implemented with advice or
     something else to the ECB implementors.
     have identified generic extension points in (3).

 >>>>> "David" == David Kastrup
     <dak@gnu.org> writes: David> <klaus.berndl@sdm.de> writes:
     >> But here is (4): Currently ECB contains a lot of >>
     compatibility-code so ECB runs as best as possible with >>
     Emacs and XEmacs... this is a goal of ECB and should >>
     remain as a goal. I doubt Richard wants to have XEmacs- >>
     compatibility-code in the ECB integrated in the >>
     Emacs-trunc ;-)
    David> 
    David> Yes and no.  The usual approach here is where a
    David> package is being actively maintained upstream to let
    David> the maintainers do their job: the important thing is
    David> that those working on the package are not hampered.
    David> XEmacs is, after all, free software.  When a package
    David> is basically only maintained inside of Emacs CVS and
    David> no-one has a good grip on whether the XEmacs
    David> compatibility code actually works or fulfills a
    David> purpose, at some point of time it can be sanest to
    David> just rip it out.
    David> 
    David> However, for the sake of readability, it may be a good
    David> idea to factor out functions differing among Emacsen
    David> and put them into files of their own.  In this case it
    David> may be possible to leave out the XEmacs specific
    David> compatibility file from the Emacs CVS, and possibly
    David> also omit the test and load for it (with the file
    David> missing, it becomes pointless).  In that manner, stuff
    David> can be developed more or less cleanly.
    David> 
    David> What I actually consider more of a problem is
    David> backwards compatibility: if you have a large amount of
    David> advice, one wants to boil this down into core
    David> functionality placed into Emacs.  This "boiling down"
    David> may be hard to do when at the same time the goal to
    David> maintain a version working with older Emacs variants
    David> (Emacs 22, most likely) remains a priority.
    David> 
    David> -- David Kastrup
    David> 
    David> 
    David> _______________________________________________
    David> Emacs-devel mailing list Emacs-devel@gnu.org
    David> http://lists.gnu.org/mailman/listinfo/emacs-devel

-- 
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

  reply	other threads:[~2007-06-16  5:01 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-28  9:04 Things I would like to be added after the release joakim
2007-05-29  0:02 ` Richard Stallman
2007-05-29  8:02   ` joakim
2007-05-29  9:36     ` klaus.berndl
2007-05-29  9:52       ` Michael Albinus
2007-05-29  9:56       ` David Kastrup
2007-06-16  5:01         ` T. V. Raman [this message]
2007-06-16 18:50           ` Richard Stallman
2007-06-16 23:37             ` T. V. Raman
2007-06-16 23:50               ` Miles Bader
2007-06-17 18:08                 ` T. V. Raman
2007-06-17 20:15                   ` Nick Roberts
2007-06-18  3:25                     ` Stephen J. Turnbull
2007-06-18 21:31                       ` Richard Stallman
2007-06-21  7:29                       ` T. V. Raman
2007-06-21  8:09                         ` Stefan Monnier
2007-06-17  8:54               ` Richard Stallman
2007-06-17 12:47           ` Stefan Monnier
2007-06-17 16:00             ` joakim
2007-05-29 10:02       ` joakim
2007-05-29 10:16         ` David Kastrup
2007-06-02  2:54       ` Richard Stallman
2007-06-04  0:17     ` Richard Stallman
2007-06-04  0:17     ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=18035.28326.988640.435412@gargle.gargle.HOWL \
    --to=raman@users.sf.net \
    --cc=dak@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=joakim@verona.se \
    --cc=klaus.berndl@sdm.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.