unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Peter Dyballa <Peter_Dyballa@Web.DE>
To: tyler <tyler.smith@mail.mcgill.ca>
Cc: help-gnu-emacs@gnu.org
Subject: Re: mode-specific paragraph-start
Date: Tue, 11 Dec 2007 22:01:56 +0100	[thread overview]
Message-ID: <D005AD6F-CAD5-4099-9772-6EAA7DFE1F3A@Web.DE> (raw)
In-Reply-To: <20071212002439.GV28375@sedgenet>


Am 12.12.2007 um 01:24 schrieb tyler:

> That didn't quite work, as exists is not a recognized function

Of course! For me it was obvious that I only wrote pseudo code.  
Sorry, that I did not express this more clearly. Instead of exists:  
(fboundp SYMBOL) ? (symbol-value SYMBOL) throws an error if not  
existing ...

The idea is to create a semaphore that shows that you've already done  
this initialisation, that doing it again can be prevented when the  
semaphore is queried – common to a few programming languages. I am no  
Lisp programmer, so I cannot tell what the right approach is. Could  
be it's best to just check whether the variable already contains  
(matches) your addition?

--
Greetings

   Pete

A child of five could understand this!  Fetch me a child of five.

      reply	other threads:[~2007-12-11 21:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-11 16:31 mode-specific paragraph-start Tyler Smith
2007-12-11 19:00 ` Peter Dyballa
2007-12-12  0:24   ` tyler
2007-12-11 21:01     ` Peter Dyballa [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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=D005AD6F-CAD5-4099-9772-6EAA7DFE1F3A@Web.DE \
    --to=peter_dyballa@web.de \
    --cc=help-gnu-emacs@gnu.org \
    --cc=tyler.smith@mail.mcgill.ca \
    /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.
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).