Public bug reported:

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)

** Affects: ocaml
     Importance: Unknown
         Status: Unknown

** Affects: ocaml (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug bionic

** Bug watch added: github.com/ocaml/tuareg/issues #144
   https://github.com/ocaml/tuareg/issues/144

** Also affects: ocaml via
   https://github.com/ocaml/tuareg/issues/144
   Importance: Unknown
       Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1758562

Title:
  Warnings using ocaml-mode with emacs25

To manage notifications about this bug go to:
https://bugs.launchpad.net/ocaml/+bug/1758562/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to