From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: MON KEY Newsgroups: gmane.emacs.devel Subject: Re: Drawing in images? Date: Thu, 17 Sep 2009 15:13:18 -0400 Message-ID: References: <87bpm028zk.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1253214823 31410 80.91.229.12 (17 Sep 2009 19:13:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 17 Sep 2009 19:13:43 +0000 (UTC) Cc: emacs-devel@gnu.org To: joakim@verona.se Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 17 21:13:36 2009 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.50) id 1MoMQ6-0001F1-7C for ged-emacs-devel@m.gmane.org; Thu, 17 Sep 2009 21:13:30 +0200 Original-Received: from localhost ([127.0.0.1]:57548 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MoMQ5-00037Y-C5 for ged-emacs-devel@m.gmane.org; Thu, 17 Sep 2009 15:13:29 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MoMQ0-00035I-60 for emacs-devel@gnu.org; Thu, 17 Sep 2009 15:13:24 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MoMPv-000301-IF for emacs-devel@gnu.org; Thu, 17 Sep 2009 15:13:23 -0400 Original-Received: from [199.232.76.173] (port=38555 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MoMPv-0002zu-FM for emacs-devel@gnu.org; Thu, 17 Sep 2009 15:13:19 -0400 Original-Received: from mail-yx0-f191.google.com ([209.85.210.191]:43051) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MoMPv-0005BD-2s for emacs-devel@gnu.org; Thu, 17 Sep 2009 15:13:19 -0400 Original-Received: by yxe29 with SMTP id 29so429119yxe.14 for ; Thu, 17 Sep 2009 12:13:18 -0700 (PDT) Original-Received: by 10.150.110.1 with SMTP id i1mr1773413ybc.63.1253214798083; Thu, 17 Sep 2009 12:13:18 -0700 (PDT) In-Reply-To: X-Google-Sender-Auth: 233a4bbccca4e4a0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:115425 Archived-At: On Wed, Sep 16, 2009 at 3:04 PM, wrote: > > Here's an attempt. Its hardly industrial strength, but seems to work. > Test with m-x dragbox-start, enter an image file name compatible with > svg, I tried png. Then set the corner coords for the box with LMB and RMB. > Joakim thanks for taking a shot at this. This is very exciting. Unfortunately I can't evaluate. After invoking the `dragbox-start' comman with both .png and .jpg image-file types the *dragbox* buffer returns some svg data and a message: => "Invalid image type `svg'" Not sure if the local w32 builds are compiled with libsvg support out of the box. I've not been able to get svg functionality to evaluate on the following w32 systems. - 23.1.50.1 (i386-mingw-nt5.1.2600) of 2009-06-30 on LENNART-69DE564 (patched); - 23.0.91.1 (i386-mingw-nt5.1.2600) of 2009-02-26 on SOFT-MJASON; - 23.1.1 (i386-mingw-nt5.1.2600) of 2009-07-30 on SOFT-MJASON; Can these functions be evaluated successfully on a non CVS emacs? Likewise, if so, can these functions be evaluated on a non CVS emacs on w32? Also, as a side note in lieu of a future dragbox package; in a fresh environment when evaluating these functions on the two 23.* SOFT-MJASON builds referd above the key bindings on image-mode-mode-map of `dragbox-lmb-click-handler' and `dragbox-rmb-click-handler' didn't take until after a (require 'image-mode). Additionally, I needed a (require 'xml) to get the invocation of `xml-print' in `dragbox-update-box' to evaluate. Just to make sure I also tried evaluating CYD's svg example here: (URL `http://lists.gnu.org/archive/html/emacs-devel/2009-07/msg01166.html') I know this works on a GNU box but on the w32 systems get: => "Invalid image type `svg'" Any advice as to what needs to be done to get supprot for `svg' on w32? I look forward to testing the dragbox functions on a GNU box later this evening. s_P