unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Utkarsh Singh <utkarsh190601@gmail.com>
To: 46660@debbugs.gnu.org
Subject: bug#46660: [Andreas Schwab] Re: bug#46660: [PATCH] 28.0.50; Support for PKGBUILD files on Arch Linux
Date: Sat, 20 Feb 2021 17:46:06 +0530	[thread overview]
Message-ID: <87k0r3x7cp.fsf@gmail.com> (raw)
In-Reply-To: <87eehbwbaz.fsf@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 798 bytes --]

Andreas Schwab <schwab@linux-m68k.org> writes:

> Use "\\'" instead of "$".  Is this supposed to match "fooPKGBUILD"?

Thanks I was unaware of this particular regex!

diff --git a/lisp/files.el b/lisp/files.el
index 68e883513c..393b3472f7 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -2723,6 +2723,7 @@ auto-mode-alist
("\\.scm\\.[0-9]*\\'" . scheme-mode)
("\\.[ckz]?sh\\'\\|\\.shar\\'\\|/\\.z?profile\\'" . sh-mode)
("\\.bash\\'" . sh-mode)
+     ("PKGBUILD\\'" . sh-mode)
("\\(/\\|\\`\\)\\.\\(bash_\\(profile\\|history\\|log\\(in\\|out\\)\\)\\|z?log\\(in\\|out\\)\\)\\'" .
sh-mode)
("\\(/\\|\\`\\)\\.\\(shrc\\|zshrc\\|m?kshrc\\|bashrc\\|t?cshrc\\|esrc\\)\\'" . sh-mode)
	("\\(/\\|\\`\\)\\.\\([kz]shenv\\|xinitrc\\|startxrc\\|xsession\\)\\'" . sh-mode)
-- 
Utkarsh Singh

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 519 bytes --]

  parent reply	other threads:[~2021-02-20 12:16 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87r1l74dfg.fsf@gmail.com>
2021-02-20  5:36 ` bug#46660: [PATCH] 28.0.50; Support for PKGBUILD files on Arch Linux Utkarsh Singh
2021-02-20  8:42   ` Andreas Schwab
2021-02-20 12:16   ` Utkarsh Singh [this message]
2021-02-22 15:08     ` Lars Ingebrigtsen
2021-02-23  4:31   ` bug#46660: [Utkarsh Singh] " Utkarsh Singh
2021-02-23 15:43     ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k0r3x7cp.fsf@gmail.com \
    --to=utkarsh190601@gmail.com \
    --cc=46660@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).