unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Juanma Barranquero <lekktu@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 11832@debbugs.gnu.org
Subject: bug#11832: 24.1.50; enhancement request: line truncation not dependent on fringe
Date: Tue, 10 Jul 2012 21:59:41 +0200	[thread overview]
Message-ID: <CAAeL0SRtL59g0H7SiF4vEJsVMZDMaE+DAej6bhWz=uTpZP55fQ@mail.gmail.com> (raw)
In-Reply-To: <833953msh7.fsf@gnu.org>

On Sat, Jul 7, 2012 at 6:44 PM, Eli Zaretskii <eliz@gnu.org> wrote:

> I'm not closing the bug report, because I'm quite sure people will
> find subtle bugs in this mode, especially with proportional fonts,
> variable-size fonts, images, and any other feature that causes lines
> to differ in pixel size.

Ding dong!

> Please report any such problems here, and please try to come up with
> the simplest possible test case for each problem, preferably starting
> with "emacs -Q".

;;;;;;;;;; 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.

    Juanma





  parent reply	other threads:[~2012-07-10 19:59 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-01 14:13 bug#11832: 24.1.50; enhancement request: line truncation not dependent on fringe Drew Adams
2012-07-01 16:09 ` Eli Zaretskii
2012-07-01 16:52   ` Drew Adams
2012-07-01 17:16     ` Andreas Schwab
2012-07-01 17:26     ` Andreas Schwab
2012-07-01 21:41       ` Drew Adams
2012-07-02 13:52       ` Stefan Monnier
2012-07-01 17:34     ` Eli Zaretskii
2012-07-02 19:16   ` Eli Zaretskii
2012-07-02 19:18     ` Drew Adams
2012-07-07 16:44     ` Eli Zaretskii
2012-07-07 16:54       ` Drew Adams
2012-07-18 15:25         ` Drew Adams
2012-07-18 17:08           ` Eli Zaretskii
2012-07-10 19:59       ` Juanma Barranquero [this message]
2012-07-13 10:14         ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAAeL0SRtL59g0H7SiF4vEJsVMZDMaE+DAej6bhWz=uTpZP55fQ@mail.gmail.com' \
    --to=lekktu@gmail.com \
    --cc=11832@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).