From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Newsgroups: gmane.emacs.help Subject: Re: Editing MediaWiki pages Date: Wed, 15 Nov 2017 17:47:12 +0100 Message-ID: <20171115164712.GA27563@tuxteam.de> References: <878tfyzmeq.fsf@gmail.com> <87vaixx9yf.fsf@skimble.plus.com> <87375gptjl.fsf@gmail.com> <87efozedoo.fsf@skimble.plus.com> <86o9o3zfpd.fsf@zoho.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; x-action=pgp-signed X-Trace: blaine.gmane.org 1510764476 12088 195.159.176.226 (15 Nov 2017 16:47:56 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 15 Nov 2017 16:47:56 +0000 (UTC) User-Agent: Mutt/1.5.21 (2010-09-15) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Nov 15 17:47:52 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 1eF0qr-0002dS-7n for geh-help-gnu-emacs@m.gmane.org; Wed, 15 Nov 2017 17:47:49 +0100 Original-Received: from localhost ([::1]:36884 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eF0qy-0000Ly-Lk for geh-help-gnu-emacs@m.gmane.org; Wed, 15 Nov 2017 11:47:56 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55271) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eF0qZ-0000Lt-4T for help-gnu-emacs@gnu.org; Wed, 15 Nov 2017 11:47:31 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eF0qV-0000qm-7a for help-gnu-emacs@gnu.org; Wed, 15 Nov 2017 11:47:31 -0500 Original-Received: from mail.tuxteam.de ([5.199.139.25]:45819) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eF0qU-0000ie-T1 for help-gnu-emacs@gnu.org; Wed, 15 Nov 2017 11:47:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tuxteam.de; s=20171004; h=From:In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:To:Date; bh=pKhxFuYt2ECZ32MWZrmQjW6R/nmVX/onUW9GtAWkJxU=; b=qiy9GT4PlrbQkCN57gA74Z367h7AoZDTmDPnB4IV8jMgY3LH6NV+F7/gAy6j6+77g1Y5RUOJqdbnmqR2AbEtny6CXxH2CPNGKc2bGDQ2I1lAViNaj+DZilsfplZ6/Iksrtsr8usG+PBiq0Jue1zF9mvmziLS/nTwZ+0RuEWiC3u4uY3Tut/yJwk9A/rFRoX3M7mhNQfXogdUFr5z/OpzrBSw1oDXGQl6ZuLtkAWUp5uC1Mr4SY/BXh5o5yPwuUEwCnpTRE6T1i7S+Fd2SDjiHTPCHE3M7RTK/w+JETWlQ2HcG3sd10KQSKVmU3pBgFs6fQL/PayIWMzDjx6S9VLE2A==; Original-Received: from tomas by mail.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1eF0qG-0007CG-9F for help-gnu-emacs@gnu.org; Wed, 15 Nov 2017 17:47:12 +0100 In-Reply-To: <86o9o3zfpd.fsf@zoho.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 5.199.139.25 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:114883 Archived-At: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, Nov 15, 2017 at 05:09:34PM +0100, Emanuel Berg wrote: > Sharon Kimble wrote: > > >> How do you insert these code blocks that get > >> syntax highlighted in Emacs/Gnus? > > > > Both of these blocks came from my emacs init > > file, in my case an org-file, and they then > > are able to be used as required. > > > > Does this help? > > I'm pretty sure he meant the begin/end block > around the source so that Gnus shows the code > with font lock as would a regular .el file only > still in article mode... Those BEGIN_SRC/END_SRC are standard org-mode markup for source code blocks. Cheers - -- t -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAloMb5AACgkQBcgs9XrR2kYdBQCfQijPIFAT+kBORU7f3AbXBgET B6gAn0DiRMutPjFGY1Ci2gRuHoZ1a8wO =sx0P -----END PGP SIGNATURE-----