From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Should minibuffer prompt be made intangible by default? (Was debbugs 21874: 25.0.50; point-entered no longer works) Date: Thu, 31 Mar 2016 17:37:47 -0400 Message-ID: References: <56FD5468.1070609@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1459460295 19792 80.91.229.3 (31 Mar 2016 21:38:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 31 Mar 2016 21:38:15 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 31 23:38:07 2016 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 1alkI2-00071o-OE for ged-emacs-devel@m.gmane.org; Thu, 31 Mar 2016 23:38:06 +0200 Original-Received: from localhost ([::1]:34574 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1alkI1-0001sY-V1 for ged-emacs-devel@m.gmane.org; Thu, 31 Mar 2016 17:38:05 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45963) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1alkHy-0001sB-Kp for emacs-devel@gnu.org; Thu, 31 Mar 2016 17:38:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1alkHv-0003bo-Fh for emacs-devel@gnu.org; Thu, 31 Mar 2016 17:38:02 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:37304) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1alkHv-0003bi-93 for emacs-devel@gnu.org; Thu, 31 Mar 2016 17:37:59 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1alkHt-0006xz-Lk for emacs-devel@gnu.org; Thu, 31 Mar 2016 23:37:57 +0200 Original-Received: from 69-165-138-79.dsl.teksavvy.com ([69.165.138.79]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 31 Mar 2016 23:37:57 +0200 Original-Received: from monnier by 69-165-138-79.dsl.teksavvy.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 31 Mar 2016 23:37:57 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 15 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 69-165-138-79.dsl.teksavvy.com User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cancel-Lock: sha1:xY8wqI/IfhJ3tv205VeDIB5R0Jc= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:202537 Archived-At: > Is that right? That will work in this case, but in general isn't it a bad > idea to setq a defcustom, given that it won't run its :set form? That's why there's the (add-hook 'minibuffer-setup-hook #'cursor-intangible-mode) You should always be able to set things up with good ol' setq and friends. Custom is something you *can* use but shouldn't have to (tho, admittedly, currently our story for Elisp-level customization of faces is rather poor, so for those I think that Custom is the only reasonable option). Stefan