edbrowse-dev - development list for edbrowse
 help / color / mirror / Atom feed
From: Tyler Spivey <tspivey@pcdesk.net>
To: edbrowse-dev@edbrowse.org
Subject: Re: [edbrowse-dev] spurious empty buffers from textareas
Date: Wed, 9 Jan 2019 09:53:18 -0800	[thread overview]
Message-ID: <31c77dba-b68b-d90d-288a-2467b86dee78@pcdesk.net> (raw)
In-Reply-To: <20190009071846.eklhad@comcast.net>

I don't really have a preference to the command, but I also vote yes.

What will this do if there's text in that field already? My vote would 
be to say something like <buffer text>, and then let the command just 
put that in. 99% of the time I'm not going to care about whatever 
pre-filled text there is unless I'm filling out the form.

On 1/9/2019 4:18 AM, Karl Dahlke wrote:
> These have annoyed me for quite a while, and come to find they annoy others as well.
> As per our chat discussions, I made a change, but it's a UI change so should be described here.
> (Not everyone is on chat.)
> 
> A fill out form with a textarea use to allocate a buffer for that area at browse time, looking like <buffer 7>
> It now waits to see if you're actually going to use it, since 90% of the time you don't.
> It begins life as <buffer ?>
> 
> An itext (for input text) command  allocates a buffer and changes it to <buffer 7>
> Then you can write text in buffer 7 and submit the form like before.
> It's one more step for something that is rarely done,
> but it prevents a ton of empty buffers from accumulating.
> 
> I have no strong feelings about the actual command name.
> 
> itext (input text)
> ibuf (input buffer)
> iw (input write)
> ita (input textarea)
> 
> Long as it starts with i I'm ok.
> 
> If you change line 760 in decorate.c the old behavior returns.
> 
> I'm not documenting any of this until a majority thinks it's a good idea.
> My vote is yes but others may disagree.
> 
> Karl Dahlke
> 


  parent reply	other threads:[~2019-01-09 17:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-09 12:18 Karl Dahlke
2019-01-09 12:42 ` Chuck Hallenbeck
2019-01-09 17:53 ` Tyler Spivey [this message]
2019-01-10  0:15   ` Dominique Martinet

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=31c77dba-b68b-d90d-288a-2467b86dee78@pcdesk.net \
    --to=tspivey@pcdesk.net \
    --cc=edbrowse-dev@edbrowse.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).