From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#6276: Could indent-tabs-mode etc be made minor modes? Date: Mon, 31 May 2010 16:32:55 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1275339474 16151 80.91.229.12 (31 May 2010 20:57:54 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 31 May 2010 20:57:54 +0000 (UTC) Cc: 6276@debbugs.gnu.org To: Lennart Borgman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon May 31 22:57:50 2010 connect(): No such file or directory Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OJC3S-0007jW-2k for geb-bug-gnu-emacs@m.gmane.org; Mon, 31 May 2010 22:57:50 +0200 Original-Received: from localhost ([127.0.0.1]:38634 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OJC3Q-0007m3-RB for geb-bug-gnu-emacs@m.gmane.org; Mon, 31 May 2010 16:57:48 -0400 Original-Received: from [140.186.70.92] (port=53329 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OJC3J-0007kL-Nv for bug-gnu-emacs@gnu.org; Mon, 31 May 2010 16:57:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OJC3I-0006zQ-G9 for bug-gnu-emacs@gnu.org; Mon, 31 May 2010 16:57:41 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53161) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OJC3I-0006zM-B7 for bug-gnu-emacs@gnu.org; Mon, 31 May 2010 16:57:40 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OJBfR-00080n-Kq; Mon, 31 May 2010 16:33:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 31 May 2010 20:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6276 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6276-submit@debbugs.gnu.org id=B6276.127533797930791 (code B ref 6276); Mon, 31 May 2010 20:33:01 +0000 Original-Received: (at 6276) by debbugs.gnu.org; 31 May 2010 20:32:59 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OJBfO-00080a-B9 for submit@debbugs.gnu.org; Mon, 31 May 2010 16:32:58 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OJBfN-00080U-Dt for 6276@debbugs.gnu.org; Mon, 31 May 2010 16:32:57 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAGK5A0xMCpdY/2dsb2JhbACeKXK/T4UWBIxM X-IronPort-AV: E=Sophos;i="4.53,335,1272859200"; d="scan'208";a="66435059" Original-Received: from 76-10-151-88.dsl.teksavvy.com (HELO pastel.home) ([76.10.151.88]) by ironport2-out.pppoe.ca with ESMTP; 31 May 2010 16:32:55 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 2257B81F8; Mon, 31 May 2010 16:32:55 -0400 (EDT) In-Reply-To: (Lennart Borgman's message of "Wed, 26 May 2010 18:56:13 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 31 May 2010 16:33:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:37461 Archived-At: > I just saw on EmacsWiki a list of minor modes that do not have a > command for turning them on, for example indent-tabs-mode. This is > instead a defcustom. > Could this be turned into a global minor mode, for example with > something like Sounds OK to me. > (define-minor-mode indent-tabs-mode > "test" > :global t > :variable indent-tabs-mode) I'd rather keep the :variable uses to a minimum. In the case of indent-tabs-mode, maybe the better course of action is to move `indent-to' and `indent-tabs-mode' from C to Lisp. Stefan