jed-users mailing list

[2006 Date Index] [2006 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: _jed_set_mode_hooks not called by compression mode


Hello G.,

"G. Milde" <g.milde@xxxxxx> wrote:
> There is no way a "find-file-before-hook" can mark it's success but request
> the _jed_find_file_after_hooks to be run.
>
> To solutions spring to my mind:
>
> 2. Provide a function to run a "hook chain", say
>
>       run_hooks("_jed_find_file_after_hooks");

Where is the problem with _jed_run_hooks?

> I would prefer the second solution, as it is more generic
> (i.e. could also be used outside of a hook).

I would prefer that find_file calls the hooks. This is more generic.

And, while we take about hooks, I miss a return value of _jed_run_hooks.
How can see that one of the hooks performed the requested action
(UNTIL_0, UNTIL_NON_0)?

Bye, Jörg.
-- 
> Ich kenn mich mit OpenBSD kaum aus, was sind denn da so die
> Vorteile gegenueber Linux und iptables?
Der Fuchsschwanzeffekt ist größer. :->
Message-ID: <slrnb11064.54g.hschlen@xxxxxxxxxxxxxxxx>

--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.


[2006 date index] [2006 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]