From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.bugs Subject: bug#11995: vc-compilation-mode name and implementation Date: Thu, 19 Jul 2012 15:38:23 -0400 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1342726738 5286 80.91.229.3 (19 Jul 2012 19:38:58 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 19 Jul 2012 19:38:58 +0000 (UTC) To: 11995@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 19 21:38:57 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1SrwYo-0001Tw-Tf for geb-bug-gnu-emacs@m.gmane.org; Thu, 19 Jul 2012 21:38:55 +0200 Original-Received: from localhost ([::1]:59962 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SrwYo-0008MF-9o for geb-bug-gnu-emacs@m.gmane.org; Thu, 19 Jul 2012 15:38:54 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:48209) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SrwYl-0008Lf-4N for bug-gnu-emacs@gnu.org; Thu, 19 Jul 2012 15:38:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SrwYk-0004Hm-3c for bug-gnu-emacs@gnu.org; Thu, 19 Jul 2012 15:38:51 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41688) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SrwYk-0004Hg-0P for bug-gnu-emacs@gnu.org; Thu, 19 Jul 2012 15:38:50 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1Srwek-0006MH-KH for bug-gnu-emacs@gnu.org; Thu, 19 Jul 2012 15:45:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dan Nicolaescu Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 19 Jul 2012 19:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 11995 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.134272708324396 (code B ref -1); Thu, 19 Jul 2012 19:45:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 19 Jul 2012 19:44:43 +0000 Original-Received: from localhost ([127.0.0.1]:51234 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SrweQ-0006LR-J3 for submit@debbugs.gnu.org; Thu, 19 Jul 2012 15:44:43 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:43454) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SrweO-0006LK-5w for submit@debbugs.gnu.org; Thu, 19 Jul 2012 15:44:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SrwYM-0004CF-HG for submit@debbugs.gnu.org; Thu, 19 Jul 2012 15:38:27 -0400 Original-Received: from lists.gnu.org ([208.118.235.17]:40767) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SrwYM-0004CA-FO for submit@debbugs.gnu.org; Thu, 19 Jul 2012 15:38:26 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:47972) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SrwYL-0007zr-5y for bug-gnu-emacs@gnu.org; Thu, 19 Jul 2012 15:38:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SrwYK-0004Av-AC for bug-gnu-emacs@gnu.org; Thu, 19 Jul 2012 15:38:25 -0400 Original-Received: from fencepost.gnu.org ([208.118.235.10]:48378) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SrwYK-0004Ar-6l for bug-gnu-emacs@gnu.org; Thu, 19 Jul 2012 15:38:24 -0400 Original-Received: from dann by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1SrwYJ-0001nN-UA for bug-gnu-emacs@gnu.org; Thu, 19 Jul 2012 15:38:23 -0400 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:62170 Archived-At: The newly added vc-compilation-mode function does not have the best name, -mode functions stand for modes, this is not one. Currently the preferred way to define modes is to use `defined-derived-mode'... Also the implementation seems to be a bit more complicated than needed: there Defining a vc-default-compilation-mode function should simplify the implementation. vc-make-backend-sym is something that very few things need to call. I'm leaving on vacation, so I won't be able to do much about this for a while.