Warnings using ocaml-mode with emacs25

Bug #1758562 reported by Ian Turner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OCaml
Fix Released
Unknown
ocaml (Ubuntu)
New
Undecided
Unassigned

Bug Description

caml.el generates these warnings when used with emacs25:

/usr/share/emacs25/site-lisp/ocaml-mode/caml.elc:Warning: Use
    ‘with-current-buffer’ rather than save-excursion+set-buffer
/usr/share/emacs25/site-lisp/ocaml-mode/caml.elc:Warning: ‘next-line’ is for
    interactive use only; use ‘forward-line’ instead.

This is fixed in ocaml 4.06; The patch is here <https://github.com/ocaml/ocaml/pull/1296/files/dd457317adf5129b2026e71f5c686a375338143a>

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: ocaml-mode 4.05.0-10ubuntu1
Uname: Linux 4.16.0-041600rc6-generic x86_64
NonfreeKernelModules: rfcomm ccm cmac bnep snd_hda_codec_hdmi snd_hda_codec_idt intel_rapl x86_pkg_temp_thermal intel_powerclamp snd_hda_codec_generic coretemp kvm arc4 snd_hda_intel snd_hda_codec iwldvm mac80211 snd_hda_core snd_hwdep irqbypass intel_cstate btusb btrtl btbcm snd_pcm snd_seq_midi snd_seq_midi_event intel_rapl_perf input_leds iwlwifi hp_wmi snd_rawmidi mei_me joydev sparse_keymap serio_raw wmi_bmof btintel bluetooth snd_seq snd_seq_device cfg80211 rtsx_pci_ms snd_timer memstick ecdh_generic mei snd shpchp hp_accel lis3lv02d lpc_ich sch_fq_codel soundcore input_polldev tpm_infineon mac_hid hp_wireless ie31200_edac parport_pc ppdev lp parport ip_tables x_tables autofs4 algif_skcipher af_alg dm_crypt crct10dif_pclmul i915 crc32_pclmul ghash_clmulni_intel pcbc rtsx_pci_sdmmc aesni_intel i2c_algo_bit aes_x86_64 drm_kms_helper crypto_simd glue_helper cryptd psmouse syscopyarea sysfillrect e1000e sysimgblt fb_sys_fops ahci drm ptp libahci rtsx_pci pps_core wmi video
ApportVersion: 2.20.8-0ubuntu10
Architecture: amd64
CurrentDesktop: KDE
Date: Sat Mar 24 13:37:44 2018
Dependencies: emacsen-common 2.0.8
InstallationDate: Installed on 2018-03-23 (1 days ago)
InstallationMedia: Kubuntu 18.04 LTS "Bionic Beaver" - Alpha amd64 (20180306.1)
PackageArchitecture: all
SourcePackage: ocaml
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Ian Turner (vectro) wrote :
Changed in ocaml:
status: Unknown → New
Changed in ocaml:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.