From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: meblacky13@vfemail.net Newsgroups: gmane.emacs.help Subject: Emacs widgets: buffer is not read-only in place where it should Date: Thu, 13 Feb 2020 23:17:42 +0000 Message-ID: <20200213231742.Horde.hvNyHresCC4jb4Xpq3AcKHp@vfemail.net> Reply-To: emacsbug@boun.cr Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="1171"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Horde Application Framework 5 To: gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Feb 14 01:28:14 2020 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1j2Oq5-0000Dx-Qp for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 14 Feb 2020 01:28:13 +0100 Original-Received: from localhost ([::1]:33118 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j2Oq4-0006NI-SH for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 13 Feb 2020 19:28:12 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47328) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j2NkD-0000qw-GI for help-gnu-emacs@gnu.org; Thu, 13 Feb 2020 18:18:07 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:38337) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1j2NkD-0003E9-Bp for help-gnu-emacs@gnu.org; Thu, 13 Feb 2020 18:18:05 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39220) by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1j2NkC-0004GN-Qi for gnu-emacs@gnu.org; Thu, 13 Feb 2020 18:18:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j2NkA-0003BZ-Pq for gnu-emacs@gnu.org; Thu, 13 Feb 2020 18:18:04 -0500 Original-Received: from nl101-2.vfemail.net ([149.210.219.31]:42683 helo=freequeue.vfemail.net) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1j2NkA-00039T-Fc for gnu-emacs@gnu.org; Thu, 13 Feb 2020 18:18:02 -0500 Original-Received: (qmail 30339 invoked from network); 13 Feb 2020 23:17:51 -0000 Original-Received: from nl101-2.vfemail.net (bmE=@149.210.219.31) by freequeue.vfemail.net with (DHE-RSA-AES256-SHA encrypted) SMTP; 13 Feb 2020 23:17:51 -0000 Original-Received: (qmail 28824 invoked from network); 13 Feb 2020 23:17:34 -0000 Original-Received: by simscan 1.4.0 ppid: 28799, pid: 28818, t: 0.0072s scanners:none Original-Received: from unknown (HELO localhost) (bWVibGFja3kxM0B2ZmVtYWlsLm5ldA==@192.168.1.192) by nl101.vfemail.net with ESMTPA; 13 Feb 2020 23:17:34 -0000 X-VFEmail-Originating-IP: 37.163.94.178 X-VFEmail-AntiSpam: Notify admin@vfemail.net of any spam, and include VFEmail headers X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x [fuzzy] X-Received-From: 149.210.219.31 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Mailman-Approved-At: Thu, 13 Feb 2020 19:27:54 -0500 Content-Disposition: inline Content-Description: Plaintext Message X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:122405 Archived-At: Consider the following snippet:     (progn       (widget-create 'editable-field :size 8 :format "Birth date %v (dd/mm/yy)")       (widget-setup)) This inserts in the current buffer the editable field widget:     Birth date ________ (dd/mm/yy) where the underscores denote the field's gray edit area. Also, the whole buffer should be read-only, apart the edit area. However putting the the cursor immediately before the parentheses, but still, out of the edit area, one can write and, most of all, can type "Enter" and break the widget in a very unpleasant way. This does not happen for the blank space on the left of the edit area. ------------------------------------------------- This free account was provided by VFEmail.net - report spam to abuse@vfemail.net ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the NSA's hands! $24.95 ONETIME Lifetime accounts with Privacy Features! 15GB disk! No bandwidth quotas! Commercial and Bulk Mail Options!