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

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

bug#11832: 24.1.50; enhancement request: line truncation not dependent o


From: Eli Zaretskii
Subject: bug#11832: 24.1.50; enhancement request: line truncation not dependent on fringe
Date: Fri, 13 Jul 2012 13:14:20 +0300

> From: Juanma Barranquero <lekktu@gmail.com>
> Date: Tue, 10 Jul 2012 21:59:41 +0200
> Cc: drew.adams@oracle.com, 11832@debbugs.gnu.org
> 
> ;;;;;;;;;; test.el ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
> (require 'bs)
> (add-hook 'bs-mode-hook (lambda () (set-window-fringes nil 0 0)))
> (setq bs-attributes-list '(("Buffer" compute-buffer-width  nil left
> bs--get-name)))
> (defun compute-buffer-width ()
>   (- (window-width)
>      1))  ; one empty column at the end
> ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;,,,,,,,,
> 
> emacs -Q -l test.el -f bs-show
> 
> Result: there's a spurious blank line at the end which wasn't there in
> 24.1, nor the trunk of few days ago.

Fixed in trunk revision 109069.

It was a problem with vertical-motion, which affected
count-screen-lines, which caused bs--set-window-height resize the
window one line too tall.





reply via email to

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