[Top][All Lists]

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

Re: [Geiser-users] Automatic startup/shutdown of REPL processes

From: Jose A. Ortega Ruiz
Subject: Re: [Geiser-users] Automatic startup/shutdown of REPL processes
Date: Tue, 09 Apr 2013 20:04:02 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Hi again,

On Tue, Apr 09 2013, Jose A. Ortega Ruiz wrote:


>> 2. When I quit Emacs, I get prompted because the REPL processes are
>> running. I can't see an easy way to set them not to prompt, unless
>> it's to advise some geiser function; would it be reasonable to have
>> that at least as a configurable default (i.e. make it possible to
>> allow geiser REPL processes to be killed without a prompt)? If so, and
>> anyone can advise me how this might best be accomplished, I'd happily
>> work on a patch.
> You can simply add this to your emacs configuration:
>   (add-hook 'comint-exec-hook
>             (lambda () 
>               (when (equal 'geiser-repl-mode major-mode)
>                 (set-process-query-on-exit-flag (get-buffer-process 
> (current-buffer))
>                                                 nil))))

I just realized that this is not needed at all.  We already have a
customizable flag for that:

  (setq geiser-repl-query-on-exit-p t)

will do what you want.  Sorry!

As I grow to understand life less and less, I learn to live it more and
 -Jules Renard, writer (1864-1910)

reply via email to

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