From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Juanma Barranquero" Newsgroups: gmane.emacs.devel Subject: `*' interactive spec in some text-killing functions Date: Wed, 27 Jun 2007 15:39:52 +0200 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1182951609 19088 80.91.229.12 (27 Jun 2007 13:40:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 27 Jun 2007 13:40:09 +0000 (UTC) To: "emacs- devel" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 27 15:40:07 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1I3Xkb-0002Bl-4A for ged-emacs-devel@m.gmane.org; Wed, 27 Jun 2007 15:40:05 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I3Xka-0007Wy-Mv for ged-emacs-devel@m.gmane.org; Wed, 27 Jun 2007 09:40:04 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I3XkW-0007Vy-Hk for emacs-devel@gnu.org; Wed, 27 Jun 2007 09:40:00 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I3XkU-0007TW-Mg for emacs-devel@gnu.org; Wed, 27 Jun 2007 09:39:59 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I3XkU-0007TI-JY for emacs-devel@gnu.org; Wed, 27 Jun 2007 09:39:58 -0400 Original-Received: from wx-out-0506.google.com ([66.249.82.235]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1I3XkT-00025w-7R for emacs-devel@gnu.org; Wed, 27 Jun 2007 09:39:57 -0400 Original-Received: by wx-out-0506.google.com with SMTP id h26so161878wxd for ; Wed, 27 Jun 2007 06:39:52 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=AAj++s2d71cq9p2RD2W9pSmsamC6wR+/NxMqYAKL/4VC3qb+EF97Bwi3+7b46pTRdHYmmwMDuGNoldop1RV9bar6pPrhKJOWyp226rAiC8Du6o8jSlPf5qNIngFyJvsFPrh3SHwCDeMvDf8BCyNnCBtb+TAZ/iUj48g1EU2/+Kw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=qSUw9re3VvXESw7lazsmS7hBJq3RQEvCO9e5x4I5Q6Hidy5jkWTgmUNSChS87X1QlXRXRe8AMU/yD7OFzgXkUmc1LSXma6fKA9TRkCRoTXF8O5of5bL+kaZXEqIqU8o+7Ns6bcrKjAdw7x8X1e9KkIl4edyRw+dsWdcpu3P1ucI= Original-Received: by 10.90.118.8 with SMTP id q8mr401986agc.1182951592832; Wed, 27 Jun 2007 06:39:52 -0700 (PDT) Original-Received: by 10.90.87.8 with HTTP; Wed, 27 Jun 2007 06:39:52 -0700 (PDT) Content-Disposition: inline X-detected-kernel: Linux 2.4-2.6 (Google crawlbot) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:73920 Archived-At: The following functions from simple.el do not have the `*' interactive spec: zap-to-char, kill-line, kill-whole-line, kill-word, backward-kill-word. (They don't have a call to `barf-if-buffer-read-only', either). Using any of them in a read-only buffer does not delete text, but it moves the point forward (or backward, in the case of `backward-kill-word'), which is weird. Is that intended, or should they have `*' in the interactive spec? Additionally, `overwrite-mode' and `binary-overwrite-mode' do not have `*' either. It is customary not to do so for minor modes, it is an oversight, or it is really preferred not to get an error message in interactive uses of the overwrite modes? Juanma