unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Alexandros Prekates <aprekates@posteo.net>
To: help-gnu-emacs@gnu.org
Subject: Re: failing creating multiple indirect org buffers .
Date: Fri,  1 Mar 2024 08:47:31 +0000	[thread overview]
Message-ID: <20240301104731.30dcadd1@enoush2o> (raw)
In-Reply-To: <86ttlqqs26.fsf@gnu.org>

On Fri, 01 Mar 2024 10:23:13 +0200
Eli Zaretskii <eliz@gnu.org> wrote:

> > Date: Fri,  1 Mar 2024 07:47:52 +0000
> > From: Alexandros Prekates <aprekates@posteo.net>
> > 
> > In emacs 29  M-x clone-indirect-buffer will work only once.
> > So lets say i have a Base buffer and a CloneA .
> > If i try to create a new clone on Base i will get a new buffer but
> > it will behave like CloneA.
> 
> What do you mean by "behave like CloneA"?

Speaking of Org files i mean that trying to create a CloneB of the
Base will not have it's own heading's folding but mirrow that of
the CloneA or Base. 

> 
> > Also M-x make-indirect-buffer creates new buffers but
> > the are not visible in the GUI buffer list
> 
> What command do you use to show the buffer list?  The default binding
> of "C-x C-b", which invokes list-buffers, does show indirect buffers
> created by make-indirect-buffer.

Yes. I meant the GUI buffer list. If i use M-x clone-indirect-buffer 
then the new buffers will be listed in the GUI buffer top menu.
But M-x make-indirect-buffer new buffers wont.

> 
> > and also if visited with C-x C-b they appear in fundamental mode and
> > not in Org mode.
> 
> That's the intended behavior.  If you want the indirect buffer to have
> the same mode as its base buffer, use clone-indirect-buffer instead.
>
I didnt knew this. Thanks.

Alexandros. 




  reply	other threads:[~2024-03-01  8:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-01  7:47 failing creating multiple indirect org buffers Alexandros Prekates
2024-03-01  8:23 ` Eli Zaretskii
2024-03-01  8:47   ` Alexandros Prekates [this message]
2024-03-02  7:47     ` Eli Zaretskii
2024-03-03  1:07       ` Michael Heerdegen via Users list for the GNU Emacs text editor
2024-03-03  4:15         ` Stefan Monnier via Users list for the GNU Emacs text editor
2024-03-04  8:37         ` Alexandros Prekates

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240301104731.30dcadd1@enoush2o \
    --to=aprekates@posteo.net \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).