From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#11127: 24.0.94; [PATCH] Tutorial breaks with modified key bindings Date: Thu, 29 Mar 2012 23:58:11 -0400 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1333079929 20903 80.91.229.3 (30 Mar 2012 03:58:49 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 30 Mar 2012 03:58:49 +0000 (UTC) Cc: 11127@debbugs.gnu.org To: "Aaron S. Hawley" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Mar 30 05:58:48 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 1SDSz5-0000CE-OY for geb-bug-gnu-emacs@m.gmane.org; Fri, 30 Mar 2012 05:58:43 +0200 Original-Received: from localhost ([::1]:40999 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SDSz5-0001DL-5J for geb-bug-gnu-emacs@m.gmane.org; Thu, 29 Mar 2012 23:58:43 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:52225) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SDSz2-0001Cq-Vj for bug-gnu-emacs@gnu.org; Thu, 29 Mar 2012 23:58:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SDSz0-0004Ie-66 for bug-gnu-emacs@gnu.org; Thu, 29 Mar 2012 23:58:40 -0400 Original-Received: from [140.186.70.43] (port=38914 helo=debbugs.gnu.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SDSz0-0004Hv-2e for bug-gnu-emacs@gnu.org; Thu, 29 Mar 2012 23:58:38 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SDTTN-00025h-T4 for bug-gnu-emacs@gnu.org; Fri, 30 Mar 2012 00:30:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 30 Mar 2012 04:30:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11127 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 11127-submit@debbugs.gnu.org id=B11127.13330817867987 (code B ref 11127); Fri, 30 Mar 2012 04:30:01 +0000 Original-Received: (at 11127) by debbugs.gnu.org; 30 Mar 2012 04:29:46 +0000 Original-Received: from localhost ([127.0.0.1]:45746 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SDTT7-00024m-GD for submit@debbugs.gnu.org; Fri, 30 Mar 2012 00:29:45 -0400 Original-Received: from fencepost.gnu.org ([208.118.235.10]:35325) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SDTT5-00024f-Ee for 11127@debbugs.gnu.org; Fri, 30 Mar 2012 00:29:43 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1SDSyZ-0007J3-Ke; Thu, 29 Mar 2012 23:58:11 -0400 X-Spook: passwd AK-47 Peking sniper Geraldton CIDA KGB PGP X-Ran: 9HhR-8z806rx4=9;I4|9d[V%~p^LX(FC'#=/mb^,#PfSf1||,)WYk]g_Ch\x)"Tk X-Hue: green X-Attribution: GM In-Reply-To: (Aaron S. Hawley's message of "Thu, 29 Mar 2012 17:31:31 -0400") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) 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:58311 Archived-At: "Aaron S. Hawley" wrote: > (dir-locals-set-class-variables > 'unwritable-directory > '((nil . ((buffer-read-only . t))))) > (dir-locals-set-directory-class default-directory 'unwritable-directory) > C-h t > > I believe I've found a corner-case. A very small corner I should imagine. ;) I'll make it set buffer-read-only (back) to nil after hacking locals. Though maybe there are other directory locals that could cause non-standard behaviour. It's a shame there appears to be no setting for enable-local-variables that means "respect (safe) file-locals, but ignore directory locals". > Although, is (hack-local-variables) really that necessary in tutorial.el? Some of the languages set sentence-end-double-space to nil. That appears to be it. Personally, I think this takes "translation" a bit too far, but without the local setting the sentence motion commands don't work correctly. (Though I don't recall ever seeing this reported as a bug, and prior to 24 local variables were not respected in the tutorial.) I also think any Local Variables section should be removed from the displayed tutorial buffer.