From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: var `date' lacks a prefix warnings Date: Fri, 27 Apr 2012 16:45:51 +0200 Message-ID: <87zk9xs068.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:56431) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SNmPk-0003yI-2B for emacs-orgmode@gnu.org; Fri, 27 Apr 2012 10:44:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SNmPe-0000Qs-ID for emacs-orgmode@gnu.org; Fri, 27 Apr 2012 10:44:51 -0400 Received: from incoming2.cnam.fr ([163.173.128.34]:15088) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SNmPe-0000Qg-Bt for emacs-orgmode@gnu.org; Fri, 27 Apr 2012 10:44:46 -0400 In-Reply-To: (Martyn Jago's message of "Fri, 27 Apr 2012 14:04:28 +0100") 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: Martyn Jago Cc: emacs-orgmode@gnu.org Hi Martyn, Martyn Jago writes: > Regarding the remaining Org-mode `lacks a prefix' warnings and > particularly in light of the recent message on emacs.devel [1] would it > not be sufficient to simply alias date and entry locally: > > (defvaralias 'org--date 'date) > (defvaralias 'org--entry 'entry) > > Presumably this would be backwardly-compatible, and given a subsequent > name change in diary-lib.el a very simple integration test could catch > that very quickly. We first need to fix Calendar so that it doesn't use ̀€date' and `entry' as the name for dynamically variables that are passed around. Then preparing a patch for Org would be great. I'll ping Glenn on the emacs-devel mailing list about this. > p.s. I should point out that my personal view is that a serious well > maintained Emacs library such as Org-mode should have a zero warning > policy for official releases. We are close to zero. If you have time to work on some warning, could you have a look into the one for `buffer-substring-filters'? Also the one for "name" should be fixed. With these two, and when the problems from calendar are fixed, we will be closer to zero. Thanks! -- Bastien