* Re: [Emacs-diffs] trunk r116616: lisp/icomplete.el: Use "..." when U+2026 cannot be displayed.
[not found] <E1WJYgR-0005Y7-Sa@vcs.savannah.gnu.org>
@ 2014-03-01 15:59 ` Stefan Monnier
2014-03-02 0:54 ` Juanma Barranquero
0 siblings, 1 reply; 2+ messages in thread
From: Stefan Monnier @ 2014-03-01 15:59 UTC (permalink / raw)
To: Juanma Barranquero; +Cc: emacs-devel
> + ((< compare (+ 2 (length ellipsis))) most)
[...]
> + (+ 2 (length ellipsis)) ;; take {…} into account
Nitpick: these should use string-width,
Stefan
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Emacs-diffs] trunk r116616: lisp/icomplete.el: Use "..." when U+2026 cannot be displayed.
2014-03-01 15:59 ` [Emacs-diffs] trunk r116616: lisp/icomplete.el: Use "..." when U+2026 cannot be displayed Stefan Monnier
@ 2014-03-02 0:54 ` Juanma Barranquero
0 siblings, 0 replies; 2+ messages in thread
From: Juanma Barranquero @ 2014-03-02 0:54 UTC (permalink / raw)
To: Stefan Monnier; +Cc: Emacs developers
On Sat, Mar 1, 2014 at 4:59 PM, Stefan Monnier <monnier@iro.umontreal.ca> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-03-02 0:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <E1WJYgR-0005Y7-Sa@vcs.savannah.gnu.org>
2014-03-01 15:59 ` [Emacs-diffs] trunk r116616: lisp/icomplete.el: Use "..." when U+2026 cannot be displayed Stefan Monnier
2014-03-02 0:54 ` Juanma Barranquero
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).