GNU bug report logs - #13467
24.3.50; Problem with `advice' show-paren-function

Previous Next

Package: emacs;

Reported by: nyc4bos <at> aol.com

Date: Wed, 16 Jan 2013 22:24:02 UTC

Severity: normal

Tags: notabug

Found in version 24.3.50

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

Bug is archived. No further changes may be made.

Full log


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

From: "Drew Adams" <drew.adams <at> oracle.com>
To: "'Glenn Morris'" <rgm <at> gnu.org>, <nyc4bos <at> aol.com>
Cc: 13467 <at> debbugs.gnu.org
Subject: RE: bug#13467: 24.3.50; Problem with `advice' show-paren-function
Date: Wed, 16 Jan 2013 14:46:39 -0800
> >     (if (char-equal (char-syntax (char-before (point))) ?\))
> 
> What do you expect this do if called eg at point-min?
> Maybe fail with wrong-type-argument characterp nil?

E.g.,

(let ((matching-text nil)
      (cb            (char-before (point))))
  (when (and cb  (char-equal (char-syntax cb) ?\) ))
    (setq matching-text  (blink-matching-open)))
  (when matching-text (message matching-text)))





This bug report was last modified 12 years and 133 days ago.

Previous Next


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