GNU bug report logs - #18197
24.3.92; Get rid of ellipsis at beginning of window

Previous Next

Package: emacs;

Reported by: Nicolas Richard <theonewiththeevillook <at> yahoo.fr>

Date: Tue, 5 Aug 2014 10:07:01 UTC

Severity: wishlist

Found in version 24.3.92

Full log


View this message in rfc822 format

From: Nicolas Richard <theonewiththeevillook <at> yahoo.fr>
To: Nicolas Richard <theonewiththeevillook <at> yahoo.fr>
Cc: 18197 <at> debbugs.gnu.org
Subject: bug#18197: 24.3.92; Get rid of ellipsis at beginning of window
Date: Mon, 12 Jan 2015 14:34:48 +0100
Hello,

TL;DR: Ping?

FWIW, this bug came from the Org mode ML, see
http://lists.gnu.org/archive/html/emacs-orgmode/2014-11/msg00795.html
but can be reproduced with outline-mode only (which is what I did in the
recipe).

I still don't have a good solution for this problem. My best idea is
something along the lines of

(defun fix-ellipsis ()
  (let ((ws (window-start)))
    (save-excursion
      (goto-char ws)
      (skip-chars-backward "^\n")
      (while (and (not (bobp)) (invisible-p (1- (point))))
        (goto-char (previous-char-property-change (point)))
        (skip-chars-backward "^\n"))
      (redisplay))))
(add-hook 'post-command-hook 'fix-ellipsis)

which is awful.

Does someone know if this is actually a bug or just me having weird
expectations ?

TIA,

-- 
Nicolas Richard




This bug report was last modified 9 years and 118 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.