Change (setf (point) ...) to (goto-char ...)#112
Change (setf (point) ...) to (goto-char ...)#112polaris64 wants to merge 1 commit intoalphapapa:masterfrom
(setf (point) ...) to (goto-char ...)#112Conversation
|
Frankly, I do not understand why that deprecation was made, and I do not like it. It's a useful paradigm, and I don't see any reason to throw it away. Anyway, Emacs 29 is yet to be released. So while I appreciate your keeping up with things, I don't want to merge this yet. I'd like to find out why it was done and try to get the decision reversed. |
|
OK that's absolutely fine. The main reason for this PR was to make you aware of the potential issue with Emacs 29 (in case you weren't aware already) and to provide a fix if it ends up needing to be applied. |
|
FYI, I just posted a message to emacs-devel asking for these generalized variable setters to be un-obsoleted. (Not that I expect they will do so, but at least we can talk about it, I hope.) And BTW, it's generally better to rebase your PRs than to merge |
Thanks for letting me know, yes I just read the conversation so far this morning. I agree with you that the
OK no problem, I'll rebase this PR onto the current master in a bit. |
Emacs version 29.0.50 has deprecated the use of forms such as `(setf (point) n)`. The warning emitted is: - Warning (bytecomp): ‘point’ is an obsolete generalized variable; use ‘goto-char’ instead.
95c5c90 to
8c0fce5
Compare
7d2e0f2 to
c0b922b
Compare
a68abe0 to
9da7b8e
Compare
Emacs version 29.0.50 has deprecated the use of forms such as
(setf (point) n). The warning emitted is: -