Am Dienstag, 10. Januar 2017, 15:33:50 CET schrieb Thorsten Blum: > Hi, I'd like to submit a patch to remove the following two warnings when > byte compiling gforth.el with Emacs. > > In forth-update-show-screen: > gforth.el:1103:36:Warning: ‘goto-line’ is for interactive use only; use > ‘forward-line’ instead. > gforth.el:1105:15:Warning: ‘goto-line’ is for interactive use only; use > ‘forward-line’ instead.
Thanks, but it looks like forward-line is relative to the current position, whereas goto-line is absolute. I now use (forward-line (- first-line (line-number-at-pos)) instead of (goto-line first-line) and it seems to set the mark at the right position in block mode. -- Bernd Paysan "If you want it done right, you have to do it yourself" net2o ID: kQusJzA;7*?t=uy@X}1GWr!+0qqp_Cn176t4(dQ* http://bernd-paysan.de/