[Top][All Lists]

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

Re: image-transform.el and image-mode.el rewrite

From: Stefan Monnier
Subject: Re: image-transform.el and image-mode.el rewrite
Date: Fri, 19 Dec 2014 12:50:20 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

>> > With the exception of `image-mode-fit-frame` all renames either added or
>> > removed -mode- from the name. The rationale is very simple. Functions
>> > that operate on images and are meaningful outside of `image-mode` don't
>> > have -mode- in the name.
>> Makes sense.
> Now _I_ am confused.  I thought the "image-mode-" prefix was for
> namespace reasons, because the symbols are defined in a package named
> "image-mode".  I thought this was our rule: to request such prefixes
> based on the package name.

Many packages use more than one prefix.  Some packages use only one
prefix, but it is slightly different from the file name.  Other packages
use one prefix shared by several files.
So, the rule is somewhat flexible.

If someone wants to formalize it, be my guest, but I haven't seen any
need for it so far.


reply via email to

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