all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Philipp Stephani <p.stephani2@gmail.com>
To: Rusi <rustompmody@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: customize type spec not being followed?
Date: Sun, 24 Dec 2017 12:34:41 +0000	[thread overview]
Message-ID: <CAArVCkSC53s==hFA-CvbFyyA+nYWErFb8-oU+__paewSLd0Gfw@mail.gmail.com> (raw)
In-Reply-To: <1c2e5c53-e207-4909-8201-df72b2ced5e5@googlegroups.com>

Rusi <rustompmody@gmail.com> schrieb am So., 24. Dez. 2017 um 13:10 Uhr:

> On Sunday, December 24, 2017 at 5:31:55 PM UTC+5:30, Philipp Stephani
> wrote:
> > Rusi  schrieb am So., 24. Dez. 2017 um 12:50 Uhr:
> >
> > >
> > > So my question: When the type says character why does it show as
> integer?
> > >
> >
> > Because characters are integers. See
> >
> https://www.gnu.org/software/emacs/manual/html_node/elisp/Character-Type.html
> > .
>
> In (info "(elisp)simple types")
> we find
>
> ‘character’
>      The value must be a character code.  A character code is actually
>      an integer, but this type shows the value by inserting the
>      character in the buffer, rather than by showing the number.
>


Ah, that only describes the behavior of the Customize widget, the help
screen is unrelated. `describe-variable' uses `prin1-to-string', which
doesn't know about customization types.


      reply	other threads:[~2017-12-24 12:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-24 11:46 customize type spec not being followed? Rusi
2017-12-24 12:01 ` Philipp Stephani
     [not found] ` <mailman.6291.1514116912.27995.help-gnu-emacs@gnu.org>
2017-12-24 12:05   ` Rusi
2017-12-24 12:34     ` Philipp Stephani [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='CAArVCkSC53s==hFA-CvbFyyA+nYWErFb8-oU+__paewSLd0Gfw@mail.gmail.com' \
    --to=p.stephani2@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=rustompmody@gmail.com \
    /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.