GNU bug report logs -
#42867
28.0.50; Wring pair-mode in m4 and similar modes
Previous Next
Full log
View this message in rfc822 format
Ergus <spacibba <at> aol.com> writes:
> Using emacs to edit an m4 file I see that there is an issue recognizing
> the corresponding pairs in some cases like when using "case".
>
> For example:
>
> ```
> [
> case $word in
> i?86)
> something ;;
> bla)
> bla ;;
> esac
> ]
> ```
The problem is that "bla)" has a closing-paren character, and the
Emacs's sexp machinery doesn't seem to take into account what the
closing paren character is in these circumstances -- just that there's a
closing paren?
You see this all over the place in Emacs, but fortunately not many
languages use closing-parens like that.
Does anybody know whether there's any convenient way to fix the problem
here in m4-mode?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
This bug report was last modified 4 years and 242 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.