From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: bug#15887: Possibly incorrect custom :types Date: Fri, 15 Nov 2013 06:25:48 +0100 Message-ID: <87eh6ip76r.fsf@bzg.ath.cx> References: <87habfw2jp.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59185) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VhBuy-0004ND-EU for emacs-orgmode@gnu.org; Fri, 15 Nov 2013 00:26:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VhBus-00032g-J8 for emacs-orgmode@gnu.org; Fri, 15 Nov 2013 00:26:08 -0500 Received: from debbugs.gnu.org ([140.186.70.43]:39729) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VhBus-00032b-F6 for emacs-orgmode@gnu.org; Fri, 15 Nov 2013 00:26:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VhBus-0002vf-5d for emacs-orgmode@gnu.org; Fri, 15 Nov 2013 00:26:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: (Glenn Morris's message of "Thu, 14 Nov 2013 12:18:04 -0500") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Glenn Morris Cc: 15887@debbugs.gnu.org Hi Glenn, Glenn Morris writes: > I glanced at the diff. I'm not sure the :set changes are correct. > Won't this make it impossible to customize these options? > Those cases may have been some of the false positives I mentioned. > Eg > > (if (or (featurep 'xemacs) (featurep 'python-mode)) 'python-mode 'python) > > is fine for :type 'function, but cus-test is simple-minded and > doesn't realize that the result of the expression will always be a > function, so it gives a bogus warning. Thanks for pointing this, I misunderstood the purpose of :set. This is fixed in the maint branch. -- Bastien