From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#15599: [PATCH] Inferior Lisp Mode Menu Date: Thu, 24 Oct 2013 10:33:31 -0400 Message-ID: References: <20131012170846.GA688@jo.hnanthony.com> <20131023214701.GA8211@jo.hnanthony.com> <561snf83x.fsf@fencepost.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; CHARSET=US-ASCII Content-Transfer-Encoding: 7BIT X-Trace: ger.gmane.org 1382626161 18550 80.91.229.3 (24 Oct 2013 14:49:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 24 Oct 2013 14:49:21 +0000 (UTC) Cc: 15599@debbugs.gnu.org, John Anthony To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 24 16:49:21 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1VZMDx-0000g8-If for geb-bug-gnu-emacs@m.gmane.org; Thu, 24 Oct 2013 16:49:21 +0200 Original-Received: from localhost ([::1]:54744 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZMDw-0007Fr-UZ for geb-bug-gnu-emacs@m.gmane.org; Thu, 24 Oct 2013 10:49:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36549) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZMDm-0007Dm-9W for bug-gnu-emacs@gnu.org; Thu, 24 Oct 2013 10:49:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VZMDe-0008Gd-V3 for bug-gnu-emacs@gnu.org; Thu, 24 Oct 2013 10:49:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55441) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZMDe-0008GP-Rw for bug-gnu-emacs@gnu.org; Thu, 24 Oct 2013 10:49:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VZLz8-0000E1-3A for bug-gnu-emacs@gnu.org; Thu, 24 Oct 2013 10:34:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 24 Oct 2013 14:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15599 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 15599-submit@debbugs.gnu.org id=B15599.1382625218833 (code B ref 15599); Thu, 24 Oct 2013 14:34:02 +0000 Original-Received: (at 15599) by debbugs.gnu.org; 24 Oct 2013 14:33:38 +0000 Original-Received: from localhost ([127.0.0.1]:41202 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VZLyk-0000DM-It for submit@debbugs.gnu.org; Thu, 24 Oct 2013 10:33:38 -0400 Original-Received: from relais.videotron.ca ([24.201.245.36]:42054) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VZLyi-0000DD-S4 for 15599@debbugs.gnu.org; Thu, 24 Oct 2013 10:33:37 -0400 Original-Received: from ceviche.home ([24.201.53.56]) by VL-VM-MR005.ip.videotron.ca (Oracle Communications Messaging Exchange Server 7u4-22.01 64bit (built Apr 21 2011)) with ESMTP id <0MV6002NDGG05LI0@VL-VM-MR005.ip.videotron.ca> for 15599@debbugs.gnu.org; Thu, 24 Oct 2013 10:33:36 -0400 (EDT) Original-Received: by ceviche.home (Postfix, from userid 20848) id 64F5D6609A; Thu, 24 Oct 2013 10:33:31 -0400 (EDT) In-reply-to: <561snf83x.fsf@fencepost.gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:79587 Archived-At: >> To use a working example, should I disable "Eval Last Sexp" in the >> menu if the cursor is not positioned after a valid sexp? > But that seems like too much. I'd leave such an item always enabled. Agreed. I can see two reasons for it: - these "enabled" tests are run, pretty much all the time, so they need to be sufficiently "quick" not to disrupt normal work. Testing if the last sexp is properly balanced may have to scan megabytes of text (even if it usually is not the case), so it can slow things down noticeably. - it should be reasonably obvious to the user why a menu entry is disabled, and I think most users wouldn't find this one to be obvious. Stefan