From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.bugs Subject: bug#15703: [PATCH 1/8] EWW: Support user defined representation for checkbox. Date: Fri, 25 Oct 2013 14:04:58 -0400 Organization: =?UTF-8?Q?=D0=A2=D0=B5=D0=BE=D0=B4=D0=BE=D1=80_?= =?UTF-8?Q?=D0=97=D0=BB=D0=B0=D1=82=D0=B0=D0=BD=D0=BE=D0=B2?= @ Cienfuegos Message-ID: <87a9hxi5v9.fsf@flea.lifelogs.com> References: <7056835.LJq9iUtOff@descartes> <87vc0lieez.fsf@flea.lifelogs.com> <1703223.bBex1kgHvt@descartes> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1382724312 24243 80.91.229.3 (25 Oct 2013 18:05:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 25 Oct 2013 18:05:12 +0000 (UTC) Cc: 15703@debbugs.gnu.org, larsi@gnus.org To: =?UTF-8?Q?R=C3=BCdiger?= Sonderfeld Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 25 20:05:16 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1VZll5-0002yL-Hx for geb-bug-gnu-emacs@m.gmane.org; Fri, 25 Oct 2013 20:05:16 +0200 Original-Received: from localhost ([::1]:60295 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZll5-0006aZ-42 for geb-bug-gnu-emacs@m.gmane.org; Fri, 25 Oct 2013 14:05:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55220) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZlkx-0006Y2-VS for bug-gnu-emacs@gnu.org; Fri, 25 Oct 2013 14:05:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VZlks-0003mx-O3 for bug-gnu-emacs@gnu.org; Fri, 25 Oct 2013 14:05:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58030) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZlks-0003mc-KD for bug-gnu-emacs@gnu.org; Fri, 25 Oct 2013 14:05:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VZlkr-0006fy-VJ for bug-gnu-emacs@gnu.org; Fri, 25 Oct 2013 14:05:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ted Zlatanov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 25 Oct 2013 18:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15703 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 15703-submit@debbugs.gnu.org id=B15703.138272428025630 (code B ref 15703); Fri, 25 Oct 2013 18:05:01 +0000 Original-Received: (at 15703) by debbugs.gnu.org; 25 Oct 2013 18:04:40 +0000 Original-Received: from localhost ([127.0.0.1]:43815 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VZlkW-0006fK-Cj for submit@debbugs.gnu.org; Fri, 25 Oct 2013 14:04:40 -0400 Original-Received: from mail-qc0-f175.google.com ([209.85.216.175]:50125) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VZlkU-0006f5-CS for 15703@debbugs.gnu.org; Fri, 25 Oct 2013 14:04:39 -0400 Original-Received: by mail-qc0-f175.google.com with SMTP id e16so2180874qcx.20 for <15703@debbugs.gnu.org>; Fri, 25 Oct 2013 11:04:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lifelogs.com; s=google; h=from:to:cc:subject:organization:references:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:user-agent :mime-version:content-type:content-transfer-encoding; bh=qafvn/EmvbzhSELqATuNPrmUXgP/39p3nLIOCv7jN0s=; b=NL6VnlgUQE4zj95NWL/mZWbVYg1xmIhHHyR2g3mcya7lXwkzYLFgV1wakW5yL2mhxX Lf51XhCilQIjPGvcPZSC1DMzI2UeHGCJ/hc81Bi4Si0jZuXdkWa71qt18q0xQ5Lyi22v N5ogJTw36bcBIACMJjjXkEIfPFNtEVms+Funs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:organization:references :mail-copies-to:gmane-reply-to-list:date:in-reply-to:message-id :user-agent:mime-version:content-type:content-transfer-encoding; bh=qafvn/EmvbzhSELqATuNPrmUXgP/39p3nLIOCv7jN0s=; b=Q8si18eutsXfy3BPR38E27J1XM9IYBT5brQJAFhy86t5x1ELq6HfrHCzZSOYIl4qeR mlj0ThNVDtxdAvC8536hnwrc6aJodAYIjPj0tYHo3v9Q8mptBTs21HJCO0xP7U7TlD00 0MZbYAT5DBWSAaGuZpTcdDgfhlWh5ul++ku6oNj9u3E2cC104kwFyXACws73+aCr82uH S8QvVwV/m8UJVF6QZisRchkfeydcQwIX1xbPAmz7ux6iKeV0aln43DXgwl6+RUfIrxrI DF6OXjEnDlfoQsL7NFv9QwocauhQkQK67TyzRHifKGnmlF0v/g9KKXuKKK4yK9zCB03Q eVtA== X-Gm-Message-State: ALoCoQm/mm2uvpcHrb0UH2K0RoT2Bjwtn/jzbxtsxPzF3Yf1voRMo/P0M+Z0EEwyhoIfLTpA0UVD X-Received: by 10.224.151.82 with SMTP id b18mr3913788qaw.125.1382724272826; Fri, 25 Oct 2013 11:04:32 -0700 (PDT) Original-Received: from flea.lifelogs.com (c-98-229-61-72.hsd1.ma.comcast.net. [98.229.61.72]) by mx.google.com with ESMTPSA id ge5sm15543154qeb.5.2013.10.25.11.04.32 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 25 Oct 2013 11:04:32 -0700 (PDT) X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Mail-Copies-To: never Gmane-Reply-To-List: yes In-Reply-To: <1703223.bBex1kgHvt@descartes> ("=?UTF-8?Q?R=C3=BCdiger?= Sonderfeld"'s message of "Fri, 25 Oct 2013 19:39:50 +0200") User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:79651 Archived-At: On Fri, 25 Oct 2013 19:39:50 +0200 R=C3=BCdiger Sonderfeld wrote:=20 RS> On Friday 25 October 2013 11:00:20 Ted Zlatanov wrote: >> This seems very specific just for eww... maybe it should just use the >> recently added `prettify-symbols-mode'? RS> `prettify-symbols-mode' only works with font-lock-mode Ah, OK, I see. But it seems like kind of the same ideas, so maybe a generic facility would be useful... not a font-lock interaction, but for keeping the record of "this string maps to this Unicode symbol"? Basically a big hashtable with some user control. Then `prettify-symbols-mode' could use that facility too. RS> and it would be complicated to determine whether the [ ] or [x] are RS> input-elements or literal text. (Or can `prettify-symbols-mode' RS> also match properties?) It can't, but this theoretical generic facility could filter by property as well, not just by string. Something like: (setq output (generic-unicode-symbol-replace "input-string-with-properties"= )) and the record would be: key "[]", value: '(:symbol unicode-checkmark :prop= erties (...)) I'm just thinking out loud. Sorry if this looks like overengineering the problem, but it seems to me that this would be generally useful. Oh, for example Gnus has special functionality to draw the thread trees. Users like to control that kind of customization. Another example: I would use =E2=97=90=E2=97=91=E2=97=92=E2=97=93=E2=97=94= =E2=97=95 in many places that show progress if I could. But perhaps that's too arcane :) Ted