From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs Subject: bug#5105: 23.1; doc string of facemenu-set-face Date: Mon, 18 Jul 2011 09:55:42 -0700 Message-ID: <4D4C3BF277534D7ABBFD7434325A8A1D@us.oracle.com> References: <3750B6C4FBBD4720926A2FC57778497F@us.oracle.com><46B162590B174FA18FC402384C600E59@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1311012471 18832 80.91.229.12 (18 Jul 2011 18:07:51 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 18 Jul 2011 18:07:51 +0000 (UTC) Cc: 'Lars Magne Ingebrigtsen' , 5105@debbugs.gnu.org To: "'Stefan Monnier'" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 18 20:07:46 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QisEJ-0005lP-Se for geb-bug-gnu-emacs@m.gmane.org; Mon, 18 Jul 2011 20:07:44 +0200 Original-Received: from localhost ([::1]:50823 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QisEI-0000lA-Md for geb-bug-gnu-emacs@m.gmane.org; Mon, 18 Jul 2011 14:07:42 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:38338) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qir7x-0006cL-5r for bug-gnu-emacs@gnu.org; Mon, 18 Jul 2011 12:57:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qir7v-0003ql-EW for bug-gnu-emacs@gnu.org; Mon, 18 Jul 2011 12:57:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34783) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qir7v-0003qh-2v for bug-gnu-emacs@gnu.org; Mon, 18 Jul 2011 12:57:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Qir7u-00085n-9S; Mon, 18 Jul 2011 12:57:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Drew Adams" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 18 Jul 2011 16:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 5105 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: wontfix Original-Received: via spool by 5105-submit@debbugs.gnu.org id=B5105.131100816431032 (code B ref 5105); Mon, 18 Jul 2011 16:57:02 +0000 Original-Received: (at 5105) by debbugs.gnu.org; 18 Jul 2011 16:56:04 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qir6x-00084T-76 for submit@debbugs.gnu.org; Mon, 18 Jul 2011 12:56:03 -0400 Original-Received: from rcsinet15.oracle.com ([148.87.113.117]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qir6v-00083x-8C for 5105@debbugs.gnu.org; Mon, 18 Jul 2011 12:56:02 -0400 Original-Received: from rtcsinet21.oracle.com (rtcsinet21.oracle.com [66.248.204.29]) by rcsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id p6IGtpvG009328 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 18 Jul 2011 16:55:53 GMT Original-Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by rtcsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id p6IGtner021756 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 18 Jul 2011 16:55:50 GMT Original-Received: from abhmt106.oracle.com (abhmt106.oracle.com [141.146.116.58]) by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p6IGth7h009061; Mon, 18 Jul 2011 11:55:43 -0500 Original-Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 18 Jul 2011 09:55:43 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6109 Thread-Index: AcxFVuK2Lz/l+kADSPqtOmY2JHCd7wAFARKg X-Source-IP: rtcsinet21.oracle.com [66.248.204.29] X-CT-RefId: str=0001.0A090202.4E24659A.0033:SCFSTAT5015188, ss=1, re=-4.000, fgs=0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 18 Jul 2011 12:57:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:49418 Archived-At: > > What? Why are you arbitrarily deciding that? Why not assume that > > allowing a string is a good thing, a purposeful design decision? > > Because a good programmer knows that it's obviously not a good idea to > encourage the caller to use a string here. It might be obvious to what you call good programmers, but how about giving a _reason_, for us mere mortals? And what about all of the other places where we accept a string in place of the object named by the string? As I said: >> We have many places in Emacs where we allow an arg to be >> either a thing or its name. Think of all of the BUFFER args >> that can be a buffer or a buffer name. What do the "good programmers" say about the design in those cases? Is it "obviously not a good idea" also?