emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] * etc/NEWS: Document incompatibilities introduced by record


From: Richard Stallman
Subject: Re: [PATCH] * etc/NEWS: Document incompatibilities introduced by record types.
Date: Wed, 13 Dec 2017 18:00:58 -0500

[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

  > Moving forward, I'd expect that "types" will get a more first-class
  > presence in Elisp, so you should be able to check if a given type name
  > is already used.

If type names are global, that won't be enough to avoid conflicts.
You must avoid conflicts with all the Lisp packages that _might_ get
loaded.

It's just like the situation with function definitions and global variables.

That means you should use your package's naming convention for record
types, just as for functions and global variables, to avoid conflicts
with other packages that you don't know about.

We should document this in the Emacs Lisp Reference Manual.

-- 
Dr Richard Stallman
President, Free Software Foundation (https://gnu.org, https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)
Skype: No way! See https://stallman.org/skype.html.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]