emacsorphanage / tablist

Extended tabulated-list-mode
GNU General Public License v3.0
1 stars 4 forks source link

Obsolete functions in Emacs 29.1 #6

Open arifer612 opened 10 months ago

arifer612 commented 10 months ago

In Emacs 29.1, the aliases point-at-bol and point-at-eol are obsolete, and will raise warnings to use line-beginning-position/pos-bol, or line-end-position/pos-eol, instead, respectively. To future-proof the project, I suggest that these aliases be replaced by their fully qualified functions.

Whilst it is fine in this project to use either line-beginning-position and line-end-position, or pos-bol and pos-eol, to replace point-at-bol and point-at-eol, respectively, as the choice will not affect the use of the aliases here, it will always be much safer to use the former pair for legacy compatibility.

I can work up a PR for this if nobody is against the idea of replacing the aliases point-at-bol and point-at-eol to the fully qualified functions they reference, line-beginning-position and line-end-position, respectively.