From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Should `get-file-buffer' be implemented in Elisp? Date: Sun, 16 Jul 2023 21:51:48 +0300 Message-ID: <83fs5n8zaz.fsf@gnu.org> References: <87pm4r1z03.fsf@localhost> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34633"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Ihor Radchenko Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jul 16 20:52:21 2023 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qL6qy-0008my-Uv for ged-emacs-devel@m.gmane-mx.org; Sun, 16 Jul 2023 20:52:21 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qL6q7-0008Dk-8s; Sun, 16 Jul 2023 14:51:27 -0400 Original-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 ) id 1qL6q5-0008DI-44 for emacs-devel@gnu.org; Sun, 16 Jul 2023 14:51:25 -0400 Original-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 ) id 1qL6q4-00067T-Oc; Sun, 16 Jul 2023 14:51:24 -0400 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=v+7elBCLsHkXg/ovr26/k5Rf5+SuQhF2qnSqg+H6Ax0=; b=X5RgCqCOY2n4 m+nrijme1HCqqzVn1p9aGpQb42Ku012iD099KvVq+aDvyXPBgNSeDAWenWbZtVPmbS5henlL42cKh 54496abH7z4p59wW0lRg5JqzYULnXm1qbe9Ay5AFm1dn5lXinQdgLcywHXJ0gGguyKPQOjdFcG7nB u7iNB5a+6B3mfht2uB5YewCydFVuDzHJVJavMnTgQjd/FYnW9a1/uoB5EbZ6ktTv/EVjK0vrM18JN L2sb/qDjaEjdfBJ2M3Yg9F0l4cTqsHVzy7X1aokDtwOyhdJMJleSQWVxzzdUWic7tG3e5c8JHCYc+ 4CSK0q1MrG1mVknxJbvIiA==; Original-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 ) id 1qL6q4-00065L-8K; Sun, 16 Jul 2023 14:51:24 -0400 In-Reply-To: <87pm4r1z03.fsf@localhost> (message from Ihor Radchenko on Sun, 16 Jul 2023 18:40:12 +0000) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:307899 Archived-At: > From: Ihor Radchenko > Date: Sun, 16 Jul 2023 18:40:12 +0000 > > AFAIU, we generally aim to move C functions to Elisp. Only when there's a good reason to do so. > And `get-file-buffer' does not appear to have anything that prevents it > from being implemented in Elisp. > > So, should it? Are there any other known functions that need to be > converted? Let's not make changes without a good reason, okay?