GNU bug report logs - #14611
Suggest warning: forward-sexp not from program

Previous Next

Package: emacs;

Reported by: Andreas Röhler <andreas.roehler <at> easy-emacs.de>

Date: Thu, 13 Jun 2013 16:15:02 UTC

Severity: wishlist

Tags: notabug, wontfix

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 14611-done <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: 14611-done <at> debbugs.gnu.org
Subject: Re: bug#14611: Suggest warning: forward-sexp not from program
Date: Thu, 13 Jun 2013 12:41:18 -0400
Andreas Röhler wrote:

> as `forward-sexp-function' might be set by users, `forward-sexp' is
> susceptible to fail when built into a program - which executes then
> set new binding. Just came across that mistake.

So let-bind forward-sexp-function around any calls where you think that
might happen.
forward-sexp is user in 100s of places in lisp/.




This bug report was last modified 11 years and 348 days ago.

Previous Next


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