From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Emanuel Berg Newsgroups: gmane.emacs.help Subject: Re: Enabling modes Date: Sat, 09 Sep 2017 19:27:43 +0200 Organization: Aioe.org NNTP Server Message-ID: <86zia3pysw.fsf@zoho.com> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1504978234 5711 195.159.176.226 (9 Sep 2017 17:30:34 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 9 Sep 2017 17:30:34 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Sep 09 19:30:29 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dqjaK-0000xx-Sg for geh-help-gnu-emacs@m.gmane.org; Sat, 09 Sep 2017 19:30:24 +0200 Original-Received: from localhost ([::1]:50342 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dqjaP-0002MQ-07 for geh-help-gnu-emacs@m.gmane.org; Sat, 09 Sep 2017 13:30:29 -0400 Original-Path: usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!feeder.erje.net!1.eu.feeder.erje.net!news.albasani.net!news.mixmin.net!aioe.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 23 Original-NNTP-Posting-Host: XiPr5pdukK7aCRjr/wfS1Q.user.gioia.aioe.org Original-X-Complaints-To: abuse@aioe.org Cancel-Lock: sha1:lJSf+dskkAl8GM8P6ezbw9nGqbU= Mail-Copies-To: never X-Notice: Filtered by postfilter v. 0.8.2 Original-Xref: usenet.stanford.edu gnu.emacs.help:220106 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:114212 Archived-At: Robert Thorpe wrote: > Usually modes are set up the other way around, > by including things. Mode X is triggered for > languages Y and Z, for example. I want it the > opposite way around, I want visual-line-mode to > be always enabled unless I have > a tab-separated-value file. `setq-default' then disable in mode hooks. Or enable in every mode is what I would do. E.g., I don't know how many programming modes have have enabled line number in the mode bar. But it is many. But not many enough for it be a burden to do. On the contrary it is very fast. -- underground experts united http://user.it.uu.se/~embe8573