From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: History for query replace pairs Date: Sun, 09 Nov 2014 18:15:50 +0200 Message-ID: <83d28wpcy1.fsf@gnu.org> References: <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> <87ioiq7yre.fsf@mail.jurta.org> <83ioiqq6j8.fsf@gnu.org> <87vbmpnw3a.fsf@mail.jurta.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1415549794 19087 80.91.229.3 (9 Nov 2014 16:16:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 9 Nov 2014 16:16:34 +0000 (UTC) Cc: juri@jurta.org, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 09 17:16:27 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 1XnVAA-0001eJ-VP for ged-emacs-devel@m.gmane.org; Sun, 09 Nov 2014 17:16:27 +0100 Original-Received: from localhost ([::1]:39188 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XnVAA-0001Us-GR for ged-emacs-devel@m.gmane.org; Sun, 09 Nov 2014 11:16:26 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42551) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XnV9t-0001Ui-Mg for emacs-devel@gnu.org; Sun, 09 Nov 2014 11:16:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XnV9o-0002jH-2G for emacs-devel@gnu.org; Sun, 09 Nov 2014 11:16:09 -0500 Original-Received: from mtaout29.012.net.il ([80.179.55.185]:34348) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XnV9n-0002hn-R3 for emacs-devel@gnu.org; Sun, 09 Nov 2014 11:16:04 -0500 Original-Received: from conversion-daemon.mtaout29.012.net.il by mtaout29.012.net.il (HyperSendmail v2007.08) id <0NES00O004Q4C500@mtaout29.012.net.il> for emacs-devel@gnu.org; Sun, 09 Nov 2014 18:14:25 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout29.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NES00EWO541KBA0@mtaout29.012.net.il>; Sun, 09 Nov 2014 18:14:25 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.185 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:176625 Archived-At: > From: Stefan Monnier > Cc: Eli Zaretskii , emacs-devel@gnu.org > Date: Sat, 08 Nov 2014 21:01:54 -0500 > > I know, but > > > Then the most reliable detection would be to use char-displayable-p. > > char-displayable-p doesn't work reliably for text-terminals. I think it's the other way around: it's not 100% reliable on GUI frames, due to half-hearted way we test whether the available fonts support the character. > And of course we can't use the same separator globally, because > char-displayable-p can return different results in different terminals > (or even different frames). Indeed, this test will need to be done each time the history element is about to be displayed.