[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Unbalanced change hooks (part 2)
From: |
Stefan Monnier |
Subject: |
Re: Unbalanced change hooks (part 2) |
Date: |
Thu, 01 Sep 2016 09:36:00 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
> So, on a-c-f revert the change, do what we are currently doing on b-c-f,
> then reapply the change and run what we are currently running on a-c-f.
Yup.
> Yes, that does seem a possibility albeit a fairly hideous one.
> It's really not something I'd want to be doing after every command.
Yes, hideous sounds about right. OTOH if your code can work straight
from the old-text string without too much gymnastics, it's not that bad.
> I'll test out expanding the region with the code you suggested earlier.
Yes, that's probably a much better option.
Stefan