GNU bug report logs - #60348
30.0.50; Incorrect docstring face in lisp-mode

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Gabriel <gabriel376@HIDDEN>; Keywords: notabug; dated Tue, 27 Dec 2022 03:49:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Added tag(s) notabug. Request was from Stefan Kangas <stefankangas@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 60348 <at> debbugs.gnu.org:


Received: (at 60348) by debbugs.gnu.org; 27 Dec 2022 12:22:06 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Dec 27 07:22:05 2022
Received: from localhost ([127.0.0.1]:54856 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pA8y5-0000sV-KN
	for submit <at> debbugs.gnu.org; Tue, 27 Dec 2022 07:22:05 -0500
Received: from eggs.gnu.org ([209.51.188.92]:38096)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1pA8y3-0000rx-0Q
 for 60348 <at> debbugs.gnu.org; Tue, 27 Dec 2022 07:22:04 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1pA8xx-0005EP-39; Tue, 27 Dec 2022 07:21:57 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=kTeqZk+IladpiXMX4TngmaZBNhuBnyf0n34Aoa9bdzk=; b=UqsDMRqotS76
 yKYE9Z/D2twtKHVsiAhyxvVJaySs3tHJHFYrGCrmZJ8mStdYLeB5tNw/I2cnVvpezq5FA9woWiTPv
 s6oJ1e6Ad5hd4VvMhIRjH4w9d/pmzLm2vPP5WZ1xoLHdF7O9HWc/Pp4R2jv/UeDge+fq245O4w5wH
 534kKbWXfK9qaFG7XxZ2bu6zXg3yGDFXxhPS4cw1gQkWA68lRZJQefmFalX4mbMg0Nz4L/9tI4R1T
 MIJrYsKPIlo6Jih0+czXiBtsqlpbjWO3z+4tMAUMW/fi8vp0s74vdLuM1Re2pW/10Oey2V+VhjFnT
 FKT/GS5ubnp6BSY2TJ6XgA==;
Received: from [87.69.77.57] (helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1pA8xw-00054O-7I; Tue, 27 Dec 2022 07:21:56 -0500
Date: Tue, 27 Dec 2022 14:22:02 +0200
Message-Id: <83wn6d11g5.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Gabriel <gabriel376@HIDDEN>, Stefan Monnier <monnier@HIDDEN>
In-Reply-To: <PH8PR19MB7070BDE181C9FA6C9B17C77D8BED9@HIDDEN>
 (message from Gabriel on Tue, 27 Dec 2022 00:42:37 -0300)
Subject: Re: bug#60348: 30.0.50; Incorrect docstring face in lisp-mode
References: <PH8PR19MB7070BDE181C9FA6C9B17C77D8BED9@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 60348
Cc: 60348 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Gabriel <gabriel376@HIDDEN>
> Date: Tue, 27 Dec 2022 00:42:37 -0300
> 
> Steps:
> 
> 1) emacs -Q (master branch)
> 
> 2) Open *scratch* buffer (or any buffer with a lisp major mode)
> 
> 3) Type:
> 
> (defun foo () "Hello, World!")
> 
> Expected result: The string "Hello, World!" is fontified with
> 'font-lock-string-face'.
> 
> Actual result: The string "Hello, World!" is fontified with
> 'font-lock-doc-face'.

I'm not sure I understand why you expected something other than
font-lock-doc-face.  E.g., the Lisp interpreter disagrees with you:

  (documentation 'foo)
    => "Hello, World!"

Am I missing something here?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#60348; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 27 Dec 2022 03:48:08 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Dec 26 22:48:08 2022
Received: from localhost ([127.0.0.1]:54452 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pA0wi-0003sW-AO
	for submit <at> debbugs.gnu.org; Mon, 26 Dec 2022 22:48:08 -0500
Received: from lists.gnu.org ([209.51.188.17]:47126)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <gabriel376@HIDDEN>) id 1pA0wd-0003rz-CZ
 for submit <at> debbugs.gnu.org; Mon, 26 Dec 2022 22:48:06 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <gabriel376@HIDDEN>)
 id 1pA0wc-0003nb-8w
 for bug-gnu-emacs@HIDDEN; Mon, 26 Dec 2022 22:48:02 -0500
Received: from mail-dm3nam02olkn20823.outbound.protection.outlook.com
 ([2a01:111:f400:7e83::823]
 helo=NAM02-DM3-obe.outbound.protection.outlook.com)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <gabriel376@HIDDEN>)
 id 1pA0wa-0006J5-7j
 for bug-gnu-emacs@HIDDEN; Mon, 26 Dec 2022 22:48:01 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
 b=A8/hWyxBk9H09eY0nOm52SaYNdumwNlSJZYC1pG4FSz6vjNWeLw2ExrxPNBT1+BKCRS9mKPYDOVDvWrX+kpGIE4lzrsPnfFBQloj5eTXb/9il2Z9fpVkXMk5T5l+/iadMyFLHKV+roTVI89WbHKxTm8awZLUJXSE5mz6Bo+o3f27gnDd4JvpTry3s1VZLwqVkV9Wix4raohMfWpJPVPWJZHHXpmbWoWF3pAiK/VKMewAhKpa+kk6j8TNPkbN2nddTaKtIrCGAilaWsJMulEoMXURvPSGmCgU+2+sifq4cpfZ0JkLLJew7r5BynVDbNFmQ3HzvER3Ph/1x5q1/OB5qA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; 
 s=arcselector9901;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;
 bh=jFzhKSsV1IW3EO3Y4oAoUrePNoaYcVuzjPzRdlhQRXs=;
 b=VdVU5FT3Qf+Jb34PIPsU8ywdoWJTrvNECBilRDCAYtDEUffMTFQr2kC+Wj3Y1oDMcpX29hUoodnaqvULvvJ16nyYNF8LGZs91Dw8kGgnUPM333b8iiSPlEdXHTlW2+E04S/wo6H1eviM3cbCGsoSr+Nzlpg+RXhLJ8Um9ZuGl2rDRTqLlK75zRJPCmSxEnX1tQdDiRORqtJoNo0h1J12yMhOQeJJq44WnHgSrk3KNj/F6CpaBBuwhwkQx81KigfMPyfPMOZ5DYHfwA/C2G5YGaFqYglrkfWAF00upWhm263Q+htVUqsc2+g632fa3jyWlU9/xXxrda1//oRF8yl62w==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none;
 dkim=none; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com;
 s=selector1;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=jFzhKSsV1IW3EO3Y4oAoUrePNoaYcVuzjPzRdlhQRXs=;
 b=ooZb4z2s3dj0osNCaGIOkVSJpZIxOVJBnjmKngiYmFK1wcGyLKSpv3GFLbETgtYnfynoF3S9nH+OFAxW7exGLH0fgzUv2eJwJ8nj19Co7dZw2ZfVAkVtfFafCEvXEb6zO3p29uVfU7VUjXojQ8F/NxTdm766k/eFDYGwd7/As8FLo+mrRSWInNcObT9y72iNAFbIDMX2sHFNYDfo56GJDoM7jSzJZUVPVsUw6GWLlLgPStF8toblWGE9Baw+ldOGszZF3UDqnVJXxgN1ow7ayXvzGcv5DGhXDH2kjH7iCrqfNirBFrt0IwMAkGVusEfliIlrKyJdE7C7VNovRdRN2g==
Received: from PH8PR19MB7070.namprd19.prod.outlook.com (2603:10b6:510:222::9)
 by BL1PR19MB6012.namprd19.prod.outlook.com (2603:10b6:208:39f::10)
 with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5944.16; Tue, 27 Dec
 2022 03:42:54 +0000
Received: from PH8PR19MB7070.namprd19.prod.outlook.com
 ([fe80::32c9:7ad8:d88f:a199]) by PH8PR19MB7070.namprd19.prod.outlook.com
 ([fe80::32c9:7ad8:d88f:a199%6]) with mapi id 15.20.5944.016; Tue, 27 Dec 2022
 03:42:54 +0000
From: Gabriel <gabriel376@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 30.0.50; Incorrect docstring face in lisp-mode
User-Agent: Gnus/5.13 (Gnus v5.13)
Date: Tue, 27 Dec 2022 00:42:37 -0300
Message-ID: <PH8PR19MB7070BDE181C9FA6C9B17C77D8BED9@HIDDEN>
Content-Type: text/plain
X-TMN: [QA/O6KLeuQY10QVp/ERdtCwALhvZVB4PunqdrGfkgZgoBEwJTS0Q5iXP9CnaXpk3]
X-ClientProxiedBy: CP6P284CA0048.BRAP284.PROD.OUTLOOK.COM
 (2603:10d6:103:1ab::17) To PH8PR19MB7070.namprd19.prod.outlook.com
 (2603:10b6:510:222::9)
X-Microsoft-Original-Message-ID: <878rit4imq.fsf@HIDDEN>
MIME-Version: 1.0
X-MS-Exchange-MessageSentRepresentingType: 1
X-MS-PublicTrafficType: Email
X-MS-TrafficTypeDiagnostic: PH8PR19MB7070:EE_|BL1PR19MB6012:EE_
X-MS-Office365-Filtering-Correlation-Id: 1850c620-8a57-4b96-8229-08dae7bc6f97
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: N5pCbmqgaqFVC3fW0U3/6duR1jo6agjwuZQRsc3/gktsqNfEl6tjbwBjEyBwOudBwk7h+v4NRO1C5x0bJI2UvsX1Km1Lh5ZqYkPd7Q/afcDk1JP08/I/9X5vK+NQfcA97v6LWFZPyGy4moVl/S/Mk08k2uAGQsHK2pydvez5HWEsn0GbFLlPeS/XAY27FgizQ36+yhW1hoJEaMP0ZuAXQylXRsBK969jE9GJ/MPqyqc8wdwQiMvBPZh2N3WFZyH5+TQlhjhqnxhHE6JN39EuZ3JlpRMa/CKhIFjv4Nek/aKRHUWlq3203nyq1PTA2IYq36JN2IbES+5N41RkNaXl2s0B8pbE11bPgRM/fGzkFDmDxf4FxUOW5mVGOhmMQaGGr18TG0FCl8ONj/9v3t+NiDRa/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echwdKfMuGf?=
 =?us-ascii?Q?nWSYpLsR277qKls+yLUCd9ppMQEb+eOYjDq9JcFVMz3fuGxkq11tA0Pb6OcG?=
 =?us-ascii?Q?YfCSVFyNMEWYsFunn8WnDc4mym6koAwBYoNS5Pw9Z9GNgxcMlw5fC4yBgCdD?=
 =?us-ascii?Q?GOLBYKIDP0SdkpUdgSesz0/xUUoI7fO7M7gnPaGB30yI6/iEV3BNmHfjOaov?=
 =?us-ascii?Q?izytCZjKPIApRYSVRkSnNeewnWaf98jlfTzBcWkAQ4JolNFxwR0L7cWzv6U5?=
 =?us-ascii?Q?tj7RRKpyV/SM5PrRKj9G9D0O1upUGFU5CZLlPfR9/wBeGUrMp7nZrk4vWco+?=
 =?us-ascii?Q?HEyh11rAcNlicHgTcxMdMY8V7YjqEKeHhxWCtOA5AXXXHByC9jYGlDlAiyAZ?=
 =?us-ascii?Q?HI9Rz9hrVGEXLIYmox1vrAkQ/GzqBUE9b9dsVmAMM0zI/erIdCmv3WBWgqjq?=
 =?us-ascii?Q?T/kvpln9h20E7dP+kaqv6siJUtYCrbGE1c8nW0xqMgDozW4Leu17UqYdTAbf?=
 =?us-ascii?Q?XdF+zvuY0WgBK7xiwhdHX+QRdYwSTsOFRg5gh8Uhb4evN68fd/4T3FtV76yW?=
 =?us-ascii?Q?3MkyTQDHtvf8Wl/oAoYvjFF3UJpCKX1wdxH4fDMevbxfJhrAqUqRg5n04XR4?=
 =?us-ascii?Q?PLQjnZdICYc3oGaekDTZDpvvHpuI4Wu6PQSCcrZMS+CbnvtsIejSkyVlhMhQ?=
 =?us-ascii?Q?uJ7sWXHKZRWIRoPpq67sS8iDTQXadCI+3Fxrqet4MBCo/w=3D=3D?=
X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-e7757.templateTenant
X-MS-Exchange-CrossTenant-Network-Message-Id: 1850c620-8a57-4b96-8229-08dae7bc6f97
X-MS-Exchange-CrossTenant-AuthSource: PH8PR19MB7070.namprd19.prod.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Dec 2022 03:42:54.0757 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL1PR19MB6012
Received-SPF: pass client-ip=2a01:111:f400:7e83::823;
 envelope-from=gabriel376@HIDDEN;
 helo=NAM02-DM3-obe.outbound.protection.outlook.com
X-Spam_score_int: -18
X-Spam_score: -1.9
X-Spam_bar: -
X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.1 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.1 (--)

Steps:

1) emacs -Q (master branch)

2) Open *scratch* buffer (or any buffer with a lisp major mode)

3) Type:

(defun foo () "Hello, World!")

Expected result: The string "Hello, World!" is fontified with
'font-lock-string-face'.

Actual result: The string "Hello, World!" is fontified with
'font-lock-doc-face'.

---
Gabriel




Acknowledgement sent to Gabriel <gabriel376@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#60348; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Tue, 27 Dec 2022 13:15:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.