From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#11381: 23.3; isearch-search-and-update issue? Date: Mon, 28 May 2012 18:44:47 +0300 Message-ID: <83pq9o1f9s.fsf@gnu.org> References: <4F9DC154.2000605@groveronline.com> <87ipgggtmw.fsf@mail.jurta.org> <878vhcc4nl.fsf@mail.jurta.org> <87vcjxdt5p.fsf@mail.jurta.org> <87vcjvwtxa.fsf@mail.jurta.org> <87r4ufhfmi.fsf@mail.jurta.org> <878vge3ri7.fsf@mail.jurta.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: dough.gmane.org 1338220071 31809 80.91.229.3 (28 May 2012 15:47:51 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 28 May 2012 15:47:51 +0000 (UTC) Cc: 11381@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon May 28 17:47:50 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 1SZ2Af-0003AI-Pw for geb-bug-gnu-emacs@m.gmane.org; Mon, 28 May 2012 17:47:49 +0200 Original-Received: from localhost ([::1]:37524 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SZ2Af-0007as-Jo for geb-bug-gnu-emacs@m.gmane.org; Mon, 28 May 2012 11:47:49 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:57218) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SZ2Ac-0007al-Mc for bug-gnu-emacs@gnu.org; Mon, 28 May 2012 11:47:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SZ2Ab-0001BI-0L for bug-gnu-emacs@gnu.org; Mon, 28 May 2012 11:47:46 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37258) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SZ2Aa-0001BE-TS for bug-gnu-emacs@gnu.org; Mon, 28 May 2012 11:47:44 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SZ2Bq-0000rX-0P for bug-gnu-emacs@gnu.org; Mon, 28 May 2012 11:49:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 May 2012 15:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11381 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11381-submit@debbugs.gnu.org id=B11381.13382201113279 (code B ref 11381); Mon, 28 May 2012 15:49:01 +0000 Original-Received: (at 11381) by debbugs.gnu.org; 28 May 2012 15:48:31 +0000 Original-Received: from localhost ([127.0.0.1]:46804 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SZ2BL-0000qo-DZ for submit@debbugs.gnu.org; Mon, 28 May 2012 11:48:31 -0400 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:42017) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SZ2BJ-0000qZ-3X for 11381@debbugs.gnu.org; Mon, 28 May 2012 11:48:30 -0400 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0M4Q00L00OM2UK00@a-mtaout23.012.net.il> for 11381@debbugs.gnu.org; Mon, 28 May 2012 18:44:43 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.210.75]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M4Q00L2CP2IOV60@a-mtaout23.012.net.il>; Mon, 28 May 2012 18:44:43 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il 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:60422 Archived-At: > From: Stefan Monnier > Date: Mon, 28 May 2012 00:23:10 -0400 > Cc: 11381@debbugs.gnu.org > > > Comparing two functions can be avoided by using properties > > on function symbols like in the patch below. > > It's not perfect, but yes, it's much better. Actually, I very much dislike this "feature" of putting properties on function symbols, or at least the way we use it. The problem is documentation: there's no good place visible to users where to document the possible values of these properties and their meanings, so they are only documented in the code. This makes maintenance much harder and error-prone than it needs to be. Look at delsel.el, for one such example. The various uses of the related properties, scattered through half a dozen other Lisp packages, are completely obfuscated, and the only place you can really understand what these properties mean is by looking at the code in delsel.el that handles them, because even the commentary in delsel.el leaves a lot of place for improvement. I say, either we start documenting these properties in the doc strings and in the manual, or we should deprecate and discourage the practice of using them.