From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Xu Chunyang Newsgroups: gmane.emacs.bugs Subject: bug#38365: 26.3; The info doc of eieio-class-name is outdated and its value looks incorrect Date: Sun, 24 Nov 2019 23:11:10 +0800 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="159032"; mail-complaints-to="usenet@blaine.gmane.org" To: 38365@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 25 22:37:31 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iZM31-000f8p-1T for geb-bug-gnu-emacs@m.gmane.org; Mon, 25 Nov 2019 22:37:31 +0100 Original-Received: from localhost ([::1]:48426 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iZM2z-0001nJ-O6 for geb-bug-gnu-emacs@m.gmane.org; Mon, 25 Nov 2019 16:37:29 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59689) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iZLzG-0006SP-Or for bug-gnu-emacs@gnu.org; Mon, 25 Nov 2019 16:33:39 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iZLzF-0003WI-QT for bug-gnu-emacs@gnu.org; Mon, 25 Nov 2019 16:33:38 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43794) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iZLzF-0003W8-Mo for bug-gnu-emacs@gnu.org; Mon, 25 Nov 2019 16:33:37 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iZLzF-0002VL-K6 for bug-gnu-emacs@gnu.org; Mon, 25 Nov 2019 16:33:37 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Xu Chunyang Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 25 Nov 2019 21:33:37 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 38365 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.157468656321058 (code B ref -1); Mon, 25 Nov 2019 21:33:37 +0000 Original-Received: (at submit) by debbugs.gnu.org; 25 Nov 2019 12:56:03 +0000 Original-Received: from localhost ([127.0.0.1]:47833 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iZDuN-0005TS-9I for submit@debbugs.gnu.org; Mon, 25 Nov 2019 07:56:03 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:49370) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iZDqc-0005JQ-UV for submit@debbugs.gnu.org; Mon, 25 Nov 2019 07:52:11 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56831) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iYtXn-0007Bk-UI for bug-gnu-emacs@gnu.org; Sun, 24 Nov 2019 10:11:24 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iYtXm-0006pe-PT for bug-gnu-emacs@gnu.org; Sun, 24 Nov 2019 10:11:23 -0500 Original-Received: from mail-ot1-x336.google.com ([2607:f8b0:4864:20::336]:36299) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iYtXm-0006pJ-Kw for bug-gnu-emacs@gnu.org; Sun, 24 Nov 2019 10:11:22 -0500 Original-Received: by mail-ot1-x336.google.com with SMTP id f10so10397846oto.3 for ; Sun, 24 Nov 2019 07:11:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=K9gygnXmP3Gh0zlP6NXIUq0i1fsn89AsbNeItxMbShU=; b=gRbGz9IZEDhJk8W1ZT27cyQGzfIz7HvEDFzZg+PrfRIfZlsTQ9oxJCu/OZTs9yaggv 9OoZ1JDwPYYWh4x26PrgbkvYuYWHydvNLXxyJZUzK5KCQyozK9MdwLzaURropKA3MGsp 6ZqYjvsAjjsTxDV9u3amb/25DR/koUYqfUjHBmckhsw6HiVOB9xTldeq3ozkKyx1b78Y nU8YUwdDCP1HParQ+ZyBDCSlOaTnTWsHOwjxIZD4t7L2a1bXEr7EYFdGpfL88Y7n5SeC eB9fBr6SdgZV4h++i2xm+wpIAwC7gJWSmrvj4Z2oq5IXTHuiPUXiuGcjaBj4b00z1Gme kDCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=K9gygnXmP3Gh0zlP6NXIUq0i1fsn89AsbNeItxMbShU=; b=TX9lS66QEnWvhZxxdDVdcdjVbCc3UVZ1N7+xVdgRdhmK93s0mOjHNuKMPNgZfBEp8G M182NebaCuliQkvuvxvgX8IhtETP3XTLOQlZaXawo1wREaTcg+IdjbmS8h4VPk0AJZfN dNG9SuUL823F8fDhxAn2OqS0ydH2b25JCyBtzDoxrx3qInV2R8M3lIH6D8dwwkCakXJC X9AAIrR76Aq1Nho5hACYcE/1Sccr7rz/r0m07afgc1Orj2d6lR5l6E+/OFXPqFeSEBV/ sn3Ii886LO7kQu4JpFkeFI405RM+I4BNMS1oVY942pn+cpJjv3Lh55Yl4tHdYEdHZ9qD Z6pw== X-Gm-Message-State: APjAAAVSXelGTG7cAJHiJ/4aVQWohP8ugp5ShQSjTcIld+D1akvNTump swVH1aGnhJqp2QUjE+j6hyst4Zer9ffuGRM38xyNWS26bSIB/A== X-Google-Smtp-Source: APXvYqy3J6M2k4gRHfTad/9N5z9WKm1IchVSI2p17pc007eY37Q1wrVIoFxCSYsb6v7VkXWOVOw6xsuCd+GvJBqyzxI= X-Received: by 2002:a9d:7419:: with SMTP id n25mr16330612otk.193.1574608281357; Sun, 24 Nov 2019 07:11:21 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:172386 Archived-At: (info "(eieio) Predicates") mentions -- Function: eieio-class-name class Return a string of the form =E2=80=98#=E2=80=99 whi= ch should look similar to other Lisp objects like buffers and processes. Printing a class results only in a symbol. but it is not right, the value is not string at all, it's a symbol (defclass my-class () ()) ;; =3D> my-class (eieio-class-name 'my-class) ;; =3D> my-class (type-of (eieio-class-name 'my-class)) ;; =3D> symbol The git master produced the same result as Emacs 26.3. I notice Emacs 24.3's class-name produces the expected result and the function is replaced by eieio-class-name since 24.4 (define-obsolete-function-alias 'class-name #'eieio-class-name "24.4") however, these two functions are different. It seems eieio-class-name contains a bug, the name suggests its value is a string, but it returns a symbol.