[erlang-bugs] tempo-complete-tag not working at L1 C1

Pierre Radermecker <>
Thu Oct 4 03:00:54 CEST 2007

The function tempo-complete-tag (C-c M-Tab) is not working when the
cursor is at line 1 col 1.

The tempo-match-finder pattern is "[^-a-zA-Z0-9_]\\([-a-zA-Z0-9_]+\\)\\=".

If I set it to be "\\b\\([^\\b]+\\)\\=" the bug disappears.
Unfortunately it does not match hyphen so "gen-event" is not found.

I have tried some combination without much success. So I hope a regex
master out there will be able to figure out a correct pattern.

Thanks for your help.

More information about the erlang-bugs mailing list