New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
caml-types-explore (emacs) #8319
Comments
Comment author: administrator Thanks for you bug report. Every think should now be fixed in the CVS More precisely...
Yes. This was a real problem, but only in the compiled version. The The problem is fixed by making caml-track-mouse a macro instead of an alias.
Yes. This is now fixed.
Yes. This is now fixed.
This should not appear anymore here as the result of previous fixes. 'caml-types-explore' is activated by a [mouse-down] event. Then it follows There is not easy fix. I've made two pacthes. First, in case of an error, I now consume the next event, which in general Still, another change to prevent them was not only to [mouse-down-2] to Hope that this solves all the problems.
|
Original bug ID: 1872
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Bug description
Full_Name: Eric Cooper
Version: 3.07
OS: i686 GNU/Linux
Submission from: 12-203-149-172.client.attbi.com (12.203.149.172)
The emacs function caml-types-explore, bound to the middle mouse button, works
fine while the mouse button is held down, but produces an error when the mouse
button is released:
Invalid function: #
The problem is the (unwind-protect (caml-track-mouse ...) ...) form. It works
OK if you replace caml-track-mouse by track-mouse. I assume the defalias
doesn't work because track-mouse is itself a special form.
A couple of related problems with this function:
The very first time I click on an expression, it displays no type information.
Subsequent clicks work fine.
If there are no .annot files, I get a "wrong type argument: number-or-marker-p"
error. This one is annoying, because it also pastes the X cut buffer at that
point, modifying the file in a random way.
Minor problems aside, this is a great feature -- thanks a lot.
The text was updated successfully, but these errors were encountered: