9front - general discussion about 9front
 help / color / mirror / Atom feed
From: ori@eigenstate.org
To: 9front@9front.org
Subject: Re: [9front] Mail: scroll top top of message
Date: Sat, 22 Jun 2024 11:59:53 -0400	[thread overview]
Message-ID: <A8C6E00F0F36995781FF799BF4CD4635@eigenstate.org> (raw)
In-Reply-To: <55FCFE60D65B55537418BF484C64C6E8@nuc>

Quoth Nicola Girardi <ng@0x80.stream>:
> 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;
>  }
>  
> 


  reply	other threads:[~2024-06-22 16:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-22 15:38 Nicola Girardi
2024-06-22 15:59 ` ori [this message]
2024-06-22 16:13 ng

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=A8C6E00F0F36995781FF799BF4CD4635@eigenstate.org \
    --to=ori@eigenstate.org \
    --cc=9front@9front.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.
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 NNTP newsgroup(s).