From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: [SPAM UNSURE] Request for pointers and advice: displaying several buffers inside a single window Date: Sun, 05 Apr 2020 15:18:27 +0200 Message-ID: References: <86o8s8e81d.fsf@stephe-leake.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="127272"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Dmitrii Korobeinikov , emacs-devel To: Stephen Leake Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Apr 05 15:19:02 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 1jL5Az-000WzQ-MR for ged-emacs-devel@m.gmane-mx.org; Sun, 05 Apr 2020 15:19:01 +0200 Original-Received: from localhost ([::1]:47864 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jL5Ay-0002yX-R5 for ged-emacs-devel@m.gmane-mx.org; Sun, 05 Apr 2020 09:19:00 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54120) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jL5AW-0002YX-Kq for emacs-devel@gnu.org; Sun, 05 Apr 2020 09:18:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jL5AV-00008M-JK for emacs-devel@gnu.org; Sun, 05 Apr 2020 09:18:32 -0400 Original-Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]:40666) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jL5AV-00007N-BP for emacs-devel@gnu.org; Sun, 05 Apr 2020 09:18:31 -0400 Original-Received: by mail-wm1-x32a.google.com with SMTP id a81so12865890wmf.5 for ; Sun, 05 Apr 2020 06:18:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:gmane-reply-to-list:date:in-reply-to :message-id:mime-version; bh=NwcIFA8aaALwp6S7Lb2ZUs3bdU0kYmbkqdjA1XN1XMQ=; b=rZIzOoRlI3I0kuQqxbTLg6fgoahoQ2REkHV3tSZBBC5MErkhkESQZjzXh5lmF2fAOh etujCNj2Gfl0kkg7eiDytF5uYog8uclFcyKt7yGE40fKF15tqRZsEZYpahRLJaD2+bZX g99AhyjK7/Rzdw/HAgqvm4eVWDSbTblKuIaPxQUB5to8rDugdQ1R1ChbGhFXq2pEcDqB jApoH6t3brmquyRXpGzDiFxSOfdt+BBIIqZq2j2ek3CPawu40Ag5md5x3j3c9bwBMbRf vZ8M+hTsXglUTACp8LBzRkd87wGdcCvU1wNbp3qJyryF0Mq0Y0v1wb4DNIj1olf6za3U 1Kag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references :gmane-reply-to-list:date:in-reply-to:message-id:mime-version; bh=NwcIFA8aaALwp6S7Lb2ZUs3bdU0kYmbkqdjA1XN1XMQ=; b=Lfww27UaxqAy5VITkVDlqkwcVZNqZulMYxOxdAQT3Uy6fPXbWn39VPoT5MYOcebAow vDEPtVGbXFp5kBUwy2zKV4tUQe6uub0NAoEPLoOLDzQHkKmUZXmSnHK9G6C1jlpQITyg oFw9zTmktoEtUT3KBNV1XvHlBXIENmeEVq35eVGxoR+ZDPb2xQuy8a1FnYSVY1p1mjDF KbgYadrh+u6HKI8H5VBGI3moKUfcuTfJmwq3XgrFxdjtrUHe745uZ7Ht0V8he+j+DhLq iGWjDIZdm/O9cSgXjwLaP+OZHSD6PG2vD/PKrzr1QywyI5pIlj2RsAK5Qn1jp3TGLfku r8/w== X-Gm-Message-State: AGi0PuZilqpcqRoOx0h+EqbtcFHzdxosrYMaXiP1lkjbao4LoBrLrqMm iVYUw92/CuQN9iglGvA8Do4= X-Google-Smtp-Source: APiQypIe65Fz2y+7rcH4CGkzBPxBtw6hypjXFBggNqddG7jyQ8ERIlZHxMiFPSo49AA3yft5WBROrA== X-Received: by 2002:a1c:e242:: with SMTP id z63mr5522262wmg.184.1586092709599; Sun, 05 Apr 2020 06:18:29 -0700 (PDT) Original-Received: from rpluim-mac ([2a01:e34:ecfc:a860:4078:c720:6e6:586a]) by smtp.gmail.com with ESMTPSA id r20sm18080193wmh.46.2020.04.05.06.18.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Apr 2020 06:18:28 -0700 (PDT) Gmane-Reply-To-List: yes In-Reply-To: <86o8s8e81d.fsf@stephe-leake.org> (Stephen Leake's message of "Fri, 03 Apr 2020 10:30:38 -0800") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::32a 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:246452 Archived-At: >>>>> On Fri, 03 Apr 2020 10:30:38 -0800, Stephen Leake said: Stephen> Dmitrii Korobeinikov writes: >> Hi all, >> >> I want to explore the feasibility of displaying two (indirect) buffers >> inside a single window, one after another. Each buffer has to look >> like it's rendered in its own mode. For the starters, each buffer can >> start on its own new line in the window. No interaction w/ text is >> required for now. Stephen> This would look the same as two windows each displaying one buffer, if Stephen> you could eliminate the mode line in betweeen them. That should be much Stephen> easier. (setq mode-line-format nil) and then make the second window display an indirect buffer to the buffer displayed in the first window, so you can change the major mode, then enable follow-mode so that scrolling one scrolls the other. Untested :-) Stephen> Hmm. Currently, the bottom line in a window is only partially displayed. Stephen> So you'd also have to adjust the top window height to allow displaying Stephen> the full last line. Or not; depends on what you want. I think that only happens if you have one or more of the various *pixelwise* variables non-nil; the default is to do everything in multiples of line-height. Robert