GNU bug report logs - #19505
25.0.50; Defining a chomp function breaks electric pairing

Previous Next

Package: emacs;

Reported by: Tom Willemse <tom <at> ryuslash.org>

Date: Sun, 4 Jan 2015 14:54:02 UTC

Severity: normal

Found in version 25.0.50

Fixed in version 25.1

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Tom Willemse <tom <at> ryuslash.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 19505 <at> debbugs.gnu.org
Subject: bug#19505: 25.0.50; Defining a chomp function breaks electric pairing
Date: Sun, 04 Jan 2015 21:25:37 +0100
Stefan Monnier <monnier <at> iro.umontreal.ca> writes:

>> The attached patch fixes the situation where a function `chomp' exists
>> and `electric-pair-skip-whitespace' has the value `chomp'.  Since that
>> specific symbol is mentioned as a special case for this variable, it
>> seems that it shouldn't try to call a function named as such.
>
> Maybe a better option is to use the value `:chomp' instead of `chomp',
> since defining a function `:chomp' should be considered an error anyway,

Certainly an option, but wouldn't that break people's configuration in
an annoying way?




This bug report was last modified 10 years and 37 days ago.

Previous Next


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