From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Xue Fuqiao Newsgroups: gmane.emacs.devel Subject: Re: Is C-X ESC ESC malfunctioning? Date: Thu, 4 Apr 2013 06:23:31 +0800 Message-ID: <20130404062331.b803c496f799e004ca9a431f@gmail.com> References: <20130403213015.1788@binki> <20130403210220.25c0511c46f473ba4058df85@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1365027816 11577 80.91.229.3 (3 Apr 2013 22:23:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 3 Apr 2013 22:23:36 +0000 (UTC) Cc: "'d.henman'" , emacs-devel@gnu.org To: "Drew Adams" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Apr 04 00:24:04 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UNW66-0005Ju-6Z for ged-emacs-devel@m.gmane.org; Thu, 04 Apr 2013 00:24:02 +0200 Original-Received: from localhost ([::1]:46761 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNW5h-0004BM-B3 for ged-emacs-devel@m.gmane.org; Wed, 03 Apr 2013 18:23:37 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:38137) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNW5a-0004B7-Sr for emacs-devel@gnu.org; Wed, 03 Apr 2013 18:23:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UNW5V-0000Wv-82 for emacs-devel@gnu.org; Wed, 03 Apr 2013 18:23:30 -0400 Original-Received: from mail-pa0-f54.google.com ([209.85.220.54]:50373) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNW5V-0000Wp-20 for emacs-devel@gnu.org; Wed, 03 Apr 2013 18:23:25 -0400 Original-Received: by mail-pa0-f54.google.com with SMTP id fa11so1126155pad.41 for ; Wed, 03 Apr 2013 15:23:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:date:from:to:cc:subject:message-id:in-reply-to :references:x-mailer:mime-version:content-type :content-transfer-encoding; bh=aTp5DJ4fxdnQH3v04TX83t1zEiUaZ92wvPSAeRL+Fr8=; b=mtFg5zB7eVtYgdHLgWoMkdcvEyIQC3SHZ2G4Fms623NmOcyK4bkQ2lYNGJEE5nYSX9 v2aTBnbql71YXCvJsy7thBMcufsk8CYZI+VmEvVR/51Q8FmZnS1HtjHaJqki9LWamoLN cJ6UPzLxh9jak3pd+Gj24n1U1Zfuj2Z4mG9UajvkmLreR/+tpIFKqbrndhlTJrgAXuQA 3GStQeZ3TyuBRThVwRYFnOPywVpT3PhVl5C+QyoDFIEXQFuEanYj6TeeP4ydaX4M2POu o3cDGfNCnGUduQCEvVHASJCdTLDfxhevvCxeoZuQAF6N5mrVPgnE/7nSwuRG9rGwpiF5 a5Sw== X-Received: by 10.66.156.68 with SMTP id wc4mr5941084pab.58.1365027804266; Wed, 03 Apr 2013 15:23:24 -0700 (PDT) Original-Received: from debian.emacs ([123.114.120.207]) by mx.google.com with ESMTPS id vd4sm7457596pbc.35.2013.04.03.15.23.22 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 03 Apr 2013 15:23:23 -0700 (PDT) In-Reply-To: X-Mailer: Sylpheed 3.3.0 (GTK+ 2.24.10; x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.220.54 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:158630 Archived-At: On Wed, 3 Apr 2013 06:34:01 -0700 "Drew Adams" wrote: > > If you use `repeat-complex-command' to perform the last > > command, it will use `(count-words nil nil)'. nil is not > > an integer or a marker, so an error arises. > > > I expected the C-x ESC ESC to perform without error just as > > > if I entered the M-x count-words What should be expected here? > > I'm not sure whether it is a bug or a feature here. > A bug. > (called-interactively 'any) returns nil here, so the code then calls > `narrow-to-region' with START and END each nil. Thank you. I have filed a bug report #14136. -- Xue Fuqiao http://www.gnu.org/software/emacs/