unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: MON KEY <monkey@sandpframing.com>
To: joakim@verona.se
Cc: emacs-devel@gnu.org
Subject: Re: Drawing in images?
Date: Thu, 17 Sep 2009 15:13:18 -0400	[thread overview]
Message-ID: <d2afcfda0909171213q77e5e518y1744032783106592@mail.gmail.com> (raw)
In-Reply-To: <m3iqfiemoh.fsf@verona.se>

On Wed, Sep 16, 2009 at 3:04 PM,  <joakim@verona.se> 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




  reply	other threads:[~2009-09-17 19:13 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-27  0:52 Drawing in images? MON KEY
2009-08-27  6:31 ` joakim
2009-08-27 18:07   ` MON KEY
2009-08-27 19:05     ` joakim
2009-08-28 16:22       ` MON KEY
2009-08-27 22:21   ` Chong Yidong
2009-08-27 23:51     ` joakim
2009-09-16 19:04     ` joakim
2009-09-17 19:13       ` MON KEY [this message]
2009-09-17 21:04         ` Lennart Borgman
2009-09-17 21:08           ` Lennart Borgman
2009-09-17 23:00           ` Jason Rumney
2009-09-17 23:09             ` Lennart Borgman
2009-09-17 21:46         ` joakim
2009-09-17 22:09           ` Lennart Borgman
2009-09-17 22:46             ` Juanma Barranquero
2009-09-17 22:56               ` Lennart Borgman
2009-09-17 22:56         ` Jason Rumney
2009-09-17 22:59           ` Lennart Borgman
  -- strict thread matches above, loose matches on Subject: below --
2009-09-29  0:31 MON KEY
2009-09-29  5:29 ` martin rudalics
2009-09-29 20:25   ` MON KEY
2009-08-25 22:57 joakim
2009-08-26  1:07 ` Stefan Monnier
2009-08-26  5:58   ` joakim
2009-08-26 14:45     ` Stefan Monnier
2009-08-26  9:05   ` Jason Rumney
2009-08-28  0:49 ` YAMAMOTO Mitsuharu

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=d2afcfda0909171213q77e5e518y1744032783106592@mail.gmail.com \
    --to=monkey@sandpframing.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).