all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>, Glenn Morris <rgm@gnu.org>
Cc: 15599@debbugs.gnu.org, John Anthony <john@jo.hnanthony.com>
Subject: bug#15599: [PATCH] Inferior Lisp Mode Menu
Date: Thu, 24 Oct 2013 08:00:45 -0700 (PDT)	[thread overview]
Message-ID: <69159453-2a43-42b8-b1a3-c9da282490c4@default> (raw)
In-Reply-To: <jwv4n86lp2h.fsf-monnier+emacsbugs@gnu.org>

> > 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.

Yes.  The first reason is pretty important, and needs to be taken into
consideration even when there are not megabytes to scan etc.  Pretty
much any :enable or :visible test needs to be simple & quick.

Dunno whether this is mentioned in the manual, but I think it should be,
as a useful guideline.





      reply	other threads:[~2013-10-24 15:00 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-12 17:08 bug#15599: [PATCH] Inferior Lisp Mode Menu John Anthony
2013-10-12 17:21 ` John Anthony
2013-10-12 19:16   ` Stefan Monnier
2013-10-19  2:48 ` Glenn Morris
2013-10-22  0:56   ` John Anthony
2013-10-22 14:23     ` Stefan Monnier
2013-10-24  7:25       ` Glenn Morris
2013-10-23 21:47   ` John Anthony
2013-10-24  7:20     ` Glenn Morris
2013-10-24 14:05       ` John Anthony
2013-10-25  2:36         ` Glenn Morris
2013-10-24 14:33       ` Stefan Monnier
2013-10-24 15:00         ` Drew Adams [this message]

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=69159453-2a43-42b8-b1a3-c9da282490c4@default \
    --to=drew.adams@oracle.com \
    --cc=15599@debbugs.gnu.org \
    --cc=john@jo.hnanthony.com \
    --cc=monnier@iro.umontreal.ca \
    --cc=rgm@gnu.org \
    /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.