all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: emacs-devel@gnu.org
Subject: Re: Emacs-24.5-1-universal.dmg for macosx dumps on first keystroke
Date: Mon, 29 Aug 2016 09:19:14 -0400	[thread overview]
Message-ID: <jwvlgzfd88y.fsf-monnier+gmane.emacs.devel@gnu.org> (raw)
In-Reply-To: CABGBtwnwZx0nSopXWd5Vkz_+FiP+T7sPcmqVggNfL+x4F6akXw@mail.gmail.com

> I've had a look about and am currently none the wiser. Is there a standard
> way of handling this sort of thing in C code? Is it just a case of putting
> some sort of SYMBOLP check in before the variable is used or should we
> be able to handle a string instead of a symbol?

Usually we use things like CHECK_SYMBOL (foo), but depending on the code
signaling an error might not be a good option, in which case a SYMBOLP
check is indeed the better way.

When set via Custom the user should not be able to set the var to
a string.


        Stefan




  parent reply	other threads:[~2016-08-29 13:19 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-25  9:04 Emacs-24.5-1-universal.dmg for macosx dumps on first keystroke Randy Bush
2016-08-25 15:08 ` Alan Third
2016-08-25 19:10   ` Randy Bush
2016-08-25 22:38     ` Alan Third
2016-08-26  0:32       ` Randy Bush
2016-08-26  3:11       ` Randy Bush
2016-08-26 18:21         ` Alan Third
2016-08-26 19:26           ` Robert Weiner
2016-08-29  9:28           ` Alan Third
2016-08-29  9:31             ` Randy Bush
2016-08-29  9:37             ` Anders Lindgren
2016-08-29 13:19             ` Stefan Monnier [this message]
2016-08-29 14:32             ` Eli Zaretskii
2016-08-29 18:37               ` Alan Third
  -- strict thread matches above, loose matches on Subject: below --
2016-08-25 10:04 Randy Bush

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=jwvlgzfd88y.fsf-monnier+gmane.emacs.devel@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@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.