From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: image-transform.el and image-mode.el rewrite Date: Fri, 19 Dec 2014 12:50:20 -0500 Message-ID: References: <87a9lp8uxk.fsf@gmail.com> <87ppuk6qqb.fsf@gmail.com> <87vc49y793.fsf@gmail.com> <87ppuhxk04.fsf@gmail.com> <87ehavihbp.fsf_-_@gmail.com> <1a7ggiwcta.fsf@fencepost.gnu.org> <1uwqlnr5yh.fsf@fencepost.gnu.org> <87siwbnxan.fsf@gmail.com> <878uy348h3.fsf@web.de> <87tx0xdzqo.fsf@gmail.com> <87oar0tudb.fsf@gmail.com> <83a92kt3u7.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1419011520 14750 80.91.229.3 (19 Dec 2014 17:52:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 19 Dec 2014 17:52:00 +0000 (UTC) Cc: michael_heerdegen@web.de, rgm@gnu.org, spinuvit@gmail.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 19 18:51:53 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Y21iS-0003Ug-Dd for ged-emacs-devel@m.gmane.org; Fri, 19 Dec 2014 18:51:52 +0100 Original-Received: from localhost ([::1]:59988 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y21iR-0002oK-Sj for ged-emacs-devel@m.gmane.org; Fri, 19 Dec 2014 12:51:51 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59701) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y21iH-0002oA-OD for emacs-devel@gnu.org; Fri, 19 Dec 2014 12:51:49 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y21iA-0006So-8s for emacs-devel@gnu.org; Fri, 19 Dec 2014 12:51:41 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:30824) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y21i1-0006QB-Ts; Fri, 19 Dec 2014 12:51:25 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjsPAOwQflTO+ILA/2dsb2JhbABbgweDYIVaxR0EAgKBJBcBAQEBAQF8hAMBAQMBViMQCzQSFBgNJIhKCdZZAQEBAQYBAQEBHpBvB4RIBYsBpC6BeIQZIYJ3AQEB X-IPAS-Result: AjsPAOwQflTO+ILA/2dsb2JhbABbgweDYIVaxR0EAgKBJBcBAQEBAQF8hAMBAQMBViMQCzQSFBgNJIhKCdZZAQEBAQYBAQEBHpBvB4RIBYsBpC6BeIQZIYJ3AQEB X-IronPort-AV: E=Sophos;i="5.07,502,1413259200"; d="scan'208";a="103001270" Original-Received: from 206-248-130-192.dsl.teksavvy.com (HELO pastel.home) ([206.248.130.192]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 19 Dec 2014 12:50:21 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id BDBD7114E; Fri, 19 Dec 2014 12:50:20 -0500 (EST) In-Reply-To: <83a92kt3u7.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 19 Dec 2014 10:56:48 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:180338 Archived-At: >> > 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. Stefan