From: Stephen Berman <Stephen.Berman@gmx.net>
To: emacs-devel@gnu.org
Subject: Re: set-window-start in Elisp manual
Date: Thu, 17 Jan 2008 16:33:22 +0100 [thread overview]
Message-ID: <87prw0o4al.fsf@escher.local.home> (raw)
In-Reply-To: yoij3asw8r0y.fsf@remote1.student.chalmers.se
On Thu, 17 Jan 2008 15:29:01 +0100 bojohan+news@dd.chalmers.se (Johan Bockgård) wrote:
> martin rudalics <rudalics@gmx.at> writes:
>
>> FWIW this used to work in Emacs 20 but was already broken in Emacs 21.
>> We would have to find out why and where `window-start' gets reset to 1.
>
> [xdisp.c:13049]
>
> /* If window starts on a continuation line, maybe adjust the
> window start in case the window's width changed. */
> if (XMARKER (w->start)->buffer == current_buffer)
> compute_window_start_on_continuation_line (w);
How does this piece of code relate to the set-window-start issue, since
the latter doesn't seem to involve a continuation line? Or did you
accidentally paste in the wrong bit, and really mean the following
(which is at xdisp.c:13049 in my sources from yesterday; the above is at
line 12966):
/* If window-start is screwed up, choose a new one. */
if (XMARKER (w->start)->buffer != current_buffer)
goto recenter;
I cannot tell, because I don't understand the code. I would be grateful
for any elucidation anyone cares to give. In particular, I would like
to understand an apparent restriction on window-start in conjunction
with display properties. I've posted several times about this, but the
only response I've gotten was from RMS (see
http://permalink.gmane.org/gmane.emacs.devel/86019), which was too terse
for me to really understand. If someone who does understand it has the
time to elaborate, I would be most grateful.
Steve Berman
next prev parent reply other threads:[~2008-01-17 15:33 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-16 22:52 set-window-start in Elisp manual Stephen Berman
2008-01-17 13:11 ` martin rudalics
2008-01-17 14:29 ` Johan Bockgård
2008-01-17 15:33 ` Stephen Berman [this message]
2008-01-17 15:40 ` Johan Bockgård
2008-01-17 16:21 ` Stephen Berman
2008-01-18 14:03 ` Johan Bockgård
2008-01-20 6:14 ` Richard Stallman
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=87prw0o4al.fsf@escher.local.home \
--to=stephen.berman@gmx.net \
--cc=emacs-devel@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).