From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Achim Gratz Newsgroups: gmane.emacs.devel Subject: Re: toggle-read-only should not give compilation warnings Date: Wed, 11 Jul 2012 19:04:44 +0200 Message-ID: <87ipduz0sz.fsf@Rainer.invalid> References: <877gubszqq.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1342026340 13485 80.91.229.3 (11 Jul 2012 17:05:40 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 11 Jul 2012 17:05:40 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jul 11 19:05:39 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 1Sp0Ly-0001WA-Sf for ged-emacs-devel@m.gmane.org; Wed, 11 Jul 2012 19:05:31 +0200 Original-Received: from localhost ([::1]:33064 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sp0Lx-0001Qz-UF for ged-emacs-devel@m.gmane.org; Wed, 11 Jul 2012 13:05:29 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:56526) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sp0Lq-0001LQ-VF for emacs-devel@gnu.org; Wed, 11 Jul 2012 13:05:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sp0Li-0005FI-Oq for emacs-devel@gnu.org; Wed, 11 Jul 2012 13:05:22 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:60481) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sp0Li-0005F0-I8 for emacs-devel@gnu.org; Wed, 11 Jul 2012 13:05:14 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Sp0Lc-0000y0-7J for emacs-devel@gnu.org; Wed, 11 Jul 2012 19:05:08 +0200 Original-Received: from pd9eb5791.dip.t-dialin.net ([217.235.87.145]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 11 Jul 2012 19:05:08 +0200 Original-Received: from Stromeko by pd9eb5791.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 11 Jul 2012 19:05:08 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 18 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: pd9eb5791.dip.t-dialin.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) Cancel-Lock: sha1:foZXLLTxzQDqqAzRghbiblkwhu0= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:151537 Archived-At: Chong Yidong writes: > Instead of sprinking with-no-warnings all over, I propose removing > toggle-read-only from byte-compile-interactive-only-functions. Any > objections? Wouldn't it be nicer to have a non-interactive interface to that functionality, with the toggling of "view-mode" removed (which seems to be what the warning admonishes against)? Maybe something named with-read-only-buffer and with-editable-buffer? Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptations for KORG EX-800 and Poly-800MkII V0.9: http://Synth.Stromeko.net/Downloads.html#KorgSDada