From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Michael Anckaert Newsgroups: gmane.emacs.help Subject: Enabling mode for part of buffer / region Date: Thu, 23 Jan 2020 11:14:43 +0100 Message-ID: <87tv4mv5rg.fsf@winston.localdomain> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="122340"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.1.0; emacs 26.3 To: Help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jan 23 15:11:15 2020 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iudCU-000VnP-IK for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 23 Jan 2020 15:11:14 +0100 Original-Received: from localhost ([::1]:57732 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iudCT-0007U0-3m for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 23 Jan 2020 09:11:13 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37747) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iuZVg-0007V7-Ij for Help-gnu-emacs@gnu.org; Thu, 23 Jan 2020 05:14:49 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iuZVf-0004Cl-BH for Help-gnu-emacs@gnu.org; Thu, 23 Jan 2020 05:14:48 -0500 Original-Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]:33800) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iuZVf-0004CB-55 for Help-gnu-emacs@gnu.org; Thu, 23 Jan 2020 05:14:47 -0500 Original-Received: by mail-wm1-x334.google.com with SMTP id s144so1507248wme.1 for ; Thu, 23 Jan 2020 02:14:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sinax.be; s=google; h=user-agent:from:to:subject:date:message-id:mime-version; bh=uNmVPniyVBrSzuABgWht3bvZiGZ1CwUAzx4F3D9mmKg=; b=Bo7bpIi4qeyaW4NR6Tlbu5xJThBY2mQF7PERFOFJAJIAn9I0txvAxsBdezpCaxXIur mH7pqMtLHx2l9zURuRcBhzuI2Oj7Qx8qwOvc9smnvFJW/tcGY/ITYrOuK9ZtcCpiksfr ofIv9nbDpYb7Lz0WiIAY/2fulGV1vdm42OtSA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:user-agent:from:to:subject:date:message-id :mime-version; bh=uNmVPniyVBrSzuABgWht3bvZiGZ1CwUAzx4F3D9mmKg=; b=a0z7u5/ENaQ8rDvpNehFzHjQ3LK0Cc/us59fyCG66LSO3oC3apMCRn8nT1jKytf7pN 0CicJdt5w4jmZk7aoyQIl+Iaf88sjgoDXVwYQdVCUlLzevAy/nMFn0E8J5wy36XnZXPN SxY8CO6Th72vtAQm8woeFB3G12GyhffMTS7u++S3/6B4Xum+bzI/cPoI8KgrH6gmDu9a l/RUjFhWcl/zdLXI1EsutogzTPdOedSZZgzFwCNKVx46wRQHH2wOEHf4k3oS6hZTmFDi U4CUFb5HjCiUOASu9kyOZmp7Oqj3HeImknKUEyowXQvj6jPJubVYTBVoVu4o/68cXjH8 V1Hg== X-Gm-Message-State: APjAAAWTbvIyqHUV3F3aKgkH+7Ts3+5XsKRopbC7hb2ibZOcLwZfRKhY HhEFoG50w3B6LtOa4vQpxeVKy+8JiecBpw== X-Google-Smtp-Source: APXvYqwMj1iQpd/jBJZzwQDrp8BneyalZDbCnito5pFMUIu+KpwQd8HBByQKY5Qwk6v9MqRTNIx6Mg== X-Received: by 2002:a7b:cd8e:: with SMTP id y14mr3538769wmj.90.1579774484649; Thu, 23 Jan 2020 02:14:44 -0800 (PST) Original-Received: from winston.localdomain (242.124-78-194.adsl-static.isp.belgacom.be. [194.78.124.242]) by smtp.gmail.com with ESMTPSA id h2sm2444004wrv.66.2020.01.23.02.14.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Jan 2020 02:14:44 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::334 X-Mailman-Approved-At: Thu, 23 Jan 2020 08:52:52 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:122263 Archived-At: 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