From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <9front-bounces@9front.inri.net> X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: from 9front.inri.net (9front.inri.net [168.235.81.73]) by inbox.vuxu.org (Postfix) with ESMTP id BC9B023165 for ; Sat, 22 Jun 2024 18:03:18 +0200 (CEST) Received: from mimir.eigenstate.org ([206.124.132.107]) by 9front; Sat Jun 22 12:01:54 -0400 2024 Received: from mimir.eigenstate.org (localhost [127.0.0.1]) by mimir.eigenstate.org (OpenSMTPD) with ESMTP id 08927457 for <9front@9front.org>; Sat, 22 Jun 2024 09:01:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=eigenstate.org; h= message-id:to:subject:date:from:in-reply-to:mime-version :content-type:content-transfer-encoding; s=mail; bh=BnQAjjw4d7WZ 1dPORmxapkjgCUU=; b=LvSWzy6TQyMOpT7UVBdXJZB9L5NSXuHuoV+qMNFUiyAP v4wb11dgveucgQ6LKhJ96/miUZLsQyeDUsWAcdKfXuTSx7HNbs+IsIuyk1+l5rQ/ 1bH1pkpu0XKmatG11K3zMMjJ7vk87xDsp8CIcNVqxYMzOSlXDQft0LLtHYgkL/k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=eigenstate.org; h=message-id :to:subject:date:from:in-reply-to:mime-version:content-type :content-transfer-encoding; q=dns; s=mail; b=Ie1rsUMWy8VRdYjFdna OQMIcuUlqhMI0QPdnM5W/14U1CSs5SIOPwYpvgiCn3G4RLl79xcbBtzKtRh0mMGZ Wsf5g/f/Ai2MADlWC3Bbg3guvATdOCAUaCXfiuJ4hJpYKkZaljlGlkX7br76rRUA bFxw4gfJ1X9R3AyucvttsJkM= Received: from chainsaw.lan (ue.tmodns.net [172.58.229.195]) by mimir.eigenstate.org (OpenSMTPD) with ESMTPSA id 032cd6b8 (TLSv1.2:ECDHE-RSA-AES256-SHA:256:NO) for <9front@9front.org>; Sat, 22 Jun 2024 09:01:51 -0700 (PDT) Message-ID: To: 9front@9front.org Date: Sat, 22 Jun 2024 11:59:53 -0400 From: ori@eigenstate.org In-Reply-To: <55FCFE60D65B55537418BF484C64C6E8@nuc> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: lossless realtime GPU high-performance manager Subject: Re: [9front] Mail: scroll top top of message Reply-To: 9front@9front.org Precedence: bulk Quoth Nicola Girardi : > Hi, I was looking to make acme Mail show the top of newly opened > messages; I've used the scrollbar manually for years now and finally > decided to try and automate that... this works for me, posting here > in case it's useful for anyone else. Hm, no objections, but the newly opened messages start at the top for me; do you have steps to reproduce? > > ; git/diff mesg.c > diff 900d08fb3c2517270cb15201a27eeda6eba5a522 uncommitted > --- a/sys/src/cmd/upas/Mail/mesg.c > +++ b/sys/src/cmd/upas/Mail/mesg.c > @@ -294,7 +294,8 @@ > } > Bterm(wfd); > free(home); > - fprint(m->ctl, "clean\n"); > + fprint(m->addr, "#0"); > + fprint(m->ctl, "dot=addr\nshow\nclean\n"); > return 0; > } > >