unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] * etc/NEWS: Document incompatibilities introduced by record types.
@ 2017-12-11 21:37 Philipp Stephani
  2017-12-11 22:25 ` Clément Pit-Claudel
                   ` (2 more replies)
  0 siblings, 3 replies; 41+ messages in thread
From: Philipp Stephani @ 2017-12-11 21:37 UTC (permalink / raw)
  To: emacs-devel; +Cc: Philipp Stephani

---
 etc/NEWS | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/etc/NEWS b/etc/NEWS
index 64b53d88c8..7cedd28ed9 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1462,6 +1462,20 @@ them through 'format' first.  Even that is discouraged: for ElDoc
 support, you should set 'eldoc-documentation-function' instead of
 calling 'eldoc-message' directly.
 
+** The introduction of record types (see below) brings several
+incompatibilities:
+
+*** The return value of 'type-of' is no longer a reliable indicator
+for the type of an object.  For example, a return value of 'integer'
+now means that the object in question is either an integer or a record
+named 'integer'.  To reliably test the type of an object, use the
+predicate functions such as 'integerp'.  Don't define record types
+whose names clash with primitive type names.
+
+*** The printed representation of a record named 'hash-table' now
+clashes with the printed representation of a hash table.  Don't define
+record types named 'hash-table'.
+
 \f
 * Lisp Changes in Emacs 26.1
 
-- 
2.15.1




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

end of thread, other threads:[~2017-12-26 19:41 UTC | newest]

Thread overview: 41+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-11 21:37 [PATCH] * etc/NEWS: Document incompatibilities introduced by record types Philipp Stephani
2017-12-11 22:25 ` Clément Pit-Claudel
2017-12-21 16:35   ` Philipp Stephani
2017-12-12  3:21 ` Stefan Monnier
2017-12-12 19:13   ` Clément Pit-Claudel
2017-12-12 20:45     ` Stefan Monnier
2017-12-13 23:00       ` Richard Stallman
2017-12-14 14:08         ` Stefan Monnier
2017-12-14 22:16           ` Richard Stallman
2017-12-14 23:41             ` Stefan Monnier
2017-12-15 21:25               ` Richard Stallman
2017-12-14 22:17           ` Richard Stallman
2017-12-22 10:06             ` Eli Zaretskii
2017-12-21 17:29       ` Philipp Stephani
2017-12-13 23:00     ` Richard Stallman
2017-12-14 14:07       ` Stefan Monnier
2017-12-12 22:06   ` Richard Stallman
2017-12-12 22:20     ` Stefan Monnier
2017-12-13 15:41       ` Sam Steingold
2017-12-13 16:30         ` Stefan Monnier
2017-12-13 23:03       ` Richard Stallman
2017-12-14 14:13         ` Stefan Monnier
2017-12-13  1:03     ` Stefan Monnier
2017-12-13  1:12       ` Noam Postavsky
2017-12-13  1:29         ` Stefan Monnier
2017-12-13 17:40           ` Stephen Leake
2017-12-13 23:02           ` Richard Stallman
2017-12-14 14:12             ` Stefan Monnier
2017-12-14 22:16               ` Richard Stallman
2017-12-14 22:16               ` Richard Stallman
2017-12-21 17:34         ` Philipp Stephani
2017-12-21 18:43           ` Stefan Monnier
2017-12-22 18:46             ` Richard Stallman
2017-12-22 19:39               ` [SUSPECTED SPAM] " Stefan Monnier
2017-12-23 14:56                 ` Richard Stallman
2017-12-23 14:56                 ` make-record Richard Stallman
2017-12-23 15:53                   ` make-record Stefan Monnier
2017-12-24 20:35                     ` make-record Richard Stallman
2017-12-26  2:43                       ` make-record Stefan Monnier
2017-12-26 19:41                         ` make-record Richard Stallman
2017-12-12 22:05 ` [PATCH] * etc/NEWS: Document incompatibilities introduced by record types Richard Stallman

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

	https://git.savannah.gnu.org/cgit/emacs.git

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).