Closed kaushalmodi closed 8 years ago
Actually, I am thinking of replacing all *interleave--foo*
and interleave--foo
with interleave-foo
.
@kaushalmodi Thanks for the feedback.
(1) Did this change meanwhile? When I started the package I thought the *-mode
suffix was only for major modes. Anyway, if this is the community and Emacs standard we should change it to interleave-mode
.
(2) Yes. Definitely.
Ideally, when we changed the name and straighten the interface issue #19 should be addressed.
Hi,
I was revisiting interleave.el, and wanted to clean up the naming of various funcitons and the interleave minor mode.
(1) Rename
interleave
minor mode tointerleave-mode
Right now we get this warning:
It is a convention to name a minor mode ending with
-mode
. Also I have verified that renaming as above gets rid of that warning when byte-compiling interleave.el. That would mean a backward incompatible change. But theinterleave
name can be marked as obsolete and then later removed after few months if you like.(2) Remove
--
from the names of commands meant to be used by the end-user.The convention is to use
--
only for the functions that are used internally, and definitely not for the interactive functions aka commands. Would you want to refactor the code so thatinterleave--
is used solely for internal functions.If you'd like I can send a PR for these changes.