From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: phillip.lord@newcastle.ac.uk (Phillip Lord) Newsgroups: gmane.emacs.help Subject: Re: Editing comments Date: Mon, 08 Jun 2015 15:24:47 +0100 Message-ID: <87eglmnuq8.fsf@newcastle.ac.uk> References: <5571456C.1060807@easy-emacs.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1433773528 8117 80.91.229.3 (8 Jun 2015 14:25:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Jun 2015 14:25:28 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Andreas =?utf-8?Q?R=C3=B6hler?= Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jun 08 16:25:22 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Z1xzO-0008KP-AE for geh-help-gnu-emacs@m.gmane.org; Mon, 08 Jun 2015 16:25:22 +0200 Original-Received: from localhost ([::1]:58280 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z1xzN-000623-P1 for geh-help-gnu-emacs@m.gmane.org; Mon, 08 Jun 2015 10:25:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51374) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z1xyy-0005di-23 for help-gnu-emacs@gnu.org; Mon, 08 Jun 2015 10:25:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z1xyu-0000HQ-TD for help-gnu-emacs@gnu.org; Mon, 08 Jun 2015 10:24:56 -0400 Original-Received: from cheviot22.ncl.ac.uk ([128.240.234.22]:38510) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z1xyu-0000Fi-Np for help-gnu-emacs@gnu.org; Mon, 08 Jun 2015 10:24:52 -0400 Original-Received: from smtpauth-vm.ncl.ac.uk ([10.8.233.129] helo=smtpauth.ncl.ac.uk) by cheviot22.ncl.ac.uk with esmtp (Exim 4.63) (envelope-from ) id 1Z1xyq-0006Fe-DR; Mon, 08 Jun 2015 15:24:48 +0100 Original-Received: from jangai.ncl.ac.uk ([10.66.67.223] helo=localhost) by smtpauth.ncl.ac.uk with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.63) (envelope-from ) id 1Z1xyq-0005HG-0M; Mon, 08 Jun 2015 15:24:48 +0100 In-Reply-To: <5571456C.1060807@easy-emacs.de> ("Andreas \=\?utf-8\?Q\?R\=C3\=B6h\?\= \=\?utf-8\?Q\?ler\=22's\?\= message of "Fri, 5 Jun 2015 08:45:00 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.0.0.0 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 128.240.234.22 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:104835 Archived-At: lentic You can use it to have two buffers one in (say) emacs-lisp and one is (say) org-mode. You can edit either view and everything stays in sync. The two buffers can be different -- so in the emacs-lisp view, all the documentation is commented out, while in the org-mode view it is not. Phil Andreas R=C3=B6hler writes: > Hi, > > commented code might need some edits too. In that case some basic commands > like forward-sexp are not available. > > Is there a minor-mode, un-commenting temporarily, writing back the result? > > Thanks, > > Andreas > > > --=20 Phillip Lord, Phone: +44 (0) 191 208 7827 Lecturer in Bioinformatics, Email: phillip.lord@newcastle.ac.uk School of Computing Science, http://homepages.cs.ncl.ac.uk/phill= ip.lord Room 914 Claremont Tower, skype: russet_apples Newcastle University, twitter: phillord NE1 7RU=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20