From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.devel Subject: Re: strokes-mode and touchscreen patents? was Re: emacs and touchscreen Date: Fri, 14 Jan 2011 18:02:06 +0100 Message-ID: <87pqrzju5t.fsf@member.fsf.org> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1295025189 1730 80.91.229.12 (14 Jan 2011 17:13:09 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 14 Jan 2011 17:13:09 +0000 (UTC) Cc: joakim@verona.se, emacs-devel To: "David O'Toole" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 14 18:13:05 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Pdn8S-0001O8-GV for ged-emacs-devel@m.gmane.org; Fri, 14 Jan 2011 18:13:04 +0100 Original-Received: from localhost ([127.0.0.1]:38642 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pdn7t-00006l-BB for ged-emacs-devel@m.gmane.org; Fri, 14 Jan 2011 12:07:49 -0500 Original-Received: from [140.186.70.92] (port=41006 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pdn2T-0004Vf-6Y for emacs-devel@gnu.org; Fri, 14 Jan 2011 12:02:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pdn2O-0003qo-So for emacs-devel@gnu.org; Fri, 14 Jan 2011 12:02:12 -0500 Original-Received: from deliver.uni-koblenz.de ([141.26.64.15]:17784) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pdn2O-0003qW-Ml for emacs-devel@gnu.org; Fri, 14 Jan 2011 12:02:08 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id 6664078016A5; Fri, 14 Jan 2011 18:02:07 +0100 (CET) Original-Received: from deliver.uni-koblenz.de ([127.0.0.1]) by localhost (deliver.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 24150-02; Fri, 14 Jan 2011 18:02:06 +0100 (CET) X-CHKRCPT: Envelopesender noch tassilo@member.fsf.org Original-Received: from thinkpad (tsdh.uni-koblenz.de [141.26.67.142]) by deliver.uni-koblenz.de (Postfix) with ESMTP id 9441A780169B; Fri, 14 Jan 2011 18:02:06 +0100 (CET) In-Reply-To: (David O'Toole's message of "Fri, 14 Jan 2011 10:20:24 -0500") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) X-Virus-Scanned: amavisd-new at uni-koblenz.de X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:134533 Archived-At: 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