Sacha Chua

Results 39 comments of Sacha Chua

Would subed-increase-stop-time and subed-decrease-stop-time work for you? subed-set-subtitle-time-stop doesn't adjust overlap, but maybe we can have a version of that command that does. On Thu., Jan. 13, 2022, 11:17 mooseyboots,...

Hmm, yeah, adding that functionality as an option to those functions (or creating similar functions) so that we can adjust the next/previous subtitle's time would be great, and it's definitely...

Hmm... Maybe a customizable option that defaults to 'adjust (adjust next subtitle's start / previous subtitle's end if needed), and has other options like 'reduce (reduce the adjustment to avoid...

That's a good idea. Putting it in a separate function instead of relying on customizable variables to overload the existing function can make it easier for people to bind things...

Hmm... In the derived-mode branch, I have a subed-batch-edit macro that tries to make it easier to suppress sync/replay and update overlays afterwards. Would something like that be useful? subed-trim-overlaps...

Didn't get to work on it this weekend, sorry. The more I think about it, the more it seems that the basic adjustment functions should call something like a subed-maybe-fix-overlap-with-previous...

That's terrific! Do you want to share them here or in a pull request in case other people find them useful too? On Tue., Feb. 1, 2022, 12:25 mooseyboots, ***@***.***>...

Managed to squeeze in some time for drafting a subed-trim-overlap-at-start/stop, will try to add it to the other functions and write tests. On Tue., Feb. 1, 2022, 12:33 Sacha Chua,...

Added subed-trim-overlap-at-start and subed-trim-overlap-at-stop and tests at https://github.com/sachac/subed/tree/trim-overlaps-start-stop , need to think about how to use this in the other functions.

Okay, https://github.com/sachac/subed/tree/trim-overlaps-start-stop now has subed-increase-start-time-and-adjust-previous , subed-decrease-start-time-and-adjust-previous , subed-increase-stop-time-and-adjust-next , and subed-decrease-stop-time-and-adjust-next , which I think miiight work. It would probably make sense to have something like the Org way...