From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] trunk r116616: lisp/icomplete.el: Use "..." when U+2026 cannot be displayed. Date: Sun, 2 Mar 2014 01:54:22 +0100 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1393721699 15095 80.91.229.3 (2 Mar 2014 00:54:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 2 Mar 2014 00:54:59 +0000 (UTC) Cc: Emacs developers To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 02 01:55:08 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 1WJugN-00078J-OB for ged-emacs-devel@m.gmane.org; Sun, 02 Mar 2014 01:55:07 +0100 Original-Received: from localhost ([::1]:33985 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WJugN-0003vJ-EW for ged-emacs-devel@m.gmane.org; Sat, 01 Mar 2014 19:55:07 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52840) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WJugK-0003qA-2K for emacs-devel@gnu.org; Sat, 01 Mar 2014 19:55:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WJugJ-0001Np-A9 for emacs-devel@gnu.org; Sat, 01 Mar 2014 19:55:04 -0500 Original-Received: from mail-yk0-x22d.google.com ([2607:f8b0:4002:c07::22d]:49344) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WJugJ-0001N1-4d for emacs-devel@gnu.org; Sat, 01 Mar 2014 19:55:03 -0500 Original-Received: by mail-yk0-f173.google.com with SMTP id 10so6598021ykt.4 for ; Sat, 01 Mar 2014 16:55:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=KuJZuNL79mTOdthEaWMTgVOddBgAU03yCTK0QMOCEis=; b=W2Zc2knFG3Qf2wOX0OnqpRzSFYGhj/B39xgjPxG/ZBB9xItxt7nU0awh4YGB1YvJ69 11MlQt98ZWthmS83HzJ7AABjifu2pmrKxMSTqce9sVt9if23bOl/LwEFjqXTdqNJgI/D uka02AX66oEVSsVMZkc+HjkCjVVlrU9uxi24j58cEsrF99/prxi9XQP+YFNZpyAvPQA6 HDpzDy2cUF5quBs785hudb0NOh3kmhvHzekgxGkvmGvUtHrxnkrGBGbmfNpg/SU+0Lh2 IOU3drwlsEqxF1eSAzZYfse390qQRh3wy+10ovWA7UZpoGK1ZRkAWYG+5xpN5ekyvR3f 1tEA== X-Received: by 10.236.96.201 with SMTP id r49mr12694206yhf.33.1393721702334; Sat, 01 Mar 2014 16:55:02 -0800 (PST) Original-Received: by 10.170.197.1 with HTTP; Sat, 1 Mar 2014 16:54:22 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4002:c07::22d 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:170036 Archived-At: On Sat, Mar 1, 2014 at 4:59 PM, Stefan Monnier wrote: > Nitpick: these should use string-width, Right, thanks. BTW, I'd suggest a fix to string-width's doc Width is measured by how many columns it occupies on the screen. to make clear that a window's display table does not affect the width computation; which makes sense, because the buffer could be displayed in multiple windows with different display tables, but the docstring seems to indicate that it should. J