GithubHelp home page GithubHelp logo

Comments (6)

tumashu avatar tumashu commented on August 15, 2024
(require 'pyim-cregexp)
(defun eh-orderless-regexp (orig_func component)
  (let ((result (funcall orig_func component)))
    (pyim-cregexp-build result)))

(advice-add 'orderless-regexp :around #'eh-orderless-regexp)

from pyim.

tumashu avatar tumashu commented on August 15, 2024

试试这段代码

from pyim.

GTrunSec avatar GTrunSec commented on August 15, 2024

不行,更新vertico后就不对了,就这几天的更新。我目前revert到了6f22ff129886a6b9292212f9897c65f9 之前的doom对vertico的更新。

Debugger entered--Lisp error: (void-function pyim-cregexp-build-regexp-string)
  pyim-cregexp-build-regexp-string("[d㐤㐲㑈㑙㒔㒛㓃㓊㓠㓸㔊㔍㔑㕪㖦㖼㗖㗢㗧㗳㙂㙐㙮㚲㛆㛊㛒㜓㜱㝎㝪㝵㝶㞘㞟㞭㞳㟋㟨㟷㠀㠚㡯㡳㡺㢂㢄㢈...")
  orderless-regexp("d")
  orderless-pattern-compiler("d")
  orderless-filter("~/.emacs.d/.local/etc/workspaces/d" completion-file-name-table file-exists-p)
  orderless-all-completions("~/.emacs.d/.local/etc/workspaces/d" completion-file-name-table file-exists-p 34)
  #f(compiled-function (style) #<bytecode -0x775b1401a966fc3>)(orderless)
  completion--some(#f(compiled-function (style) #<bytecode -0x775b1401a966fc3>) (+vertico-basic-remote orderless partial-completion basic))
  completion--nth-completion(2 "~/.emacs.d/.local/etc/workspaces/d" read-file-name-internal file-exists-p 34 (metadata (category . file) (completion--unquote-requote . t)))
  #f(compiled-function (string table pred point &optional metadata) "List the possible completions of STRING in completion table TABLE.\nOnly the elements of table that satisfy predicate PRED are considered.\nPOINT is the position of point within STRING.\nThe return value is a list of completions and may contain the base-size\nin the last `cdr'." #<bytecode 0x7fac4ca07a130f0>)("~/.emacs.d/.local/etc/workspaces/d" read-file-name-internal file-exists-p 34 (metadata (category . file) (completion--unquote-requote . t)))
  apply(#f(compiled-function (string table pred point &optional metadata) "List the possible completions of STRING in completion table TABLE.\nOnly the elements of table that satisfy predicate PRED are considered.\nPOINT is the position of point within STRING.\nThe return value is a list of completions and may contain the base-size\nin the last `cdr'." #<bytecode 0x7fac4ca07a130f0>) ("~/.emacs.d/.local/etc/workspaces/d" read-file-name-internal file-exists-p 34 (metadata (category . file) (completion--unquote-requote . t))))
  completion-all-completions("~/.emacs.d/.local/etc/workspaces/d" read-file-name-internal file-exists-p 34 (metadata (category . file) (completion--unquote-requote . t)))
  apply(completion-all-completions ("~/.emacs.d/.local/etc/workspaces/d" read-file-name-internal file-exists-p 34 (metadata (category . file) (completion--unquote-requote . t))))
  vertico--all-completions("~/.emacs.d/.local/etc/workspaces/d" read-file-name-internal file-exists-p 34 (metadata (category . file) (completion--unquote-requote . t)))
  vertico--recompute(34 "~/.emacs.d/.local/etc/workspaces/d")
  vertico--update()

from pyim.

tumashu avatar tumashu commented on August 15, 2024

pyim-cregexp-build-regexp-string 这个函数在最新的 pyim 中已经不存在了,应该用 pyim-cregexp-build,我猜测可能是 doom 的问题

from pyim.

tumashu avatar tumashu commented on August 15, 2024

你试试这样行不行 (defalias 'pyim-cregexp-build-regexp-string #'pyim-cregexp-build),不行的话只能等待 doom 那边修复了。

from pyim.

GTrunSec avatar GTrunSec commented on August 15, 2024

你这么一说我就明白了,确实是doom没更新。

from pyim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.