From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Uwe Brauer Newsgroups: gmane.emacs.devel Subject: strange font information in local abbrev table Date: Sun, 26 Oct 2014 15:06:18 +0100 Message-ID: <87wq7nc4dh.fsf@mat.ucm.es> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1414332421 6216 80.91.229.3 (26 Oct 2014 14:07:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 26 Oct 2014 14:07:01 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 26 15:06:50 2014 Return-path: Envelope-to: ged-emacs-devel@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 1XiOT4-0002QV-OM for ged-emacs-devel@m.gmane.org; Sun, 26 Oct 2014 15:06:50 +0100 Original-Received: from localhost ([::1]:56773 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XiOT4-00008S-8V for ged-emacs-devel@m.gmane.org; Sun, 26 Oct 2014 10:06:50 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60313) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XiOSu-00007F-E4 for emacs-devel@gnu.org; Sun, 26 Oct 2014 10:06:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XiOSl-0002y6-FR for emacs-devel@gnu.org; Sun, 26 Oct 2014 10:06:40 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:34308) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XiOSl-0002xm-9u for emacs-devel@gnu.org; Sun, 26 Oct 2014 10:06:31 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XiOSk-0002HC-Pr for emacs-devel@gnu.org; Sun, 26 Oct 2014 15:06:30 +0100 Original-Received: from 171.pool85-55-19.dynamic.orange.es ([85.55.19.171]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 26 Oct 2014 15:06:30 +0100 Original-Received: from oub by 171.pool85-55-19.dynamic.orange.es with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 26 Oct 2014 15:06:30 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 49 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 171.pool85-55-19.dynamic.orange.es Mail-Copies-To: never User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:W9J5oSenk6YFYSnZmgS+MNIGl6o= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:175858 Archived-At: Hello I use the following simple functions (defun ediff-copy-to-register-A () (interactive) (copy-to-register ?A (region-beginning) (region-end) nil) (message "diff is copied to register A")) (defun ediff-copy-to-register-B () (interactive) (copy-to-register ?B (region-beginning) (region-end) nil) (message "diff is copied to register B")) (defun ediff-define-abbrev () (interactive) (let ((name (get-register ?A))) (let ((expansion (get-register ?B))) (define-abbrev local-abbrev-table name (downcase expansion)))) (message "abbrev is added using register A and B.")) Which come in handy for example to define abbrevs when ediff was called, but could be used in other circumstances. Now while this works in Xemacs and GNU emacs, I just recently discovered that in GNU emacs there is some additional font information, whose origin and purpose I don't understand: example: I have the defined the following minor mode with a corresponding abbrev table: (deutsch-minor-mode-abbrev-table) however when I defined hallllo to be expanded has hallo It works but relevant entry in the local-abbrev-table is: #("hallllo" 0 7 (fontified t)) 0 "hallo" The doc of define-abbrev seems not to make reference to this. Can anybody enlighten me please? Thanks Uwe Brauer