Ergus writes: > On February 13, 2023 8:49:46 PM GMT+01:00, Michael Welsh Duggan wrote: >>Daniel Martín writes: >> >>> Some IDEs and text editors provide a feature to go to the position of >>> the last edit location across all buffers. For example, in Eclipse or >>> IntelliJ IDEA, this feature is under Navigate, Last Edit Location. In >>> Vim, this feature is called a "change list jump" [1], but it seems to >>> work in a per-buffer basis. >>> >>> The closest thing in Emacs is pop-global-mark, but it's not quite the >>> same feature. The global mark ring requires that the user sets the mark >>> in advance, and most editing commands do not set the mark. Information >>> about last edit locations is already kept in buffer-undo-list, but this >>> list is per-buffer and does not contain timestamps, so generating a >>> "global" list for all buffers out of this data structure does not seem >>> very possible or efficient at the moment; it may need a new data >>> structure, perhaps at the C level. >> >>I often want to jump to the last change I made in a buffer, but I've >>never wanted this across buffers. The method I use for this, burned >>into my fingertips, is "C-_ C-SPC C-_", which is undo, set mark, undo. > > I use exactly this same method (undo-redo). It is not very > confortable, so any function to mimic part of this may be useful... Try the goto-chg package. It just uses the undo ring to find previous locations. Sometime it’s a bit buggy when you use lsps with save actions, but in general it works really well. Best wishes, Arne -- Unpolitisch sein heißt politisch sein, ohne es zu merken. draketo.de