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

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

bug#16828: 24.3.50; eval-expression, character representation of integer


From: npostavs
Subject: bug#16828: 24.3.50; eval-expression, character representation of integer results time-consuming
Date: Thu, 18 May 2017 19:56:53 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:
>> 
>> > Yes, I propose that the current behavior wrt the argument will be left
>> > unchanged, except when the argument is zero, i.e. "C-u 0".
>> 
>> Currently, zero also means no truncation, keeping that meaning seems
>> important too.  Perhaps a negative argument would be a better choice?
>
> Yes, that'd be fine with me.  Thanks.

I added `-' to echo in character format, and `-1' to print it to the
buffer.  I split the patch in 2 parts, the first just refactors the
printing code, the 2nd adds the new behaviour.

Attachment: v2-0001-Refactor-lisp-eval-result-printing.patch
Description: patch

Attachment: v2-0002-Limit-integers-printed-as-characters-Bug-16828.patch
Description: patch


reply via email to

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