emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: <tomas@tuxteam.de>
To: emacs-orgmode@gnu.org
Subject: Re: [patch] simplify-compact initial data extraction from plist
Date: Sat, 27 Jun 2020 18:49:41 +0200	[thread overview]
Message-ID: <20200627164941.GB5848@tuxteam.de> (raw)
In-Reply-To: <f55ce1a9-9c96-119f-ad8a-d28ba66e10c2@anche.no>

[-- Attachment #1: Type: text/plain, Size: 773 bytes --]

On Sat, Jun 27, 2020 at 10:18:21AM -0500, Mario Frasca wrote:
> this is a result of some help I received a few days ago in the
> #emacs irc chat room on freenode.
> 
> I was wondering why we were adding a semicolon in front of names,
> before creating symbols, and I understand this is because such
> symbols work as keys.

I assume you mean a "colon", like this `:'

Those :foo thingies have another nice property: they are self-evaluating,
like numbers. If you try, e.g. to eval foo, the evaluator tries to find
a variable named foo and the result is then that variable's value.

If you evaluate 'foo, the result is the symbol foo.

If you evaluate :foo, the result is :foo, like when you evaluate 1234,
where the result is simply 1234.

Cheers
-- t

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

  reply	other threads:[~2020-06-27 16:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-27 15:18 [patch] simplify-compact initial data extraction from plist Mario Frasca
2020-06-27 16:49 ` tomas [this message]
2020-07-12 18:03 ` Fwd: " Mario Frasca

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200627164941.GB5848@tuxteam.de \
    --to=tomas@tuxteam.de \
    --cc=emacs-orgmode@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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).