Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0007610OCamlemacs modepublic2017-08-21 01:272017-09-30 16:26
Reportersebmondet 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSEmacs 25OS Version
Product Version 
Target Version4.06.0 +dev/beta1/beta2/rc1Fixed in Version4.06.0 +dev/beta1/beta2/rc1 
Summary0007610: Emacs mode uses variable that has been removed from Emacs 25
DescriptionThe `last-command-char` variable does not exist any more in Emacs ? 25.

It's used in `caml-abbrev-hook`:
https://github.com/ocaml/ocaml/blob/trunk/emacs/caml.el#L1767 [^]

See also https://emacs.stackexchange.com/questions/27920/symbol-s-value-as-variable-is-void-last-command-char-when-trying-to-insert-brac [^]

Steps To ReproduceType a keyword like `in` and then an Emacs command.
Additional InformationBypassed the problem with:

    (defun caml-abbrev-hook () (progn (message "abbrev-caml")))

TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0018189)
psteckler (reporter)
2017-08-21 17:29

`last-command-char' isn't in 24.5, either.

In older Emacs version, it appears to have been a synonym for `last-command-event', which is still present in Emacs 25.
(0018422)
xleroy (administrator)
2017-09-30 16:26

Thanks @psteckler for the suggested fix and Stefan Monnier for confirming it. last-comment-event it is. [trunk 16efe10] [4.06 341a1e7]

- Issue History
Date Modified Username Field Change
2017-08-21 01:27 sebmondet New Issue
2017-08-21 17:29 psteckler Note Added: 0018189
2017-09-30 10:37 xleroy Status new => acknowledged
2017-09-30 10:37 xleroy Target Version => 4.06.0 +dev/beta1/beta2/rc1
2017-09-30 10:37 xleroy Steps to Reproduce Updated View Revisions
2017-09-30 10:37 xleroy Additional Information Updated View Revisions
2017-09-30 16:26 xleroy Note Added: 0018422
2017-09-30 16:26 xleroy Status acknowledged => resolved
2017-09-30 16:26 xleroy Resolution open => fixed
2017-09-30 16:26 xleroy Fixed in Version => 4.06.0 +dev/beta1/beta2/rc1


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker