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.bugs Subject: bug#74946: [PATCH] * lisp/files.el (auto-mode-alist): Include gdbinit too Date: Thu, 19 Dec 2024 10:14:00 +0200 Message-ID: <86o718ks3b.fsf@gnu.org> References: <87frml6pkg.fsf@thaodan.de> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9828"; mail-complaints-to="usenet@ciao.gmane.io" Cc: bjorn.bidar@thaodan.de, acorallo@gnu.org, 74946@debbugs.gnu.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Dec 19 09:15:20 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1tOBgm-0002Le-19 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 19 Dec 2024 09:15:20 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tOBgX-0007ez-Gc; Thu, 19 Dec 2024 03:15:05 -0500 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 1tOBgU-0007bS-TS for bug-gnu-emacs@gnu.org; Thu, 19 Dec 2024 03:15:03 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tOBgU-0000NH-Ig for bug-gnu-emacs@gnu.org; Thu, 19 Dec 2024 03:15:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=SVr5xjVeFCtEGG1UI8PB5vJmgfZne4IJjDG6XXRXWNY=; b=InDQKhWZyaVZUlJVE7Eb8rrVhB5gQVLCcVLmkp55i+TNCNuz7/u0O7LQGLdTEbIhtgV8kyBt5PEC1AbNAPfVPVIx8m7uaE2gyv1FwX4pZ8YrUWRrQ/MjCRf3P0GYsOiFfKBD4Bh81piXVK5K65obCc99hspyo8EA4AD5L0Z9PwIsROfzp4joEOF5iyTuxC+J9aPuTBTeo1BLf9lvgP5HXPnZ81Ft5uIpTnBXc0epeiLDDRbl5lSHAy+Mv0nKxZkGCuB9WT4qhvOkuwUucfJ6gwFHzdFemKd5HNlfjP7N++2hmmvzXVUFXsYykMK59jdt+ED5zIZv+4WxtB4CEbPZnw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tOBgU-0001Af-8i for bug-gnu-emacs@gnu.org; Thu, 19 Dec 2024 03:15:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 19 Dec 2024 08:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74946 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 74946-submit@debbugs.gnu.org id=B74946.17345960534369 (code B ref 74946); Thu, 19 Dec 2024 08:15:02 +0000 Original-Received: (at 74946) by debbugs.gnu.org; 19 Dec 2024 08:14:13 +0000 Original-Received: from localhost ([127.0.0.1]:37336 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tOBfg-00018O-JM for submit@debbugs.gnu.org; Thu, 19 Dec 2024 03:14:12 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:52220) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tOBfe-000187-AM for 74946@debbugs.gnu.org; Thu, 19 Dec 2024 03:14:10 -0500 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 1tOBfY-0000Ha-Do; Thu, 19 Dec 2024 03:14:04 -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=SVr5xjVeFCtEGG1UI8PB5vJmgfZne4IJjDG6XXRXWNY=; b=awj4h0XH6VBx xUpvbfZHhw9k+GSmdv7UtlgAgm/XKs5s1su/Ywdknewk+xPekF7Av4Bau2uFUMX281uWCbZHF3zx3 eiBlosnYS07lHhOqaILvt+2kVAfzk4joOEAub64+/wdo1OSu9RP8y7DCB+rK97kCu4l13h/8YZXpx z7iZ9ejsw5SVbvWR0KulST07s4hDBTd6X+WVwh2uTx90amJtjv2smhj/VlIaPpUBmwLI7mF894Gvc 6Du+ino6PPC4OccQw6rZUb4xwcGCXJJ6F7It3JkUoDeKCmidKpvnAEBROkIEoJdBMh514mAMtMLcs BnUkdruvEORVQPsz3LUO1g==; In-Reply-To: (message from Stefan Kangas on Wed, 18 Dec 2024 20:00:37 -0500) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:297366 Archived-At: > From: Stefan Kangas > Date: Wed, 18 Dec 2024 20:00:37 -0500 > Cc: Eli Zaretskii , Andrea Corallo > > > Please also include into Emacs 30 if possible. > > If Eli and Andrea agrees, I think we could do it. It looks innocent enough, but at this point I'd like to limit changes on the release branch to only really urgent and important ones (or documentation). We have lived with this outdated code for several years (GDB 11.1 was released in 2022), so this change doesn't look urgent to me. Btw, if we want to fix this entry, we should perhaps do a more thorough job. For example, on my system I have files with the following base names: .gdbinit.in .gdbinit _gdbinit (for MS-DOS) gdb.ini (likewise) gdbinit gdbinit.in SOMETHING-gdbinit .gdbinit.loader gdbinit-history.exp (not a GDB init file) gdbinit.5 (likewise) gdbinit.c (likewise) .gdbinit.py.in (likewise) Should we improve the regexp to DTRT for those additional files, but without false positives?