Hi Eli:
Thanks for the feedback. Everything you wrote is very clear. The issue, however, is that I want to save point in the current buffer prior to switching context to the 'with-current-buffer' buffer, just as my (save-excursion (set-buffer ...)) code does. If I move the save-excursion into the with-current-buffer body, then it applies to the new buffer not the original one and if in that same body we change buffers again to the original and move point, then that movement will stay in place. So the question is, what is the appropriate code that the byte-compiler will accept when you want to save your original place before switching buffers. Do I have to just do a (let ((opoint (point))) ...) and then restore it? The issue is that within the with-current-buffer body, there could be a hard to trace sequence of calls any of which could switch back to the original buffer and move point. So how would you protect against that?
Thanks,
Bob