comp.lang.ada
 help / color / mirror / Atom feed
From: Stephen Leake <stephen_leake@acm.org>
To: comp.lang.ada@ada-france.org
Subject: Re: OT: GUI [was:]Ann: TeXCAD 4.1
Date: 28 Mar 2004 08:52:13 -0500
Date: 2004-03-28T08:52:13-05:00	[thread overview]
Message-ID: <mailman.158.1080481949.327.comp.lang.ada@ada-france.org> (raw)
In-Reply-To: <c44kla$620$1@a1-hrz.uni-duisburg.de>

Georg Bauhaus <sb463ba@l1-hrz.uni-duisburg.de> writes:

> Stephen Leake <stephen_leake@acm.org> wrote:
> :> There are interfaces with a strong emphasis on the mouse (3 buttons
> :> and  no nervousness wheel) that are still surprisingly productive.
> :> Plan 9 for example.
> : 
> : Productive at what sort of task?
> 
> For example at editing and manipulating text. The whole OS
> interface is drawn on a graphics display, and every piece of
> text, not matter what kind, can be used both as text data, and as
> a command. The distinction is made by "activating" the relevant
> portion of text with the middle mouse button for commands.
> Have you ever succeded in copying the text of a command button
> off that user interface control?
> 
> E.g. if I write | fmt in this paragraph and I want to reshape
> say the above paragraph, I mark the above paragraph and then drag
> the mouse along ^^^^^ above with the middle mouse button pressed.
> Effect: The marked paragraph is piped through fmt.
> The paragraph can be anywhere in any window. Another level of
> OS integration.

Hmm. I assume the output of fmt is piped back to the same selected
region?

Emacs (on X Windows or MS Windows) doesn't have that same level of
dynamic binding of commands to selection regions; that is interesting.

But, if I want to format a paragraph, I don't want to hunt down a
piece of screen that happens to have "| fmt" in it; I want to hit one
key that formats the paragraph surrounding the insertion point,
according to the language mode of the buffer. Emacs does that out of
the box for many languages, and allows me to define new modes and
specify the formatting function.

> It is really very handy. If you want to do cut&paste in Emacs from
> the keyboard, you mark a region, kill, move (e.g. by searching or
> switching buffers), stop the search or adjust point in the buffer,
> and yank.

Yes. All done with keystrokes; very quick and easy.

> In ACME (a multitrack programmer's editor, but may be used for news
> reading/writing, file system browsing, or whatever, sounds familiar?
> :-) this is all done very quickly using just the mouse without
> interruption. That is, the mouse can cut, no menu or keyboard
> involved, can be used for navigation and searching, and it can then
> paste. (Please note the intermediary navigational step, this is
> neither the same as dragging, nor is it the same as copy&paste.)

The mouse can do that in Emacs as well. And in MS Word, or any other
GUI editor I've used.

But the point is, what are you doing before and after the cut and
paste? Normally, I would be typing along on the keyboard, and realize
I want to copy some text from "over there" to "here". Do I move my
hand over to the mouse, cut and paste, then move back and continue
typing? No; that's a waste of time.

If you are claiming the mouse cut&paste is enough _faster_ than the
keyboard cut&paste that it is a net savings, please say so. I doubt it.

> You can thus build your own toolboxes (a.k.a menues) by just
> displaying a file of commands or boilerplate text for TeX, Ada etc.
> No per application knowledge of how to find/get the template text is
> required, it's part of the OS, and completely "scriptable" (again,
> recursively, using the same facilities) :-)

If you can make the bindings of commands to keys persistent, that
could be a nice way for beginners to start building their own
keybindings. But if I'm going to use those bindings for the next
twenty years, it's worth my time to learn how to write them in a more
structured way.

> Actually you can write Help files containing the text of commands
> and this text can actually be used to produce the effects that the
> help file describes, like this.
> 
>   +-------------------------------+
>   | To produce an executable,     |
>   | cd /u/you/foo and then        |
>   | run gnatmake -Pfoo.gpr        |
>   |  ...                          |
> 
> Just drag the the pointer along "cd ....foo" with the middle
> mouse button pressed and then along "gnat....gpr". Done.  Is this
> integrated or not?  And if you compiler happens to be gcc34-gnatmake
> or adabuild, you as a user can adjust the help file.
> (Again this is not the same as commands built into Windows or Mac
> OS X etc help files. As a user, you cannot start editing Windows help
> files, and you cannot add arbitrary commands to an existing help
> file, can you?) ;-)

I do the same thing in Emacs all the time; I have text files that
contain the same sort of instructions; explanatory text mixed with
commands. Simple keystrokes execute the commands; no mouse needed.

And again, Emacs runs on every host OS I need. So I get this same
level of integration on Windows, Lynx, Linux, Solaris, AIX, etc.

What other operating systems does ACME run on?

-- 
-- Stephe




  reply	other threads:[~2004-03-28 13:52 UTC|newest]

Thread overview: 104+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-16 21:50 Ann: TeXCAD 4.1 Gautier Write-only
2004-03-17  9:30 ` Preben Randhol
2004-03-17 13:54   ` Georg Bauhaus
2004-03-17 14:08     ` Preben Randhol
2004-03-17 18:21       ` Georg Bauhaus
2004-03-17 18:36         ` Preben Randhol
2004-03-18 10:54           ` OT: GUI [was:]Ann: " Georg Bauhaus
2004-03-18 11:37             ` Preben Randhol
2004-03-18 14:41               ` Georg Bauhaus
2004-03-18 15:22                 ` Preben Randhol
2004-03-18 15:25                   ` Preben Randhol
2004-03-18 17:11                   ` Georg Bauhaus
2004-03-18 18:57                     ` Preben Randhol
2004-03-19 11:27                       ` Georg Bauhaus
2004-03-19 12:18                         ` Preben Randhol
2004-03-19 15:14                           ` Georg Bauhaus
2004-03-19 18:09                             ` Preben Randhol
2004-03-19 22:24                               ` Georg Bauhaus
2004-03-19 20:27                           ` Randy Brukardt
2004-03-20  0:30                             ` Ada Tutorials [was:] " Georg Bauhaus
2004-03-20  8:28                             ` Preben Randhol
2004-03-18 20:46                     ` Randy Brukardt
2004-03-24 12:50                     ` chris
2004-03-24 13:10                       ` Preben Randhol
2004-03-24 15:19                         ` Martin Dowie
2004-03-24 17:20                           ` Preben Randhol
2004-03-25  8:22                             ` Martin Dowie
2004-04-02 10:45                             ` Martin Dowie
2004-03-25 18:00                           ` Pascal Obry
2004-03-26 23:25                           ` OT: GUI Jacob Sparre Andersen
2004-03-27 18:29                             ` Martin Dowie
2004-03-27 19:40                               ` Ludovic Brenta
2004-03-27 19:52                                 ` Frank J. Lhota
2004-03-27 20:08                                   ` Ludovic Brenta
2004-03-27 20:33                                     ` Georg Bauhaus
2004-03-27 22:15                                   ` Robert I. Eachus
2004-04-15 11:05                               ` Preben Randhol
2004-04-15 16:22                                 ` Martin Dowie
2004-04-15 21:39                                   ` Jacob Sparre Andersen
2004-04-15 23:52                                   ` Stephen Leake
2004-04-16  7:14                                   ` Preben Randhol
2004-04-16 13:08                                     ` Martin Dowie
2004-04-16 15:24                                       ` Preben Randhol
     [not found]                                   ` <u7jwgol39.fsf@acm.org>
2004-04-16  7:18                                     ` Preben Randhol
2004-03-24 17:52                         ` OT: GUI [was:]Ann: TeXCAD 4.1 chris
2004-03-25  7:34                           ` Preben Randhol
2004-03-25 13:38                             ` chris
2004-03-25 13:52                               ` Preben Randhol
2004-03-25 14:42                                 ` chris
2004-03-25 16:13                                   ` Preben Randhol
2004-03-26 10:43                                     ` Stephen Leake
2004-03-26 11:48                                       ` Preben Randhol
2004-03-26 12:47                                         ` Marius Amado Alves
2004-03-26 12:54                                           ` Georg Bauhaus
2004-03-26 14:25                                             ` Marius Amado Alves
2004-03-26 14:26                                             ` Marius Amado Alves
2004-03-27  0:25                                               ` Ludovic Brenta
2004-03-26 14:27                                             ` Marius Amado Alves
2004-03-26 17:35                                           ` Björn Persson
2004-03-26 18:09                                             ` Marius Amado Alves
2004-03-27  0:29                                               ` Ludovic Brenta
2004-03-26 19:36                                             ` Preben Randhol
2004-03-26 23:34                                               ` chris
2004-03-26 23:59                                                 ` Preben Randhol
2004-03-27  0:49                                                   ` Björn Persson
2004-03-27  2:32                                                     ` Georg Bauhaus
2004-03-27  7:33                                                     ` Simon Wright
2004-04-15 11:08                                                       ` Preben Randhol
2004-04-17  6:37                                                         ` Simon Wright
2004-03-27 13:48                                                     ` Stephen Leake
2004-03-27 22:03                                                     ` Robert I. Eachus
2004-04-16  7:20                                                     ` Preben Randhol
     [not found]                                                     ` <20040416072020.GE2922@pvv.org>
2004-04-17 13:19                                                       ` Stephen Leake
2004-03-27  0:27                                             ` Ludovic Brenta
2004-03-27  7:26                                             ` Simon Wright
2004-03-27 13:44                                             ` Stephen Leake
2004-03-27 14:11                                               ` Georg Bauhaus
2004-03-27 17:22                                                 ` Stephen Leake
2004-03-27 19:28                                                   ` Georg Bauhaus
2004-03-28 13:52                                                     ` Stephen Leake [this message]
2004-03-28 14:33                                             ` Björn Persson
2004-04-16 15:30                                               ` Preben Randhol
2004-03-26 21:34                                         ` Randy Brukardt
2004-03-26 21:56                                           ` Dale Stanbrough
2004-03-26 23:50                                           ` Preben Randhol
2004-03-27  2:42                                             ` Georg Bauhaus
2004-04-16 15:39                                               ` Preben Randhol
2004-03-24 18:00                         ` Georg Bauhaus
2004-03-25  7:42                           ` Preben Randhol
2004-03-25 13:58                             ` Georg Bauhaus
2004-03-25 14:00                               ` Preben Randhol
2004-03-25 14:14                                 ` Georg Bauhaus
2004-03-25 16:18                                   ` Preben Randhol
2004-03-25 17:31                                     ` Georg Bauhaus
2004-03-25 20:08                                       ` Preben Randhol
2004-03-26 22:29                                       ` Florian Weimer
2004-03-27  0:32                                         ` Ludovic Brenta
2004-03-27  2:45                                         ` Georg Bauhaus
2004-03-25 14:46                               ` chris
2004-03-25 17:05                                 ` Georg Bauhaus
2004-03-25 20:09                                   ` Preben Randhol
2004-03-25 22:27                                     ` Georg Bauhaus
2004-03-24 13:29                       ` Georg Bauhaus
2004-03-20  0:49                 ` Neat (Pascal) and Scruffy (C) Languages [was:] " Georg Bauhaus
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox