branch: scratch/editorconfig-cc commit b902de5bb4af12f829c3d7f77e2d55b98cc753c6 Author: 10sr <8.slas...@gmail.com> Commit: Stefan Monnier <monn...@iro.umontreal.ca>
Add debug message to -set-coding-system --- editorconfig.el | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/editorconfig.el b/editorconfig.el index 030802304f..5e2b941ce2 100644 --- a/editorconfig.el +++ b/editorconfig.el @@ -388,6 +388,13 @@ Make a message by passing ARGS to `format-message'." "Set buffer coding system by END-OF-LINE and CHARSET." (let ((coding-system (editorconfig-merge-coding-systems end-of-line charset))) + (display-warning '(editorconfig editorconfig-set-coding-system) + (format "buffer-file-name: %S | buffer-file-coding-system: %S | coding-system: %S | apply-currently: %S" + buffer-file-name + buffer-file-coding-system + coding-system + editorconfig--apply-coding-system-currently) + :debug) (when (eq coding-system 'undecided) (cl-return-from editorconfig-set-coding-system)) (unless (file-readable-p buffer-file-name)