tecosaur / lexic

Mirror of https://git.tecosaur.net/tec/lexic
GNU General Public License v3.0
78 stars 10 forks source link

byte-compile warnings #10

Closed diamond-lizard closed 3 years ago

diamond-lizard commented 3 years ago

When byte-compiling lexic, emacs shows many warnings:

In lexic-search: lexic.el:117:36:Warning: reference to free variable
'lexic-dictionary-alist'
lexic.el:130:15:Warning: reference to free variable
'lexic-current-dictionary-list'
lexic.el:131:41:Warning: reference to free variable 'lexic-dictionary-list'
lexic.el:139:36:Warning: assignment to free variable
'lexic-current-dictionary-list'
lexic.el:143:37:Warning: reference to free variable 'lexic-process-name'
lexic.el:149:16:Warning: reference to free variable 'lexic-word-processor'
lexic.el:155:44:Warning: reference to free variable
'lexic--search-history-position'
lexic.el:156:44:Warning: reference to free variable 'lexic--search-history'
lexic.el:161:56:Warning: assignment to free variable 'lexic--search-history'
lexic.el:161:13:Warning: assignment to free variable
'lexic--search-history-position'
lexic.el:164:47:Warning: reference to free variable 'lexic-buffer-name'

In lexic-list-dictionary: lexic.el:193:28:Warning: reference to free variable
'lexic-program-path'
lexic.el:193:54:Warning: reference to free variable 'lexic-buffer-name'

In lexic-generate-dictionary-argument: lexic.el:201:9:Warning: reference to
free variable 'lexic-dictionary-path'

In lexic-get-buffer: lexic.el:256:36:Warning: reference to free variable
'lexic-buffer-name'

In lexic-mode: lexic.el:295:17:Warning: assignment to free variable
'display-line-numbers-type'

In lexic-parse-failed: lexic.el:316:8:Warning: value returned from
(match-string 1) is unused
lexic.el:316:8:Warning: value returned from (match-string 1) is unused

In lexic-do-lookup: lexic.el:402:22:Warning: reference to free variable
'lexic-wait-timeout'
lexic.el:393:35:Warning: reference to free variable 'lexic-word-prompts'
lexic.el:397:35:Warning: reference to free variable 'lexic-choice-prompts'
lexic.el:400:24:Warning: reference to free variable 'lexic-wait-interval'

In lexic-oneshot-lookup: lexic.el:412:26:Warning: reference to free variable
'lexic-program-path'

In lexic-get-process: lexic.el:448:30:Warning: reference to free variable
'lexic-program-path'

In lexic-dictionary-spec: lexic.el:645:31:Warning: reference to free variable
'lexic-dictionary-specs'
lexic.el:672:1:Warning: Unused lexical argument 'expected-word'

In lexic-format-webster: lexic.el:817:42:Warning: reference to free variable
'lexic-expand-abbreviations'
lexic.el:1691:1:Warning: Unused lexical argument 'expected-word'
lexic.el:1772:1:Warning: Unused lexical argument 'expected-word'
lexic.el:1772:1:Warning: Unused lexical argument 'element'
lexic.el:1797:1:Warning: Unused lexical argument 'expected-word'

In end of data: lexic.el:1876:1:Warning: the function 'spell-fu-mode' is not
known to be defined.
tecosaur commented 3 years ago

Hmm. That's not good. I'll have a go at resolving those, just a bit busy at the moment. As always, PRs welcome :grin:

tecosaur commented 3 years ago

Fixed (I think) :slightly_smiling_face: