Hi Steve
Are you using any kind of G-code mode? Your problem seems to be that ?\"
is seen as string quote character. You could simply change the
syntax-table entry for this character to something sensible, such as
punctuation. Set the syntax class of the parentheses to comment-starter
and *-ender, respectively. If all that is done, you can use the existing
function #'forward-comment for skipping comments. To get you started:
(define-derived-mode g-code-mode nil "G-Code"
""
(modify-syntax-entry ?\( "<" g-code-mode-syntax-table)
(modify-syntax-entry ?\) ">" g-code-mode-syntax-table)
(modify-syntax-entry ?\" "." g-code-mode-syntax-table)
)
HTH
Marcus
--
note that "property" can also be used as syntactic sugar to reference
a property, breaking the clean design of verilog; [...]
(seen on
http://www.veripool.com/verilog-mode_news.html)
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta