From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: phillip.lord@newcastle.ac.uk (Phillip Lord) Newsgroups: gmane.emacs.devel Subject: Re: over-engineered (and under-standardized) inferior interfaces Date: Fri, 22 Aug 2014 11:55:08 +0100 Message-ID: <87oavcvlo3.fsf@newcastle.ac.uk> References: <20140821232158.3d0aea56@forcix> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1408705246 28138 80.91.229.3 (22 Aug 2014 11:00:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 22 Aug 2014 11:00:46 +0000 (UTC) Cc: emacs-devel@gnu.org, Jorgen Schaefer To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 22 13:00:33 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XKma7-0005tq-68 for ged-emacs-devel@m.gmane.org; Fri, 22 Aug 2014 13:00:31 +0200 Original-Received: from localhost ([::1]:36273 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XKma6-0006eJ-Rl for ged-emacs-devel@m.gmane.org; Fri, 22 Aug 2014 07:00:30 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54287) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XKmV4-0006FT-Kn for emacs-devel@gnu.org; Fri, 22 Aug 2014 06:55:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XKmUz-00051o-Qg for emacs-devel@gnu.org; Fri, 22 Aug 2014 06:55:18 -0400 Original-Received: from cheviot22.ncl.ac.uk ([128.240.234.22]:50876) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XKmUz-0004yq-Kq for emacs-devel@gnu.org; Fri, 22 Aug 2014 06:55:13 -0400 Original-Received: from smtpauth-vm.ncl.ac.uk ([10.8.233.129] helo=smtpauth.ncl.ac.uk) by cheviot22.ncl.ac.uk with esmtp (Exim 4.63) (envelope-from ) id 1XKmUu-0007Gh-FZ; Fri, 22 Aug 2014 11:55:08 +0100 Original-Received: from jangai.ncl.ac.uk ([10.66.67.223] helo=localhost) by smtpauth.ncl.ac.uk with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.63) (envelope-from ) id 1XKmUu-0004al-DJ; Fri, 22 Aug 2014 11:55:08 +0100 In-Reply-To: (Stefan Monnier's message of "Thu, 21 Aug 2014 23:45:49 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 128.240.234.22 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:173806 Archived-At: Stefan Monnier writes: >> So I'd suggest using C-c C-c for a new prog-proc-send-region-or-buffer. > > I think "send the current buffer" is not good enough, except for those > rare systems where a single file is all you need. There is a subtly here, I think, depending on whether "send current buffer" really sends the current buffer, or loads the file. For example, clojure-cider binds C-c C-r to cider-eval-region, while C-c C-k is cider-load-current-buffer (which actually loads the file of the buffer). It doesn't actually have a keybinding for cider-eval-buffer (other than mark-whole-buffer, cider-eval-region) because this nearly always gives inferior (sorry) results. Phil