From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#74946: [PATCH] * lisp/files.el (auto-mode-alist): Include gdbinit too Date: Sun, 22 Dec 2024 02:08:05 +0000 Message-ID: References: <87frml6pkg.fsf@thaodan.de> <86o718ks3b.fsf@gnu.org> <86o716kf5m.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8987"; mail-complaints-to="usenet@ciao.gmane.io" Cc: bjorn.bidar@thaodan.de, acorallo@gnu.org, 74946-done@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Dec 22 03:10:31 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 1tPBQM-0002B5-Eu for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 22 Dec 2024 03:10:30 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tPBPw-0000d2-UA; Sat, 21 Dec 2024 21:10: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 1tPBPv-0000bn-Ta for bug-gnu-emacs@gnu.org; Sat, 21 Dec 2024 21:10: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 1tPBPv-0000Sh-GL for bug-gnu-emacs@gnu.org; Sat, 21 Dec 2024 21:10:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=Date:MIME-Version:References:In-Reply-To:From:To:Subject; bh=UN9N3bSdkHmr/tygazKyLhQAq4A4e0ttkz4A7J+/Cyk=; b=pAUQshk4Hc0UQ1Bn4fKWG8feSyzI6Hh/r7yuyPM0G01RuuPDCvzNd5uPPbWfNjujgK95uAMj5HnnBg6S/5KODemgzUAGECJJyvXp9DZokjZcUYo5DQ0kqduAMidW0BGiSwL0DQSYCyu0JYnbLyEJ/z+LfgA/jWYmJ86dclpqZff0Jx+WjYufMaPJk/2sB0BBy+xMntMS2K2jfn395U3xmPUF9gr2+N8rpo76K0cvHPxwMiCQPJGq3ZVEwu8PBort8mW6GQb5aoGXZXHjfVABZe3Y32dlmh75QDMaReWXOQyustvQ23+dCHjO2XBpCKhRGIX2wXlPB1JZHH/JvtkBXA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tPBPu-0005XQ-AL for bug-gnu-emacs@gnu.org; Sat, 21 Dec 2024 21:10:02 -0500 Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sun, 22 Dec 2024 02:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 74946 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Mail-Followup-To: 74946@debbugs.gnu.org, stefankangas@gmail.com, bjorn.bidar@thaodan.de Original-Received: via spool by 74946-done@debbugs.gnu.org id=D74946.173483336121207 (code D ref 74946); Sun, 22 Dec 2024 02:10:02 +0000 Original-Received: (at 74946-done) by debbugs.gnu.org; 22 Dec 2024 02:09:21 +0000 Original-Received: from localhost ([127.0.0.1]:48488 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tPBPB-0005Vw-Er for submit@debbugs.gnu.org; Sat, 21 Dec 2024 21:09:20 -0500 Original-Received: from mail-ed1-f46.google.com ([209.85.208.46]:52461) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tPBP5-0005VZ-G5 for 74946-done@debbugs.gnu.org; Sat, 21 Dec 2024 21:09:15 -0500 Original-Received: by mail-ed1-f46.google.com with SMTP id 4fb4d7f45d1cf-5d0d32cd31aso4424366a12.0 for <74946-done@debbugs.gnu.org>; Sat, 21 Dec 2024 18:09:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734833286; x=1735438086; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=UN9N3bSdkHmr/tygazKyLhQAq4A4e0ttkz4A7J+/Cyk=; b=Ey2qkn/4NjmV1cDEWS+49YNOGUpJ24tu/ab8T6fNvzEiaB6JuugoYMq/IuFb+R8Na9 A2ALJJQJjQ5CfoM1rpByBP/dLcHH9BQZ2FQYqOro3xAb1eggYwdRVvi4uZ4W3zVmzOyd Wuk2+MTXhobq7sVGQ9Gsjws9rsyIVb060L/xPW6r3FejUkugMoAYPR7HCcCrpkf0nuFQ d8m3kwlru45Z4z/ikSfUTuwE58MhP0o1AaQIfuWs0eB7bUJShk4i5VsHhUSfM1Lr4xBS v8I8JFKmd46jLnG/NxAX7RhxgH6YR9W48BXlm8zbXo3+rIGeXlB99lEkKOLxxH/6gT0/ htlA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734833286; x=1735438086; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=UN9N3bSdkHmr/tygazKyLhQAq4A4e0ttkz4A7J+/Cyk=; b=dMXQH8CVv0f+Ops4L0RJ+Kn0sPfJ72H4cZSh8KDLqlT+Mf+PJ59gkqyRYU8PX07o7i B5tcFy2zlFo4qRDk+cuzPecyhGBbKvL7r7HMMK13oPSQbN9KhkhjR8Rb0I3TmfXeS9DB TA61K4Br6Un+PBXMdk2+Ffw0Bjy6SOiLHLQDQxPy/dHtlOgSqgr3ulNfsbYME7bj2L55 k05U9cb7IJjvBrKJWiZ+g9bgxhwQ0Mn8nLQOpEgVq5Jkq66MwAAmbbcrPQdwGrvxm3fp FEjhu/leg71sEjkZyCHZ+8b/Fdzuz/nOJHulpTd5XRUG2yLB1nAz8ZR6z7GrDb0WrUNY 8mGg== X-Forwarded-Encrypted: i=1; AJvYcCXCg9upEGae6TburJULvaGbhe4TZrJT7jt8wgG7JLpvEcSNyhVeKRFIYxppy9wabWKqkRbfMZmo/ILA@debbugs.gnu.org X-Gm-Message-State: AOJu0YxL0KsZqS9F+LFkdGJ9gY+ZHTX/Zwm8wBQkz0kSTBKWLjsd+AVi DV6YWUD+4WFSD7QxZujw+DVwmVBYnNMxwW5eyqrU5TCy9V4E0QEEQh0OY+0NMCzANjfGFKkFr08 0BLvP3PAhRmnbmveI+ilHZeU8bqE= X-Gm-Gg: ASbGncvyijjTSPfKH95+bXYT9GHVTB+w5X7O1+EYkV3/yEGB3fyRJMX+3tCr6iKwSUa KNeNik+SNjOBrEcZVteXiCqxY5R/hMQBRMeclqR4= X-Google-Smtp-Source: AGHT+IGbqhQmrFNNmqtTgMBP3SZtQDTdNc+0noU3uhle33hKuaxNJwZX7/YN/ybQoIbqTUZ7WiQ+p8HZeZkdocbnBK0= X-Received: by 2002:a05:6402:3884:b0:5d3:ff93:f5f9 with SMTP id 4fb4d7f45d1cf-5d81ddd625dmr17966009a12.20.1734833285328; Sat, 21 Dec 2024 18:08:05 -0800 (PST) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sun, 22 Dec 2024 02:08:05 +0000 In-Reply-To: <86o716kf5m.fsf@gnu.org> 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:297562 Archived-At: Version: 31.1 Eli Zaretskii writes: >> From: Stefan Kangas >> Date: Thu, 19 Dec 2024 17:55:22 -0500 >> Cc: bjorn.bidar@thaodan.de, 74946@debbugs.gnu.org, acorallo@gnu.org >> >> > .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? >> >> Maybe something like the below patch? > > Maybe. Try it against any similar name you have on your system. I > used "locate -b gdbinit" to find matching files on mine. Everything makes sense to me, so I pushed the change to master. I'm closing this bug report with this message. Please report back if you notice any problems. Thanks!