help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: hook and interactive with parameter


From: Lajos Bodnar
Subject: Re: hook and interactive with parameter
Date: Mon, 12 Feb 2018 16:43:04 +0100

Thanks for your advice.
I would like to write a function which run up if I open a haskell file.
This function will ask a question automaticaly about that i would like to
run the intero-mode or not.

regards
Lajos



On Mon, Feb 12, 2018 at 4:28 PM, Emanuel Berg <moasen@zoho.com> wrote:

> Lajos Bodnar wrote:
>
> > Hi, I'm new in emacs scripting but I would
> > like to do that: - I open a file after the
> > file hook run I would like to run a function.
> > - I can do this without parameter but if
> > I would like to use this function with
> > getting input from prompt. It will throw
> > an error.
>
> Can you rephrase this not in terms of the
> un-implemented implementation but in terms of
> what will happen, where, when, and why?
>
> Might be easier to understand that way and
> quite possible there is a better way than
> messing with hooks - often there is.
>
> --
> underground experts united
> http://user.it.uu.se/~embe8573
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]