GNU bug report logs - #25217
[PATCH] Enable sh-mode zshrc

Previous Next

Package: emacs;

Reported by: Michihito Shigemura <m_shigemura <at> shigemk2.com>

Date: Sat, 17 Dec 2016 17:04:02 UTC

Severity: minor

Tags: patch

Done: Alan Third <alan <at> idiocy.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Michihito Shigemura <m_shigemura <at> shigemk2.com>
Subject: bug#25217: closed (Re: bug#25217:)
Date: Sun, 25 Dec 2016 19:57:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#25217: [PATCH] Enable sh-mode zshrc

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 25217 <at> debbugs.gnu.org.

-- 
25217: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=25217
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Alan Third <alan <at> idiocy.org>
To: Michihito Shigemura <m_shigemura <at> shigemk2.com>
Cc: 25217-done <at> debbugs.gnu.org
Subject: Re: bug#25217:
Date: Sun, 25 Dec 2016 19:55:56 +0000
On Sat, Dec 24, 2016 at 11:11:10PM +0900, Michihito Shigemura wrote:
> Sorry, but I haven't contributed to Emacs before.

That’s good. If you had contributed before we might have had to get
you to assign copyright, but since it’s a small change we can let it
go. If you do decide to contribute again in the future you may have to
go through the process of assigning copyright.

I’ve pushed this change to the master branch.

Thank you!
-- 
Alan Third

[Message part 3 (message/rfc822, inline)]
From: Michihito Shigemura <m_shigemura <at> shigemk2.com>
To: bug-gnu-emacs <at> gnu.org
Cc: Michihito Shigemura <m_shigemura <at> shigemk2.com>
Subject: [PATCH] Enable sh-mode zshrc
Date: Sat, 17 Dec 2016 18:06:25 +0900
* lisp/progmodes/sh-script.el (sh-mode):
Add zsh string-match
---
 lisp/progmodes/sh-script.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lisp/progmodes/sh-script.el b/lisp/progmodes/sh-script.el
index 5d362e4..ac5fb19 100644
--- a/lisp/progmodes/sh-script.el
+++ b/lisp/progmodes/sh-script.el
@@ -1683,6 +1683,7 @@ sh-mode
          ((string-match "[.]bash\\>"   buffer-file-name) "bash")
          ((string-match "[.]ksh\\>"    buffer-file-name) "ksh")
          ((string-match "[.]t?csh\\(rc\\)?\\>" buffer-file-name) "csh")
+         ((string-match "[.]zsh\\(rc\\)?\\>" buffer-file-name) "zsh")
 	 ((equal (file-name-nondirectory buffer-file-name) ".profile") "sh")
          (t sh-shell-file))
    nil nil)
-- 
2.9.3




This bug report was last modified 8 years and 202 days ago.

Previous Next


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