Hi, When ledger-mode-clean-buffer executes, the call to ledger-sort-buffer seems to break the usage of save-excursion; the point is always left at point-min. I’ve traced it to some movement in ledger-sort-region, but I cannot for the life of me seem to find what screws up the values for save-excursion, which ought to be restoring the point. My *guess* is that some of the navigate functions which sort-buffer uses messes it up.
I have found a work-around hack by saving the point beforehand and using goto-char saved-point after the call to ledger-sort-buffer, but this is hardly a fix. Any clues or ideas? -- --- You received this message because you are subscribed to the Google Groups "Ledger" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
signature.asc
Description: Message signed with OpenPGP using GPGMail
