|
From: | GNU bug Tracking System |
Subject: | [debbugs-tracker] bug#15668: closed (24.3.50; No font lock on active region) |
Date: | Fri, 01 Nov 2013 15:55:03 +0000 |
Your message dated Fri, 1 Nov 2013 16:54:46 +0100 with message-id <address@hidden> and subject line Re: bug#15668: 24.3.50; No font lock on active region has caused the debbugs.gnu.org bug report #15668, regarding 24.3.50; No font lock on active region to be marked as done. (If you believe you have received this mail in error, please contact address@hidden) -- 15668: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=15668 GNU Bug Tracking System Contact address@hidden with problems
--- Begin Message ---Subject: 24.3.50; No font lock on active region Date: Mon, 21 Oct 2013 13:56:24 +0800 Open any elisp file and mark a function, and the active region isnot font-lockfied.This only occurs in GUI mode, it's ok with text-mode.In GNU Emacs 24.3.50.14 (x86_64-apple-darwin13.0.0, NS apple-appkit-1265.00)of 2013-10-21 on Darren-rMBP.localBzr revision: 114730 address@hiddenWindowing system distributor `Apple', version 10.3.1265Configured using:`configure --with-ns'Important settings:value of $LANG: en_US.UTF-8locale-coding-system: utf-8-unixdefault enable-multibyte-characters: tMajor mode: Lisp InteractionMinor modes in effect:tooltip-mode: tmouse-wheel-mode: ttool-bar-mode: tmenu-bar-mode: tfile-name-shadow-mode: tglobal-font-lock-mode: tfont-lock-mode: tblink-cursor-mode: tauto-composition-mode: tauto-encryption-mode: tauto-compression-mode: tline-number-mode: ttransient-mark-mode: tRecent input:M-x r e o <backspace> p o r t <tab> <return>Recent messages:For information about GNU Emacs and the GNU system, type C-h C-a.Load-path shadows:None found.Features:(shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mmleasymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drumsmm-util mail-prsvr mail-utils time-date tooltip ediff-hook vc-hookslisp-float-type mwheel ns-win tool-bar dnd fontset image regexp-optfringe tabulated-list newcomment lisp-mode prog-mode register pagemenu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-locksyntax facemenu font-core frame cham georgian utf-8-lang misc-langvietnamese tibetan thai tai-viet lao korean japanese hebrew greekromanian slovak czech european ethiopic indian cyrillic chinesecase-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadviceloaddefs button faces cus-face macroexp files text-properties overlaysha1 md5 base64 format env code-pages mule custom widgethashtable-print-readable backquote make-network-process cocoa nsmulti-tty emacs)
--- End Message ---
--- Begin Message ---Subject: Re: bug#15668: 24.3.50; No font lock on active region Date: Fri, 1 Nov 2013 16:54:46 +0100 Hello. 22 okt 2013 kl. 18:28 skrev Eli Zaretskii <address@hidden>: >> From: Jan Djärv <address@hidden> >> Date: Tue, 22 Oct 2013 18:14:03 +0200 >> Cc: address@hidden, >> address@hidden >> >> Hello. >> >> 21 okt 2013 kl. 21:06 skrev Eli Zaretskii <address@hidden>: >> >>>> From: Jan Djärv <address@hidden> >>>> Date: Mon, 21 Oct 2013 20:47:25 +0200 >>>> Cc: Darren Hoo <address@hidden>, >>>> address@hidden >>>> >>>> It would be nice if one could define a face with a foreground color to be >>>> used when foreground and background otherwise are to similar. >>> >>> Sounds like a simple enough extension to defface. >> >> Well, yes, but I envisioned that querying the face for the foreground would >> automatically give the "fallback" foreground when the background is close to >> the foreground that would otherwise be used. > > That's what I had in mind, yes. > >> I think the calculation of close and maybe handling face inheritance is a >> bit tricky. > > Some distance in the RGB space might fit the former. I'm quite sure > color comparison is something for which algorithms are readily > available. Actually there is a color_distance function in xfaces.c already. I implemented :distant-foreground to be used as a fallback, checked in to trunk. Marking this bug as done. Jan D.
--- End Message ---
[Prev in Thread] | Current Thread | [Next in Thread] |