GNU bug report logs - #48294
Use 'with-current-buffer' byte-compiler warning seems wrong

Previous Next

Package: emacs;

Reported by: rswgnu <at> gmail.com

Date: Sat, 8 May 2021 20:15:01 UTC

Severity: normal

Tags: notabug

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #24 received at 48294 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Robert Weiner <rswgnu <at> gmail.com>
Cc: 48294 <at> debbugs.gnu.org
Subject: Re: bug#48294: Use 'with-current-buffer' byte-compiler warning seems
 wrong
Date: Sun, 09 May 2021 21:24:41 +0300
> From: Robert Weiner <rswgnu <at> gmail.com>
> Date: Sun, 9 May 2021 14:09:23 -0400
> Cc: 48294 <at> debbugs.gnu.org
> 
> Somtimes a nested function within the body of the with-current-buffer will change the buffer and move point in the original buffer and this may largely only be known at run-time.

Then I'd use save-excursion outside of with-current-buffer.




This bug report was last modified 4 years and 69 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.