From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: Is C-X ESC ESC malfunctioning? Date: Wed, 3 Apr 2013 06:34:01 -0700 Message-ID: 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 1364996101 2722 80.91.229.3 (3 Apr 2013 13:35:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 3 Apr 2013 13:35:01 +0000 (UTC) Cc: emacs-devel@gnu.org To: "'Xue Fuqiao'" , "'d.henman'" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 03 15:35:28 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 1UNNqT-00015N-95 for ged-emacs-devel@m.gmane.org; Wed, 03 Apr 2013 15:35:21 +0200 Original-Received: from localhost ([::1]:52833 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNNq4-00086S-H6 for ged-emacs-devel@m.gmane.org; Wed, 03 Apr 2013 09:34:56 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:37030) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNNpO-0007Df-5I for emacs-devel@gnu.org; Wed, 03 Apr 2013 09:34:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UNNpJ-0003nN-In for emacs-devel@gnu.org; Wed, 03 Apr 2013 09:34:14 -0400 Original-Received: from userp1040.oracle.com ([156.151.31.81]:16990) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNNpJ-0003kq-CF for emacs-devel@gnu.org; Wed, 03 Apr 2013 09:34:09 -0400 Original-Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94]) by userp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id r33DY6L4001470 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 3 Apr 2013 13:34:07 GMT Original-Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by ucsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r33DY50Y012629 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 3 Apr 2013 13:34:06 GMT Original-Received: from abhmt116.oracle.com (abhmt116.oracle.com [141.146.116.68]) by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id r33DY5ai015248; Wed, 3 Apr 2013 08:34:05 -0500 Original-Received: from dradamslap1 (/10.159.136.210) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 03 Apr 2013 06:34:05 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <20130403210220.25c0511c46f473ba4058df85@gmail.com> Thread-Index: Ac4wa4a13mbUhOc7SUGM7S8kA77P8wAA0//Q X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: ucsinet22.oracle.com [156.151.31.94] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 156.151.31.81 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:158589 Archived-At: > 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.