Code Monkey home page Code Monkey logo

Comments (4)

sam-s avatar sam-s commented on May 30, 2024

when I break out of this error with C-], I get

Debugger entered--Lisp error: (error "Lisp nesting exceeds `max-lisp-eval-depth'")
  newline(nil t)
  #[0 "\300\301!\210\302\303\301\"\210\304 \207" [delete-horizontal-space t newline nil indent-according-to-mode] 3 1969522 "*"]()
  ad-Advice-newline-and-indent(#[0 "\300\301!\210\302\303\301\"\210\304 \207" [delete-horizontal-space t newline nil indent-according-to-mode] 3 1969522 "*"])
  apply(ad-Advice-newline-and-indent #[0 "\300\301!\210\302\303\301\"\210\304 \207" [delete-horizontal-space t newline nil indent-according-to-mode] 3 1969522 "*"] nil)
  newline-and-indent()
  call-interactively(newline-and-indent nil nil)
  command-execute(newline-and-indent)

and post-self-insert-hook contains

#[0 "�\203
�\304`\305\300!Z`\"\210\212\302b\210\306 \210\307\310!\203&�\311 \312V\203&�`\313 |\210)\301\206/�\314\315\316\"\207"
   [nil nil 334 use-hard-newlines set-hard-newline-properties prefix-numeric-value beginning-of-line looking-at "[  ]$" current-left-margin 0 line-end-position move-to-left-margin nil t]
   4 "\n\n(fn)"]

which totally breaks emacs - the point jumps to beginning of line on every self-insert

from pig-mode.

motus avatar motus commented on May 30, 2024

@sam-s thanks a lot for your detailed feedback! I'll take a look at the code. @ayman do you want to look at it, too?

from pig-mode.

ayman avatar ayman commented on May 30, 2024

Sorry, just now caught this. Did it get resolved already?

from pig-mode.

motus avatar motus commented on May 30, 2024

@ayman yes! check out the latest version from the master branch

from pig-mode.

Related Issues (3)

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.