From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.help Subject: RE: Using "Emacs Configure" **and** modifying .emacs Date: Sat, 12 Aug 2017 09:04:38 -0700 (PDT) Message-ID: References: <1502373086.1171866.1069247696.71F9FED4@webmail.messagingengine.com> <8660dvuzsr.fsf@zoho.com> <1502436066.2568371.1070085968.1D25E0E7@webmail.messagingengine.com> <87tw1ekxgo.fsf@127.0.0.1> <867ey9sva2.fsf@zoho.com> <86378xskth.fsf@zoho.com> <20170812073057.GB20873@tuxteam.de> <86bmnlqlic.fsf@zoho.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1502553943 9444 195.159.176.226 (12 Aug 2017 16:05:43 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 12 Aug 2017 16:05:43 +0000 (UTC) To: Emanuel Berg , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Aug 12 18:05:36 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dgYuu-000210-I1 for geh-help-gnu-emacs@m.gmane.org; Sat, 12 Aug 2017 18:05:36 +0200 Original-Received: from localhost ([::1]:36458 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dgYv0-0004Cu-R6 for geh-help-gnu-emacs@m.gmane.org; Sat, 12 Aug 2017 12:05:42 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49495) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dgYu8-000481-OJ for help-gnu-emacs@gnu.org; Sat, 12 Aug 2017 12:04:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dgYu3-0002nX-Q2 for help-gnu-emacs@gnu.org; Sat, 12 Aug 2017 12:04:48 -0400 Original-Received: from userp1040.oracle.com ([156.151.31.81]:19745) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dgYu3-0002jj-Fa for help-gnu-emacs@gnu.org; Sat, 12 Aug 2017 12:04:43 -0400 Original-Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id v7CG4eUE027318 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 12 Aug 2017 16:04:41 GMT Original-Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserv0021.oracle.com (8.14.4/8.14.4) with ESMTP id v7CG4eiw002016 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 12 Aug 2017 16:04:40 GMT Original-Received: from abhmp0018.oracle.com (abhmp0018.oracle.com [141.146.116.24]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id v7CG4enR021577; Sat, 12 Aug 2017 16:04:40 GMT In-Reply-To: <86bmnlqlic.fsf@zoho.com> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 12.0.6774.5000 (x86)] X-Source-IP: aserv0021.oracle.com [141.146.126.233] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] [fuzzy] X-Received-From: 156.151.31.81 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.help:114009 Archived-At: > > Some dont want a validation to explode deep > > whithin the guts of some module loaded by > > another module, where the user has no clue > > about what the heck is going on, but next to > > the place where a variable is being set to > > a value it's not supposed to have. > > > > Sometimes I can sympathize with that :-) >=20 > One could also put validation at the beginning > of the functions that use the value, where it > (the function) checks its own parameters rather > than some global loose-cannon variable! You are presuming that only you and your functions use or set the value. If your variable is used by others then all bets are off in this respect - you do not control how it is used, set, etc. > Which is also a much better design this > specific issue aside... If you are coding only for yourself then design is a simpler question. In that context, do whatever you think works best for you. Only you will know or care.