From: Nicolas Richard <theonewiththeevillook@yahoo.fr>
To: Nicolas Richard <theonewiththeevillook@yahoo.fr>
Cc: 18197@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 [thread overview]
Message-ID: <871tn0f7gn.fsf@yahoo.fr> (raw)
In-Reply-To: <87wqanw8p5.fsf@geodiff-mac3.ulb.ac.be> (Nicolas Richard's message of "Tue, 05 Aug 2014 12:07:50 +0200")
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
next prev parent reply other threads:[~2015-01-12 13:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-05 10:07 bug#18197: 24.3.92; Get rid of ellipsis at beginning of window Nicolas Richard
2015-01-12 13:34 ` Nicolas Richard [this message]
2015-01-12 16:22 ` Eli Zaretskii
[not found] ` <87si0rz795.fsf@mbork.pl>
2016-02-17 16:09 ` Eli Zaretskii
2016-02-18 8:47 ` bug#18197: change to wishlist as per Eli's suggestion Marcin Borkowski
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=871tn0f7gn.fsf@yahoo.fr \
--to=theonewiththeevillook@yahoo.fr \
--cc=18197@debbugs.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.