Giter VIP home page Giter VIP logo

Comments (6)

purcell avatar purcell commented on May 13, 2024

Which library requires this? I see you've put the fix next to global-pointback-mode, but that mode doesn't use called-interactively-p.

from emacs.d.

redguardtoo avatar redguardtoo commented on May 13, 2024

pointback. that's what I got the callstack.

Looks org-mode solved same problem (elpa/org-20120113/org-macs.el)
(defmacro org-called-interactively-p (&optional kind) (if (featurep 'xemacs)(interactive-p)
(if (or (> emacs-major-version 23)
(and (>= emacs-major-version 23)
(>= emacs-minor-version 2)))
(with-no-warnings (called-interactively-p ,kind)) ;; defined with no argument in <=23.1 (interactive-p))))
(def-edebug-spec org-called-interactively-p (&optional ("quote" symbolp)))
`

from emacs.d.

purcell avatar purcell commented on May 13, 2024

Aha, I see that the snapshots of lua-mode and magit-svn have code which passes args to called-interactively-p...

from emacs.d.

purcell avatar purcell commented on May 13, 2024

I committed a fix (which is slightly different to yours, but identical in intent); it's in a new file called init-compat.el, which I'll reserve for backwards-compatibility hacks. I remain confused about pointback.el, because that file certainly contains no reference to that function.

Thanks for the report, and the code!

from emacs.d.

redguardtoo avatar redguardtoo commented on May 13, 2024

I double checked and it's pointback.

Here is Message from emacs 23.1

("emacs" "--debug-init")
Loading /usr/share/emacs/site-lisp/site-start.d/focus-init.el (source)...done
Loading /usr/share/emacs/site-lisp/site-start.d/php-mode-init.el (source)...done
Loading /usr/share/emacs/site-lisp/site-start.d/po-mode-init.el (source)...done
Loading /usr/share/emacs/site-lisp/site-start.d/rpm-spec-mode-init.el (source)...done
Loading /home/cb/.recentf...done
Cleaning up the recentf list...
File /home/cb/projs/moonlet/src/CMakeLists.txt removed from the recentf list
File /home/cb/projs/moonlet/src/core/moon/src/moonlet_exe.cpp removed from the recentf list
File /home/cb/projs/moonlet/src/core/CMakeLists.txt removed from the recentf list
File /home/cb/projs/moonlet/src/web/webmodule/CMakeLists.txt removed from the recentf list
Cleaning up the recentf list...done (4 removed)
Ido mode enabled
Entering debugger...
pointback-mode: Wrong number of arguments: called-interactively-p, 1

from emacs.d.

purcell avatar purcell commented on May 13, 2024

Hmm, odd. Hard to see what's happening without the traceback. Anyway, I guess we've worked around the error now.

from emacs.d.

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.