emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* var `date' lacks a prefix warnings
@ 2012-04-27 13:04 Martyn Jago
  2012-04-27 14:45 ` Bastien
  2012-04-27 18:53 ` Achim Gratz
  0 siblings, 2 replies; 5+ messages in thread
From: Martyn Jago @ 2012-04-27 13:04 UTC (permalink / raw)
  To: emacs-orgmode

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:

--8<---------------cut here---------------start------------->8---
(defvaralias 'org--date 'date)
(defvaralias 'org--entry 'entry)
--8<---------------cut here---------------end--------------->8---

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.

If I get a positive response I can perhaps look at a patch and tests,
but if my understanding is amiss I will appreciate the heads-up.

Best, Martyn

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.

[1]  From: Chong Yidong <cyd@gnu.org>
     Subject: Evil defvars in org.el
     Newsgroups: gmane.emacs.devel
     To: Bastien Guerry <bzg@gnu.org>
     Cc: emacs-devel@gnu.org
     Date: Fri, 27 Apr 2012 11:17:37 +0800 (9 hours, 36 minutes, 57 seconds ago)

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-04-27 20:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-27 13:04 var `date' lacks a prefix warnings Martyn Jago
2012-04-27 14:45 ` Bastien
2012-04-27 20:35   ` Martyn Jago
2012-04-27 18:53 ` Achim Gratz
2012-04-27 20:17   ` Martyn Jago

Code repositories for project(s) associated with this public inbox


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).