emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Wrong LENGTH passed to AFTER-CHANGED-FUNCTIONS when using UNCOMMENT-REGI


From: Qiantan Hong
Subject: Wrong LENGTH passed to AFTER-CHANGED-FUNCTIONS when using UNCOMMENT-REGION with MARKER arguments?
Date: Wed, 10 Feb 2021 00:32:28 +0000

Way to reproduce: 
Have the following in buffer

;; (thing)

M-: (uncomment-region (save-excursion (goto-char <before-;;>) (point-marker))
(save-excursion (goto-char <after-(thing);>) (point-marker)))

I get 
  (#<marker at 448 in *scratch*> #<marker at 458 in *scratch*>)
passed to before-change-functions,
  (#<marker at 448 in *scratch*> 455 7)
passed to after-change-functions

However, the LENGTH should be 10 instead of 7.

Any ideas?



Best,
Qiantan

Attachment: smime.p7s
Description: S/MIME cryptographic signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]