From: Bruno Barbier <brubar.cs@gmail.com>
To: Luca Ferrari <fluca1978@gmail.com>
Cc: help-gnu-emacs <help-gnu-emacs@gnu.org>, Jean Louis <bugs@gnu.support>
Subject: Re: help in writing function to pop indirect buffer
Date: Mon, 30 Jan 2023 19:38:00 +0100 [thread overview]
Message-ID: <63d80c7a.df0a0220.1cd1c.7c73@mx.google.com> (raw)
In-Reply-To: <CAKoxK+55wu8bnBk_kVLFnrOd_CYD5JWNYYg5u3xSWS-M-hH=Bw@mail.gmail.com>
Luca Ferrari <fluca1978@gmail.com> writes:
> Another idea could be to use a normal buffer, narrowed to the region I
> would like to have. The problem is that clone-buffer cannot be used
> for a file visiting buffer.
> Any idea?
>
Jean posted a link to a wiki page about indirect buffers:
https://www.emacswiki.org/emacs/IndirectBuffers
From that page, it looks like the package 'edit-indirect' should do what you want:
https://github.com/Fanael/edit-indirect
(edit-indirect doesn't use "indirect" buffers)
Bruno
next prev parent reply other threads:[~2023-01-30 18:38 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-25 11:13 help in writing function to pop indirect buffer Luca Ferrari
2023-01-25 17:55 ` Jean Louis
2023-01-26 6:45 ` Emanuel Berg
2023-01-27 18:30 ` Bruno Barbier
[not found] ` <notmuch-sha1-03eb8baf922f469fd287c8e7e6f142e660e155d3>
2023-01-28 11:59 ` Bruno Barbier
2023-01-30 13:30 ` Luca Ferrari
2023-01-30 18:38 ` Bruno Barbier [this message]
2023-01-31 7:36 ` Jean Louis
2023-09-07 12:53 ` Luca Ferrari
2023-01-28 13:20 ` Jean Louis
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=63d80c7a.df0a0220.1cd1c.7c73@mx.google.com \
--to=brubar.cs@gmail.com \
--cc=bugs@gnu.support \
--cc=fluca1978@gmail.com \
--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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.