From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: position on changing defaults? Date: Thu, 06 Mar 2008 09:34:38 +0900 Message-ID: <87tzjklmg1.fsf@catnip.gol.com> References: <200803050637.m256bXL3008361@sallyv1.ics.uci.edu> <87hcfkdhqk.fsf@stupidchicken.com> <87pru8enjx.fsf@kfs-lx.rd.rdm> Reply-To: Miles Bader NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1204763765 6158 80.91.229.12 (6 Mar 2008 00:36:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 6 Mar 2008 00:36:05 +0000 (UTC) Cc: Chong Yidong , emacs-devel@gnu.org To: storm@cua.dk (Kim F. Storm) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 06 01:36:32 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JX45u-0006yE-RP for ged-emacs-devel@m.gmane.org; Thu, 06 Mar 2008 01:36:23 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JX45N-0006mU-Hn for ged-emacs-devel@m.gmane.org; Wed, 05 Mar 2008 19:35:49 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JX44P-00063d-El for emacs-devel@gnu.org; Wed, 05 Mar 2008 19:34:49 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JX44O-000637-Fp for emacs-devel@gnu.org; Wed, 05 Mar 2008 19:34:48 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JX44O-000631-9C for emacs-devel@gnu.org; Wed, 05 Mar 2008 19:34:48 -0500 Original-Received: from smtp11.dentaku.gol.com ([203.216.5.73]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JX44K-0000yt-5d; Wed, 05 Mar 2008 19:34:44 -0500 Original-Received: from 203-216-102-071.dsl.gol.ne.jp ([203.216.102.71] helo=catnip.gol.com) by smtp11.dentaku.gol.com with esmtpa (Dentaku) id 1JX44G-0002Jx-0t; Thu, 06 Mar 2008 09:34:40 +0900 Original-Received: by catnip.gol.com (Postfix, from userid 1000) id 05D532FF7; Thu, 6 Mar 2008 09:34:38 +0900 (JST) System-Type: i686-pc-linux-gnu In-Reply-To: <87pru8enjx.fsf@kfs-lx.rd.rdm> (Kim F. Storm's message of "Thu, 06 Mar 2008 00:52:34 +0100") Original-Lines: 32 X-Virus-Scanned: ClamAV GOL (outbound) X-Abuse-Complaints: abuse@gol.com X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:91452 Archived-At: storm@cua.dk (Kim F. Storm) writes: > BTW, why is using a pre- or post- command hook so bad? Because the more packages use those, the slower _basic_ Emacs usage gets. Many packages are tempted to use them, because they're a quick-and-easy way to do things; but if _everybody_ starts using them, wham, suddenly emacs bogs down. For this reason, we should discourage their use as far as possible, _especially_ in stuff that's on by default. Maybe in some cases using them is unavoidable, and the benefit is worth the cost, and maybe cua mode is such a case -- but OTOH, maybe we can find a better way. I think we should try anyway, and if cua or some cua-like selection mode is to be on by default, it's more important that we try. > Or use cua-selection-mode - to get all the benefits it provides! ... > Also, why is it necessary to refactor it into simple.el -- it's > not that simple :-) It may or may not be simple, but easily separated small features are much more understandable and maintainable, not to mention more elegant. Giant do-everything gob-modes are bad in general, _especially_ if they're turned on by default. -Miles -- Friendless, adj. Having no favors to bestow. Destitute of fortune. Addicted to utterance of truth and common sense.