unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Ilya Zakharevich <nospam-abuse@ilyaz.org>
To: Chong Yidong <cyd@stupidchicken.com>
Cc: 3943@emacsbugs.donarmstrong.com
Subject: bug#3943: 23.0.96; CPerl-mode is too electric
Date: Sun, 16 Aug 2009 18:33:21 -0700	[thread overview]
Message-ID: <20090817013321.GB4436@powdermilk.math.berkeley.edu> (raw)
In-Reply-To: <87skfr9wbc.fsf@cyd.mit.edu>

On Sun, Aug 16, 2009 at 07:24:23PM -0400, Chong Yidong wrote:
> The problem exists in upstream CPerl as well.  The bug arises from line
> 3763 (cperl-electric-paren):
> 
>   (if (eq last-command-char ?<)
>       (progn
>         (and abbrev-mode ; later it is too late, may be after `for'
>              (expand-abbrev))
>         (cperl-after-expr-p nil "{;(,:="))
>     1))
> 
> Because one abbrev expansion already takes place when typing "while ",
> this code leads to another, extra expansion.  Removing the
> (and abbrev-mode...) expression fixes the problem.

A lot of thanks for investigating this problem!

  >>TODO

Thanks again,
Ilya






  reply	other threads:[~2009-08-17  1:33 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-15  5:14 bug#3943: 23.0.96; CPerl-mode is too electric Chong Yidong
2009-08-16  5:08 ` Ilya Zakharevich
2009-08-16 13:23   ` Chong Yidong
2009-08-16 15:20     ` Ilya Zakharevich
2009-08-16 23:24   ` Chong Yidong
2009-08-17  1:33     ` Ilya Zakharevich [this message]
2009-08-18 16:13     ` Ilya Zakharevich
2009-08-18 16:59       ` Chong Yidong
2009-08-19  1:07         ` Ilya Zakharevich
  -- strict thread matches above, loose matches on Subject: below --
2009-07-27 13:24 Rommerskirchen, Heinrich (NSN - DE/Munich)

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=20090817013321.GB4436@powdermilk.math.berkeley.edu \
    --to=nospam-abuse@ilyaz.org \
    --cc=3943@emacsbugs.donarmstrong.com \
    --cc=cyd@stupidchicken.com \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).