emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-bug-tracker] bug#8745: closed (Enhancement Request: Support for r


From: GNU bug Tracking System
Subject: [Emacs-bug-tracker] bug#8745: closed (Enhancement Request: Support for restricted bash interpreter scripts)
Date: Fri, 27 May 2011 19:35:01 +0000

Your message dated Fri, 27 May 2011 16:34:18 -0300
with message-id <address@hidden>
and subject line Re: bug#8745: Enhancement Request: Support for restricted bash 
interpreter scripts
has caused the GNU bug report #8745,
regarding Enhancement Request: Support for restricted bash interpreter scripts
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
8745: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8745
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: Enhancement Request: Support for restricted bash interpreter scripts Date: Fri, 27 May 2011 13:31:10 -0400
Hi,

  When bash is invoked with the name "rbash", it starts a restricted
shell (same as "bash -r").  This interpreter name is not recognized
and therefore sh-mode is not enabled when editing restricted scripts.

  The following patch is specifically what I am requesting.

 Thanks


*** lisp/files.el.orig  2011-02-18 18:16:54.000000000 -0500
--- lisp/files.el       2011-05-27 13:09:19.058670776 -0400
*************** and `magic-mode-alist', which determines
*** 2396,2401 ****
--- 2396,2402 ----
       ("ksh" . sh-mode)
       ("oash" . sh-mode)
       ("pdksh" . sh-mode)
+      ("rbash" . sh-mode)
       ("rc" . sh-mode)
       ("rpm" . sh-mode)
       ("sh" . sh-mode)



--- End Message ---
--- Begin Message --- Subject: Re: bug#8745: Enhancement Request: Support for restricted bash interpreter scripts Date: Fri, 27 May 2011 16:34:18 -0300 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)
>   When bash is invoked with the name "rbash", it starts a restricted
> shell (same as "bash -r").  This interpreter name is not recognized
> and therefore sh-mode is not enabled when editing restricted scripts.

>   The following patch is specifically what I am requesting.

Thank you.  Installed in the trunk.


        Stefan


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]