unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* imagemagick branch
@ 2010-05-18  8:22 joakim
  2010-05-18  9:11 ` Eli Zaretskii
  0 siblings, 1 reply; 8+ messages in thread
From: joakim @ 2010-05-18  8:22 UTC (permalink / raw)
  To: Emacs development discussions

Hello,

I have done some minor improvements to the Imagemagick branch, and it
would be nice if it could receive some testing. It would be especially
interesting to see how it behaves on more plattforms. Basically Fedora
12 works well, but Ubuntu 8.04 doesnt seem to work well due to a too old
Imagemagick version.

There is a README in the branch with more information, comments on that
would be nice as well.
-- 
Joakim Verona



^ permalink raw reply	[flat|nested] 8+ messages in thread
* Re: imagemagick branch
@ 2010-06-15 19:00 joakim
  0 siblings, 0 replies; 8+ messages in thread
From: joakim @ 2010-06-15 19:00 UTC (permalink / raw)
  To: Emacs development discussions


Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> Yes, the code could probably safely be added to trunk. Even if one
>> activates imagemagick with "configure --with-imagemagick=yes"
>> imagemagick wont kick in unless you execute (imagemagick-register-types)
>
> I just took a quick look at the code and I see the following nits to fix:
> - obviously a merge will have to come with a good ChangeLog.
> - also the merge will need to come with documentation.  Maybe not in the
>   Texinfo form yet, but at least in the etc/NEWS with enough info that
>   describes the `scale' and other such arguments that someone can start
>   using them.
> - the README talks about naming inconsistencies, I think these should be
>   fixed before a first commit (should be straightforward).
> - the "let" in image.el should not be followed by a line break and the while
>   should be replaced by a dolist.
> - the prototype of imagemagick_load_image has some odd indentation in
>   its args, not sure what happened.
> - a few lines in the C code break the 80columns limit.
> - please use ANSI style function declarations rather than K&R for new code.
> - you can get rid of the prototypes by reordering the code.
> - the docstrings in DEFUN should not be indented (they'll display
>   weirdly otherwise in C-h f).
> - Some "{" are at the end of a for/if rather than on their own line.
> - why use "*( imtypes + i)" rather than "imtypes[i]"?
> - some "," lack a space after them.
> - several "=" and "==" lack spaces around them.

I refreshed the branch and tried to address the issues you raised.
Could you have a look again to see if its merge-worthy?

>
>> Another question then, how do I merge best to trunk? I'm reading:
>> http://www.emacswiki.org/emacs/BzrForEmacsDevs#MergeToUpstream> but it suggests removing my local branch after merging.
>
> The branch's history is not really interesting it seems, so you might as
> well do the first commit on trunk as a separate commit rather as a merge.
>
> But if you prefer a merge, see Eli's answer.
>
>> I would like to continue to add some more experimental functions to
>> the branch, and later merge these to trunk. Would that also be ok?
>> Or would it be better to create a new branch for this purpose?
>
> No need for a new branch.
>
>
>         Stefan
-- 
Joakim Verona



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2010-06-15 19:00 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-18  8:22 imagemagick branch joakim
2010-05-18  9:11 ` Eli Zaretskii
2010-05-18 10:41   ` joakim
2010-05-18 11:42     ` Eli Zaretskii
2010-05-18 15:37       ` Chong Yidong
2010-05-18 17:39         ` joakim
2010-05-18 16:35     ` Stefan Monnier
  -- strict thread matches above, loose matches on Subject: below --
2010-06-15 19:00 joakim

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).