GNU bug report logs - #80749
31.0.50; Narrowing src/ file breaks xref

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: Philip Kaludercic <philipk@HIDDEN>; dated Sun, 5 Apr 2026 08:40:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

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


Received: (at 80749) by debbugs.gnu.org; 8 Apr 2026 04:41:11 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Apr 08 00:41:11 2026
Received: from localhost ([127.0.0.1]:47338 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wAKj0-0006Yp-J0
	for submit <at> debbugs.gnu.org; Wed, 08 Apr 2026 00:41:11 -0400
Received: from mout02.posteo.de ([185.67.36.66]:59729)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <philipk@HIDDEN>)
 id 1wAKix-0006Y3-BA
 for 80749 <at> debbugs.gnu.org; Wed, 08 Apr 2026 00:41:08 -0400
Received: from submission (posteo.de [185.67.36.169]) 
 by mout02.posteo.de (Postfix) with ESMTPS id 701D2240101
 for <80749 <at> debbugs.gnu.org>; Wed,  8 Apr 2026 06:41:00 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=posteo.net; s=2017;
 t=1775623260; bh=/cHjkst57085dCXQi4BoAm98uqPiqDmGg+fwerMUlAc=;
 h=From:To:Cc:Subject:OpenPGP:Date:Message-ID:MIME-Version:
 Content-Type:Content-Transfer-Encoding:From;
 b=rcWTulTAcW7RkixCJXbzNZhL94b5WFqbEHbhbFQopHw5Sunmau0lYC/GW8REfW00S
 4Pp27QNCYPXfLRC83T7f9CDaz7MuhTuMW6b1vSH+3e8GFud2YTMVsawMdtryVbEwe8
 evL0PyYUjDAjgg6KJ7H/CiHG/1xE4mKynYpiDlF+5Ko5/Q+r9iKw5exe4L0jLyNjVt
 zMrTULquEooo3b6H14U2BJoxRGzF3p33Kb5HWZ2nyuVo87KAggtP0eiryrGTRC9Bgt
 seWTnMK7UFqflJz4vaf+6rZ6MrSjLnCeYoXiZltGY9sYObELwDB58VJvc3Jf/cc58t
 93RroN27mViCQ==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4fr9P72yMkz6tw7;
 Wed,  8 Apr 2026 06:40:59 +0200 (CEST)
From: Philip Kaludercic <philipk@HIDDEN>
To: Dmitry Gutov <dmitry@HIDDEN>
Subject: Re: bug#80749: 31.0.50; Narrowing src/ file breaks xref
In-Reply-To: <7cd70f2f-3984-43cd-918e-c56744ba4988@HIDDEN>
References: <87h5pphkdi.fsf@HIDDEN> <87zf3heny8.fsf@HIDDEN>
 <7cd70f2f-3984-43cd-918e-c56744ba4988@HIDDEN>
OpenPGP: id=philipk@HIDDEN;
 url="https://keys.openpgp.org/vks/v1/by-email/philipk@HIDDEN";
 preference=signencrypt
Date: Wed, 08 Apr 2026 04:40:59 +0000
Message-ID: <87jyuigj3a.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 80749
Cc: 80749 <at> debbugs.gnu.org, Sean Whitton <spwhitton@HIDDEN>
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 (---)

Dmitry Gutov <dmitry@HIDDEN> writes:

> On 05/04/2026 12:49, Sean Whitton wrote:
>> Philip Kaludercic<philipk@HIDDEN> [05/Apr  8:38am GMT] wrote:
>>> If I narrow a C buffer under src/ and then try to jump to a function in
>>> the same file from an .el file, Emacs cannot find the source definition.
>>>
>>> To reproduce, open src/fileio.c and narrow the buffer to a function
>>> definition, say `do-auto-save'.  Now from files.el find an instance of
>>> `write-region' and invoke `xref-find-definitions' on it.  It should fail
>>> with
>>>
>>>    find-function-C-source: Can=E2=80=99t find source for #<subr write-r=
egion>
>>>
>>> I argue that the error message should clarify what the issue is or the
>>> buffer should be widened.
>> Thanks, adding Dmitry.
>
> Thanks for the ping. Here's a patch to try:
>
> diff --git a/lisp/emacs-lisp/find-func.el b/lisp/emacs-lisp/find-func.el
> index 2d89b0f46ec..8219e949385 100644
> --- a/lisp/emacs-lisp/find-func.el
> +++ b/lisp/emacs-lisp/find-func.el
> @@ -302,18 +302,20 @@ find-function-C-source
>   		      (indirect-function
>   		       (find-function-advised-original fun-or-var)))))
>     (with-current-buffer (find-file-noselect file)
> -    (goto-char (point-min))
> -    (unless (re-search-forward
> -	     (if type
> -		 (concat "DEFVAR[A-Z_]*[ \t\n]*([ \t\n]*\""
> -			 (regexp-quote (symbol-name fun-or-var))
> -			 "\"")
> -	       (concat "DEFUN[ \t\n]*([ \t\n]*\""
> -		       (regexp-quote (subr-name (advice--cd*r fun-or-var)))
> -		       "\""))
> -	     nil t)
> -      (error "Can't find source for %s" fun-or-var))
> -    (cons (current-buffer) (match-beginning 0))))
> +    (save-restriction
> +      (widen)

We can use the new and fancy `without-restriction' macro here as well.

> +      (goto-char (point-min))
> +      (unless (re-search-forward
> +	       (if type
> +		   (concat "DEFVAR[A-Z_]*[ \t\n]*([ \t\n]*\""
> +			   (regexp-quote (symbol-name fun-or-var))
> +			   "\"")
> +	         (concat "DEFUN[ \t\n]*([ \t\n]*\""
> +		         (regexp-quote (subr-name (advice--cd*r fun-or-var)))
> +		         "\""))
> +	       nil t)
> +        (error "Can't find source for %s" fun-or-var))
> +      (cons (current-buffer) (match-beginning 0)))))
>
>   ;;;###autoload
>   (defun find-library (library)




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

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


Received: (at 80749) by debbugs.gnu.org; 8 Apr 2026 04:19:29 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Apr 08 00:19:29 2026
Received: from localhost ([127.0.0.1]:47177 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wAKO0-0005IZ-Qy
	for submit <at> debbugs.gnu.org; Wed, 08 Apr 2026 00:19:29 -0400
Received: from fhigh-b6-smtp.messagingengine.com ([202.12.124.157]:59953)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <dmitry@HIDDEN>) id 1wAKNx-0005HI-OR
 for 80749 <at> debbugs.gnu.org; Wed, 08 Apr 2026 00:19:26 -0400
Received: from phl-compute-05.internal (phl-compute-05.internal [10.202.2.45])
 by mailfhigh.stl.internal (Postfix) with ESMTP id 474C37A0139;
 Wed,  8 Apr 2026 00:19:20 -0400 (EDT)
Received: from phl-frontend-03 ([10.202.2.162])
 by phl-compute-05.internal (MEProxy); Wed, 08 Apr 2026 00:19:20 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc
 :content-transfer-encoding:content-type:content-type:date:date
 :from:from:in-reply-to:in-reply-to:message-id:mime-version
 :references:reply-to:subject:subject:to:to; s=fm3; t=1775621959;
 x=1775708359; bh=CTEgeoun92Br8lSvDcS2aloXo1kmrqF2RB1tJ+ziDvk=; b=
 ADdt9JuZMpoF/bDdgvg3QX0EB/Yb2CXOJkGt+9+evjvRrjD4FxULSR23Y/1058y5
 jDAl8TR+QtFMfnMSFD5+0s5O6efWg7RgJf8BXShV2h9i8Iu11ir6Ek4wqMYltKcQ
 ArfM98zdee1uuJ/qfOlbElxLhhQBrHMuaaJgbOPRSVCWrXCbvZXsYX37igQjNuqH
 32bm3gm7GUkLOXwjuXq9zvcROosZ8oK3VTBBp6/J53kTQNvx8OcmFUTkbOzOP9qt
 ep0bg0Tby5EGkpJ+tEYZ8NxOroaJXY9rfoNiulFQyTeMmKmdWmCCS95ETZxj9Bxv
 e0W+vY6DrdE73yscRM7kSg==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-transfer-encoding:content-type
 :content-type:date:date:feedback-id:feedback-id:from:from
 :in-reply-to:in-reply-to:message-id:mime-version:references
 :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender
 :x-me-sender:x-sasl-enc; s=fm2; t=1775621959; x=1775708359; bh=C
 TEgeoun92Br8lSvDcS2aloXo1kmrqF2RB1tJ+ziDvk=; b=B4ATQetyjMS7WYF+1
 ABajZxrvlYrOqeSS+OM0nHv6LeIk4TgapulQ6iV0u+WuvXosyb91d8XMJECcDMhn
 gOa0icI6rgpE4yaNbdxLvNvzuVn00IxIyEA8u8V7ENrcL3sRRJtxRAtPaJMl/6vR
 NW1otTndtYA7dXQ+qq3+ZvPvxVcMdwj8uP5u7NOM448I5J3GSkW1oMebOWXW8ey2
 gqqHybvLwESsM9SMUJRlhTDPZG81Bnz7QikXVOjndPHp01DdWNwlDM1E6osF44Ki
 tgOo41KJZWgKaH17+B4HuirNNz3CwTI7EV1ikUuTQvQnx7uvjf/O0J1an4mT9YJ3
 c4O8Q==
X-ME-Sender: <xms:R9fVaWChmvxPd0Th_a9RBDvuCSosgkJ0ud9pJ6f-kSQweX_km025yA>
 <xme:R9fVaX_tJDEkdejmT5eZhlJBjr7Mj-23D5PR5rHrLbgqYB7DFfDwEZjQmoVWs9XG9
 5rfmZSnfRrfvULAjAa8gJVtEPk9VkZ1JFG0kbdOuyS0Pih2YSWrWA>
X-ME-Received: <xmr:R9fVaW9Bq2G4TOJ67BP7w_Hz-wLkYTsCC9F8HGsOkaxfKg8U8Rt4T4Cu_sAjC1OAsIoo>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefhedrtddtgddvvdehlecutefuodetggdotefrod
 ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr
 ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjug
 hrpefkffggfgfuvfhfhfgjtgfgsehtkeertddtvdejnecuhfhrohhmpeffmhhithhrhicu
 ifhuthhovhcuoegumhhithhrhiesghhuthhovhdruggvvheqnecuggftrfgrthhtvghrnh
 epgeeugeetffduvdejvedvleeliedtfedtudfhfeefffejudekveejvdeffffgveegnecu
 vehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepughmihhtrh
 ihsehguhhtohhvrdguvghvpdhnsggprhgtphhtthhopeefpdhmohguvgepshhmthhpohhu
 thdprhgtphhtthhopehsphifhhhithhtohhnsehsphifhhhithhtohhnrdhnrghmvgdprh
 gtphhtthhopehphhhilhhiphhksehpohhsthgvohdrnhgvthdprhgtphhtthhopeektdej
 geelseguvggssghughhsrdhgnhhurdhorhhg
X-ME-Proxy: <xmx:R9fVaecZ0-8dNGIpuAGNJZvGLUn-JA8CTpn0RWVDzXOuXpEHwtgHGw>
 <xmx:R9fVafEMfWPjC6WKQL64fxHFPMni_p5Tpr-TQV2JN1YeRl09uPBfHg>
 <xmx:R9fVaceJnKwNfro31ZvqhKsF75U6kpFlAv_iUHat6G-o33G175Yv0A>
 <xmx:R9fVaZF9tiUGANYnvnbkyryve-lyU1ftGGcvOpuMq8Q2nVa66ndv6A>
 <xmx:R9fVaWj-tWoag3cR3jFv_DgPKLiedDHB699ZCcuVMqzTS9kx9sNc7ML5>
Feedback-ID: i07de48aa:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed,
 8 Apr 2026 00:19:18 -0400 (EDT)
Message-ID: <7cd70f2f-3984-43cd-918e-c56744ba4988@HIDDEN>
Date: Wed, 8 Apr 2026 07:19:17 +0300
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: bug#80749: 31.0.50; Narrowing src/ file breaks xref
To: Sean Whitton <spwhitton@HIDDEN>,
 Philip Kaludercic <philipk@HIDDEN>, 80749 <at> debbugs.gnu.org
References: <87h5pphkdi.fsf@HIDDEN> <87zf3heny8.fsf@HIDDEN>
Content-Language: en-US
From: Dmitry Gutov <dmitry@HIDDEN>
In-Reply-To: <87zf3heny8.fsf@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 80749
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: -1.7 (-)

On 05/04/2026 12:49, Sean Whitton wrote:
> Philip Kaludercic<philipk@HIDDEN> [05/Apr  8:38am GMT] wrote:
>> If I narrow a C buffer under src/ and then try to jump to a function in
>> the same file from an .el file, Emacs cannot find the source definition.
>>
>> To reproduce, open src/fileio.c and narrow the buffer to a function
>> definition, say `do-auto-save'.  Now from files.el find an instance of
>> `write-region' and invoke `xref-find-definitions' on it.  It should fail
>> with
>>
>>    find-function-C-source: Can’t find source for #<subr write-region>
>>
>> I argue that the error message should clarify what the issue is or the
>> buffer should be widened.
> Thanks, adding Dmitry.

Thanks for the ping. Here's a patch to try:

diff --git a/lisp/emacs-lisp/find-func.el b/lisp/emacs-lisp/find-func.el
index 2d89b0f46ec..8219e949385 100644
--- a/lisp/emacs-lisp/find-func.el
+++ b/lisp/emacs-lisp/find-func.el
@@ -302,18 +302,20 @@ find-function-C-source
  		      (indirect-function
  		       (find-function-advised-original fun-or-var)))))
    (with-current-buffer (find-file-noselect file)
-    (goto-char (point-min))
-    (unless (re-search-forward
-	     (if type
-		 (concat "DEFVAR[A-Z_]*[ \t\n]*([ \t\n]*\""
-			 (regexp-quote (symbol-name fun-or-var))
-			 "\"")
-	       (concat "DEFUN[ \t\n]*([ \t\n]*\""
-		       (regexp-quote (subr-name (advice--cd*r fun-or-var)))
-		       "\""))
-	     nil t)
-      (error "Can't find source for %s" fun-or-var))
-    (cons (current-buffer) (match-beginning 0))))
+    (save-restriction
+      (widen)
+      (goto-char (point-min))
+      (unless (re-search-forward
+	       (if type
+		   (concat "DEFVAR[A-Z_]*[ \t\n]*([ \t\n]*\""
+			   (regexp-quote (symbol-name fun-or-var))
+			   "\"")
+	         (concat "DEFUN[ \t\n]*([ \t\n]*\""
+		         (regexp-quote (subr-name (advice--cd*r fun-or-var)))
+		         "\""))
+	       nil t)
+        (error "Can't find source for %s" fun-or-var))
+      (cons (current-buffer) (match-beginning 0)))))

  ;;;###autoload
  (defun find-library (library)





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

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


Received: (at 80749) by debbugs.gnu.org; 5 Apr 2026 12:44:41 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Apr 05 08:44:41 2026
Received: from localhost ([127.0.0.1]:57622 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1w9MqG-0003f8-JX
	for submit <at> debbugs.gnu.org; Sun, 05 Apr 2026 08:44:40 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:58760)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1w9MqE-0003eq-7G
 for 80749 <at> debbugs.gnu.org; Sun, 05 Apr 2026 08:44:38 -0400
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 1w9Mq8-00026C-Ce; Sun, 05 Apr 2026 08:44:32 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From:
 Date; bh=AbHkqfmBzN0sr8LpzJ0T3wQY3mwL3xlv9FWT/hTcHck=; b=j4u00WcgAkiyx5V/Rd/T
 avTeziuykN8L1YL/N6b9/yqVSUXe3466FuW19UAYmida8yFjQ81DSK6IyUYDrXQcm13eOJS+mDGIc
 HfnCEm00LjSAEzoQiqKc4fUyQaYAZRShEWeK2yACi0irdr5dS1QjDD+m5Oh2MhFFZiMeS4h+G+Za9
 rbHALFEyGjb6UiIgslcPMhQdJia6nmcxJYn0UVeAEtLq9TojZEHYG7qlIqTAVlawSd5XaQc8Uie2N
 bhlbuSE5oA3/7xJnjV1qSD3nr4RVRjMsXuFUvbE3Yx3zxMMSBICq7H0iM+q5SnltyJ3UsGb7nkzgK
 MSGgwjUbC2DwSA==;
Date: Sun, 05 Apr 2026 15:44:15 +0300
Message-Id: <86pl4d1srk.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Philip Kaludercic <philipk@HIDDEN>
In-Reply-To: <87h5pphkdi.fsf@HIDDEN> (message from Philip Kaludercic on
 Sun, 05 Apr 2026 08:38:50 +0000)
Subject: Re: bug#80749: 31.0.50; Narrowing src/ file breaks xref
References: <87h5pphkdi.fsf@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 80749
Cc: 80749 <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: Philip Kaludercic <philipk@HIDDEN>
> Date: Sun, 05 Apr 2026 08:38:50 +0000
> 
> 
> If I narrow a C buffer under src/ and then try to jump to a function in
> the same file from an .el file, Emacs cannot find the source definition.
> 
> To reproduce, open src/fileio.c and narrow the buffer to a function
> definition, say `do-auto-save'.  Now from files.el find an instance of
> `write-region' and invoke `xref-find-definitions' on it.  It should fail
> with
> 
>   find-function-C-source: Can’t find source for #<subr write-region>
> 
> I argue that the error message should clarify what the issue is or the
> buffer should be widened.

The latter, I'd say.




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

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


Received: (at 80749) by debbugs.gnu.org; 5 Apr 2026 09:50:02 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Apr 05 05:50:02 2026
Received: from localhost ([127.0.0.1]:56166 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1w9K7F-00038s-PQ
	for submit <at> debbugs.gnu.org; Sun, 05 Apr 2026 05:50:02 -0400
Received: from flow-b3-smtp.messagingengine.com ([202.12.124.138]:56221)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <spwhitton@HIDDEN>)
 id 1w9K7C-000383-SK
 for 80749 <at> debbugs.gnu.org; Sun, 05 Apr 2026 05:50:00 -0400
Received: from phl-compute-02.internal (phl-compute-02.internal [10.202.2.42])
 by mailflow.stl.internal (Postfix) with ESMTP id 413151300228;
 Sun,  5 Apr 2026 05:49:53 -0400 (EDT)
Received: from phl-frontend-03 ([10.202.2.162])
 by phl-compute-02.internal (MEProxy); Sun, 05 Apr 2026 05:49:53 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spwhitton.name;
 h=cc:content-transfer-encoding:content-type:content-type:date
 :date:from:from:in-reply-to:in-reply-to:message-id:mime-version
 :references:reply-to:subject:subject:to:to; s=fm1; t=1775382593;
 x=1775386193; bh=uhvlUAV+AxN5bwdUfq6bEXLQnONpTri29gBU7pOtaiE=; b=
 Xauih0W75zll+VwosSB2ZQsnMzdRpDIwtbvctn47UQa1Pq3WtPCnpJo2+VMYucAm
 8MhQcfwTcVLvN9aCAo639YR957992QhGVtD2T/Z4BQN0IojnbpaBTp1iYsfQnSuU
 zX63J4+Hckoi2Sw/BMVRbYgou0v0ALU498uCeoMbyJW0SiTSke2optZvNVWBcEdO
 ymauqARjPHm0qJxKfCnzK4Bm+cyBKwP0zs/DOBhJe3cqwiNwlL0ymbFbJ1YnRwBY
 46FCblA9mK5VALP05Wnjt/so/SMW4qJ07CdBFmKuwBmaIDXUvRF/J1NTQ0jIfTst
 B9G4SDfjIUKwUKkhcmavvg==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-transfer-encoding:content-type
 :content-type:date:date:feedback-id:feedback-id:from:from
 :in-reply-to:in-reply-to:message-id:mime-version:references
 :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender
 :x-me-sender:x-sasl-enc; s=fm2; t=1775382593; x=1775386193; bh=u
 hvlUAV+AxN5bwdUfq6bEXLQnONpTri29gBU7pOtaiE=; b=DKV+5JhMUMuwy2KbA
 gF+LS9jAH6EU4IjakhXNr+xTRn68VlsxSRv4r9nsS423D0OKACwOrtI9LOZcOk9H
 SsRjUvvqbX2Y/DbMudNQvypc2O8Qe7ZfIvzCc4aTd+T5W4R6jSbcN9K0jZiBaho5
 O+ftAGTZE3LlPZnq4A+lvLrVVlgRl3pmi7q85q0J/c+8zaFyFrqcJivO0V46w65Y
 kBMD415cyPY/L5Z9xZ+UpW61Ikt4Y3j5CtGJ/I4oljblW90tr4DXsNvMkhBWettV
 FuF7zll5g70qYpbb6Dm+9WV0EC4vrAKG3AIINLLACJErOwCU12rBd4KPzWuRw0ok
 gRgGg==
X-ME-Sender: <xms:QDDSaTHHLqeQ4lnuxk1UjGOPlAe3xX3R7hL9fHtkDHiKcISG4qcD4w>
 <xme:QDDSaXzN3gbSGj55JlWRvs8B8zu6V54cJtqjnyrCmtFb5U655NomQ9P-BPww7Joxu
 H9ASRQmpyH4hbcdBYyVBqDpBLhuRP34XN0GWeMU5nNfFcXQKSDZ>
X-ME-Received: <xmr:QDDSaSjuSERzVsz0AJPDB1154uznxqTQhUR15YcK-Z1lzc-zfin7jxyyEj8EXTNQlya3rKeX7O7q51AWJfhAiZTjF402xg>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefhedrtddtgddugeegfecutefuodetggdotefrod
 ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr
 ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjug
 hrpefhvffujghffffkgggtgfesthhqtddttddtjeenucfhrhhomhepufgvrghnucghhhhi
 thhtohhnuceoshhpfihhihhtthhonhesshhpfihhihhtthhonhdrnhgrmhgvqeenucggtf
 frrghtthgvrhhnpeekfeejledutefhfefgveeikefhtddvvdfgiedtkefgfeefieeiieef
 feehfeduvdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh
 hmpehsphifhhhithhtohhnsehsphifhhhithhtohhnrdhnrghmvgdpnhgspghrtghpthht
 ohepfedpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepkedtjeegleesuggvsggsuh
 hgshdrghhnuhdrohhrghdprhgtphhtthhopegumhhithhrhiesghhuthhovhdruggvvhdp
 rhgtphhtthhopehphhhilhhiphhksehpohhsthgvohdrnhgvth
X-ME-Proxy: <xmx:QDDSaazar754kcGU5TB9sdnkfVw2GvD7ouIs5WWnEEDDv8jQTLft1Q>
 <xmx:QDDSadIeSFjyRSq4UJuPP2tIy3ar7-yRO0PXrw0Kkx6v-knl6VwL4Q>
 <xmx:QDDSaZRMj_JFv3XaUNodoWRdGTaf4AcpeIhcfTIEfatG2RMVy5Y4tA>
 <xmx:QDDSadqcE2S91o4TcRix2sTs20WJXb_gyeikTkPOXbwzufc7UDom3w>
 <xmx:QTDSaSJr-rjGSWgtds0d11eX1N0yILLcEI4wpF624JAurTb8hiXSAjWN>
Feedback-ID: i62564b17:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun,
 5 Apr 2026 05:49:52 -0400 (EDT)
Received: by zephyr.silentflame.com (Postfix, from userid 1000)
 id CC0F194042B; Sun, 05 Apr 2026 10:49:51 +0100 (BST)
From: Sean Whitton <spwhitton@HIDDEN>
To: Philip Kaludercic <philipk@HIDDEN>, 80749 <at> debbugs.gnu.org, Dmitry
 Gutov <dmitry@HIDDEN>
Subject: Re: bug#80749: 31.0.50; Narrowing src/ file breaks xref
In-Reply-To: <87h5pphkdi.fsf@HIDDEN>
References: <87h5pphkdi.fsf@HIDDEN>
Date: Sun, 05 Apr 2026 10:49:51 +0100
Message-ID: <87zf3heny8.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 80749
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: -1.7 (-)

Philip Kaludercic <philipk@HIDDEN> [05/Apr  8:38am GMT] wrote:
> If I narrow a C buffer under src/ and then try to jump to a function in
> the same file from an .el file, Emacs cannot find the source definition.
>
> To reproduce, open src/fileio.c and narrow the buffer to a function
> definition, say `do-auto-save'.  Now from files.el find an instance of
> `write-region' and invoke `xref-find-definitions' on it.  It should fail
> with
>
>   find-function-C-source: Can=E2=80=99t find source for #<subr write-regi=
on>
>
> I argue that the error message should clarify what the issue is or the
> buffer should be widened.

Thanks, adding Dmitry.

--=20
Sean Whitton




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

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


Received: (at submit) by debbugs.gnu.org; 5 Apr 2026 08:39:07 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Apr 05 04:39:07 2026
Received: from localhost ([127.0.0.1]:55521 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1w9J0b-0005i7-Sr
	for submit <at> debbugs.gnu.org; Sun, 05 Apr 2026 04:39:06 -0400
Received: from lists.gnu.org ([2001:470:142::17]:39828)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <philipk@HIDDEN>)
 id 1w9J0Y-0005h0-6d
 for submit <at> debbugs.gnu.org; Sun, 05 Apr 2026 04:39:03 -0400
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 <philipk@HIDDEN>)
 id 1w9J0S-0001PP-MW
 for bug-gnu-emacs@HIDDEN; Sun, 05 Apr 2026 04:38:56 -0400
Received: from mout01.posteo.de ([185.67.36.65])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <philipk@HIDDEN>)
 id 1w9J0P-00061f-Ak
 for bug-gnu-emacs@HIDDEN; Sun, 05 Apr 2026 04:38:56 -0400
Received: from submission (posteo.de [185.67.36.169]) 
 by mout01.posteo.de (Postfix) with ESMTPS id DA645240027
 for <bug-gnu-emacs@HIDDEN>; Sun,  5 Apr 2026 10:38:50 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=posteo.net; s=2017;
 t=1775378330; bh=Snd3yk6C2s1Vy+KAtmtWZQam9TUgc8izRsoNkL/stbU=;
 h=From:To:Subject:OpenPGP:Date:Message-ID:MIME-Version:Content-Type:
 Content-Transfer-Encoding:From;
 b=FJ2dAdSc8l7FfHMQvcSFrHHXegsVLxmU8nCLj9GaU3/Wp6dsfll2L5wVRay2lmdGX
 ClT7l+Tmd3OcCzgFOxPxKMfu9tMURFFiI7BEETO/w3T2GAYK5rdLebyI3SyCM1wmaO
 mZ7MpnQgL7M6AbBwGOxHxbtfAdtqSVSgU2jt83JAvzFgwARZ0OavHozP6E18FC5bHn
 B6ZA6ylFYrIB4BXYjml1qPUIvXGRrVihz/PQzsKJDpb7X4S6izen6AkIy7JUfKhqq+
 Mt63IEXSnCuWQlX7MY/h8FFkjeSIhnuV4+jLOnaC6+/1ByXxeC37dYuvL7vQVkNb3A
 fob724usqWmog==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4fpQpy2gYrz6twB
 for <bug-gnu-emacs@HIDDEN>; Sun,  5 Apr 2026 10:38:50 +0200 (CEST)
From: Philip Kaludercic <philipk@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 31.0.50; Narrowing src/ file breaks xref
X-Debbugs-Cc: 
OpenPGP: id=philipk@HIDDEN;
 url="https://keys.openpgp.org/vks/v1/by-email/philipk@HIDDEN";
 preference=signencrypt
Date: Sun, 05 Apr 2026 08:38:50 +0000
Message-ID: <87h5pphkdi.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=185.67.36.65; envelope-from=philipk@HIDDEN;
 helo=mout01.posteo.de
X-Spam_score_int: -43
X-Spam_score: -4.4
X-Spam_bar: ----
X-Spam_report: (-4.4 / 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,
 RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=0.001,
 RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=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.0 (+)
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: -0.0 (/)


If I narrow a C buffer under src/ and then try to jump to a function in
the same file from an .el file, Emacs cannot find the source definition.

To reproduce, open src/fileio.c and narrow the buffer to a function
definition, say `do-auto-save'.  Now from files.el find an instance of
`write-region' and invoke `xref-find-definitions' on it.  It should fail
with

  find-function-C-source: Can=E2=80=99t find source for #<subr write-region>

I argue that the error message should clarify what the issue is or the
buffer should be widened.


In GNU Emacs 31.0.50 (build 18, x86_64-pc-linux-gnu, GTK+ Version
 3.24.49, cairo version 1.18.4) of 2026-03-14 built on siskin
Repository revision: fe9a5f4760b026beed6c8aee796ed6b7ef4d7e6b
Repository branch: master
System Description: Debian GNU/Linux 13 (trixie)

Configured using:
 'configure --with-pgtk'

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
LCMS2 LIBOTF LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY
PDUMPER PGTK PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF
TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XIM GTK3 ZLIB

Important settings:
  value of $LC_MONETARY: en_GB.UTF-8
  value of $LC_NUMERIC: en_GB.UTF-8
  value of $LC_TIME: en_GB.UTF-8
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=3Dibus
  locale-coding-system: utf-8-unix

Major mode: C/*l

Minor modes in effect:
  denote-menu-bar-mode: t
  TeX-PDF-mode: t
  bug-reference-prog-mode: t
  rcirc-track-minor-mode: t
  flyspell-mode: t
  flymake-mode: t
  repeat-mode: t
  display-battery-mode: t
  display-time-mode: t
  override-global-mode: t
  winner-mode: t
  windmove-mode: t
  corfu-history-mode: t
  corfu-mode: t
  editorconfig-mode: t
  electric-pair-mode: t
  recentf-mode: t
  save-place-mode: t
  savehist-mode: t
  pixel-scroll-precision-mode: t
  pixel-scroll-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tab-bar-mode: t
  file-name-shadow-mode: t
  context-menu-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  minibuffer-nonselected-mode: t
  minibuffer-regexp-mode: t
  line-number-mode: t
  indent-tabs-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  abbrev-mode: t

Load-path shadows:
/home/phi/.config/emacs/user-lisp/0x0/0x0 hides /home/phi/.config/emacs/use=
r-lisp/0x0
/home/phi/.config/emacs/elpa/corfu-2.9/corfu-autoloads hides /home/phi/.con=
fig/emacs/elpa/corfu-2.8/corfu-autoloads
/home/phi/.config/emacs/elpa/corfu-2.9/corfu-pkg hides /home/phi/.config/em=
acs/elpa/corfu-2.8/corfu-pkg
/home/phi/.config/emacs/elpa/corfu-2.9/corfu-echo hides /home/phi/.config/e=
macs/elpa/corfu-2.8/corfu-echo
/home/phi/.config/emacs/elpa/corfu-2.9/corfu-popupinfo hides /home/phi/.con=
fig/emacs/elpa/corfu-2.8/corfu-popupinfo
/home/phi/.config/emacs/elpa/corfu-2.9/corfu hides /home/phi/.config/emacs/=
elpa/corfu-2.8/corfu
/home/phi/.config/emacs/elpa/corfu-2.9/corfu-auto hides /home/phi/.config/e=
macs/elpa/corfu-2.8/corfu-auto
/home/phi/.config/emacs/elpa/corfu-2.9/corfu-info hides /home/phi/.config/e=
macs/elpa/corfu-2.8/corfu-info
/home/phi/.config/emacs/elpa/corfu-2.9/corfu-quick hides /home/phi/.config/=
emacs/elpa/corfu-2.8/corfu-quick
/home/phi/.config/emacs/elpa/corfu-2.9/corfu-indexed hides /home/phi/.confi=
g/emacs/elpa/corfu-2.8/corfu-indexed
/home/phi/.config/emacs/elpa/corfu-2.9/corfu-history hides /home/phi/.confi=
g/emacs/elpa/corfu-2.8/corfu-history
/home/phi/.config/emacs/user-lisp/shell-command+/shell-command+ hides /home=
/phi/.config/emacs/elpa/shell-command+/shell-command+
/home/phi/.config/emacs/user-lisp/shell-command+/shell-command+-tests hides=
 /home/phi/.config/emacs/elpa/shell-command+/shell-command+-tests
/home/phi/.config/emacs/user-lisp/vc-backup/vc-backup hides /home/phi/.conf=
ig/emacs/elpa/vc-backup/vc-backup

Features:
(shadow emacsbug package-vc-tests cl help-macro remember
consult-denote-autoloads denote denote-autoloads consult
consult-autoloads emacs-news-mode aircon-theme-autoloads grep which-func
coq advice coq-diffs coq-par-compile coq-seq-compile coq-compile-common
coq-abbrev coq-local-vars local-vars-list coq-system proof proof-shell
pg-user pg-goals pg-response proof-toolbar pg-assoc proof-tree
proof-auxmodes pg-custom proof-splash proof-script proof-menu
proof-utils scomint proof-syntax bufhist proof-config proof-faces
proof-useropts pg-pamacs proof-compat pg-vars coq-mode coq-smie
coq-syntax coq-db holes span coq-indent yaml-ts-mode calc-alg calc-ext
calc-menu calc calc-loaddefs calc-macs find-dired signed-good-autoloads
macro-builtin-autoloads macro-builtin macro-builtin-aux macro-problem
macro-aux macro-problem-autoloads simple-two-depend-autoloads
simple-depend-autoloads multi-file-sub multi-file-autoloads
simple-single-autoloads v7-withsub-autoloads ustar-withsub-autoloads
tar-mode package-test package-x ert-x use-package use-package-ensure
use-package-delight use-package-diminish use-package-bind-key cc-awk
completion slime-tests slime etags fileloop arc-mode archive-mode
hyperspec ielm dark-theme leuven-dark-theme ps-mode php-ts-mode
mhtml-ts-mode srecode/srt-mode semantic/analyze semantic/sort
semantic/scope semantic/analyze/fcn semantic/db semantic/format
srecode/template srecode/srt-wy semantic/wisent semantic/wisent/wisent
semantic/ctxt srecode/ctxt semantic/tag-ls semantic/find srecode/compile
srecode/dictionary srecode/fields srecode/table srecode eieio-base
semantic/util-modes semantic/util semantic semantic/tag semantic/lex
semantic/fw mode-local cedet gnus-dup debbugs-browse 0x0 view
package-lint finder reposition rng-cmpct rng-nxml rng-valid rng-loc
rng-uri rng-parse nxml-parse rng-match rng-pttrn nxml-ns nxml-mode
nxml-outln nxml-rap nxml-util nxml-enc xmltok rmailsum rmailedit rmailmm
nroff-mode make-mode cal-china cal-julian cal-bahai lunar solar cal-dst
cal-islam cal-hebrew cal-move ert icomplete delsel cus-theme gnus-search
eieio-opt quail macros shr-color bookmark lprolog-mode prolog align
info-look autoinsert skeleton vc-annotate apropos send-to ffap let-alist
debbugs-gnu debbugs-bookmarks debbugs soap-client rng-xsd rng-dt
rng-util xsd-regexp debbugs-compat nndoc rect modus-themes oc-basic
org-element org-persist org-id org-refile org-element-ast avl-tree
ol-eww ol-rmail ol-mhe ol-irc ol-info ol-gnus nnselect ol-docview
doc-view jka-compr image-mode exif ol-bibtex bibtex ol-bbdb ol-w3m
ol-doi org-link-doi org ob ob-tangle ob-ref ob-lob ob-table ob-exp
org-macro org-src sh-script executable ob-comint org-pcomplete org-list
org-footnote org-faces org-entities ob-emacs-lisp ob-core ob-eval
org-cycle org-table ol org-fold org-fold-core org-keys oc org-loaddefs
org-version org-compat org-macs descr-text esc-html mhtml-mode css-mode
smie eww vtable url-queue mm-url js c-ts-common cc-langs tramp-cmds
bash-completion wdired ibuffer ibuffer-loaddefs ibuf-macs typo
tsdh-dark-theme misterioso-theme hi-lock do-at-point misc window-x info
speedbar ezimage dframe flymake-cc macrostep-c cmacexp cc-mode cc-fonts
cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs
dired-aux autorevert filenotify gnus-dired tex-info texinfo
texinfo-loaddefs tex crm texmathp auctex vc-hg vc-bzr vc-src vc-sccs
vc-svn vc-cvs vc-rcs vc-dir ewoc cursor-sensor scroll-beyond
scroll-beyond-autoloads macrostep edebug xref debug backtrace find-func
use-package-core smerge-mode whitespace package-vc url-cache url-http
url-auth url-gw display-line-numbers cl-print dictionary
external-completion dictionary-connection bug-reference markdown-mode
nnagent nnml gnus-fun hippie-exp flow-fill tabify imenu man char-fold
html-ts-mode sgml-mode facemenu markdown-ts-mode treesit misearch
multi-isearch avy mm-archive qp rcirc pulse face-remap color shortdoc
help-fns mailalias smtpmail writegood-mode ecomplete sort smiley
gnus-cite mail-extr textsec uni-scripts idna-mapping ucs-normalize
uni-confusable textsec-check gnus-async gnus-bcklg gnus-ml disp-table
nndraft nnmh utf-7 nnfolder vc-backup log-view log-edit add-log
pcvs-util vc diff copyright epa-file network-stream nsm gnus-agent
gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art mm-uu
mml2015 mm-view mml-smime smime gnutls dig nntp gnus-cache gnus-sum shr
pixel-fill kinsoku url-file svg dom gnus-group gnus-undo gnus-start
gnus-dbus gnus-cloud nnimap nnmail mail-source utf7 nnoo gnus-spec
gnus-int gnus-range message yank-media puny rfc822 mml mml-sec epa
derived epg epg-config mm-decode mm-bodies mm-encode mailabbrev
gmm-utils mailheader gnus-win vc-git diff-mode track-changes
vc-dispatcher byte-opt help-at-pt noutline outline edmacro kmacro
flyspell ispell tramp-sh tramp-cache time-stamp tramp trampver
tramp-integration tramp-message tramp-compat shell pcomplete parse-time
iso8601 tramp-loaddefs checkdoc flymake project generator init repeat
comp comp-cstr format-spec battery dbus xml shell-command+ thingatpt
dired-x dired dired-loaddefs holidays holiday-loaddefs cal-menu calendar
cal-loaddefs time sendmail mail-parse rfc2231 gnus nnheader gnus-util
time-date range rmail rfc6068 rfc2047 rfc2045 ietf-drums mm-util
mail-prsvr mail-utils finder-inf bind-key winner windmove corfu-history
corfu compat editorconfig editorconfig-core editorconfig-core-handle
editorconfig-fnmatch elec-pair recentf tree-widget saveplace savehist
pixel-scroll cus-edit pp cus-start cus-load wid-edit setup
.user-lisp-autoloads loaddefs-gen lisp-mnt radix-tree warnings compile
easy-mmode files-x inline pcase text-property-search comint ansi-osc
ansi-color ring comp-run comp-common rx bytecomp byte-compile
auctex-autoloads tex-site avy-autoloads bash-completion-autoloads
corfu-autoloads debbugs-autoloads diff-hl-autoloads focus-autoloads
go-mode-autoloads iedit-autoloads markdown-mode-autoloads
minimail-autoloads package-lint-autoloads proof-general-autoloads
proof-site proof-autoloads rust-mode-autoloads shell-command+-autoloads
slime-autoloads macrostep-autoloads sml-mode-autoloads
vc-backup-autoloads writegood-mode-autoloads package browse-url xdg url
url-proxy url-privacy url-expand url-methods url-history url-cookie
generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse
auth-source cl-seq eieio eieio-core cl-macs gv password-cache json
subr-x mule-util map url-vars package-activate cl-extra help-mode icons
cl-loaddefs cl-lib rmc iso-transl tooltip cconv eldoc paren electric
uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel
term/pgtk-win pgtk-win term/common-win touch-screen pgtk-dnd tool-bar
dnd fontset image regexp-opt fringe tabulated-list replace newcomment
text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow
isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax
font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic
indonesian philippine cham georgian utf-8-lang misc-lang vietnamese
tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
composite emoji-zwj charscript charprop case-table epa-hook
jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs
theme-loaddefs faces cus-face macroexp files window text-properties
overlay sha1 md5 base64 format env code-pages mule custom widget keymap
hashtable-print-readable backquote threads dbusbind inotify
dynamic-setting system-font-setting font-render-setting cairo gtk pgtk
lcms2 multi-tty move-toolbar make-network-process tty-child-frames
native-compile emacs)

Memory information:
((conses 16 3625240 978060) (symbols 48 118897 393)
 (strings 32 547234 100046) (string-bytes 1 24636213)
 (vectors 16 234999) (vector-slots 8 3613727 413083)
 (floats 8 3211 16974) (intervals 56 741457 25680) (buffers 1064 359))




Acknowledgement sent to Philip Kaludercic <philipk@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#80749; 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: Wed, 8 Apr 2026 04:45:02 UTC

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