9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: roger peppe <rogpeppe@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] Guide to using Acme effectively?
Date: Wed,  1 Jul 2009 23:20:53 +0100	[thread overview]
Message-ID: <df49a7370907011520x61c7aaf5u2849797f4a224e4c@mail.gmail.com> (raw)
In-Reply-To: <op.uwdkcmo10p3ku8@localhost.localdomain>

2009/7/1 Aaron W. Hsu <arcfide@sacrideo.us>:
> I'm missing
> small things, like how to select and move all the text in one window to
> another in a fast manner

if the amount of text in the window is relatively small, then
just selecting all the text by dragging from start to end
and chord cut/paste is usually fastest.

when there's lots of text, it can be better to
select all the text by typing ":," in the tag and
right-clicking it; then middle click "Snarf" to
copy it to the snarf buffer.

there's a gotcha about using Snarf, which is that
there's actually a concealed "currently selected window"
in acme, and it's not always easy to know which it is...
i haven't found a straightforward way of explaining yet either.
(i think it's possibly the biggest UI flaw in acme. some visual
indication could rectify the problem, i think)

selecting text (with the left mouse button) changes
the currently selected window (which isn't always the body;
it can be the tag)

so if you select the ":," text before clicking Snarf,
you'll end up snarfing the ":," text itself, not
the selection in the body of the window!

you can get around this by left-clicking in another
window; then a Snarf in the original window's tag
will work as desired.

> how to reduce
> redundancy of typing and movement.

i use ESC a lot to select some text i've just
typed. it doesn't work in all circumstances,
but for quick Edit and :/... tag commands that
contain spaces, it's very quick and useful.

it's worth knowing the right-click null-selection expansion
rules, as they can save an explicit selection, which
is always slower.

the main thing that makes the mouse so useful
and versatile in acme is the chorded cut and paste.
it makes the mouse into a genuinely useful manipulation
tool in its own right - cut and paste comprises a significant
proportion of all development activity, in my experience.

only problem is if you ever use Safari and accidentally
do a chorded-cut, it crashes it instantly!

  cheers,
   rog.



  parent reply	other threads:[~2009-07-01 22:20 UTC|newest]

Thread overview: 73+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-01  8:56 Aaron W. Hsu
2009-07-01 14:31 ` erik quanstrom
2009-07-01 15:58 ` john
2009-07-01 16:46   ` Charles Forsyth
2009-07-01 18:53     ` J. R. Mauro
2009-07-01 19:24       ` blstuart
2009-07-01 19:38         ` erik quanstrom
2009-07-01 20:00           ` blstuart
2009-07-01 21:11             ` Ethan Grammatikidis
2009-07-01 21:18               ` John Floren
2009-07-01 21:31                 ` Felipe Bichued
2009-07-01 21:33                 ` Dan Cross
2009-07-01 21:41                 ` erik quanstrom
2009-07-01 21:56                   ` John Floren
2009-07-01 23:49                     ` J.R. Mauro
2009-07-01 22:08                 ` Ethan Grammatikidis
2009-07-01 22:23                   ` Connor Smith
2009-07-01 23:56                     ` john
2009-07-02  9:05                       ` Charles Forsyth
2009-07-02  9:29                     ` Aaron W. Hsu
2009-07-02  9:25                   ` Aaron W. Hsu
2009-07-01 23:47             ` J.R. Mauro
2009-07-02  9:25             ` Aaron W. Hsu
2009-07-01 20:26         ` Noah Evans
2009-07-01 20:42           ` erik quanstrom
2009-07-01 22:07         ` Charles Forsyth
2009-07-01 22:30           ` erik quanstrom
2009-07-02  9:21         ` Aaron W. Hsu
2009-07-01 19:24       ` Kris Maglione
2009-07-01 19:49         ` Russ Cox
2009-07-01 20:10           ` blstuart
2009-07-01 20:58           ` David Leimbach
2009-07-01 21:13             ` John Floren
2009-07-01 23:14               ` Lyndon Nerenberg
2009-07-02  3:04               ` Uriel
2009-07-02  3:26                 ` Russ Cox
2009-07-02  3:27                   ` Russ Cox
2009-07-02  3:38                   ` Uriel
2009-07-02 15:18                   ` Russ Cox
2009-07-02  5:04                 ` Ethan Grammatikidis
2009-07-02  5:39                   ` Rob Pike
2009-07-02  5:57                     ` John Floren
2009-07-02 11:15                     ` Uriel
2009-07-01 21:30             ` Ethan Grammatikidis
2009-07-02  1:47           ` Kris Maglione
2009-07-03 10:01           ` Balwinder S Dheeman
2009-07-03 12:34             ` sqweek
2009-07-03 17:41               ` Roman Shaposhnik
2009-07-04  1:52                 ` sqweek
2009-07-04 10:12                   ` hiro
2009-07-06  9:10                     ` Balwinder S Dheeman
2009-07-04 16:16                 ` Ethan Grammatikidis
2009-07-06 10:32                   ` mattmobile
2009-07-06 11:05                     ` Gregory Pavelcak
2009-07-06 17:59                       ` Ethan Grammatikidis
2009-07-06 18:57                         ` cinap_lenrek
2009-07-06 20:33                           ` Ethan Grammatikidis
2009-07-06 20:36                             ` John Floren
2009-07-06 21:08                               ` Ethan Grammatikidis
2009-07-06 20:40                             ` Jason Catena
2009-07-06 22:28                             ` J.R. Mauro
2009-07-02  9:17         ` Aaron W. Hsu
2009-07-04 17:49           ` ron minnich
2009-07-01 18:54   ` J. R. Mauro
2009-07-01 20:13 ` Jason Catena
2009-07-01 20:38   ` erik quanstrom
2009-07-01 21:17 ` yy
2009-07-01 22:20 ` roger peppe [this message]
     [not found]   ` <4A4C7CB9.4020804@proweb.co.uk>
2009-07-02  9:33     ` mattmobile
2009-07-02  9:19 ` Aaron W. Hsu
2009-07-02  9:29 ` Aaron W. Hsu
2009-07-02 22:48 ` J.R. Mauro
2009-07-03  9:02 ` Aaron W. Hsu

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=df49a7370907011520x61c7aaf5u2849797f4a224e4c@mail.gmail.com \
    --to=rogpeppe@gmail.com \
    --cc=9fans@9fans.net \
    /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).