Package: elpa-haskell-mode
Version: 17.5-2
Severity: normal
X-Debbugs-Cc: pi...@debian.org

Dear Maintainer,

While trying to open an haskell file, I get a error in the consol

Symbol’s value as variable is void: flymake-allowed-file-name-masks

When starting emacs -q and enabling the debug on error

I get this

Debugger entered--Lisp error: (void-variable flymake-allowed-file-name-masks)
  add-to-list(flymake-allowed-file-name-masks ("\\.l?hs\\'" 
haskell-flymake-init))
  load-library("haskell-mode")
  funcall-interactively(load-library "haskell-mode")
  command-execute(load-library record)
  execute-extended-command(nil "load-library" "load-libraryhas")
  funcall-interactively(execute-extended-command nil "load-library" 
"load-libraryhas")
  command-execute(execute-extended-command)


So I would like your advice in order to solve this problem...

I observed also this kind of issue with magit...

Debugger entered--Lisp error: (void-function magit-menu-item)
  (magit-menu-item "Rename file" #'magit-file-rename '(:enable (eq 
(magit-diff-scope) 'file)))
  (define-keymap "C-j" #'magit-diff-visit-worktree-file "C-<return>" 
#'magit-diff-visit-worktree-file "C-x 4 <return>" 
#'magit-diff-visit-file-other-window "C-x 5 <return>" 
#'magit-diff-visit-file-other-frame "$
  (defvar magit-diff-section-map (define-keymap "C-j" 
#'magit-diff-visit-worktree-file "C-<return>" #'magit-diff-visit-worktree-file 
"C-x 4 <return>" #'magit-diff-visit-file-other-window "C-x 5 <return>" #'magi$
  
load-with-code-conversion("/usr/share/emacs/site-lisp/elpa/magit-4.3.3/magit-diff.el"
 "/usr/share/emacs/site-lisp/elpa/magit-4.3.3/magit-diff.el" nil t)
  require(magit-diff)
  
load-with-code-conversion("/usr/share/emacs/site-lisp/elpa/magit-4.3.3/magit.el"
 "/usr/share/emacs/site-lisp/elpa/magit-4.3.3/magit.el" nil nil)
  load-library("magit")
  funcall-interactively(load-library "magit")
  command-execute(load-library record)
  execute-extended-command(nil "load-library" "load-l")
  funcall-interactively(execute-extended-command nil "load-library" "load-l")
  command-execute(execute-extended-command)


Cheers

Frederic



-- System Information:
Debian Release: 13.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.22-amd64 (SMP w/6 CPU threads; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages elpa-haskell-mode depends on:
ii  dh-elpa-helper  2.1.9
ii  emacsen-common  3.0.7

Versions of packages elpa-haskell-mode recommends:
ii  ghc  9.6.6-4

Versions of packages elpa-haskell-mode suggests:
ii  stylish-haskell  0.14.5.0-3

-- no debconf information

Reply via email to