all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tom Willemse <tom@ryuslash.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 19505@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	[thread overview]
Message-ID: <m31tnaz41q.fsf@ryuslash.org> (raw)
In-Reply-To: <jwvy4pi8fus.fsf-monnier+emacsbugs@gnu.org> (Stefan Monnier's message of "Sun, 04 Jan 2015 15:14:08 -0500")

Stefan Monnier <monnier@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?





  reply	other threads:[~2015-01-04 20:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-04 14:53 bug#19505: 25.0.50; Defining a chomp function breaks electric pairing Tom Willemse
2015-01-04 20:14 ` Stefan Monnier
2015-01-04 20:25   ` Tom Willemse [this message]
2015-01-06 20:09   ` Tom Willemse
2015-04-19  1:09 ` Glenn Morris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m31tnaz41q.fsf@ryuslash.org \
    --to=tom@ryuslash.org \
    --cc=19505@debbugs.gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.