unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Michael Anckaert <michael.anckaert@sinax.be>
To: Help-gnu-emacs@gnu.org
Subject: Enabling mode for part of buffer / region
Date: Thu, 23 Jan 2020 11:14:43 +0100	[thread overview]
Message-ID: <87tv4mv5rg.fsf@winston.localdomain> (raw)

Hello everyone,

I'm sure I'm missing something obvious but I wondered if I can enable a
mode for part of a buffer.

Suppose I'm writing an email and would like to enable python-mode in
the email, but only for a selected part.
Is this possible in Emacs? 

Kind regards

-- 
Michael Anckaert
+32 474 066 467
https://www.sinax.be



             reply	other threads:[~2020-01-23 10:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-23 10:14 Michael Anckaert [this message]
2020-01-23 17:00 ` Enabling mode for part of buffer / region Drew Adams
2020-01-23 19:33   ` Michael Anckaert
2020-01-23 19:38     ` Drew Adams
2020-01-24 10:49 ` Michael Anckaert
2020-01-24 11:16   ` tomas

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87tv4mv5rg.fsf@winston.localdomain \
    --to=michael.anckaert@sinax.be \
    --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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).