From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?Q?Aur=C3=A9lien_Aptel?= Newsgroups: gmane.emacs.devel Subject: Re: In C code, how do I create and access a (lisp) variable? Date: Wed, 4 Nov 2015 22:20:55 +0100 Message-ID: References: <20151104210420.GA4618@acm.fritz.box> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1446672063 28837 80.91.229.3 (4 Nov 2015 21:21:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 4 Nov 2015 21:21:03 +0000 (UTC) Cc: Emacs development discussions To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 04 22:21:02 2015 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 1Zu5UL-0005k6-Ek for ged-emacs-devel@m.gmane.org; Wed, 04 Nov 2015 22:21:01 +0100 Original-Received: from localhost ([::1]:57190 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zu5UK-0005hI-If for ged-emacs-devel@m.gmane.org; Wed, 04 Nov 2015 16:21:00 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49622) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zu5UH-0005hB-Ku for emacs-devel@gnu.org; Wed, 04 Nov 2015 16:20:58 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zu5UG-0005sA-NZ for emacs-devel@gnu.org; Wed, 04 Nov 2015 16:20:57 -0500 Original-Received: from mail-lf0-x236.google.com ([2a00:1450:4010:c07::236]:34413) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zu5UG-0005rw-Fd for emacs-devel@gnu.org; Wed, 04 Nov 2015 16:20:56 -0500 Original-Received: by lfgh9 with SMTP id h9so48799760lfg.1 for ; Wed, 04 Nov 2015 13:20:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=ixSIlf+Ft6R4xVyvPxWPELneH/4Nb6LtX77CJuXdgPg=; b=0o9tuKNfHoAG4ci30VPZSDCf5nawf3/iNwUrOGVrZRbHV/ZD1Vod2nSgmSYBoOAYtm HA3WDXvAjLxRxR7n2nd9QzXSDVl3R8lKXG6E8LQuprCPi56RG1pTbw95q/vHAIXW7Nj+ FJomNIHJkQzAx0Oug0eCU8uPakAxgOm9BKH+PL1Lz3L87SQjya7uBfHumr0C3Q7qiC/m rhZeF8E1qHiMaz76uIVbYycwMpB+DkseFwNG5gyoXp/QiqGV42Pjs0jyU0tcEQqMDDZe D0pJXOn94mCrEtMSaL9MTvIF46ZLXw/7lhjbbs5iA//HDmkig1mdD05yr57/9YIqirWv sIyw== X-Received: by 10.25.85.193 with SMTP id j184mr920949lfb.2.1446672055191; Wed, 04 Nov 2015 13:20:55 -0800 (PST) Original-Received: by 10.112.167.73 with HTTP; Wed, 4 Nov 2015 13:20:55 -0800 (PST) In-Reply-To: <20151104210420.GA4618@acm.fritz.box> X-Google-Sender-Auth: rDMht5b5xtd9aBZZE8wBy2hQLt8 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c07::236 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:193238 Archived-At: I think you're supposed to use DEFVAR_PER_BUFFER for definition and BVAR for access.