purescript-mode icon indicating copy to clipboard operation
purescript-mode copied to clipboard

popup *help* when `enter` key pressed at any source file

Open kalxd opened this issue 1 year ago • 0 comments

Hi, all.

I am using emacs 28.2 on debian stable (bookworm), and purescript-mode is installed via use-package:

(use-package purescript-mode
  :ensure t)

(use-package psc-ide
  :ensure t)

then I open a fresh spago project, and type enter or return key on the source file, the help popups, it shows below:

purescript-mode-hook is a variable defined in ‘purescript-mode.el’.

Its value is nil

Hook run after entering ‘purescript-mode’.

Some of the supported modules that can be activated via this hook:

   ‘purescript-indentation’, Kristof Bastiaensen
     Intelligent semi-automatic indentation Mk2

   ‘purescript-indent’, Guy Lapalme
     Intelligent semi-automatic indentation.

   ‘purescript-simple-indent’, Graeme E Moss and Heribert Schuetz
     Simple indentation.

Module X is activated using the command ‘turn-on-X’.  For example,
‘purescript-indent’ is activated using ‘turn-on-purescript-indent’.
For more information on a specific module, see the help for its ‘X-mode’
function.  Some modules can be deactivated using ‘turn-off-X’.

See Info node ‘(purescript-mode)purescript-mode-hook’ for more details.

Warning: do not enable more than one of the three indentation
modes. See Info node ‘(purescript-mode)indentation’ for more
details.

  This variable may be risky if used as a file-local variable.
  You can customize this variable.

[back]

however, I tried add hook to the purescript-mode-hook, but it did not work also. so how can I fix the problem? thanks.

kalxd avatar May 03 '24 12:05 kalxd