From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.devel Subject: RE: Request for pointers and advice: displaying several buffers inside a single window Date: Fri, 10 Apr 2020 13:29:17 -0700 (PDT) Message-ID: References: <83a73swwd7.fsf@gnu.org> <87wo6nxsjz.fsf@localhost> <83d08fmgul.fsf@gnu.org> <87tv1rxmgc.fsf@localhost> <83a73jmcyo.fsf@gnu.org> <87pncfxk4m.fsf@localhost> <87mu7jxi64.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="122621"; mail-complaints-to="usenet@ciao.gmane.io" Cc: dim1212k@gmail.com, adam@alphapapa.net, casouri@gmail.com, emacs-devel@gnu.org To: Ihor Radchenko , Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Apr 10 22:30:21 2020 Return-path: Envelope-to: ged-emacs-devel@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 1jN0I8-000VnF-3r for ged-emacs-devel@m.gmane-mx.org; Fri, 10 Apr 2020 22:30:20 +0200 Original-Received: from localhost ([::1]:38594 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jN0I6-0005Z4-Us for ged-emacs-devel@m.gmane-mx.org; Fri, 10 Apr 2020 16:30:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38685) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jN0HP-00059z-99 for emacs-devel@gnu.org; Fri, 10 Apr 2020 16:29:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jN0HN-00041v-MH for emacs-devel@gnu.org; Fri, 10 Apr 2020 16:29:34 -0400 Original-Received: from userp2120.oracle.com ([156.151.31.85]:60370) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jN0HF-0003zG-0f; Fri, 10 Apr 2020 16:29:25 -0400 Original-Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 03AK9diF186770; Fri, 10 Apr 2020 20:29:20 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2020-01-29; bh=z1/RAb/5IHy351dPm1EtGF67wJuv1/rQlbhlF2X0eLk=; b=VGsrUj6/WrI00/wSbQo1D8x4EjWZK7UO94fxRn4on7UU4Xlfo/HZ4KukuXvNuokicdJ1 R44Xwug2JuroN+92njHnv8mT0KdVzsUNaTrCpaHsH8QS5F0OsuXSbFmFNplknrsR0btd QPrjUvMHl7fQlK6eqL9eo/c6dQ9crAAcPORWvZrTKOMhy8Yd9BYopKsyQ3HQynYrv/lE qdXKlFBsqdUNtD06evqL45R09jfjWZKSKZIJZTZ4A1d7/LZwcFraxDmfROtuIIksx+3e 8aPmfbxuJk9DblZrWnCo8ttMRkDMCO9tdAyEh5uxUEo4Ggu0GSYluKYoInB0XruoO58o Jg== Original-Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by userp2120.oracle.com with ESMTP id 309gw4kuev-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 10 Apr 2020 20:29:20 +0000 Original-Received: from pps.filterd (aserp3020.oracle.com [127.0.0.1]) by aserp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 03AK87Dp108089; Fri, 10 Apr 2020 20:29:19 GMT Original-Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserp3020.oracle.com with ESMTP id 3091mduscg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 10 Apr 2020 20:29:19 +0000 Original-Received: from abhmp0012.oracle.com (abhmp0012.oracle.com [141.146.116.18]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id 03AKTIDn032447; Fri, 10 Apr 2020 20:29:18 GMT In-Reply-To: <87mu7jxi64.fsf@localhost> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4966.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9587 signatures=668686 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 bulkscore=0 mlxscore=0 malwarescore=0 spamscore=0 adultscore=0 suspectscore=0 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2004100147 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9587 signatures=668686 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 bulkscore=0 phishscore=0 lowpriorityscore=0 impostorscore=0 clxscore=1015 suspectscore=0 malwarescore=0 spamscore=0 mlxlogscore=999 mlxscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2004100147 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] [fuzzy] X-Received-From: 156.151.31.85 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:246801 Archived-At: > I tried zones once, but abandoned exactly > because I was looking for showing all zones at once (not cycling > through them). To be clear, there's no need to cycle among zones. No need to see only one at a time. You can see all of them all of the time, as well as see the other, non-zone text, of any and all buffers. What zones.el does not offer is showing the text of more than one buffer in the same Emacs window. > > But if your question/request is about displaying text from different > buffers in the same Emacs window then zones.el won't help you. >=20 > Yep. Displaying and editing (with synchronised changes in those > buffers). See above. You can display and edit all zones at the same time. And there's no synchronization needed. What you can't do with zones is show and edit the text of more than one buffer in the same Emacs window. I say all of this only in case it helps somehow. My intention is not to have you use zones.el. Maybe consider this feedback as just letting you know that I, at least, don't quite understand what you're trying to do (or why). Emacs doesn't let you use the same window for multiple buffers, as far as I know. You can finagle ways to show text from multiple buffers in the same window, e.g. by copying it. And if you do that, and you then want to edit the copies, then, yes, you'll need to then sync up the original buffers with your edits. Maybe there's a library that does that for you. There are libraries that let you put different parts of the same buffer in different major modes (in effect). But that too is different from having multiple buffers in the same window. I wonder what your reason is for wanting that? That "why" might help explain your request.