Hello! Alex Kost <alez...@gmail.com> skribis:
> Pierre Neidhardt (2018-05-20 21:57 +0200) wrote: > >> I recently noticed that guix-devel-mode misbehaved on packages ending >> with a "+" (like my recent emacs-image+). >> >> See https://github.com/alezost/guix.el/issues/24 for more details. >> >> Alex Kost suggested we removed the syntax change in .dir-locals.el: >> >> ;; This notably allows '(' in Paredit to not insert a space when the >> ;; preceding symbol is one of these. >> (eval . (modify-syntax-entry ?~ "'")) >> (eval . (modify-syntax-entry ?$ "'")) >> - (eval . (modify-syntax-entry ?+ "'")) > > Here is my point: I believe (re-search-forward "\\s_" nil t) should find > "+" character in lisp/scheme modes because it may be part of symbol > names there. Even elisp manual mentions this fact: > > https://www.gnu.org/software/emacs/manual/html_node/elisp/Syntax-Class-Table.html#Syntax-Class-Table > > So I think that ".dir-locals.el" shouldn't break this default behavior. So, IIUC, we may have to sacrifice highlighting of #+ so that ‘guix-guile-current-definition’ works well with symbols containing ‘+’, right? That’d be fine with me. :-) Thank you! Ludo’.