From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: History for query replace pairs Date: Sat, 08 Nov 2014 12:29:41 +0200 Organization: JURTA Message-ID: <87ioiq7yre.fsf@mail.jurta.org> References: <87wq8egh3r.fsf@lifelogs.com> <87ppe4zv0t.fsf@mail.jurta.org> <87k34ba5sn.fsf@mail.jurta.org> <87siiq4gpv.fsf@mail.jurta.org> <87iojduj9n.fsf@mail.jurta.org> <87k33nyirh.fsf@mail.jurta.org> <87sii0becx.fsf@lifelogs.com> <87ioivx2xk.fsf@mail.jurta.org> <87h9yfaihq.fsf@lifelogs.com> <87zjc6pnpg.fsf@mail.jurta.org> <87r3xhnsjb.fsf@mail.jurta.org> <87zjc2pou7.fsf@mail.jurta.org> <87zjc2fqx2.fsf@lifelogs.com> <83oasiqduw.fsf@gnu.org> 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 1415443946 8012 80.91.229.3 (8 Nov 2014 10:52:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 8 Nov 2014 10:52:26 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 08 11:52:19 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 1Xn3cx-0007CI-NC for ged-emacs-devel@m.gmane.org; Sat, 08 Nov 2014 11:52:19 +0100 Original-Received: from localhost ([::1]:35423 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xn3cx-0003wU-DH for ged-emacs-devel@m.gmane.org; Sat, 08 Nov 2014 05:52:19 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47066) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xn3cb-0003mB-GE for emacs-devel@gnu.org; Sat, 08 Nov 2014 05:52:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xn3cV-0005cA-7P for emacs-devel@gnu.org; Sat, 08 Nov 2014 05:51:57 -0500 Original-Received: from ps18281.dreamhost.com ([69.163.222.226]:57695 helo=ps18281.dreamhostps.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xn3cO-0005bG-JQ; Sat, 08 Nov 2014 05:51:44 -0500 Original-Received: from localhost.jurta.org (ps18281.dreamhostps.com [69.163.222.226]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 2478B348328E7A; Sat, 8 Nov 2014 02:51:43 -0800 (PST) In-Reply-To: <83oasiqduw.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 08 Nov 2014 10:46:15 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 69.163.222.226 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:176572 Archived-At: > I briefly tried it (will do more testing once NEWS or the manual It's too early to describe it in the manual because it might require more changes after testing. And to announce it in NEWS we need something more substantial such as to add an option to enable/disable this feature. > describes the feature in detail), and saw one problem: the Unicode > character =E2=86=92 (u+2192) is a problem on TTYs that can't encode it = or on > GUI frames that use font without a glyph for it. So I think we need a > fallback for those cases (e.g., using char-displayable-p to detect them= ). When I tried to use char-displayable-p in defcustom, then bootstraping failed with the error Attempt to autoload char-displayable-p while preparing to dump because replace.el is preloaded, and we don't know whether the character will be displayable on the current display. I wonder is it possible to detect undisplayable characters in the display engine and perform the normalization using the rules for confusable characters? In lisp/international/latin1-disp.el in latin1-display-ucs-per-lynx I see the mapping (?\=E2=86=92 "->"). Could it be used for an automatic fallba= ck?