From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Lennart Borgman" Newsgroups: gmane.emacs.devel Subject: Re: Emacs Installer for MS Windows Date: Thu, 26 Aug 2004 20:27:41 +0200 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: <000801c48b9a$9ef72d00$0200a8c0@sedrcw11488> References: <001401c478de$908a92d0$0200a8c0@sedrcw11488> <1091508072.20683.201576204@webmail.messagingengine.com> <4111491A.4090601@runestig.com> <4111D8D4.1040506@runestig.com> <1091693906.8538.201741376@webmail.messagingengine.com> <001d01c47afa$c1f5f170$0200a8c0@sedrcw11488> <003e01c48946$a8ebfad0$0200a8c0@sedrcw11488> <011201c48a06$469eb6e0$0200a8c0@sedrcw11488> <016f01c48a10$f6081090$0200a8c0@sedrcw11488> <001801c48a37$995d27f0$0200a8c0@sedrcw11488> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1093544949 19546 80.91.224.253 (26 Aug 2004 18:29:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 26 Aug 2004 18:29:09 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Aug 26 20:28:57 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1C0OzZ-0001q1-00 for ; Thu, 26 Aug 2004 20:28:57 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C0P4B-000152-WC for ged-emacs-devel@m.gmane.org; Thu, 26 Aug 2004 14:33:44 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C0P45-00014w-Ge for emacs-devel@gnu.org; Thu, 26 Aug 2004 14:33:37 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C0P43-00014k-O8 for emacs-devel@gnu.org; Thu, 26 Aug 2004 14:33:37 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C0P43-00014h-Li for emacs-devel@gnu.org; Thu, 26 Aug 2004 14:33:35 -0400 Original-Received: from [81.228.9.112] (helo=av4-2-sn3.vrr.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1C0OzN-0002ba-1T for emacs-devel@gnu.org; Thu, 26 Aug 2004 14:28:45 -0400 Original-Received: by av4-2-sn3.vrr.skanova.net (Postfix, from userid 502) id 4E8AC37ECF; Thu, 26 Aug 2004 20:28:44 +0200 (CEST) Original-Received: from smtp1-2-sn3.vrr.skanova.net (smtp1-2-sn3.vrr.skanova.net [81.228.9.178]) by av4-2-sn3.vrr.skanova.net (Postfix) with ESMTP id 413F937E45; Thu, 26 Aug 2004 20:28:44 +0200 (CEST) Original-Received: from sedrcw11488 (t2o58p113.telia.com [62.20.165.113]) by smtp1-2-sn3.vrr.skanova.net (Postfix) with SMTP id D0DBD38016; Thu, 26 Aug 2004 20:28:42 +0200 (CEST) Original-To: "Stefan" , "Emacs Devel" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:26528 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:26528 ----- Original Message ----- From: "Stefan" > >> let's say I start your Emacs and see "gee he turned on CUA-mode, that > > sucks > >> for me". What do I do? Normally, to turn CUA off, a user should do > >> (CUA-mode -1) or you use custom. Your site-start.el or default.el changes > >> should correctly react to either one of those things. > > > I turn on the options just as if the user had used "Options - Customize > > Emacs" so I do not believe it is a problem. > > Huh? How do you do that? If you call custom-set-variables in site-start.el > or default.el, it won't be the same as if you called it in .emacs because > the user has no way to change those settings AFAIK. Have you tried it? I do it by calling emacs this way emacs.exe -l set-vars.el -f kill-emacs where set-vars.el contains something like (put 'custom-var 'saved-value (list "custom value")) (custom-save-all) As Stefan has pointed out to me this will only affect the user that is installing Emacs. However I think that is no big problem on ms windows. I do not feel really comfortable with this solution since it requires internal knowledge of custom, but I can't find any other way. If there is one, please tell me. - Lennart