Let's type this: <a href='test.txt'>test</a> Then switch to hidden tags mode with C-c <tab> Then C-a to go to the beginning of the line. It says: Scan error: "Containing expression ends prematurely" and beeps like hell ^_^ That's all :)
In GNU Emacs 22.0.990.1 (i386-mingw-nt5.1.2600) of 2007-05-23 on LENNART-69DE564 (patched) Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4) --cflags -Ic:/g/include' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: ESN locale-coding-system: cp1252 default-enable-multibyte-characters: t Major mode: HTML Minor modes in effect: show-paren-mode: t encoded-kbd-mode: t mouse-wheel-mode: t noticeable-minibuffer-prompts-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t unify-8859-on-encoding-mode: t utf-translate-cjk-mode: t auto-compression-mode: t line-number-mode: t Recent input: M-x h t m l - m <tab> <return> C-c C-c h t e s t . t x t <return> t e s t C-c <tab> <home> <end> <home> <end> M-x r e p o r <tab> <return> Recent messages: Loading regexp-opt...done Loading skeleton...done Invisible tag: </a> [3 times] Invisible tag: <a href="test.txt"> forward-list: Scan error: "Containing expression ends prematurely", 19, 20 forward-list: Scan error: "Containing expression ends prematurely", 1, 1 Invisible tag: <a href="test.txt"> forward-list: Scan error: "Containing expression ends prematurely", 19, 20 forward-list: Scan error: "Containing expression ends prematurely", 1, 1 Loading emacsbug...done