From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: sokobania.01@gmail.com Newsgroups: gmane.emacs.help Subject: Re: Symbol properties :prop vs 'prop Date: Tue, 14 Oct 2014 08:33:18 -0700 (PDT) Message-ID: <7b167aec-fcf6-4af8-817f-03611bd169a3@googlegroups.com> References: <87k3454tqt.fsf@kuiper.lan.informatimago.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1413300926 24214 80.91.229.3 (14 Oct 2014 15:35:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 14 Oct 2014 15:35:26 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Oct 14 17:35:19 2014 Return-path: Envelope-to: geh-help-gnu-emacs@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 1Xe486-0005vR-Ov for geh-help-gnu-emacs@m.gmane.org; Tue, 14 Oct 2014 17:35:18 +0200 Original-Received: from localhost ([::1]:39053 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xe486-0003MK-7J for geh-help-gnu-emacs@m.gmane.org; Tue, 14 Oct 2014 11:35:18 -0400 X-Received: by 10.66.90.201 with SMTP id by9mr3888299pab.24.1413300798949; Tue, 14 Oct 2014 08:33:18 -0700 (PDT) X-Received: by 10.140.34.231 with SMTP id l94mr39280qgl.10.1413300798901; Tue, 14 Oct 2014 08:33:18 -0700 (PDT) Original-Path: usenet.stanford.edu!uq10no10595973igb.0!news-out.google.com!i10ni84qaf.0!nntp.google.com!dc16no2805844qab.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help In-Reply-To: <87k3454tqt.fsf@kuiper.lan.informatimago.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=213.39.33.67; posting-account=6AmU8QoAAABkSb2sbJisGlnlR_egh2hP Original-NNTP-Posting-Host: 213.39.33.67 User-Agent: G2/1.0 Injection-Date: Tue, 14 Oct 2014 15:33:18 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:208179 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:100455 Archived-At: Le dimanche 12 octobre 2014 09:44:42 UTC+2, Pascal J. Bourguignon a =E9crit= =A0: > Paul Rankin writes: >=20 > > Is there any difference between naming a symbol property as :prop vs > > 'prop? i.e. what does the colon ":" mean? > > (put 'my-symbol :width 45) > > (put 'my-symbol 'width 45) >=20 > In emacs lisp, there's no difference. You just need to be coherent of course! ELISP> (put 'my-symbol :width 45) 45 ELISP> (get 'my-symbol :width) 45 ELISP> (get 'my-symbol 'width) nil ELISP> (eq 'width ':width) nil