From: Ivan Kelly <ivan+gambit@bleurgh.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: occitan@esperanto.org, 12963@debbugs.gnu.org
Subject: bug#12963: Fwd: Small modification to sh-script, to cover unsupported case label
Date: Fri, 23 Nov 2012 09:04:53 +0000 [thread overview]
Message-ID: <20121123090451.GD29552@ip-10-228-174-15.eu-west-1.compute.internal> (raw)
In-Reply-To: <jwvy5htcbiw.fsf-monnier+emacs@gnu.org>
On Thu, Nov 22, 2012 at 09:16:48PM -0500, Stefan Monnier wrote:
> > Indention will mess up on the second label, due to the =
> > This can be fixed by adding a = to the skip-chars-backwards in
> > sh-font-lock-parens;
>
> This already works correctly in Emacs-24, so I suggest you upgrade.
Ah ok, I'm using Emacs-23 here, and was pulling trunk from bzr but it
was taking a long time, so I just decided to email the fix.
>
> > Also, I'm finding indent-tabs-mode is being reset by sh-mode. Do you
> > know what could be causing this?
>
> AFAICT sh-script.el does not touch indent-tabs-mode (neither the most
> recent version, nor the version in Emacs-23). But I'm not exactly sure
> what you mean by "being reset".
By being reset, I mean I have a hook
(add-hook 'sh-mode-hook '(lambda () (setq indent-tabs-mode nil)))
I open a sh file, and when I look at the value of indent-tabs-mode,
it's t.
It may be something else that's borking it, but it works fine in other
modes (java, c++). Is there a way to instrument a variable so that I
can see when it gets changed?
-Ivan
next prev parent reply other threads:[~2012-11-23 9:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20121122155324.GC29552@ip-10-228-174-15.eu-west-1.compute.internal>
2012-11-22 22:31 ` bug#12963: Fwd: Small modification to sh-script, to cover unsupported case label Daniel Pfeiffer
2012-11-23 2:16 ` Stefan Monnier
2012-11-23 9:04 ` Ivan Kelly [this message]
2012-11-23 15:53 ` Stefan Monnier
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=20121123090451.GD29552@ip-10-228-174-15.eu-west-1.compute.internal \
--to=ivan+gambit@bleurgh.com \
--cc=12963@debbugs.gnu.org \
--cc=monnier@iro.umontreal.ca \
--cc=occitan@esperanto.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).