[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bash scripts in black and white
From: |
Thierry Volpiatto |
Subject: |
Re: Bash scripts in black and white |
Date: |
Fri, 14 May 2010 21:58:42 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Stefan Monnier <address@hidden> writes:
>> With the current trunk (rev. 100258), visiting or editing bash scripts
>> (*.sh) results in black and white (B&W), i.e. it misses the color
>> syntax. There is also an error message. To reproduce:
>
> Thanks, should be fixed now,
It seem it is not, before error was with prog-mode but now:
File mode specification error: (wrong-type-argument char-table-p nil)
,----
| Debugger entered--Lisp error: (wrong-type-argument char-table-p nil)
| char-table-parent(nil)
| sh-mode()
| set-auto-mode-0(sh-mode nil)
| set-auto-mode()
| normal-mode(t)
| after-find-file(nil t)
| find-file-noselect-1(#<buffer toto.sh> "~/bin/toto.sh" nil nil
"~/bin/toto.sh" (5062663 2055))
| find-file-noselect("/home/thierry/bin/toto.sh" nil nil nil)
| find-file("/home/thierry/bin/toto.sh")
| dired-find-file()
| call-interactively(dired-find-file nil nil)
`----
That is with this:
,----
| commit edbdb1a992c31be4a04cf194218788bac885f4c6
| Commit: Stefan Monnier <address@hidden>
| CommitDate: Fri May 14 12:41:01 2010 -0400
|
| * simple.el (prog-mode): New (abstract) major mode.
| * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
| * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
`----
--
Thierry Volpiatto
Gpg key: http://pgp.mit.edu/
- Bash scripts in black and white, Angelo Graziosi, 2010/05/13
- Re: Bash scripts in black and white, Thierry Volpiatto, 2010/05/14
- Re: Bash scripts in black and white, Stefan Monnier, 2010/05/14
- Re: Bash scripts in black and white,
Thierry Volpiatto <=
- Re: Bash scripts in black and white, Angelo Graziosi, 2010/05/14
- Re: Bash scripts in black and white, Eli Zaretskii, 2010/05/15
- Re: Bash scripts in black and white, Angelo Graziosi, 2010/05/15
- Re: Bash scripts in black and white, Juanma Barranquero, 2010/05/15
- Re: Bash scripts in black and white, Angelo Graziosi, 2010/05/15
- Re: Bash scripts in black and white, Juanma Barranquero, 2010/05/15
- Re: Bash scripts in black and white, Angelo Graziosi, 2010/05/15