From: Tassilo Horn <tassilo@member.fsf.org>
To: "David O'Toole" <dto1138@gmail.com>
Cc: joakim@verona.se, emacs-devel <emacs-devel@gnu.org>
Subject: Re: strokes-mode and touchscreen patents? was Re: emacs and touchscreen
Date: Fri, 14 Jan 2011 18:02:06 +0100 [thread overview]
Message-ID: <87pqrzju5t.fsf@member.fsf.org> (raw)
In-Reply-To: <AANLkTik_uX2uk4-2aqx4+xwoev3QF2H3itwViGT0hV3s@mail.gmail.com> (David O'Toole's message of "Fri, 14 Jan 2011 10:20:24 -0500")
Hi David,
wow, strokes is really nifty! I didn't know it till now.
Do you know if there's a way to define a stroke by giving a string? The
problem with the ~/.strokes file is that I cannot see how the strokes
look like after defining them, so I'd prefer stuffing something like
(strokes-global-set-stroke
(stroke-from-string (concat
" @@@@@\n"
" @@ @@@@\n"
" @@@ @@@\n"
" @@ @@\n"
" @ @@\n"
" @ @\n"
" @@ @\n"
" @@ @@@\n"
" @@@@ @@@@\n"
" @@@@@@@@@\n"))
'some-command)
Or it would be even much cooler to be able to define strokes that look
like some character:
(strokes-global-set-stroke (stroke-from-char ?o) 'some-command)
Is something like that possible?
Bye,
Tassilo
next prev parent reply other threads:[~2011-01-14 17:02 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-14 15:20 strokes-mode and touchscreen patents? was Re: emacs and touchscreen David O'Toole
2011-01-14 17:02 ` Tassilo Horn [this message]
2011-01-14 18:26 ` Stefan Monnier
2011-01-15 22:00 ` David O'Toole
2011-01-17 6:00 ` Richard Stallman
2011-01-16 14:56 ` Stephen J. Turnbull
2011-01-16 15:10 ` David O'Toole
2011-01-17 6:00 ` Richard Stallman
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87pqrzju5t.fsf@member.fsf.org \
--to=tassilo@member.fsf.org \
--cc=dto1138@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=joakim@verona.se \
/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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).