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#12460: 24.2.50; toggling read-only interactively: echo new state Date: Mon, 17 Sep 2012 13:32:20 -0400 Message-ID: References: <94FF041B84A0444FB919BF8248D197DB@us.oracle.com> <197F31F122D94388885C1430E85C7D3A@us.oracle.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1347903180 908 80.91.229.3 (17 Sep 2012 17:33:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 17 Sep 2012 17:33:00 +0000 (UTC) Cc: 12460@debbugs.gnu.org To: "Drew Adams" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Sep 17 19:33:04 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1TDfBv-0001Py-Nv for geb-bug-gnu-emacs@m.gmane.org; Mon, 17 Sep 2012 19:33:03 +0200 Original-Received: from localhost ([::1]:60063 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TDfBr-0005FH-KX for geb-bug-gnu-emacs@m.gmane.org; Mon, 17 Sep 2012 13:32:59 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:59805) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TDfBl-0005F3-Rm for bug-gnu-emacs@gnu.org; Mon, 17 Sep 2012 13:32:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TDfBf-0002sf-Ni for bug-gnu-emacs@gnu.org; Mon, 17 Sep 2012 13:32:53 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58898) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TDfBf-0002sZ-K3 for bug-gnu-emacs@gnu.org; Mon, 17 Sep 2012 13:32:47 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TDfCs-0002pQ-If for bug-gnu-emacs@gnu.org; Mon, 17 Sep 2012 13:34:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 17 Sep 2012 17:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12460 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12460-submit@debbugs.gnu.org id=B12460.134790322010842 (code B ref 12460); Mon, 17 Sep 2012 17:34:02 +0000 Original-Received: (at 12460) by debbugs.gnu.org; 17 Sep 2012 17:33:40 +0000 Original-Received: from localhost ([127.0.0.1]:40211 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TDfCV-0002oo-Ss for submit@debbugs.gnu.org; Mon, 17 Sep 2012 13:33:40 -0400 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:55898) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TDfCS-0002og-UX for 12460@debbugs.gnu.org; Mon, 17 Sep 2012 13:33:38 -0400 Original-Received: from faina.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id q8HHWK7H030528; Mon, 17 Sep 2012 13:32:20 -0400 Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 2ABB2B4071; Mon, 17 Sep 2012 13:32:20 -0400 (EDT) In-Reply-To: <197F31F122D94388885C1430E85C7D3A@us.oracle.com> (Drew Adams's message of "Mon, 17 Sep 2012 09:05:34 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:64524 Archived-At: > And since you've now made `toggle-read-only' obsolete (though it is > still invoked by `C-x C-q' - see bug #12462), please make > `read-only-mode' echo the new state as well. It too should provide > a Boolean arg or equivalent to control the display of the new-state > message from Lisp. All minor modes follow the same rule and use `called-interactively-p' rather than an extra argument. So if we want to change it it's in easy-mmode.el and will apply to all minor modes. Stefan