From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: Re: guix-edit shows "Autodoc not available..." w/ 2 REPLs Date: Tue, 19 Jul 2016 20:54:44 +0300 Message-ID: <87wpkhbjiz.fsf@gmail.com> References: <86furgyzxt.fsf@gmail.com> <87oa63nudn.fsf@gmail.com> <87k2gqo9rl.fsf@gmail.com> <87poqex0xy.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33758) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bPZEL-0001Z9-MS for help-guix@gnu.org; Tue, 19 Jul 2016 13:54:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bPZEG-0001ij-O0 for help-guix@gnu.org; Tue, 19 Jul 2016 13:54:53 -0400 Received: from mail-lf0-x22c.google.com ([2a00:1450:4010:c07::22c]:34068) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bPZEG-0001iR-Fj for help-guix@gnu.org; Tue, 19 Jul 2016 13:54:48 -0400 Received: by mail-lf0-x22c.google.com with SMTP id l69so20691523lfg.1 for ; Tue, 19 Jul 2016 10:54:48 -0700 (PDT) In-Reply-To: (myglc2@gmail.com's message of "Sat, 16 Jul 2016 11:07:40 -0400") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: myglc2 Cc: help-guix@gnu.org myglc2 (2016-07-16 18:07 +0300) wrote: > Alex Kost writes: > >> myglc2 (2016-07-14 03:12 +0300) wrote: >> >>> Alex Kost writes: >>> >>>> myglc2 (2016-07-12 17:22 +0300) wrote: >> [...] >>>>> Would it make sense to add this info to the doc? >>>> >>>> Sorry, what info do you mean? >>> >>> I mean add an explanation along the lines of what your wrote above to >>> the documentation. Maybe in a background or how it works section. >> >> OK, maybe someday :-) > > Would it be helpful if I submit a patch plagiarizing your explanation? Sure, if you think the documentation is lacking, go for it! The patches are always welcome. >> [...] >>>>> If so, would it be a helpful enhancement if guix-emacs started the 3rd >>>>> REPL automatically? >>>> >>>> No! This relates to a usual editing of .scm files. When you open .scm >>>> file, the Geiser REPL is not started automatically, and it shouldn't! I >>>> think this would be a malicious behavior. >>> >>> I don't understand why this would be malicious. Could you explain? >> >> When I open ".py" file, the Python REPL is not started automatically, > > True, but doesn't a savvy python hacker typically set up their emacs > configuration to start python REPLs automatically? I know this is what I > did when I needed to do a bit of python hacking recently. I can speak only for myself: I would never do this thing. Starting a REPL automatically after a file open is such a strange thing for me, that I didn't even think before that someone would want it. >> when I open ".scm" file, the Geiser REPL should not be started >> automatically, etc. This is normal! If you want to have such kind of >> interactive programming, you need to start the REPL yourself. > > I don't care what is "normal." I just want guix to start the REPL. Is > there any reason other than this not being "normal"? Ha, the same for me! I also don't care what is normal, and I always change default behaviour to what I like. The reason is: I don't want to start a REPL automatically. And I really think you are in minority with your wish. I'm very sorry for not responding to the rest (you write a lot! :-)). The bottom line: I don't like when a REPL is started automatically after a file open, and I think (it's just my impression) that most people don't like it as well. Moreover, even if you vision of default behaviour is right, I think you should "attack" (in a good sense) Geiser to change the default value of 'geiser-mode-start-repl-p' variable that you discovered. -- Alex