all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Heerdegen <michael_heerdegen@web.de>
To: 31869@debbugs.gnu.org
Subject: bug#31869: 27.0.50; Character widget unable to read newline character
Date: Sun, 17 Jun 2018 08:39:15 +0200	[thread overview]
Message-ID: <87a7rtsyr0.fsf@web.de> (raw)


Hello,

a recipe for emacs -Q:

(require 'whitespace)
(customize-option 'whitespace-display-mappings)

Make a change and undo it immediately so that the contents are unchanged
but customize lets you "Set for current session".  Do that and you get
the

"error custom-variable-set: This field should contain a single
character"

If I remove the entry for the newline character, it succeeds.

For debugging purposes I changed the :valid-regexp of the character
widget definition in wid-edit.el to ".*" and it seems that the newline
character is read in as empty string.

TIA,

Michael.



In GNU Emacs 27.0.50 (build 14, x86_64-pc-linux-gnu, GTK+ Version 3.22.29)
 of 2018-06-17 built on drachen
Repository revision: adb53168e7567462a9db9ae3c9b53f588f2fe580
Windowing system distributor 'The X.Org Foundation', version 11.0.11906000
System Description: Debian GNU/Linux buster/sid






             reply	other threads:[~2018-06-17  6:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-17  6:39 Michael Heerdegen [this message]
2018-06-17 16:21 ` bug#31869: 27.0.50; Character widget unable to read newline character Glenn Morris

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=87a7rtsyr0.fsf@web.de \
    --to=michael_heerdegen@web.de \
    --cc=31869@debbugs.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.