GNU bug report logs - #17183
can't insert a quote pair before another

Previous Next

Package: emacs;

Reported by: Stefan Monnier <monnier <at> iro.umontreal.ca>

Date: Fri, 4 Apr 2014 15:05:01 UTC

Severity: normal

Found in version 24.3.50

Done: joaotavora <at> gmail.com (João Távora)

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: joaotavora <at> gmail.com (João Távora)
Cc: 17183 <at> debbugs.gnu.org
Subject: bug#17183: can't insert a quote pair before another
Date: Sun, 06 Apr 2014 08:39:26 -0400
> +             (unwind-protect
> +                 (progn
> +                   (delete-char -1)
> +                   (not (nth 3 (syntax-ppss))))
> +               (insert-char char)))

Yuck!  Why not (save-excursion (not (nth 3 (syntax-ppss (-1 (point))))))?


        Stefan




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

Previous Next


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