[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Why js2-mode in Emacs 23.2?
From: |
Dan Nicolaescu |
Subject: |
Re: Why js2-mode in Emacs 23.2? |
Date: |
Mon, 10 Aug 2009 21:39:46 -0700 (PDT) |
Daniel Colascione <address@hidden> writes:
> On Aug 11, 2009, at 12:28 AM, Dan Nicolaescu wrote:
>
> > Daniel Colascione <address@hidden> writes:
> >
> >> On Aug 10, 2009, at 9:13 PM, Glenn Morris wrote:
> >>> Carsten Dominik wrote:
> >>>>
> >>>> (add-hook 'imenu-after-jump-hook
> >>> That would work just fine without eval-after-load or requiring
> >>> imenu.
> >>> A hook does not need to be defined before calling add-hook.
> >>
> >> That works for hooks, but not for arbitrary data structures, like,
> >> say, hs-special-modes-alist.
> >
> > For hs-special-modes-alist, if the mode is included in emacs, just add
> > the initialization where in the definition. That goes for other
> > similar
> > structures.
> >
>
> Why should hideshow have to include a list of modes?
Because it is the cleanest way given the current design?
> And why should the preferred technique differ depending on whether
> the code is part of emacs or not?
Because things that are included in emacs can act as being a part of a
whole and take advantage of that to make the code easier to read and
maintain.
- Re: eval-after-load not harmful after all (Was: Re: Why js-2mode?), (continued)
- Re: Why js2-mode in Emacs 23.2?, Carsten Dominik, 2009/08/10
- Re: Why js2-mode in Emacs 23.2?, Leo, 2009/08/10
- Re: Why js2-mode in Emacs 23.2?, Stefan Monnier, 2009/08/10
- Re: Why js2-mode in Emacs 23.2?, Glenn Morris, 2009/08/10
- Re: Why js2-mode in Emacs 23.2?, Daniel Colascione, 2009/08/10
- Re: Why js2-mode in Emacs 23.2?, Dan Nicolaescu, 2009/08/11
- Re: Why js2-mode in Emacs 23.2?, Daniel Colascione, 2009/08/11
- Re: Why js2-mode in Emacs 23.2?,
Dan Nicolaescu <=
- Re: Why js2-mode in Emacs 23.2?, Daniel Colascione, 2009/08/11
- Re: Why js2-mode in Emacs 23.2?, Glenn Morris, 2009/08/11
- Re: Why js2-mode in Emacs 23.2?, Stefan Monnier, 2009/08/09
- Re: Why js2-mode in Emacs 23.2?, Lennart Borgman, 2009/08/09
- Re: Why js2-mode in Emacs 23.2?, Stefan Monnier, 2009/08/10
Re: Why js2-mode in Emacs 23.2?, Leo, 2009/08/09