Wilfred / helpful

A better Emacs *help* buffer
1.1k stars 62 forks source link

invalid-read-syntax "] in a list" 2 22 #322

Open incandescentman opened 1 year ago

incandescentman commented 1 year ago

When I run helpful-key, I get this:

Debugger entered--Lisp error: (invalid-read-syntax "] in a list" 2 22)
  read(#<buffer isearch.el.gz>)
  find-function--search-by-expanding-macros(#<buffer isearch.el.gz> isearch-repeat-forward nil)
  #f(compiled-function (symbol type library) "Search for SYMBOL's definition of type TYPE in LIBRARY.\nVisit the library in a buffer, and return a cons cell (BUFFER . POSITION),\nor just (BUFFER . nil) if the definition can't be found in the file.\n\nIf TYPE is nil, look for a function definition.\nOtherwise, TYPE specifies the kind of definition,\nand it is interpreted via `find-function-regexp-alist'.\nThe search is done in the source for library LIBRARY." #<bytecode 0x140c2d1da480b6e9>)(isearch-repeat-forward nil "/opt/homebrew/Cellar/emacs-mac/emacs-28.2-mac-9.1/...")
  ad-Advice-find-function-search-for-symbol(#f(compiled-function (symbol type library) "Search for SYMBOL's definition of type TYPE in LIBRARY.\nVisit the library in a buffer, and return a cons cell (BUFFER . POSITION),\nor just (BUFFER . nil) if the definition can't be found in the file.\n\nIf TYPE is nil, look for a function definition.\nOtherwise, TYPE specifies the kind of definition,\nand it is interpreted via `find-function-regexp-alist'.\nThe search is done in the source for library LIBRARY." #<bytecode 0x140c2d1da480b6e9>) isearch-repeat-forward nil "/opt/homebrew/Cellar/emacs-mac/emacs-28.2-mac-9.1/...")
  apply(ad-Advice-find-function-search-for-symbol #f(compiled-function (symbol type library) "Search for SYMBOL's definition of type TYPE in LIBRARY.\nVisit the library in a buffer, and return a cons cell (BUFFER . POSITION),\nor just (BUFFER . nil) if the definition can't be found in the file.\n\nIf TYPE is nil, look for a function definition.\nOtherwise, TYPE specifies the kind of definition,\nand it is interpreted via `find-function-regexp-alist'.\nThe search is done in the source for library LIBRARY." #<bytecode 0x140c2d1da480b6e9>) (isearch-repeat-forward nil "/opt/homebrew/Cellar/emacs-mac/emacs-28.2-mac-9.1/..."))
  find-function-search-for-symbol(isearch-repeat-forward nil "/opt/homebrew/Cellar/emacs-mac/emacs-28.2-mac-9.1/...")
  helpful--definition(isearch-repeat-forward t)
  helpful-update()
  helpful--update-and-switch-buffer(isearch-repeat-forward t)
  helpful-key([8388711])
  funcall-interactively(helpful-key [8388711])
  call-interactively(helpful-key nil nil)
  command-execute(helpful-key)