Giter VIP home page Giter VIP logo

Comments (4)

TheBB avatar TheBB commented on May 13, 2024

Original comment by Michael Markert (Bitbucket: cofi, GitHub: cofi):


@input-methods\
Didn't notice. But it broke: Typing ue with german-postfix got me üü (double result). But b464897 seems to fix it.

@legacy\
Well then: Great that it broke :)

from evil.

TheBB avatar TheBB commented on May 13, 2024

Original comment by Frank Fischer (Bitbucket: lyro, GitHub: lyro):


Thanks. The function `evil-repeat-record-command' should never be called with a non-function repeat-type ... so my fix is to remove this function completely (it was legacy anyway) ;)

But I realized that repeation with input-methods did not work (anymore?). It should work in b464897 again.

from evil.

TheBB avatar TheBB commented on May 13, 2024

Original comment by Michael Markert (Bitbucket: cofi, GitHub: cofi):


What I meant wrt to input method: Typing any char triggered an error. Should've made this clear :(

The change seems to fix it, I don't run into the issue anymore.

For completeness sake: I changed `evil-repeat-record-command' this way:

 (defun evil-repeat-record-command (&optional repeat-type)
   "Calls the post-repeat-information of the current command."
   ;; finish repeation of current command
   (let ((repeat-type (or repeat-type
                          (evil-repeat-type this-command t))))
-    (funcall repeat-type 'post)))
+    (if repeat-type
+      (funcall repeat-type 'post))))

But since evil-repeat-type' can return nil and repeat-type' is optional you should consider adding such a check.

from evil.

TheBB avatar TheBB commented on May 13, 2024

Original comment by Frank Fischer (Bitbucket: lyro, GitHub: lyro):


I'm sorry but I find this bug report really confusing and difficult to understand. I hope I fixed the bug in 8fac166. If not, please give an example of what is going wrong. Of course, you are encouraged to give hints where the bug may be, but without an example it is very hard to figure out what fails at all.

from evil.

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.