Commit 2612c73b authored by Yuanle Song's avatar Yuanle Song
Browse files

v2.10.1 include minibuffer panel in zero-input.el

parent af9dd4fe
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
2024-05-26  Yuanle Song  <sylecn@gmail.com>

	zero-input v2.10.1
	- include `zero-input-panel-minibuffer.el' in zero-panel.el for
	  distribution. zero-input now requires Emacs 24.4+.

2024-05-26  Yuanle Song  <sylecn@gmail.com>

	zero-input v2.10.0
+0 −2
Original line number Diff line number Diff line
@@ -23,7 +23,6 @@ dist-check: build
	@echo "testing byte-compile is clean..."
	$(EMACS) -Q --batch -l $(S_EL) -l ./byte-compile-flags.el --eval='(byte-compile-file "zero-input.el")'
	$(EMACS) -Q --batch -l $(S_EL) -l $(POSFRAME_EL) -l ./byte-compile-flags.el -l ./zero-input.el --eval='(byte-compile-file "zero-input-panel-posframe.el")'
	$(EMACS) -Q --batch -l $(S_EL) -l $(POSFRAME_EL) -l ./byte-compile-flags.el -l ./zero-input.el --eval='(byte-compile-file "zero-input-panel-minibuffer.el")'
	@echo "running unit tests..."
	$(EMACS) -Q --batch -l $(S_EL) -l $(POSFRAME_EL) \
		-l zero-input.el \
@@ -34,7 +33,6 @@ dist-check: build
		-l zero-input-table.el \
		-l zero-input-table-test.el \
		-l zero-input-panel-posframe.el \
		-l zero-input-panel-minibuffer.el \
		-f ert-run-tests-batch-and-exit
#====================
# other make targets
+1 −0
Original line number Diff line number Diff line
@@ -80,6 +80,7 @@ def main():
        "zero-input-table.el",
        "zero-input-pinyin-service.el",
        "zero-input-pinyin.el",
        "zero-input-panel-minibuffer.el",
        ])
    with open('zero-input.el', 'r', encoding="utf-8") as fin:
        old_content = fin.read()
+18 −4
Original line number Diff line number Diff line
@@ -102,15 +102,14 @@ cd ~/lisp/elisp/zero/
  (global-set-key (kbd "<f1>") 'zero-input-mode)
  (zero-input-set-default-im "pinyin")

  ;; to test minibuffer panel
  (zero-input-panel-minibuffer-init)

  ;; to test posframe panel
  (load-file "~/.emacs.d/elpa/posframe-1.4.3/posframe.el")
  (byte-compile-file "~/lisp/elisp/zero/zero-input-panel-posframe.el" t)
  (zero-input-panel-posframe-init)

  ;; to test minibuffer panel
  (byte-compile-file "~/lisp/elisp/zero/zero-input-panel-minibuffer.el" t)
  (zero-input-panel-minibuffer-init)

  now in some buffer,
  press F1 and start typing.

@@ -197,6 +196,21 @@ may show in the wrong instance.

* current                                                             :entry:
** 
** 2024-05-26 make a release on melpa.
- DONE should zero-input-panel-minibuffer.el be included in zero-input.el?
  it doesn't require any other package.
  could be a built-in feature.

- should zero-input-panel-posframe.el be a separate package?
  one file per package is cooler.

  https://github.com/melpa/melpa?tab=readme-ov-file#example-multiple-packages-in-one-repository

  yeah, should create a new package.
  zero-input-posframe-panel

  create a pull request.

** 2021-08-08 create a panel for wayland display server.
currently zero-panel doesn't position itself correctly in wayland on debian 11
bullseye.
+1 −1
Original line number Diff line number Diff line
@@ -133,7 +133,7 @@ If item is not in lst, return nil."

;; zero-input-el version
(defvar zero-input-version nil "Zero package version.")
(setq zero-input-version "2.10.0")
(setq zero-input-version "2.10.1")

(defvar zero-input-panel-is-ephemeral nil
  "Stores whether the panel service is ephemeral or not.
Loading