From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Marco Munari Newsgroups: gmane.emacs.devel Subject: Re: More enhancements to fringe bitmaps. Date: Wed, 17 Mar 2004 14:59:56 +0100 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <20040311152744.GB17294@fencepost> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1079533927 16535 80.91.224.253 (17 Mar 2004 14:32:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 17 Mar 2004 14:32:07 +0000 (UTC) Cc: emacs-devel@gnu.org, "Kim F. Storm" Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Wed Mar 17 15:31:41 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1B3c56-0000PA-00 for ; Wed, 17 Mar 2004 15:31:40 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1B3c56-00030T-00 for ; Wed, 17 Mar 2004 15:31:40 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B3c4B-0006sM-4z for emacs-devel@quimby.gnus.org; Wed, 17 Mar 2004 09:30:43 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1B3c1n-0005cI-Oy for emacs-devel@gnu.org; Wed, 17 Mar 2004 09:28:15 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1B3bzr-0004Q9-8k for emacs-devel@gnu.org; Wed, 17 Mar 2004 09:26:47 -0500 Original-Received: from [193.70.193.55] (helo=mail1a.webmessenger.it) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B3baA-0006R7-1t; Wed, 17 Mar 2004 08:59:42 -0500 Original-Received: from fast (151.38.102.45) by mail1a.webmessenger.it (7.0.020) (authenticated as mar@allerta.it) id 40581DCA0000D449; Wed, 17 Mar 2004 14:59:37 +0100 Original-To: Miles Bader Face: iVBORw0KGgoAAAANSUhEUgAAADIAAAAYCAMAAACP1l7TAAAAM1BMVEU4AACKbWzcqqerdnJVPDu1jYrTvcPYm5ZkT06EVVLDnp3wv7uUgoL2z85yXl1cMC07Jygn/pCmAAAAAXRSTlMAQObYZgAAAYNJREFUeNqVlIuSKyEIRBVEEZWZ///abXSztVWbujdDKvOyDw0OSUrJs5hZTf8P4XN21e6ZgRH9Qy2Sc9eijhu977sgNNzGWH/l1SDX0ECqhwCjMPM8BVZj/JIPIpOZPQRlK8tB4IEssFWHl4CCHb7UkB/JYhXLm9Hk4bAf7zRY6ixt7GjCvZQrdB6f6XADgnJQwIRFce/XdfUsjcKlNen7QSiLbl12T4fQMid8S2bm3jeyy+qdOc+73GpIGnucNd5K4tJnnfBUE0bu0wyYuMP2Fy8Fgn7lsEk+LXVlQxZ0VVdjJKex1opeqHFdNbZGwKNLmQcRZqGa1WVFB9Ta2bF9SWuZ6qwVqpSMgbBFhWIVsUZoUmpBLGq4Iqo74IeykuHgEkiCZUzaa2iArNcrpXgufAbMsFlR2Bkia7ItDgPkZwRahGxC9hux7wWiX3MZ/b+Zzm9E3o7uu/kMJD9Gov2UzdLHYTt/lseIP3AhOz9leYLkfWZ7WFc08zkyX/8enyNx+AKHCRJJH5wbuAAAAABJRU5ErkJggg== User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:20548 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:20548 [i saw you resend, this mail reply was not sent because it was "under construction"] ~\/~ "Miles" == Miles Bader writes: Miles> BTW, I notice that this patch makes `active fringes' the Miles> distinguished case, and uses the normal fringe property for Miles> `inactive fringes', which is the opposite of what happens with Miles> modelines (the active modeline is `normal', and inactive ones Miles> are special). Miles> Is there a reason for this difference? i thought a reason, but with some my assumptions, i'm not sure if is valid for you: 1- never change existing variable names expecially if related to customizable names unless really necessary 2- choose the name which maximixe the meaning when introducing new variable names. i suppose the cronological history of this faces is: + modeline (aliased) + mode-line + mode-line-inactive + fringe when i was partitioning the fringe face concept into active and inactive meaning i was in dubt becouse i suppose (1) i can't change existing names, and in my mind "inactive" without express "active" is unexpected logic, because "inactive" is etymologically a word which extents "active". i didn't choose fringe-inactive by this opinion. But now, in more conservative point of view i can find a reason to imitate mode-line-inactive logic: when existing(/previous) unique fringe face is whatched by the user, the name is "fringe" and it is implicitly thoughts "active" in current window, even if there was not distinction. Anyway I temporary (locally) change the name in to fringe-active and fringe-inactive, and put an alias fringe (put 'fringe 'face-alias 'fringe-active), you can expect a new patch relative to the original emacs, after i sign copyright disclaimer papers, Anyway i have to say: in previous patch in xdisp.c there was wrong asignment to Qfringe, the second assignment should be to Qfringe_active in previous naming logic, and this explain the surprise noticed and commented in the same file: xfaces.c in line 7705 - Qfringe = intern ("fringe-inactive"); + Qfringe_active = intern ("fringe-active"); relative to that patch actually i have connection timeout to port 22 of savannah.gnu.org Miles> If not, it seems things might as well be consistent. Miles> -miles -- "Whatever you do will be insignificant, but it is Miles> very important that you do it." Mahatma Ghandi Saluti, MARco -- x(t),y(t) = th(3t-34.5)*e^[-(3t-34.5)^2]/2-4.3+e^(-1.8/t^2)/(.8*atg(t- 3)+2)(t-1.8)-.3th(5t-42.5),(1.4e^[-(3t-34.5)^2]+1-sgn[|t-8.5|-.5]*1.5* |sin(pi*t)|^[2e^(-(t-11.5)^2)+.5+e^(-(.6t-3.3)^2)])/(.5+t)+1 ; 0