From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Luc Teirlinck Newsgroups: gmane.emacs.devel Subject: Re: [comp.emacs] Announcing Easymacs: an all-in-one Emacs configuration for newbies Date: Fri, 1 Jul 2005 10:36:01 -0500 (CDT) Message-ID: <200507011536.j61Fa1X28384@raven.dms.auburn.edu> References: <85y88r6kf2.fsf@lola.goethe.zz> <200507011421.j61ELIm27564@raven.dms.auburn.edu> <42C55953.1010700@student.lu.se> NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1120231962 25782 80.91.229.2 (1 Jul 2005 15:32:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 1 Jul 2005 15:32:42 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 01 17:32:40 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DoNUW-0003Qz-Pv for ged-emacs-devel@m.gmane.org; Fri, 01 Jul 2005 17:31:45 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DoNd0-0005eS-8Q for ged-emacs-devel@m.gmane.org; Fri, 01 Jul 2005 11:40:30 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DoNbi-00057y-VT for emacs-devel@gnu.org; Fri, 01 Jul 2005 11:39:11 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DoNbg-000562-Ep for emacs-devel@gnu.org; Fri, 01 Jul 2005 11:39:09 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DoNbg-00055i-C6 for emacs-devel@gnu.org; Fri, 01 Jul 2005 11:39:08 -0400 Original-Received: from [131.204.53.104] (helo=manatee.dms.auburn.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DoNfd-0007Bj-Km for emacs-devel@gnu.org; Fri, 01 Jul 2005 11:43:13 -0400 Original-Received: from raven.dms.auburn.edu (raven.dms.auburn.edu [131.204.53.29]) by manatee.dms.auburn.edu (8.12.10/8.12.10) with ESMTP id j61FbsCK018016; Fri, 1 Jul 2005 10:37:54 -0500 (CDT) Original-Received: (from teirllm@localhost) by raven.dms.auburn.edu (8.11.7p1+Sun/8.11.7) id j61Fa1X28384; Fri, 1 Jul 2005 10:36:01 -0500 (CDT) X-Authentication-Warning: raven.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: lennart.borgman.073@student.lu.se In-reply-to: <42C55953.1010700@student.lu.se> (message from Lennart Borgman on Fri, 01 Jul 2005 16:55:15 +0200) 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:40038 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:40038 Lennart Borgman wrote: Which make me think that these two things would overlap if the key bindings where defined through define-minor-mode. In a certain sense, global minor modes can be thought of as keybinding themes (if the main thing they do is activate a keymap). However, there is a convention that minor modes can only bind a very limited number of key sequences. Of course, a "theme" minor mode can get around that by simply disregarding that convention. I am not really familiar with cua-mode or pc-selection-mode, but I guess that this is exactly what they do. A "theme" minor mode has to be very careful, however, because it normally is intended as a substitute for the global map. The local map (usually the major mode map) overrides the global map, but not the substitutions to the global map provided by the theme minor mode. This could potentially mess up some major modes. Sincerely, Luc.