From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: font-show-log facility Date: Fri, 23 May 2008 16:24:00 +0900 Message-ID: References: <85prrdh6c1.fsf@lola.goethe.zz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: ger.gmane.org 1211527481 9854 80.91.229.12 (23 May 2008 07:24:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 23 May 2008 07:24:41 +0000 (UTC) Cc: bob@rattlesnake.com, emacs-devel@gnu.org To: David Kastrup Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri May 23 09:25:18 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 1JzReG-0000MH-5t for ged-emacs-devel@m.gmane.org; Fri, 23 May 2008 09:25:08 +0200 Original-Received: from localhost ([127.0.0.1]:47426 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JzRdV-0007Ng-8V for ged-emacs-devel@m.gmane.org; Fri, 23 May 2008 03:24:21 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JzRdP-0007Hn-Fg for emacs-devel@gnu.org; Fri, 23 May 2008 03:24:15 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JzRdN-0007E2-5V for emacs-devel@gnu.org; Fri, 23 May 2008 03:24:14 -0400 Original-Received: from [199.232.76.173] (port=39858 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JzRdN-0007Ds-0o for emacs-devel@gnu.org; Fri, 23 May 2008 03:24:13 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:25498) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JzRdI-0001yh-85; Fri, 23 May 2008 03:24:08 -0400 Original-Received: from mx1.aist.go.jp ([150.29.246.133]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JzRdG-0006jE-EC; Fri, 23 May 2008 03:24:07 -0400 Original-Received: from rqsmtp2.aist.go.jp (rqsmtp2.aist.go.jp [150.29.254.123]) by mx1.aist.go.jp with ESMTP id m4N7O2Vq025667; Fri, 23 May 2008 16:24:02 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp2.aist.go.jp by rqsmtp2.aist.go.jp with ESMTP id m4N7O1qe021798; Fri, 23 May 2008 16:24:01 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp2.aist.go.jp with ESMTP id m4N7O0Ae008401; Fri, 23 May 2008 16:24:00 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken.m17n.org with local (Exim 4.69) (envelope-from ) id 1JzRdA-0001jO-I9; Fri, 23 May 2008 16:24:00 +0900 In-reply-to: <85prrdh6c1.fsf@lola.goethe.zz> (message from David Kastrup on Fri, 23 May 2008 08:39:42 +0200) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/23.0.60 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) X-detected-kernel: by mx20.gnu.org: Solaris 9 X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:97563 Archived-At: In article <85prrdh6c1.fsf@lola.goethe.zz>, David Kastrup writes: > > I just followed what Emacs does for buffer-undo-list; nil > > for start new recording, t for not recording. > I find it perfectly reasonable. "nil" does not mean "don't log the > fonts" but rather "the font-log contains nothing yet". As you say: just > like buffer-undo-list. > If one can think up a good name ending with "-list", that would probably > help a bit. I am not sure it is worth the trouble, though. It is not > like this is exactly a user-accessible variable that people will change > and customize all the time. I'm now thinking about producing log only for a specific character so that people can more easily find why that character is shown by a specific font (or not shown). For that, perhaps I must change the current font-log to font-log-list, and make font-log to control what kind of log to produce as below: t: all log nil: suppresss logging char: log for that character list: for instance, `(open close)' logs only opening and closing Another improvement is for font-show-log (in mule-diag.el). Currently a list of each entry is truncated to at most 20 items. It will be good to use text property to record the truncated items on "..." and make it clickable to see all the items. Unfortunately I don't have a time to work on them at the moment. :-( --- Kenichi Handa handa@ni.aist.go.jp