From unknown Sat Aug 16 11:42:37 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#2532: NS: ns-expand-space / slider in Preferences dialog not functional Reply-To: David Reitter , 2532@debbugs.gnu.org Resent-From: David Reitter Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 02 Mar 2009 00:00:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: report 2532 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.123595153917564 (code B ref -1); Mon, 02 Mar 2009 00:00:03 +0000 Received: (at submit) by emacsbugs.donarmstrong.com; 1 Mar 2009 23:52:19 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.0 required=4.0 tests=none autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n21NqGID017555 for ; Sun, 1 Mar 2009 15:52:17 -0800 Received: from mx10.gnu.org ([199.232.76.166]:49477) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LdvPu-0008DF-7g for emacs-pretest-bug@gnu.org; Sun, 01 Mar 2009 18:49:54 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LdvSB-00076B-5V for emacs-pretest-bug@gnu.org; Sun, 01 Mar 2009 18:52:15 -0500 Received: from an-out-0708.google.com ([209.85.132.246]:58831) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LdvSA-000761-R5 for emacs-pretest-bug@gnu.org; Sun, 01 Mar 2009 18:52:14 -0500 Received: by an-out-0708.google.com with SMTP id b6so1268778ana.21 for ; Sun, 01 Mar 2009 15:52:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :content-type:mime-version:subject:date:x-mailer; bh=WmziaF30w/KHlqSUyniIE2OsTxk8RMQLtGvmbFcqBSM=; b=l6khtDM+Mi/xroEYatgTESYjmx5/P0VJFykzbTdiGs7XqmmxCtH8xj79cPElLRVSP6 eOb+3+dC+McnagakMm8uxNq7OySsoih9nXkEqsBu1zBZkfFs3zwV6psq9l7LhRjVn+Do HrtIajTbBQrCGs/YbzvMtoNkzzNQaFVUI4aCI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:content-type:mime-version:subject:date:x-mailer; b=E3kBuZX3q+Y3GHtF9lyhgtjaTM//EWvUcW9B6es7Z3bZTq1mHTlG6PNWESVRok+Dr4 khgPMYS2NOyIZuTPd8xSHLCqO0ZpjdH79CXVFBlCS+o/EzYE/8pIo/kqNf25FN6x74pK JHKTmeJQMu8BqX0/hmpUPwYItR6omjl6/sbMM= Received: by 10.100.164.20 with SMTP id m20mr602446ane.111.1235951534249; Sun, 01 Mar 2009 15:52:14 -0800 (PST) Received: from scarlett.local (pool-71-162-28-49.pitbpa.east.verizon.net [71.162.28.49]) by mx.google.com with ESMTPS id c23sm10272005ana.32.2009.03.01.15.52.12 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 01 Mar 2009 15:52:13 -0800 (PST) Message-Id: From: David Reitter To: emacs-pretest-bug@gnu.org Content-Type: multipart/signed; boundary=Apple-Mail-10--53706747; micalg=sha1; protocol="application/pkcs7-signature" Mime-Version: 1.0 (Apple Message framework v930.3) Date: Sun, 1 Mar 2009 18:52:10 -0500 X-Mailer: Apple Mail (2.930.3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) --Apple-Mail-10--53706747 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Setting `ns-expand-space' doesn't work, and neither does changing its value via the slider the the preferences panel. Also, the doc string of the above variable says that one shouldn't set it directly - if so, how is one supposed to (programmatically) set this? Studying the source code (nsterm.m:setValuesFromPanel), it seems to me that setting the value should work just fine (I even tried calling ns- save-preferences). This is with a vanilla 23/NS build from today's CVS. --Apple-Mail-10--53706747 Content-Disposition: attachment; filename=smime.p7s Content-Type: application/pkcs7-signature; name=smime.p7s Content-Transfer-Encoding: base64 MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIFxDCCAn0w ggHmoAMCAQICED6shx13jEDrq0eL8FRq5ykwDQYJKoZIhvcNAQEFBQAwYjELMAkGA1UEBhMCWkEx JTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQ ZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA4MTIwOTAyMDgwMVoXDTA5MTIwOTAyMDgw MVowYjEQMA4GA1UEBBMHUmVpdHRlcjEOMAwGA1UEKhMFRGF2aWQxFjAUBgNVBAMTDURhdmlkIFJl aXR0ZXIxJjAkBgkqhkiG9w0BCQEWF2RhdmlkLnJlaXR0ZXJAZ21haWwuY29tMIGfMA0GCSqGSIb3 DQEBAQUAA4GNADCBiQKBgQDOdo6kAwlkBxUb8dj4saMbYg4SVng8CUePFn3cjjWrakBTbUVa4Z0n wlUxr7AitEeKhBy5nGhu96+jKUPrCwYNRCZ0l2ovvuGq4z1m1nZ5/c8WvFlVhieuxXMUfmb/O7D3 IojoX6iS8n5MNNU2IWNNT/AD3vOl6DKgOtOw4J9y+QIDAQABozQwMjAiBgNVHREEGzAZgRdkYXZp ZC5yZWl0dGVyQGdtYWlsLmNvbTAMBgNVHRMBAf8EAjAAMA0GCSqGSIb3DQEBBQUAA4GBAIjI8yEW wkiEfA9PMgpjnD6KyCX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FIPaadcXglIt3veYFp/y7AAAAAAAA --Apple-Mail-10--53706747-- From rgm@gnu.org Mon Mar 2 00:10:37 2009 Received: (at control) by emacsbugs.donarmstrong.com; 2 Mar 2009 08:10:37 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-5.0 required=4.0 tests=VALID_BTS_CONTROL, X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n228AYRx014029 for ; Mon, 2 Mar 2009 00:10:35 -0800 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1Le3C5-0001cJ-Rr; Mon, 02 Mar 2009 03:08:09 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18859.37865.767989.757577@fencepost.gnu.org> Date: Mon, 2 Mar 2009 03:08:09 -0500 From: Glenn Morris To: control Subject: control message X-Debbugs-No-Ack: yes reassign 2525 emacs,ns reassign 2526 emacs,ns severity 2527 minor reassign 2530 emacs,ns reassign 2531 emacs,ns reassign 2532 emacs,ns reassign 2534 emacs,ns reassign 2535 spam From unknown Sat Aug 16 11:42:37 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#2532: NS: ns-expand-space / slider in Preferences dialog not functional Reply-To: Adrian Robert , 2532@debbugs.gnu.org Resent-From: Adrian Robert Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs , owner@debbugs.gnu.org Resent-Date: Wed, 04 Mar 2009 21:40:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 2532 X-Emacs-PR-Package: emacs,ns X-Emacs-PR-Keywords: Received: via spool by 2532-submit@emacsbugs.donarmstrong.com id=B2532.123620247321296 (code B ref 2532); Wed, 04 Mar 2009 21:40:05 +0000 Received: (at 2532) by emacsbugs.donarmstrong.com; 4 Mar 2009 21:34:33 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.0 required=4.0 tests=none autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n24LYUN4021290 for <2532@emacsbugs.donarmstrong.com>; Wed, 4 Mar 2009 13:34:31 -0800 Received: by ey-out-2122.google.com with SMTP id 25so649160eya.13 for <2532@emacsbugs.donarmstrong.com>; Wed, 04 Mar 2009 13:34:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:mime-version:content-type :message-id:cc:content-transfer-encoding:from:subject:date:to :x-mailer; bh=qd9P2pPKtAdSb7SpvHkTCn/lDsCv2/gIFZ9Ov9MEhc8=; b=Rd5LebLpO/6PaCVMd+OHu0eOM8LuRlHEspJD9x9tTOsRPld7JudK7xCFuqCyjj84OB ECurya8gXgRgRKa1j6BdDOPK1NthO9ZmHbKPgOHr1YTwGfOXtXsFwPRdUhqHmnbfisqR t7xYjbhUT/FqxV95/u3OfMA0nRKmxpyjxncWw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:content-type:message-id:cc:content-transfer-encoding :from:subject:date:to:x-mailer; b=PaeSpZxrifz9H268XftyuDR0Jnh8gdZjfIb2JWpb+0kOykgSA1mekFOtfH1ZXvvgN9 rjwb4uxgABmSjTvPRR7oNyad2FFvG7oKYux2z4qEzv3Y9Q/n4j0FNZuSma/+Ap7rVSop AzwlqSDC/1rGWgXcjFwatQbmA64Cv4Z7h7Z+Q= Received: by 10.210.17.14 with SMTP id 14mr239444ebq.40.1236202469479; Wed, 04 Mar 2009 13:34:29 -0800 (PST) Received: from ?88.194.239.235? (gprs-prointernet-ffefc200-235.dhcp.inet.fi [88.194.239.235]) by mx.google.com with ESMTPS id f8sm8832857nfh.2.2009.03.04.13.34.27 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 04 Mar 2009 13:34:28 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <21F51971-5679-45BF-85A0-D982CA73E722@gmail.com> Cc: David Reitter Content-Transfer-Encoding: 7bit From: Adrian Robert Date: Wed, 4 Mar 2009 23:35:07 +0200 To: 2532@debbugs.gnu.org X-Mailer: Apple Mail (2.753.1) > Setting `ns-expand-space' doesn't work, and neither does changing its > value via the slider the the preferences panel. > > Also, the doc string of the above variable says that one shouldn't set > it directly - if so, how is one supposed to (programmatically) set > this? > Studying the source code (nsterm.m:setValuesFromPanel), it seems to me > that setting the value should work just fine (I even tried calling ns- > save-preferences). Emacs must be restarted, unfortunately. It mentions this in the manual. The variable doc string should be updated. From unknown Sat Aug 16 11:42:37 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#2532: NS: ns-expand-space / slider in Preferences dialog not functional Reply-To: David Reitter , 2532@debbugs.gnu.org Resent-From: David Reitter Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs , owner@debbugs.gnu.org Resent-Date: Thu, 05 Mar 2009 03:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 2532 X-Emacs-PR-Package: emacs,ns X-Emacs-PR-Keywords: Received: via spool by 2532-submit@emacsbugs.donarmstrong.com id=B2532.123622436917202 (code B ref 2532); Thu, 05 Mar 2009 03:45:02 +0000 Received: (at 2532) by emacsbugs.donarmstrong.com; 5 Mar 2009 03:39:29 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.1 required=4.0 tests=FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n253dPRs017195 for <2532@emacsbugs.donarmstrong.com>; Wed, 4 Mar 2009 19:39:26 -0800 Received: by qw-out-2122.google.com with SMTP id 5so3096487qwi.13 for <2532@emacsbugs.donarmstrong.com>; Wed, 04 Mar 2009 19:39:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:cc:message-id:from:to :in-reply-to:content-type:mime-version:subject:date:references :x-mailer; bh=kMI1IMZv0o4wKCnM7ZXK5kXvn44Ng/36BS1kKzbstFM=; b=KHL1VP5vKAsH/nVvDEKQbI7mpj+LTkxHZV4+bfHFZG7wZWqnBkONoCm4K1rL7fu5og sFFhZkmlVeFFKnVHXVUdT+919OUx2nSiKwPXCSVbwZTnb+wREHfUZDCKIVG6k5MhUTdK LI+YU19KVGxV705C31VUEKeU3IKc2wUzBzCQg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type:mime-version:subject :date:references:x-mailer; b=exbW/W0+XYD0cUKyO1Ox33+vxruXqa5s/i+QN0RWQEVJ2Ty4dWeQqvBiPUBW/yqJl3 6GayD6UINUFvBgngdzWgPTaoFsNk6oaFhrZcufmlGqt+gzQI4TqsW0MH7mHEuMhBnMlU GjvzKUF4EmieKNPKxyx0yJJ4q96WVsTA8DS4k= Received: by 10.224.45.134 with SMTP id e6mr1110243qaf.237.1236224364918; Wed, 04 Mar 2009 19:39:24 -0800 (PST) Received: from scarlett.local (pool-72-65-195-138.pitbpa.east.verizon.net [72.65.195.138]) by mx.google.com with ESMTPS id 6sm3801259qwd.53.2009.03.04.19.39.19 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 04 Mar 2009 19:39:22 -0800 (PST) Cc: 2532@debbugs.gnu.org, Emacs-Devel devel Message-Id: <5393D476-3312-4DF3-AF39-6D698B7FDA49@gmail.com> From: David Reitter To: Adrian Robert In-Reply-To: <21F51971-5679-45BF-85A0-D982CA73E722@gmail.com> Content-Type: multipart/signed; boundary=Apple-Mail-4-219117516; micalg=sha1; protocol="application/pkcs7-signature" Mime-Version: 1.0 (Apple Message framework v930.3) Date: Wed, 4 Mar 2009 22:39:15 -0500 References: <21F51971-5679-45BF-85A0-D982CA73E722@gmail.com> X-Mailer: Apple Mail (2.930.3) --Apple-Mail-4-219117516 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit On 4 Mar 2009, at 16:35, Adrian Robert wrote: >> Setting `ns-expand-space' doesn't work, and neither does changing its >> value via the slider the the preferences panel. >> >> Also, the doc string of the above variable says that one shouldn't >> set >> it directly - if so, how is one supposed to (programmatically) set >> this? >> Studying the source code (nsterm.m:setValuesFromPanel), it seems to >> me >> that setting the value should work just fine (I even tried calling >> ns- >> save-preferences). > > Emacs must be restarted, unfortunately. It mentions this in the > manual. The variable doc string should be updated. > The UI does not reflect that. Users need some indication that they need to restart Emacs for this to work. The `ns-set-resource' Elisp interface is better than none on the Elisp side, but what happened to Emacs customization variables? As said before on this list, introducing another way (beyond .emacs and customization/custom-file) creates a new failure point for people's configurations. This is bad in two respects: they won't be able to reset Emacs to a vanilla state, or troubleshoot a faulty configuration. And, second, it is going to be harder on us to troubleshoot people's problems. Right now, with GNU Emacs 22, we have ~/.emacs and ~/.emacs.d (IIRC), and maybe a few site-lisp files. I speak from experience - in Aquamacs, youthful optimism led me to add eight further locations for a version of .emacs called Preferences.el - two would have done the job to satisfy my goal of Mac compatibility. In addition to that, we split custom-file from .emacs (a good choice, per se). All of these things make it harder to support users. "emacs -q" is helpful, but at the end of the day, people want to run "emacs". Especially seasoned users will complain that they have to find and delete ~/Library/Preferences/ org.gnu.emacs.plist. In anticipation of one pro-resource argument: X Resources are much more limited than the NS parameters system. Why recreate it on NS? What follows is an excerpt from ns-win.el that shows how many of these "NS resources" are set. (ns-set-resource nil "AlternateModifier" (symbol-name ns-alternate- modifier)) (ns-set-resource nil "CommandModifier" (symbol-name ns-command- modifier)) (ns-set-resource nil "ControlModifier" (symbol-name ns-control- modifier)) (ns-set-resource nil "FunctionModifier" (symbol-name ns-function- modifier)) (ns-set-resource nil "ExpandSpace" (if ns-expand-space (number-to-string ns-expand-space) "NO")) (ns-set-resource nil "GSFontAntiAlias" (if ns-antialias-text "YES" "NO")) (ns-set-resource nil "UseQuickdrawSmoothing" (if ns-use-qd-smoothing "YES" "NO")) (ns-set-resource nil "UseSystemHighlightColor" (if ns-use-system-highlight-color "YES" "NO")) (ns-set-resource nil "ConfirmQuit" (if ns-confirm-quit "YES" "NO")) ;; Default frame parameters (let ((p (frame-parameters)) v) (if (setq v (assq 'font p)) (ns-set-resource nil "Font" (ns-font-name (cdr v)))) (if (setq v (assq 'fontsize p)) ... (let ((fl (face-list))) (while (consp fl) (or (eq 'default (car fl)) ;; dont save Default* since it causes all created faces to ;; inherit its values. The properties of the default face ;; have already been saved from the frame-parameters anyway. (let* ((name (symbol-name (car fl))) (font (face-font (car fl))) ;; (fontsize (face-fontsize (car fl))) (foreground (face-foreground (car fl))) (background (face-background (car fl))) (underline (face-underline-p (car fl))) (italic (face-italic-p (car fl))) (bold (face-bold-p (car fl))) (stipple (face-stipple (car fl)))) ;; (ns-set-resource nil (concat name ".attributeFont") ;; (if font font nil)) ;; (ns-set-resource nil (concat name ".attributeFontSize") ;; (if fontsize (number-to-string fontsize) nil)) (ns-set-resource nil (concat name ".attributeForeground") (if foreground foreground nil)) (ns-set-resource nil (concat name ".attributeBackground") (if background background nil)) (ns-set-resource nil (concat name ".attributeUnderline") ... --Apple-Mail-4-219117516 Content-Disposition: attachment; filename=smime.p7s Content-Type: application/pkcs7-signature; name=smime.p7s Content-Transfer-Encoding: base64 MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIFxDCCAn0w ggHmoAMCAQICED6shx13jEDrq0eL8FRq5ykwDQYJKoZIhvcNAQEFBQAwYjELMAkGA1UEBhMCWkEx JTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQ ZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA4MTIwOTAyMDgwMVoXDTA5MTIwOTAyMDgw MVowYjEQMA4GA1UEBBMHUmVpdHRlcjEOMAwGA1UEKhMFRGF2aWQxFjAUBgNVBAMTDURhdmlkIFJl aXR0ZXIxJjAkBgkqhkiG9w0BCQEWF2RhdmlkLnJlaXR0ZXJAZ21haWwuY29tMIGfMA0GCSqGSIb3 DQEBAQUAA4GNADCBiQKBgQDOdo6kAwlkBxUb8dj4saMbYg4SVng8CUePFn3cjjWrakBTbUVa4Z0n wlUxr7AitEeKhBy5nGhu96+jKUPrCwYNRCZ0l2ovvuGq4z1m1nZ5/c8WvFlVhieuxXMUfmb/O7D3 IojoX6iS8n5MNNU2IWNNT/AD3vOl6DKgOtOw4J9y+QIDAQABozQwMjAiBgNVHREEGzAZgRdkYXZp ZC5yZWl0dGVyQGdtYWlsLmNvbTAMBgNVHRMBAf8EAjAAMA0GCSqGSIb3DQEBBQUAA4GBAIjI8yEW wkiEfA9PMgpjnD6KyCXT0iZjHhW2PkR53yZZLUoTboHnKgsFwYp/gzzIL8J5cvZaRUyMUzXDufPP dRmxxCs2jXXLDD/8bvdvOuMzqgYoFA73fAfsC8S6qUL1PayZ90J8CZH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: ns-expand-space / slider in Preferences dialog not functional Reply-To: Adrian Robert , 2532@debbugs.gnu.org Resent-From: Adrian Robert Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs , owner@debbugs.gnu.org Resent-Date: Fri, 06 Mar 2009 19:25:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 2532 X-Emacs-PR-Package: emacs,ns X-Emacs-PR-Keywords: Received: via spool by 2532-submit@emacsbugs.donarmstrong.com id=B2532.123636718011914 (code B ref 2532); Fri, 06 Mar 2009 19:25:03 +0000 Received: (at 2532) by emacsbugs.donarmstrong.com; 6 Mar 2009 19:19:40 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.0 required=4.0 tests=none autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.184]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n26JJa33011906 for <2532@emacsbugs.donarmstrong.com>; Fri, 6 Mar 2009 11:19:38 -0800 Received: by nf-out-0910.google.com with SMTP id d3so65116nfc.31 for <2532@emacsbugs.donarmstrong.com>; Fri, 06 Mar 2009 11:19:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:in-reply-to:references :mime-version:content-type:message-id:cc:content-transfer-encoding :from:subject:date:to:x-mailer; bh=MiJe2gQK2hpf450gSLjQuL7wFf0S6YYS2YhN9JU3L6c=; b=UK1OHhnq0YEZ8vFrNQNlqG9I6zhos7fgBv1NLtxZFoyWJDdZ8XywoS2oV34mc5QbMK DWb3WybCK19R2v7lMngqy1rGhDNKev3ycGm/Xrg6NvljKavZvo5H7VbsRwgua5XPTwFA /7NE7jP6rYFKPtvWgcYcfIFFDVwZUMDqml1Ck= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=in-reply-to:references:mime-version:content-type:message-id:cc :content-transfer-encoding:from:subject:date:to:x-mailer; b=g8mDKFurNyUNl6c5VmvigIrmo2ygVIWO6BCj1VCMDa2EjwuMC9c4s4yaZ8GOAgqkl4 9oea81hjjvYfXATBYiNOAxw0T3gFl6dmO+XBfcjjx0zRsqdFr7ON2u2RS7TP1QnYW1pB gbZgQui4YDCdh5XvKGlJiFo386DSagwRnhbKQ= Received: by 10.210.92.8 with SMTP id p8mr1282688ebb.55.1236367175910; Fri, 06 Mar 2009 11:19:35 -0800 (PST) Received: from ?88.194.192.246? (gprs-prointernet-ffc0c200-246.dhcp.inet.fi [88.194.192.246]) by mx.google.com with ESMTPS id d2sm2779583nfc.51.2009.03.06.11.19.33 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 06 Mar 2009 11:19:35 -0800 (PST) In-Reply-To: <5393D476-3312-4DF3-AF39-6D698B7FDA49@gmail.com> References: <21F51971-5679-45BF-85A0-D982CA73E722@gmail.com> <5393D476-3312-4DF3-AF39-6D698B7FDA49@gmail.com> Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Cc: 2532@debbugs.gnu.org, Emacs-Devel devel Content-Transfer-Encoding: 7bit From: Adrian Robert Date: Fri, 6 Mar 2009 21:20:13 +0200 To: David Reitter X-Mailer: Apple Mail (2.753.1) On Mar 5, 2009, at 5:39 AM, David Reitter wrote: > The `ns-set-resource' Elisp interface is better than none on the > Elisp side, but what happened to Emacs customization variables? > > As said before on this list, introducing another way (beyond .emacs > and customization/custom-file) creates a new failure point for > people's configurations. This is bad in two respects: they won't > be able to reset Emacs to a vanilla state, or troubleshoot a faulty > configuration. > ... > All of these things make it harder to support users. "emacs -q" is > helpful, but at the end of the day, people want to run "emacs". > Especially seasoned users will complain that they have to find and > delete ~/Library/Preferences/org.gnu.emacs.plist. This is no longer true -- running -q or -Q now ignores the plist -- though not X resources, I believe. The one difference between the NS defaults and X resources is that the defaults system is read/write, whereas X resources are for some strange reason read-only by design. After various discussion here, I now believe this difference is fundamental, and that the NS defaults system should therefore be used in Emacs only internally for parameters that are specific to NS and not set by users. This includes reading existing system settings like anti-aliasing threshold, as well as storing previous directories and window locations for file open/save dialogs. Completely behind- the-scenes stuff. I would advocate transitioning all of the ns-xxx lisp variables that are not stored in defaults to the customization system. I am not sure if it is appropriate to do this under pretest, however. It would be a user-visible change and potentially cause unexpected side effects. From unknown Sat Aug 16 11:42:37 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#2532: NS: ns-expand-space / slider in Preferences dialog not functional Reply-To: David Reitter , 2532@debbugs.gnu.org Resent-From: David Reitter Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs , owner@debbugs.gnu.org Resent-Date: Fri, 06 Mar 2009 19:45:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 2532 X-Emacs-PR-Package: emacs,ns X-Emacs-PR-Keywords: Received: via spool by 2532-submit@emacsbugs.donarmstrong.com id=B2532.123636816716842 (code B ref 2532); Fri, 06 Mar 2009 19:45:05 +0000 Received: (at 2532) by emacsbugs.donarmstrong.com; 6 Mar 2009 19:36:07 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.0 required=4.0 tests=none autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mail-qy0-f113.google.com (mail-qy0-f113.google.com [209.85.221.113]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n26Ja4Tg016836 for <2532@emacsbugs.donarmstrong.com>; Fri, 6 Mar 2009 11:36:05 -0800 Received: by qyk11 with SMTP id 11so267199qyk.19 for <2532@emacsbugs.donarmstrong.com>; Fri, 06 Mar 2009 11:35:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:cc:message-id:from:to :in-reply-to:content-type:mime-version:subject:date:references :x-mailer; bh=+Vzag/wabTocKWPSCE/k5+yalhlNx2t62910I3BxL/o=; b=unk+sjb7D/EAyahKXTBQlzr/kbCzguQrIMWhVwsl00FNVBUSc2vbnFy0VraAmNCUMo bc8zoyMp2W7FrMnWaIw9qjuewmv7buIwUWZMzLRDtk7bLw3QjZYSZKfPWru/bfn48hHm VjhHf1WPg0ZYHefBV44vXbOaz5RYDsyOKxkr0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type:mime-version:subject :date:references:x-mailer; b=Co/K7V/a9ZVIdJ4zlt0GnoHWVf22Zm5jBNZ6yPDmXrWCp/ymxSCSt/eS7BlGYJe4t2 pqVtA7v7J9xAHTxgcIP8ed3fuuysrDv3iy6DgI6eyR28Ss/gtVirsxZZ1J75uDGIjlxZ 1jsl6M1VPq8/x42Yjn5apTFbnMCRq2EH2rzyg= Received: by 10.224.28.207 with SMTP id n15mr4300218qac.92.1236368158713; Fri, 06 Mar 2009 11:35:58 -0800 (PST) Received: from SCARLETT.PSY.CMU.EDU (SCARLETT.PSY.CMU.EDU [128.2.249.106]) by mx.google.com with ESMTPS id 8sm1205158qwj.36.2009.03.06.11.35.56 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 06 Mar 2009 11:35:57 -0800 (PST) Cc: 2532@debbugs.gnu.org, Emacs-Devel devel Message-Id: From: David Reitter To: Adrian Robert In-Reply-To: Content-Type: multipart/signed; boundary=Apple-Mail-57-362918033; micalg=sha1; protocol="application/pkcs7-signature" Mime-Version: 1.0 (Apple Message framework v930.3) Date: Fri, 6 Mar 2009 14:35:55 -0500 References: <21F51971-5679-45BF-85A0-D982CA73E722@gmail.com> <5393D476-3312-4DF3-AF39-6D698B7FDA49@gmail.com> X-Mailer: Apple Mail (2.930.3) --Apple-Mail-57-362918033 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit On 6 Mar 2009, at 14:20, Adrian Robert wrote: > This is no longer true -- running -q or -Q now ignores the plist -- > though not X resources, I believe. The one difference between the > NS defaults and X resources is that the defaults system is read/ > write, whereas X resources are for some strange reason read-only by > design. After various discussion here, I now believe this > difference is fundamental, and that the NS defaults system should > therefore be used in Emacs only internally for parameters that are > specific to NS and not set by users. This includes reading existing > system settings like anti-aliasing threshold, as well as storing > previous directories and window locations for file open/save > dialogs. Completely behind-the-scenes stuff. Yes, I agree. It's great that there is now a way to access the NS defaults system. I would advocate, however, to only use the NS prefs systems for variables that cannot be implemented with the customization system, i.e. stuff that needs to be initialized on startup, because user files are read. > I am not sure if it is appropriate to do this under pretest, > however. It would be a user-visible change and potentially cause > unexpected side effects. Up to the maintainers to decide: Is "user-visibility" the right criterion? (Bug fixes are user-visible!) Shouldn't it be "dangerous" vs. not, and "bug fixes" vs. "features", and "recent regressions" vs. not? -- http://aquamacs.org -- Aquamacs: Emacs on Mac OS X http://aquamacs.org/donate -- Could we help you? Return the favor and support the Aquamacs Project! --Apple-Mail-57-362918033 Content-Disposition: attachment; filename=smime.p7s Content-Type: application/pkcs7-signature; name=smime.p7s Content-Transfer-Encoding: base64 MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIFxDCCAn0w ggHmoAMCAQICED6shx13jEDrq0eL8FRq5ykwDQYJKoZIhvcNAQEFBQAwYjELMAkGA1UEBhMCWkEx JTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQ ZXJzb25hbCBGcmVlbWFpbCBJc3N1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EEAYI3EAQxeDB2MGIxCzAJBgNVBAYTAlpBMSUwIwYDVQQKExxUaGF3dGUgQ29uc3Vs dGluZyAoUHR5KSBMdGQuMSwwKgYDVQQDEyNUaGF3dGUgUGVyc29uYWwgRnJlZW1haWwgSXNzdWlu ZyBDQQIQPqyHHXeMQOurR4vwVGrnKTCBhwYLKoZIhvcNAQkQAgsxeKB2MGIxCzAJBgNVBAYTAlpB MSUwIwYDVQQKExxUaGF3dGUgQ29uc3VsdGluZyAoUHR5KSBMdGQuMSwwKgYDVQQDEyNUaGF3dGUg UGVyc29uYWwgRnJlZW1haWwgSXNzdWluZyBDQQIQPqyHHXeMQOurR4vwVGrnKTANBgkqhkiG9w0B AQEFAASBgKf77hezIfNx39WS4v7ufmegBAmwLGjvaQhEhjqScBi7keVhCOxjBq29vtQcAvAl4qcZ Xh8x4BM3J3QqSeXyDNxXGSQu60mEd8zHjPvC5UMtdfskCL74nuUYRlWw7FXL2DO6N1aHSl+3We3G 8NV5w9F7/LfEE9YnAJd8IprPFqxfAAAAAAAA --Apple-Mail-57-362918033-- From unknown Sat Aug 16 11:42:37 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#2532: NS: ns-expand-space / slider in Preferences dialog not functional Reply-To: YAMAMOTO Mitsuharu , 2532@debbugs.gnu.org Resent-From: YAMAMOTO Mitsuharu Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs , owner@debbugs.gnu.org Resent-Date: Sat, 07 Mar 2009 01:15:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 2532 X-Emacs-PR-Package: emacs,ns X-Emacs-PR-Keywords: Received: via spool by 2532-submit@emacsbugs.donarmstrong.com id=B2532.12363881467407 (code B ref 2532); Sat, 07 Mar 2009 01:15:03 +0000 Received: (at 2532) by emacsbugs.donarmstrong.com; 7 Mar 2009 01:09:06 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: * X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=1.0 required=4.0 tests=GMAIL autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from mathmail.math.s.chiba-u.ac.jp (ntp.math.s.chiba-u.ac.jp [133.82.132.2]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n27193V3007400 for <2532@emacsbugs.donarmstrong.com>; Fri, 6 Mar 2009 17:09:04 -0800 Received: from church.math.s.chiba-u.ac.jp (church [133.82.132.36]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id CC0312C4A; Sat, 7 Mar 2009 10:09:02 +0900 (JST) Date: Sat, 07 Mar 2009 10:09:02 +0900 Message-ID: From: YAMAMOTO Mitsuharu To: Adrian Robert Cc: David Reitter , 2532@debbugs.gnu.org, Emacs-Devel devel In-Reply-To: References: <21F51971-5679-45BF-85A0-D982CA73E722@gmail.com> <5393D476-3312-4DF3-AF39-6D698B7FDA49@gmail.com> User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 =?UTF-8?Q?(Shij=C5=8D)?= APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) Organization: Faculty of Science, Chiba University MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII >>>>> On Fri, 6 Mar 2009 21:20:13 +0200, Adrian Robert said: > I would advocate transitioning all of the ns-xxx lisp variables that > are not stored in defaults to the customization system. > I am not sure if it is appropriate to do this under pretest, > however. It would be a user-visible change and potentially cause > unexpected side effects. Emacs already has the line-spacing setting as frame parameter, buffer-local variable, and text property. So, ns-expand-space can/should be removed. YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp From unknown Sat Aug 16 11:42:37 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: owner@emacsbugs.donarmstrong.com From: help-debbugs@gnu.org (Emacs bug Tracking System) To: David Reitter Subject: bug#2532 closed by David Reitter (fixed) Message-ID: References: <74542FC5-AA1A-4CC1-A73E-D5284DE5CD34@gmail.com> X-Emacs-PR-Message: they-closed 2532 X-Emacs-PR-Package: emacs,ns Reply-To: 2532@debbugs.gnu.org Date: Mon, 04 May 2009 16:35:07 +0000 Content-Type: multipart/mixed; boundary="----------=_1241454907-20311-1" This is a multi-part message in MIME format... ------------=_1241454907-20311-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the emacs,ns package: #2532: NS: ns-expand-space / slider in Preferences dialog not functional It has been closed by David Reitter . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact David Reitter by replying to this email. --=20 2532: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D2532 Emacs Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1241454907-20311-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 2532-done) by emacsbugs.donarmstrong.com; 4 May 2009 16:26:24 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: *** X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=3.0 required=4.0 tests=ONEWORD autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from mail-qy0-f110.google.com (mail-qy0-f110.google.com [209.85.221.110]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n44GQLZh018411 for <2532-done@emacsbugs.donarmstrong.com>; Mon, 4 May 2009 09:26:22 -0700 Received: by qyk8 with SMTP id 8so6965301qyk.19 for <2532-done@emacsbugs.donarmstrong.com>; Mon, 04 May 2009 09:26:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :content-type:content-transfer-encoding:mime-version:subject:date :x-mailer; bh=wWdFhUlvyBBHzlThT9JGrZXCCTZdOh1l6XjGov4pxK4=; b=VdsbXvTmVGO6SqCQxiTW6WfYyvyoS5RctrQWmuZYU/Dq1aX/BmsLpX8Mty+bot+s63 D7V4IGuKoG1pCc61SnOoZJGDBLStEoPv1o7SuGV7C17qARTc7nVTJ+I2nZFPwAGkJIwg ZR+K5DkkRWO6eVxBQBwatJ4Gf6mBZ2t5OnDqM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:content-type:content-transfer-encoding :mime-version:subject:date:x-mailer; b=lvQlIJybkgLG+tAjRrdoQ3/vBNjHv8351DbNGbeRxce38t0GX8SY6L+/mAqjPkAqZx iRVwLdSIh5VDRh+MTyi1Kfx5dulMV/FEmUIXk/bvef/RxXI89dl7c1lDgqlZgRgwFMSb OEzwhT/AH3wBBsrZUgDB1ZCa+auN6W7scwsfg= Received: by 10.224.60.138 with SMTP id p10mr6040206qah.232.1241454375658; Mon, 04 May 2009 09:26:15 -0700 (PDT) Received: from SCARLETT.PSY.CMU.EDU (SCARLETT.PSY.CMU.EDU [128.2.249.106]) by mx.google.com with ESMTPS id 6sm2951038qwk.10.2009.05.04.09.26.15 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 04 May 2009 09:26:15 -0700 (PDT) Message-Id: <74542FC5-AA1A-4CC1-A73E-D5284DE5CD34@gmail.com> From: David Reitter To: 2532-done@debbugs.gnu.org Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Subject: fixed Date: Mon, 4 May 2009 12:26:14 -0400 X-Mailer: Apple Mail (2.930.3) fixed by taking out Preferences dialog and ns-expand-space ------------=_1241454907-20311-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 1 Mar 2009 23:52:19 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.0 required=4.0 tests=none autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n21NqGID017555 for ; Sun, 1 Mar 2009 15:52:17 -0800 Received: from mx10.gnu.org ([199.232.76.166]:49477) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LdvPu-0008DF-7g for emacs-pretest-bug@gnu.org; Sun, 01 Mar 2009 18:49:54 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LdvSB-00076B-5V for emacs-pretest-bug@gnu.org; Sun, 01 Mar 2009 18:52:15 -0500 Received: from an-out-0708.google.com ([209.85.132.246]:58831) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LdvSA-000761-R5 for emacs-pretest-bug@gnu.org; Sun, 01 Mar 2009 18:52:14 -0500 Received: by an-out-0708.google.com with SMTP id b6so1268778ana.21 for ; Sun, 01 Mar 2009 15:52:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :content-type:mime-version:subject:date:x-mailer; bh=WmziaF30w/KHlqSUyniIE2OsTxk8RMQLtGvmbFcqBSM=; b=l6khtDM+Mi/xroEYatgTESYjmx5/P0VJFykzbTdiGs7XqmmxCtH8xj79cPElLRVSP6 eOb+3+dC+McnagakMm8uxNq7OySsoih9nXkEqsBu1zBZkfFs3zwV6psq9l7LhRjVn+Do HrtIajTbBQrCGs/YbzvMtoNkzzNQaFVUI4aCI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:content-type:mime-version:subject:date:x-mailer; b=E3kBuZX3q+Y3GHtF9lyhgtjaTM//EWvUcW9B6es7Z3bZTq1mHTlG6PNWESVRok+Dr4 khgPMYS2NOyIZuTPd8xSHLCqO0ZpjdH79CXVFBlCS+o/EzYE/8pIo/kqNf25FN6x74pK JHKTmeJQMu8BqX0/hmpUPwYItR6omjl6/sbMM= Received: by 10.100.164.20 with SMTP id m20mr602446ane.111.1235951534249; Sun, 01 Mar 2009 15:52:14 -0800 (PST) Received: from scarlett.local (pool-71-162-28-49.pitbpa.east.verizon.net [71.162.28.49]) by mx.google.com with ESMTPS id c23sm10272005ana.32.2009.03.01.15.52.12 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 01 Mar 2009 15:52:13 -0800 (PST) Message-Id: From: David Reitter To: emacs-pretest-bug@gnu.org Content-Type: multipart/signed; boundary=Apple-Mail-10--53706747; micalg=sha1; protocol="application/pkcs7-signature" Mime-Version: 1.0 (Apple Message framework v930.3) Subject: NS: ns-expand-space / slider in Preferences dialog not functional Date: Sun, 1 Mar 2009 18:52:10 -0500 X-Mailer: Apple Mail (2.930.3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) --Apple-Mail-10--53706747 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Setting `ns-expand-space' doesn't work, and neither does changing its value via the slider the the preferences panel. Also, the doc string of the above variable says that one shouldn't set it directly - if so, how is one supposed to (programmatically) set this? Studying the source code (nsterm.m:setValuesFromPanel), it seems to me that setting the value should work just fine (I even tried calling ns- save-preferences). This is with a vanilla 23/NS build from today's CVS. --Apple-Mail-10--53706747 Content-Disposition: attachment; filename=smime.p7s Content-Type: application/pkcs7-signature; name=smime.p7s Content-Transfer-Encoding: base64 MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUr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