ebpa / tui.el

An experimental text-based UI framework for Emacs modeled after React - **requires emacs 26.1 or newer**
GNU General Public License v3.0
180 stars 6 forks source link

Tic Tac Toe not required by any file #8

Open bryce-carson opened 1 year ago

bryce-carson commented 1 year ago

Hi Erik,

I have installed the package with Spacemacs integrated Quelpa, which may be culprit. I have loaded the package with use-package.
(tui :location
     (recipe :fetcher github
             :repo "ebpa/tui.el"
             :files ("*.el"
                     "components"
                     "layout"
                     "demo"
                     "snippets")))

I can't find Tic Tac Toe with find-function or with describe-function. I verified that the file was downloaded and installed, even compiled (I do see tui-tic-tac-toe.elc)...

...I looked through tui.el and demo/tui-demo.el, neither of which (require 'tui-tic-tac-toe)...

...some further searching with Helm dir smart search revealed that only tui-demos.el requires Tic Tac Toe, itself not required by tui.el or demo/tui-demo.el.

It looks like you just need to pop that require line from tui-demos.el to demo/tui-demo.el and that should fix the issue.

Otherwise Tic Tac Toe is unavailable in ~0.4.0~ 0.0.4 (semv-ver would say the prior, btw).

bryce-carson commented 1 year ago

I'm guessing it was a mistake of oversight when you were refactoring, and presumably getting rid of tui-demos.el in the main source folder.