From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Christopher Dimech Newsgroups: gmane.emacs.help Subject: Re: RE: Same file on two buffers - Two different major modes Date: Wed, 4 Nov 2020 22:47:49 +0100 Message-ID: References: <87v9elgw8v.fsf@fastmail.fm> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6217"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Joost Kremers , help-gnu-emacs@gnu.org To: Drew Adams Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Nov 04 22:49:53 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 1kaQfB-0001Xc-5u for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 04 Nov 2020 22:49:53 +0100 Original-Received: from localhost ([::1]:47276 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kaQfA-0008L6-0J for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 04 Nov 2020 16:49:52 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59472) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kaQdM-0008Hb-8B for help-gnu-emacs@gnu.org; Wed, 04 Nov 2020 16:48:00 -0500 Original-Received: from mout.gmx.net ([212.227.15.15]:39471) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kaQdK-0007xz-2O for help-gnu-emacs@gnu.org; Wed, 04 Nov 2020 16:47:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1604526469; bh=l80EOHCEzRENEwJUlhDlEMRTc/L6m5vjpAeTj8zDq8c=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=OiqDeMH3B4D67W5TxQM26IIOgJ3eMnkKeAG2WBgaptSCZeYUXnnVTnQXnJnV27ET8 HwTZoL7pDnDL2yDDmIRrPsG1w6GAt2oofsq1+DYYw9ov+5UEbx32KRiL2bimjIDn+D 617hUXWCtrLi1JzfRWehqsgD/gd78Ih45unCYS8g= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [213.165.168.94] ([213.165.168.94]) by web-mail.gmx.net (3c-app-mailcom-bs01.server.lan [172.19.170.58]) (via HTTP); Wed, 4 Nov 2020 22:47:49 +0100 Importance: normal Sensitivity: Normal In-Reply-To: X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:tD8UWhJ089JlypV+6I6q06JVfX+f84wnsw+cgIlUdBkYOoF7F1NnowqcVDoOWPPY7mSWg v8dzBeiq35zNYKBKtMSJ43rDTrEtvBKixpIOyZW3FTyDucU8/nczQiL0YDd/wWCKbMUZKrGv+v4o 7XNbJEiuRMihqmRbKHY4A5t6oRyvR3/3j3jV/4x/TMFqmVlBZjtAZHzWbp19a6gF+Tnh3iuoYQQO uBQ/2z5lGRBCwiAl9cXdWAevlzEC9Ohb5iYmK69VAvvf/NCc71ZXeNJKTKuT4IOO7qDKMRFGPjj0 F0= X-UI-Out-Filterresults: notjunk:1;V03:K0:Nmijas1GQfQ=:wu+d0y+3FEPFHYRTo+wgl9 Q0/kT2QAcEyFSQSmPbu7HGM4Ycbd8k3jY4Wk/Dul5WxFRLhFr12/suxYkpSN52c3LPnx8TUFW YI6OEpGq9RE0uU1hKOyUEkxh4iEfE+aztrapO5FVlFvopznRNL1HxuXZudl+1wePn5Q3iL+Pz xPjBDhU2xGTyvroYBkGPjSMoBSIE/0InWLTq/Uyzx8+siwiDFxkC3kufMUssDoS9Usm7xXtvd Hh4zxH8o5OooPiCpRvxxWMEzqk2/q5LuYUN/S4xt4JCj8MYX3xZ41uqPGC35vcuitQQN+WzFf WNZucO4qGOunCuIjpTazivTqmAHzkg0eGc1epeQ+rO/R24WV9u/DJnJWtN1b2i8tCAIkpoB+S 5srYEZTKA5ZWCkA39V1HqBUBnDq34a34z8doYU1YEOUJPPAGjSMKRi82+5hAzxYeO6CDXVZgX 2zzYrMegvlAm5JuppDoMtffZD28797I9wYYbHfu7kmMCctxnDuwUo0+UG7G41zLE55BxCWsq+ y4pKYcIRVO06ZfAnG4a5UQmlfzfPK1RBWstLsgD2iGHDj78Om3vXUHIEu7DiZszzpzeo5J21M 7FUsgPx/hejeQ= Received-SPF: pass client-ip=212.227.15.15; envelope-from=dimech@gmx.com; helo=mout.gmx.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/04 16:47:56 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:124996 Archived-At: For instance, I have source code with org-mode and rec-wode commands. Thus while I am working on the source code I could be navigating the same file in org-mode. > Sent: Wednesday, November 04, 2020 at 10:40 PM > From: "Drew Adams" > To: "Christopher Dimech" , "Joost Kremers" > Cc: help-gnu-emacs@gnu.org > Subject: RE: Same file on two buffers - Two different major modes > > > The principal idea is to have the same buffer next to each other, > > where one can change the major mode on each buffer, but saves > > to the save buffer. > > OK, that's "the principal idea", but I don't understand the > use case. Could you say why you want to see the same buffer > in two windows, but in a different mode in each window? > > What is it you are really trying to do? That might help > understanding. > >