From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Reitter Newsgroups: gmane.emacs.devel Subject: C-u prefix input (e.g., C-x f / set-fill-column) Date: Fri, 19 Oct 2007 15:45:31 +0100 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1192805168 4182 80.91.229.12 (19 Oct 2007 14:46:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 19 Oct 2007 14:46:08 +0000 (UTC) To: emacs- devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 19 16:46:06 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 1Iit6o-0002dN-0b for ged-emacs-devel@m.gmane.org; Fri, 19 Oct 2007 16:45:54 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iit6f-0002t1-N5 for ged-emacs-devel@m.gmane.org; Fri, 19 Oct 2007 10:45:45 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Iit6a-0002qJ-91 for emacs-devel@gnu.org; Fri, 19 Oct 2007 10:45:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Iit6Y-0002lu-CN for emacs-devel@gnu.org; Fri, 19 Oct 2007 10:45:39 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iit6Y-0002lk-1v for emacs-devel@gnu.org; Fri, 19 Oct 2007 10:45:38 -0400 Original-Received: from ug-out-1314.google.com ([66.249.92.172]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Iit6V-0007LL-CY for emacs-devel@gnu.org; Fri, 19 Oct 2007 10:45:35 -0400 Original-Received: by ug-out-1314.google.com with SMTP id a2so657451ugf for ; Fri, 19 Oct 2007 07:45:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:mime-version:content-transfer-encoding:message-id:content-type:to:from:subject:date:x-mailer; bh=Xx/ne0sFLf1S02+8xCFki+bEO9kWr7eKjZBY/WNdvQg=; b=CJjjLy0Q+oAkadigk9UYaspJe7OC8yrmBbLPNhYZxyvfsOGV28Pyd0aEhjPCL8pCmWG5Vr+/55olXZiH1Xzi4t+SZAXuDF3iN0Qzdh3xhwyqDLDDcd26ZliMx9GJf5pBhcU2abvSd+z7vlP19Ndt6xVKfZcVwLFcp7bqLXLHmKo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:mime-version:content-transfer-encoding:message-id:content-type:to:from:subject:date:x-mailer; b=m0Zv3JT13JFuFIbteBEoS482HwKh0xqK6xxw+AmNK6Q9r7u7OjdGxt850ZNBBRM/wV6aLiuBlPn1Bao8AqQNVOj3lobYUWlgtezCSuYden4m5q+2ouZIHmG0TvliNsnr+STqef3vnDIIY5hl13yDZKMSvv84kVBRgCMIXdm0HhM= Original-Received: by 10.67.119.15 with SMTP id w15mr3117649ugm.1192805133365; Fri, 19 Oct 2007 07:45:33 -0700 (PDT) Original-Received: from ?129.215.174.113? ( [129.215.174.113]) by mx.google.com with ESMTPS id k1sm8418372ugf.2007.10.19.07.45.32 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 19 Oct 2007 07:45:32 -0700 (PDT) X-Mailer: Apple Mail (2.752.3) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) 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:81224 Archived-At: The documentation for `fill-column' reads: > Interactively, you can set the buffer local value using C-x f. When you do C-x f, you get an error message "set-fill-column requires an explicit argument". (The documentation for `set-fill-column' is okay.) I would propose two changes: 1. The documentation should be "Interactively, you can set the buffer local value using C-u C-x f." 2a. When users forget to give an argument with C-u, the error message should be "set-fill-column requires an explicit argument with prefix C-u " or something like that. Or, better: 2b. Instead of displaying the above error message, the user should be queried interactively for the argument, just like most interactive functions do it. In other words, use (interactive "N") in `set-fill- column' instead of "p". FWIW, interactive "p" is used 213 times, but in most situations, the prefix seems to be optional, i.e. the change to "N" wouldn't be justified.