From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#5105: 23.1; doc string of facemenu-set-face Date: Mon, 01 Aug 2011 17:27:51 -0400 Message-ID: References: <3750B6C4FBBD4720926A2FC57778497F@us.oracle.com> <46B162590B174FA18FC402384C600E59@us.oracle.com> <4D4C3BF277534D7ABBFD7434325A8A1D@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 1312234128 20178 80.91.229.12 (1 Aug 2011 21:28:48 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 1 Aug 2011 21:28:48 +0000 (UTC) Cc: 'Lars Magne Ingebrigtsen' , 5105@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Aug 01 23:28:42 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 1Qo02U-00063Y-CB for geb-bug-gnu-emacs@m.gmane.org; Mon, 01 Aug 2011 23:28:42 +0200 Original-Received: from localhost ([::1]:36911 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qo02T-0001i3-Se for geb-bug-gnu-emacs@m.gmane.org; Mon, 01 Aug 2011 17:28:41 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:39840) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qo02R-0001hc-7D for bug-gnu-emacs@gnu.org; Mon, 01 Aug 2011 17:28:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qo02Q-0000U6-3C for bug-gnu-emacs@gnu.org; Mon, 01 Aug 2011 17:28:39 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35144) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qo02Q-0000U2-0T for bug-gnu-emacs@gnu.org; Mon, 01 Aug 2011 17:28:38 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Qo02n-0006wq-TM; Mon, 01 Aug 2011 17:29:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 01 Aug 2011 21:29:01 +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.131223409926655 (code B ref 5105); Mon, 01 Aug 2011 21:29:01 +0000 Original-Received: (at 5105) by debbugs.gnu.org; 1 Aug 2011 21:28:19 +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 1Qo027-0006vs-MK for submit@debbugs.gnu.org; Mon, 01 Aug 2011 17:28:19 -0400 Original-Received: from relais.videotron.ca ([24.201.245.36]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qo026-0006vi-0O; Mon, 01 Aug 2011 17:28:18 -0400 Original-Received: from ceviche.home ([96.22.109.87]) by vl-mo-mrz23.ip.videotron.ca (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTP id <0LP9002IIQ8ZP6J0@vl-mo-mrz23.ip.videotron.ca>; Mon, 01 Aug 2011 17:26:59 -0400 (EDT) Original-Received: by ceviche.home (Postfix, from userid 20848) id E2299660CF; Mon, 01 Aug 2011 17:27:51 -0400 (EDT) In-reply-to: <4D4C3BF277534D7ABBFD7434325A8A1D@us.oracle.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 01 Aug 2011 17:29:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) 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:49774 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? How 'bout the other way around: give me a reason to accept strings. >>> 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? Very often, yes it's also a bad idea. At least for buffers we have a guarantee that there is a one-to-one mapping between (live) buffers and buffer names, so for buffers it's a bit less bad. Stefan