{"action":"closed","issue":{"url":"https://api.github.com/repos/larsbrinkhoff/forth-mode/issues/11","repository_url":"https://api.github.com/repos/larsbrinkhoff/forth-mode","labels_url":"https://api.github.com/repos/larsbrinkhoff/forth-mode/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/larsbrinkhoff/forth-mode/issues/11/comments","events_url":"https://api.github.com/repos/larsbrinkhoff/forth-mode/issues/11/events","html_url":"https://github.com/larsbrinkhoff/forth-mode/issues/11","id":180699213,"number":11,"title":"Problematic syntax class for ( and \\","user":{"login":"ellerh","id":1506702,"avatar_url":"https://avatars.githubusercontent.com/u/1506702?v=3","gravatar_id":"","url":"https://api.github.com/users/ellerh","html_url":"https://github.com/ellerh","followers_url":"https://api.github.com/users/ellerh/followers","following_url":"https://api.github.com/users/ellerh/following{/other_user}","gists_url":"https://api.github.com/users/ellerh/gists{/gist_id}","starred_url":"https://api.github.com/users/ellerh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ellerh/subscriptions","organizations_url":"https://api.github.com/users/ellerh/orgs","repos_url":"https://api.github.com/users/ellerh/repos","events_url":"https://api.github.com/users/ellerh/events{/privacy}","received_events_url":"https://api.github.com/users/ellerh/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-10-03T17:33:31Z","updated_at":"2016-10-09T06:33:03Z","closed_at":"2016-10-09T06:33:03Z","body":"I think the idea to set the syntax class of `(` to `\"<1\"` is problematic, because it doesn't work well for words like `(LOCAL)`.  The same problem for `\\` which can also be part of normal word names like `a\\b`.\r\n\r\nWhoever wrote gforth.el seems to think that Emacs' syntax tables aren't of much use for Forth and instead highlights comments \"manually\". (Admidettly, the highlighting and indentation of gforth.el is only half bad. The implementation is weird, though.)\r\n\r\nMaybe a compromise between syntax tables and an custom `syntax-propertize-function` to fix the corner cases would work better."}}
{"actor":{"display_login":"larsbrinkhoff"}}