Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🪲 [BUG] - create-docs.sh failing #158

Open
jasonm23 opened this issue Sep 1, 2022 · 2 comments
Open

🪲 [BUG] - create-docs.sh failing #158

jasonm23 opened this issue Sep 1, 2022 · 2 comments
Assignees
Labels

Comments

@jasonm23
Copy link
Collaborator

jasonm23 commented Sep 1, 2022

Description

Running create-docs.sh fails with an error (see log below)

Steps to Reproduce the issue.

git clone git@github.com:magnars/s.el.git
cd s.el
./create-docs.sh

Logs

./create-docs.sh
Debugger entered--Lisp error: (wrong-type-argument listp replace-regexp-in-string)
  car(replace-regexp-in-string)
  (eq 'macro (car cmd))
  (if (eq 'macro (car cmd)) (car (cdr (cdr cmd))) (car (cdr cmd)))
  docs--signature(replace-regexp-in-string)
  (list 's-replace-regexp (docs--signature (symbol-function 's-replace-regexp)) (docs--docstring (symbol-function 's-replace-regexp)) (examples-to-strings '((s-replace-regexp "[aeiou]" "!" "foo bar baz") => "f!! b!r b!z" (s-replace-regexp "." "a" "foo bar baz") => "aaaaaaaaaaa" (s-replace-regexp "mixedcase" "mixedcase" "ThIs iS MiXeDCaSE" t) => "ThIs iS mixedcase" (s-replace-regexp "\\(h[ae]\\)" "\\1\\1" "hi he ha") => "hi hehe haha" (s-replace-regexp "\\(h[ae]\\)" "\\1\\1" "hi he ha" nil t) => "hi \\1\\1 \\1\\1")))
  (add-to-list 'functions (list 's-replace-regexp (docs--signature (symbol-function 's-replace-regexp)) (docs--docstring (symbol-function 's-replace-regexp)) (examples-to-strings '((s-replace-regexp "[aeiou]" "!" "foo bar baz") => "f!! b!r b!z" (s-replace-regexp "." "a" "foo bar baz") => "aaaaaaaaaaa" (s-replace-regexp "mixedcase" "mixedcase" "ThIs iS MiXeDCaSE" t) => "ThIs iS mixedcase" (s-replace-regexp "\\(h[ae]\\)" "\\1\\1" "hi he ha") => "hi hehe haha" (s-replace-regexp "\\(h[ae]\\)" "\\1\\1" "hi he ha" nil t) => "hi \\1\\1 \\1\\1"))))
  load-with-code-conversion("/Users/jason/workspace/s.el/dev/examples.el" "/Users/jason/workspace/s.el/dev/examples.el" nil t)
  command-line-1(("-l" "s.el" "-l" "dev/examples-to-docs.el" "-l" "dev/examples.el" "-f" "create-docs-file"))
  command-line()
  normal-top-level()

Emacs version

28.1

Emacs running on GUI, Terminal or Daemon?

emacs -batch # via create-docs.sh

OS

Macos | Big Sur 11.6.8 (20G730)

@jasonm23 jasonm23 added the bug label Sep 1, 2022
@jasonm23
Copy link
Collaborator Author

jasonm23 commented Sep 1, 2022

Looks like I need to check on (docs--signature ... replace-regexp-in-string)

@jasonm23
Copy link
Collaborator Author

jasonm23 commented Dec 2, 2022

Scheduled time for this next week.

@jasonm23 jasonm23 self-assigned this May 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant