From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.bugs Subject: bug#8463: 24.0.50; [PATCH] Direct Edit in *Occur* Buffer Date: Sat, 17 Sep 2011 17:28:13 -0400 Message-ID: <8762kqzwnm.fsf@stupidchicken.com> References: <87k49i6izg.fsf@mail.jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1316294960 29287 80.91.229.12 (17 Sep 2011 21:29:20 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 17 Sep 2011 21:29:20 +0000 (UTC) Cc: 8463@debbugs.gnu.org, Leo To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Sep 17 23:29:15 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 1R52Rn-0002jU-Qq for geb-bug-gnu-emacs@m.gmane.org; Sat, 17 Sep 2011 23:29:15 +0200 Original-Received: from localhost ([::1]:33223 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R52Rn-0005Na-Dp for geb-bug-gnu-emacs@m.gmane.org; Sat, 17 Sep 2011 17:29:15 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:43066) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R52Rk-0005NQ-Id for bug-gnu-emacs@gnu.org; Sat, 17 Sep 2011 17:29:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R52Ri-0002tg-Kg for bug-gnu-emacs@gnu.org; Sat, 17 Sep 2011 17:29:12 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55600) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R52Ri-0002tc-Hl for bug-gnu-emacs@gnu.org; Sat, 17 Sep 2011 17:29:10 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1R52WQ-0002Fe-15; Sat, 17 Sep 2011 17:34:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Chong Yidong Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 17 Sep 2011 21:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8463 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 8463-submit@debbugs.gnu.org id=B8463.13162951898581 (code B ref 8463); Sat, 17 Sep 2011 21:34:01 +0000 Original-Received: (at 8463) by debbugs.gnu.org; 17 Sep 2011 21:33:09 +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 1R52VY-0002EM-FW for submit@debbugs.gnu.org; Sat, 17 Sep 2011 17:33:08 -0400 Original-Received: from vm-emlprdomr-04.its.yale.edu ([130.132.50.145]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R52VW-0002EF-DG for 8463@debbugs.gnu.org; Sat, 17 Sep 2011 17:33:07 -0400 Original-Received: from furball (dhcp-128-36-14-81.central.yale.edu [128.36.14.81]) (authenticated bits=0) by vm-emlprdomr-04.its.yale.edu (8.14.4/8.14.4) with ESMTP id p8HLSDak029763 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Sat, 17 Sep 2011 17:28:14 -0400 In-Reply-To: <87k49i6izg.fsf@mail.jurta.org> (Juri Linkov's message of "Fri, 09 Sep 2011 14:39:23 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-Scanned-By: MIMEDefang 2.71 on 130.132.50.145 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 17 Sep 2011 17:34:02 -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:51332 Archived-At: Juri Linkov writes: > But there is a greater drawback: stealing the `C-x C-q' keybinding > from `toggle-read-only' and putting read-only properties on the > *Occur* buffer is unacceptable. I'm used to run `flush-lines' and > `keep-lines' to narrow the search results, but can't do this anymore. > This is a regression. OK, I rebound occur-edit-mode to "e" and removed the read-only properties, with some additional code changes to make Occur Edit mode work without requiring read-only text. As for the other issue of single-char commands not being usable in non-read-only Occur mode, we could handle it in a way similar to diff mode (via minor-mode-overriding-map-alist), but that is for another day.