GNU bug report logs - #16904
24.3; [PATCH] ff-find-other-file and friends now work with indirect clone buffers

Previous Next

Package: emacs;

Reported by: Dima Kogan <dima <at> secretsauce.net>

Date: Fri, 28 Feb 2014 11:18:02 UTC

Severity: minor

Tags: fixed, patch

Found in version 24.3

Fixed in version 26.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Dima Kogan <dima <at> secretsauce.net>
To: 16904 <at> debbugs.gnu.org
Subject: bug#16904: 24.3; [PATCH] ff-find-other-file and friends now work with indirect clone buffers
Date: Fri, 07 Mar 2014 18:23:09 -0800
Stefan Monnier <monnier <at> iro.umontreal.ca> writes:

>> Attached is a small patch that allows (ff-find-other-file) to work with
>> indirect clone buffers.
>
> Could you explain exactly what you use indirect-buffers for?
> These have so many shortcomings/bugs that it would be good to try and
> provide good replacements,

Hi.

I wasn't aware that use of indirect buffers is frowned-upon. Mostly
they've been working pretty well for me.

I usually use it to simultaneously look at different places in the same
file. Most of the time this is some long source code thing. It's nice to
have separate kill rings, mark rings, narrowing, etc.

The only issues I've encountered have to do with various functions not
recognizing that those buffers have a backing file. Those are
ff-find-other-file, vc-diff, etc. I suspect that making
(buffer-file-name) work for indirect buffers would resolve a lot of
these, but I don't know enough about the internals to propose that.

dima




This bug report was last modified 8 years and 221 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.