From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: toggle-read-only should not give compilation warnings Date: Fri, 13 Jul 2012 09:04:27 -0400 Message-ID: References: <877gubszqq.fsf@gnu.org> <87txxcgrq2.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1342184681 8853 80.91.229.3 (13 Jul 2012 13:04:41 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 13 Jul 2012 13:04:41 +0000 (UTC) Cc: emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 13 15:04:41 2012 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 1SpfY0-0002Zw-C1 for ged-emacs-devel@m.gmane.org; Fri, 13 Jul 2012 15:04:40 +0200 Original-Received: from localhost ([::1]:39409 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SpfXz-00015V-LF for ged-emacs-devel@m.gmane.org; Fri, 13 Jul 2012 09:04:39 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:45300) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SpfXx-00011l-9f for emacs-devel@gnu.org; Fri, 13 Jul 2012 09:04:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SpfXt-0007FW-40 for emacs-devel@gnu.org; Fri, 13 Jul 2012 09:04:37 -0400 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:50953) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SpfXr-0007FA-N6; Fri, 13 Jul 2012 09:04:31 -0400 Original-Received: from fmsmemgm.homelinux.net (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id q6DD4Srm005435; Fri, 13 Jul 2012 09:04:29 -0400 Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 7378EAE17C; Fri, 13 Jul 2012 09:04:27 -0400 (EDT) In-Reply-To: <87txxcgrq2.fsf@gnu.org> (Chong Yidong's message of "Fri, 13 Jul 2012 13:22:45 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4277=0 X-NAI-Spam-Version: 2.2.0.9309 : core <4277> : streams <783897> : uri <1164285> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.22 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:151591 Archived-At: > A prevalance of spurious warnings tend to mask real ones, by teaching > people to ignore warnings. So I'd like to get rid of these one way or > another---but preferably without sprinking with-no-warnings all over the > place. Once we're sure that the remaining calls to toggle-read-only are all "correct", we should try to understand why that is and provide some alternative function for that (and make toggle-read-only use that function, of course). Stefan