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: indirect-buffers and text-properties Date: Fri, 31 Jan 2014 09:46:00 +0000 Message-ID: <87eh3ocwmf.fsf@newcastle.ac.uk> References: <87fvo5r6uk.fsf@newcastle.ac.uk> <52EA70C2.9080507@easy-emacs.de> <87lhxxa3c6.fsf@yahoo.fr> <52EA8135.8060105@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 1391161581 8358 80.91.229.3 (31 Jan 2014 09:46:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 31 Jan 2014 09:46:21 +0000 (UTC) Cc: Nicolas Richard , 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 Fri Jan 31 10:46:28 2014 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 1W9Ag7-00017t-QA for geh-help-gnu-emacs@m.gmane.org; Fri, 31 Jan 2014 10:46:27 +0100 Original-Received: from localhost ([::1]:53981 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W9Ag7-0003g2-8S for geh-help-gnu-emacs@m.gmane.org; Fri, 31 Jan 2014 04:46:27 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41154) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W9Afs-0003fi-7k for help-gnu-emacs@gnu.org; Fri, 31 Jan 2014 04:46:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W9Afm-0007RT-QL for help-gnu-emacs@gnu.org; Fri, 31 Jan 2014 04:46:12 -0500 Original-Received: from cheviot22.ncl.ac.uk ([128.240.234.22]:34307) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W9Afm-0007RN-K1 for help-gnu-emacs@gnu.org; Fri, 31 Jan 2014 04:46:06 -0500 Original-Received: from smtpauth-vm.ncl.ac.uk ([10.8.233.129]) by cheviot22.ncl.ac.uk with esmtp (Exim 4.63) (envelope-from ) id 1W9Afk-0008LE-F5; Fri, 31 Jan 2014 09:46:04 +0000 Original-Received: from localhost (jangai.ncl.ac.uk [10.66.67.223]) (authenticated bits=0) by smtpauth-vm.ncl.ac.uk (8.13.8/8.13.8) with ESMTP id s0V9k3OH012618 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Fri, 31 Jan 2014 09:46:03 GMT In-Reply-To: <52EA8135.8060105@easy-emacs.de> ("Andreas \=\?utf-8\?Q\?R\=C3\=B6h\?\= \=\?utf-8\?Q\?ler\=22's\?\= message of "Thu, 30 Jan 2014 17:43:33 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (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:95827 Archived-At: Andreas R=C3=B6hler writes: > Am 30.01.2014 16:36, schrieb Nicolas Richard: >> Andreas R=C3=B6hler writes: >>> M-x org-edit-src-code >>> uses an indirect buffer, but fontifies correctly. >> >> It is not an indirect buffer in my version, it uses generate-new-buffer. >> > > Ah, thanks. When having a look into again, seems it's not used for langua= ges, > while `org-tree-to-indirect-buffer' has it. It's also not quite what I want. With org-edit-src-code when you edit the code, it pops up a buffer in the correct mode, then you edit but only in this buffer -- the org mode buffer is unchanged, then it is "commited" back to org. I really want to see the two parts simultaneously, for the entire buffer, but in two modes. Phil