From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs Subject: bug#10773: set-variable can't change values of user options Date: Tue, 21 Feb 2012 07:26:57 -0800 Message-ID: <6E2C6DFEC18A42E98A69D5044CF56936@us.oracle.com> References: <87r4y4fik0.fsf@mail.jurta.org> <87mx8dt2mt.fsf@mail.jurta.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1329838081 19736 80.91.229.3 (21 Feb 2012 15:28:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 21 Feb 2012 15:28:01 +0000 (UTC) To: "'Juri Linkov'" , <10773@debbugs.gnu.org> Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Feb 21 16:27:58 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RzrdG-0005WG-4Q for geb-bug-gnu-emacs@m.gmane.org; Tue, 21 Feb 2012 16:27:58 +0100 Original-Received: from localhost ([::1]:37117 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RzrdC-0006b6-K1 for geb-bug-gnu-emacs@m.gmane.org; Tue, 21 Feb 2012 10:27:54 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:41481) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RzrdA-0006b1-7l for bug-gnu-emacs@gnu.org; Tue, 21 Feb 2012 10:27:53 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rzrd4-0007RY-Hp for bug-gnu-emacs@gnu.org; Tue, 21 Feb 2012 10:27:52 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:45291) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rzrd4-0007RL-04 for bug-gnu-emacs@gnu.org; Tue, 21 Feb 2012 10:27:46 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1RzrfG-0002LN-AW for bug-gnu-emacs@gnu.org; Tue, 21 Feb 2012 10:30:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: "Drew Adams" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 21 Feb 2012 15:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10773 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 10773-submit@debbugs.gnu.org id=B10773.13298381788955 (code B ref 10773); Tue, 21 Feb 2012 15:30:02 +0000 Original-Received: (at 10773) by debbugs.gnu.org; 21 Feb 2012 15:29:38 +0000 Original-Received: from localhost ([127.0.0.1]:48914 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rzreq-0002KM-Vr for submit@debbugs.gnu.org; Tue, 21 Feb 2012 10:29:37 -0500 Original-Received: from acsinet15.oracle.com ([141.146.126.227]:34694) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rzreo-0002K7-B4 for 10773@debbugs.gnu.org; Tue, 21 Feb 2012 10:29:35 -0500 Original-Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by acsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q1LFRAk0006209 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 21 Feb 2012 15:27:10 GMT Original-Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q1LFR5IY015847 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 21 Feb 2012 15:27:06 GMT Original-Received: from abhmt119.oracle.com (abhmt119.oracle.com [141.146.116.71]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q1LFR5dm029305; Tue, 21 Feb 2012 09:27:05 -0600 Original-Received: from dradamslap1 (/10.159.55.254) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 21 Feb 2012 07:27:05 -0800 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <87mx8dt2mt.fsf@mail.jurta.org> Thread-Index: AczwNoNhOEos62/kSH2HoEVUrpwV3AAdoWPw X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-CT-RefId: str=0001.0A090209.4F43B7CF.001E,ss=1,re=0.000,fgs=0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:57045 Archived-At: > In my opinion, the best way to eliminate the distinction > between user variables (with the leading '*' in the docstring) > and customizable variables in 24.2 is: > > 1. Make `user-variable-p' an alias for `custom-variable-p'. > > 2. Remove the `user-variable-p' condition from `set-variable'. > > This will fix the reported case where `set-variable' can change > the value of `outline-mode-hook', but not `outline-minor-mode-hook'; > and many other similar cases. And how will that help code that uses (defvar foo "*A user variable.")? Users have always been able to set such a user variable using `set-variable'.