From: Lajos Bodnar <bodnarlajoska@gmail.com>
To: Emanuel Berg <moasen@zoho.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: hook and interactive with parameter
Date: Tue, 13 Feb 2018 09:23:41 +0100 [thread overview]
Message-ID: <CAPibjnmk0xuEm3-pzgGRZq5Kd79XoPFrjWff47Jw5Vr3p62KTw@mail.gmail.com> (raw)
In-Reply-To: <86lgfygoux.fsf@zoho.com>
Thanks a lot,
I understood what the problem is with this concept.
What is your advice ?
The problem is that if I open a haskell file then sometimes I don't want to
run intero-mode with it (because the intero mode is very expensive).
In most cases I would like to run intero but not all time.
On Mon, Feb 12, 2018 at 5:21 PM, Emanuel Berg <moasen@zoho.com> wrote:
> tomas wrote:
>
> > That said, to me, calling user interaction
> > from a hook "feels" a bit strange.
> > But perhaps it's just me.
>
> No, hooks are often troublesome and the more you
> put into them, the more trouble you get.
> In this case while I don't think the computer
> will blow up, I think the OP will be annoyed
> with this question popping up all the time.
> It isn't the Emacs way. And it is inefficient
> as well as without it, say 50% of the times it
> would be correct without any interference, now
> you have to answer yes or no 100% of the
> times instead.
>
> --
> underground experts united
> http://user.it.uu.se/~embe8573
>
next prev parent reply other threads:[~2018-02-13 8:23 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.8968.1518443498.27995.help-gnu-emacs@gnu.org>
2018-02-12 15:28 ` hook and interactive with parameter Emanuel Berg
2018-02-12 15:43 ` Lajos Bodnar
2018-02-12 16:15 ` tomas
[not found] ` <mailman.8981.1518452114.27995.help-gnu-emacs@gnu.org>
2018-02-12 16:21 ` Emanuel Berg
2018-02-13 8:23 ` Lajos Bodnar [this message]
2018-02-13 8:42 ` Lajos Bodnar
2018-02-13 8:44 ` Yuri Khan
2018-02-13 8:51 ` tomas
2018-02-13 9:05 ` Lajos Bodnar
[not found] ` <mailman.9028.1518511493.27995.help-gnu-emacs@gnu.org>
2018-02-13 19:02 ` Emanuel Berg
[not found] ` <mailman.8974.1518450193.27995.help-gnu-emacs@gnu.org>
2018-02-12 16:16 ` Emanuel Berg
2018-02-12 10:03 Lajos Bodnar
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=CAPibjnmk0xuEm3-pzgGRZq5Kd79XoPFrjWff47Jw5Vr3p62KTw@mail.gmail.com \
--to=bodnarlajoska@gmail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=moasen@zoho.com \
/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.