From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Andreas_R=F6hler?= Newsgroups: gmane.emacs.help Subject: Re: how to set default value for voidvariables Date: Fri, 22 Jul 2011 08:52:14 +0200 Message-ID: <4E291E1E.4030606@easy-emacs.de> References: <32111187.post@talk.nabble.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1311317552 2661 80.91.229.12 (22 Jul 2011 06:52:32 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 22 Jul 2011 06:52:32 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jul 22 08:52:28 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Qk9az-0003qo-Eu for geh-help-gnu-emacs@m.gmane.org; Fri, 22 Jul 2011 08:52:25 +0200 Original-Received: from localhost ([::1]:42878 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qk9ax-00028A-TC for geh-help-gnu-emacs@m.gmane.org; Fri, 22 Jul 2011 02:52:23 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:39721) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qk9at-00027q-UX for help-gnu-emacs@gnu.org; Fri, 22 Jul 2011 02:52:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qk9as-0006h6-T1 for help-gnu-emacs@gnu.org; Fri, 22 Jul 2011 02:52:19 -0400 Original-Received: from moutng.kundenserver.de ([212.227.126.171]:50171) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qk9as-0006go-Fd for help-gnu-emacs@gnu.org; Fri, 22 Jul 2011 02:52:18 -0400 Original-Received: from [192.168.178.27] (brln-4d0c200f.pool.mediaWays.net [77.12.32.15]) by mrelayeu.kundenserver.de (node=mrbap1) with ESMTP (Nemesis) id 0M0bqI-1Raamn1JhW-00uB8H; Fri, 22 Jul 2011 08:52:15 +0200 User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.18) Gecko/20110616 SUSE/3.1.11 Thunderbird/3.1.11 In-Reply-To: <32111187.post@talk.nabble.com> X-Provags-ID: V02:K0:BnSuMF6IB/4/dlHrFZya8Pa/3p3i7UU5B5KwuP9QnVQ XTFMut9cF/C22IEr3vywULfU8+cOQtXHFaVd1FfbM9Dtgi7EjL WwP5z5yoUi3D5cYzzo6nl+tb0XptXDwYJ82P17Nrh+DL74qtVX ADR3wvhX29/5zzlZfzz9Xhryo5rEfszt00WaGk/U+iwAisJBtM vofCdM/dWhJrA26IZ4j0/ixEtW4lowEW82E5qhVRQI= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 212.227.126.171 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:81720 Archived-At: Am 21.07.2011 23:31, schrieb emacsdude: > > i was wondering, is there any way to simply assign the value NIL to undefined > variables? > > so that if I just write random words in the buffer and then evaluate them, > they return NIL, instead of the debugger informing me that they are void > variables. > > thanks you could have a litte mode/program running throughout the buffer from time to time doing at all words/symbols (defvar SYMBOL) than you will have made them all to variables with a nil value and don't get that warning. Andreas -- https://launchpad.net/python-mode https://launchpad.net/s-x-emacs-werkstatt/