bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#13143: 24.2; mpc.el: mpc-songs-refresh: Args out of range


From: Stefan Monnier
Subject: bug#13143: 24.2; mpc.el: mpc-songs-refresh: Args out of range
Date: Wed, 12 Dec 2012 11:04:46 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Version: 24.4

> I looked at the code of this function, and from what I can gather, the bug
> seems to be in:
> (substring text 0 (- size postwidth textwidth 1))

Yes, that's also what I bumped into.  Great minds debug alike!

The patch looks good, installed in `trunk', thank you very much.


        Stefan


PS: I guess I didn't know about truncate-string-to-width when I wrote
this code.  But looking at truncate-string-to-width, I hope it won't
impact performance too much.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]