From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jens C. Jensen Newsgroups: gmane.emacs.help Subject: Re: Set-window-vscroll sometimes doesn't work Date: Mon, 26 Oct 2020 09:38:26 +0100 Message-ID: <87blgpidq5.fsf@gmail.com> References: <72B62847-3F35-412A-9F74-88442A936B19@gmail.com> <834kmrq7gy.fsf@gnu.org> <83blgyp4k2.fsf@gnu.org> <4F794407-585E-4C74-85F3-00A668FB9675@gmail.com> <834kmqp1ts.fsf@gnu.org> <835z74ope5.fsf@gnu.org> <1B858755-4CAE-4E06-B867-098B323EF79E@gmail.com> <83h7qnmtq4.fsf@gnu.org> <8C545387-7A95-4B4E-A71E-05949E8A4641@gmail.com> <183EE2A7-4FF5-4888-A6F5-BDE08BD5F482@gmail.com> <83imb2kzu0.fsf@gnu.org> <83eelqkx1k.fsf@gnu.org> <83a6wdlbns.fsf@gnu.org> <83r1poizhx.fsf@gnu.org> <9F2380D3-D1CC-410E-A91D-531AA0DFE1DB@gmail.com> <838sbwhz3k.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40352"; mail-complaints-to="usenet@ciao.gmane.io" To: Eli Zaretskii , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Oct 26 14:56:23 2020 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kX2z1-000AOU-Dl for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 26 Oct 2020 14:56:23 +0100 Original-Received: from localhost ([::1]:44420 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kX2z0-0000xo-Cn for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 26 Oct 2020 09:56:22 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47172) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kWy2o-0000Wh-2Q for help-gnu-emacs@gnu.org; Mon, 26 Oct 2020 04:39:58 -0400 Original-Received: from mail-ej1-f50.google.com ([209.85.218.50]:42280) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kWy2m-0007ri-Cd; Mon, 26 Oct 2020 04:39:57 -0400 Original-Received: by mail-ej1-f50.google.com with SMTP id h24so12150244ejg.9; Mon, 26 Oct 2020 01:39:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=CQUe84QRRGhrzlmcKSZaFDW0WstQqAVoXmQwbxW9+9s=; b=q0wCS4Jc66D4pISQZM6uxvhY4FQua/FGEdSpBVLMhE5Lj8RPOb/y1aZdYuKlD2Cqob bDW2sVZpDWIda2b3cZrvqz+iu/2H8xc/Qz2MA0Y25cf8O092ZL1mm9qARI+CYn2NX6qS cyVRI2As+vQ73LYuXJ3OpKkAy3PvYmMsxT7Zl+KKvam/bN0vtQwWYqmYQb5NY5Y4B14Z Duy6dHhH4z8A3epbvqt1tSowDUtXThMsdFWB451N5OPJvGIXwsiPm3pG/qjqLWaa9LhH Fn/zEDSxOGpTDqHhBcl/S6sZxhR/r9VZvC9OToqzAd5On1Ql/vMpwmlXTbMwf0ar/tXv hGkA== X-Gm-Message-State: AOAM533jl7xD9OhaHhGiCpNVi/0jAARN8NPe4vyAgVVVMDnVldI9ybzu k0/XLOrVy7y/xeHp1j6miEJRHDctFMgUEg== X-Google-Smtp-Source: ABdhPJy6SNz0zP3DM4SDaAfqk9rrkSJyVLnTeiMf5u09ul8qzUR/Z718eW+cfyUNl4qziuLmkxHz0A== X-Received: by 2002:a17:906:2f10:: with SMTP id v16mr1904383eji.320.1603701563709; Mon, 26 Oct 2020 01:39:23 -0700 (PDT) Original-Received: from localhost ([152.89.160.190]) by smtp.gmail.com with ESMTPSA id bq8sm5577940ejb.53.2020.10.26.01.39.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Oct 2020 01:39:22 -0700 (PDT) In-Reply-To: <838sbwhz3k.fsf@gnu.org> Received-SPF: pass client-ip=209.85.218.50; envelope-from=jensecj@gmail.com; helo=mail-ej1-f50.google.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/26 04:39:24 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -9 X-Spam_score: -1.0 X-Spam_bar: - X-Spam_report: (-1.0 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FROM=0.001, NML_ADSP_CUSTOM_MED=0.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Mon, 26 Oct 2020 09:54:35 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:124720 Archived-At: On Sat, Oct 24 2020, Eli Zaretskii wrote: >> I really need to set them in the same time because when I scroll down, a= nd stopped at a tall image (or tall line), I don=E2=80=99t want to scroll t= o the top of that image immediately. Instead, I want to scroll just enough = to show the bottom of it. This requires setting window-start to that image = and set vscroll =3D image height - line height. > > This makes no sense to me, because you want to deliberately deny the > user from showing the entire screen line or its important parts. The > bottom of a large image will generally not show anything important, > and most of the screen line with the surrounding text could remain > undisplayed. Why is that a good idea? just because some other editor > behaves like that? Just to have another data-point, I also prefer the behaviour that Yuan is d= escribing, it has been a pet-peeve for me that images seems to pop into (and out of) existenc= e when scrolling in a buffer with inline-images. Smoothly scrolling over images seem to be how ma= ny other things behave, PDF viewers, websites, etc.