9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Rob 'Commander' Pike" <r@google.com>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] file name completion
Date: Mon, 22 Dec 2003 16:32:36 -0800	[thread overview]
Message-ID: <0d0b919f3e0bf842de75af36d8dc2726@google.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 826 bytes --]

evidence is that this didn't get out before, so here it is again.
there's a stupid mistake in the implementation of left and right
arrows.  the other change here is that i tweaked the parameters
so the up and down arrows go 1/3 page and page up and page
down arrows go 2/3 page.

i hope this is it for a while.

-rob

643c643,644
< 		if(t->q0 > 0)
---
> 		if(t->q0 > 0){
> 			textcommit(t, TRUE);
644a646
> 		}
647c649,650
< 		if(t->q1 < t->file->nc)
---
> 		if(t->q1 < t->file->nc){
> 			textcommit(t, TRUE);
648a652
> 		}
650a655,656
> 		n = t->maxlines/3;
> 		goto case_Down;
652c658,659
< 		n = t->maxlines/2;
---
> 		n = 2*t->maxlines/3;
> 	case_Down:
656a664,665
> 		n = t->maxlines/3;
> 		goto case_Up;
658c667,668
< 		n = t->maxlines/2;
---
> 		n = 2*t->maxlines/3;
> 	case_Up:

[-- Attachment #2: text.c.gz --]
[-- Type: application/octet-stream, Size: 8623 bytes --]

             reply	other threads:[~2003-12-23  0:32 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-23  0:32 Rob 'Commander' Pike [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-12-22  8:20 cej
2003-12-22 11:38 ` Charles Forsyth
2003-12-22  6:19 Rob 'Commander' Pike
2003-12-22  5:48 ` mirtchov
2003-12-22 16:15   ` ron minnich
2003-12-23  1:17     ` boyd, rounin
2003-12-23  5:13       ` boyd, rounin
2003-12-24  3:32         ` okamoto
2003-12-23 23:54       ` Steve Kilbane
2003-12-27 17:56       ` Jack Johnson
2003-12-28 19:54         ` Scott Schwartz
2003-12-29  1:20           ` boyd, rounin
2003-12-22 23:02   ` rob pike, esq.
2004-01-06 14:35   ` rog
2004-01-06 15:01     ` rob pike, esq.
2004-01-07  0:16     ` Russ Cox
2003-12-22 16:12 ` Sape Mullender

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=0d0b919f3e0bf842de75af36d8dc2726@google.com \
    --to=r@google.com \
    --cc=9fans@cse.psu.edu \
    /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).