GNU bug report logs -
#18197
24.3.92; Get rid of ellipsis at beginning of window
Previous Next
To reply to this bug, email your comments to 18197 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#18197
; Package
emacs
.
(Tue, 05 Aug 2014 10:07:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Nicolas Richard <theonewiththeevillook <at> yahoo.fr>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Tue, 05 Aug 2014 10:07:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
I'm not sure this is a bug, or simply a feature that annoys me. I'm
sorry if I picked the wrong mailing list.
When running the following
emacs -Q /tmp/foo.outline -f outline-mode -f end-of-buffer --eval '(forward-line -2)' -f hide-body
with /tmp/foo.outline containing:
,----
| * foo
| <a screenful of lines that do not start by a '*'>
| * bar
`----
My window then looks like:
,----
| ...
| * bar
`----
When I hit M-<, my window will look like:
,----
| * foo...
| * bar
`----
I would expect the screen to not go through the intermediate state with
an ellipsis at the beginning of the window.
If this is not a bug, what is a workaround ? The best I came up with is :
(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)))
(the code to skip invisible text comes from move-beginning-of-line).
Thanks,
In GNU Emacs 24.3.92.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
of 2014-07-11 on geodiff-mac3
Windowing system distributor `The X.Org Foundation', version 11.0.11304000
System Description: Gentoo Base System release 2.2
Configured using:
`configure --with-x-toolkit=lucid --enable-checking 'CFLAGS= -O0 -g3''
--
Nico.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#18197
; Package
emacs
.
(Mon, 12 Jan 2015 13:35:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 18197 <at> debbugs.gnu.org (full text, mbox):
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
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#18197
; Package
emacs
.
(Mon, 12 Jan 2015 16:23:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 18197 <at> debbugs.gnu.org (full text, mbox):
> From: Nicolas Richard <theonewiththeevillook <at> yahoo.fr>
> Date: Mon, 12 Jan 2015 14:34:48 +0100
> Cc: 18197 <at> debbugs.gnu.org
>
> Does someone know if this is actually a bug or just me having weird
> expectations ?
It's not a bug, in the sense that the code does what it was supposed
to do in this situation. IOW, no one coded any special treatment for
this situation, AFAIK.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#18197
; Package
emacs
.
(Wed, 17 Feb 2016 16:10:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 18197 <at> debbugs.gnu.org (full text, mbox):
> From: Marcin Borkowski <mbork <at> mbork.pl>
> Date: Wed, 17 Feb 2016 16:28:06 +0100
>
> On 2015-01-12, at 18:22, Eli Zaretskii <eliz <at> gnu.org> wrote:
>
> >> From: Nicolas Richard <theonewiththeevillook <at> yahoo.fr>
> >> Date: Mon, 12 Jan 2015 14:34:48 +0100
> >> Cc: 18197 <at> debbugs.gnu.org
> >>
> >> Does someone know if this is actually a bug or just me having weird
> >> expectations ?
> >
> > It's not a bug, in the sense that the code does what it was supposed
> > to do in this situation. IOW, no one coded any special treatment for
> > this situation, AFAIK.
>
> Hi all,
>
> does the above mean that this bug should be closed?
I think it should become wishlist.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#18197
; Package
emacs
.
(Thu, 18 Feb 2016 08:48:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 18197 <at> debbugs.gnu.org (full text, mbox):
severity 18197 wishlist
--
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University
Severity set to 'wishlist' from 'normal'
Request was from
Marcin Borkowski <mbork <at> mbork.pl>
to
control <at> debbugs.gnu.org
.
(Thu, 18 Feb 2016 08:48:02 GMT)
Full text and
rfc822 format available.
This bug report was last modified 9 years and 117 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.