all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Emanuel Berg <moasen@zoho.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Enabling modes
Date: Sat, 09 Sep 2017 19:27:43 +0200	[thread overview]
Message-ID: <86zia3pysw.fsf@zoho.com> (raw)
In-Reply-To: mailman.198.1504977154.14750.help-gnu-emacs@gnu.org

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


       reply	other threads:[~2017-09-09 17:27 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.198.1504977154.14750.help-gnu-emacs@gnu.org>
2017-09-09 17:27 ` Emanuel Berg [this message]
2017-09-09 17:12 Enabling modes Robert Thorpe
2017-09-09 17:50 ` Eli Zaretskii
2017-09-12 22:35   ` Robert Thorpe
2017-09-12 22:45     ` Emanuel Berg
2017-09-11  2:41 ` Nick Helm
2017-09-12 22:30   ` Robert Thorpe
     [not found] ` <mailman.294.1505097738.14750.help-gnu-emacs@gnu.org>
2017-09-11  2:57   ` Emanuel Berg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86zia3pysw.fsf@zoho.com \
    --to=moasen@zoho.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.