GNU bug report logs - #8681
23.3; (gnus-face-from-file ...) bug in Gnus v5.13 on GNU Emacs 23.3.1 (i386-mingw-nt5.1.2600) on Windows XP Professional, Service Pack 3

Previous Next

Packages: emacs, gnus;

Reported by: DekuDekuplex <at> Yahoo.com (Benjamin L. Russell)

Date: Tue, 17 May 2011 11:24:02 UTC

Severity: minor

Tags: moreinfo

Found in version 23.3

Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 8681 in the body.
You can then email your comments to 8681 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#8681; Package emacs. (Tue, 17 May 2011 11:24:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to DekuDekuplex <at> Yahoo.com (Benjamin L. Russell):
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 17 May 2011 11:24:04 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: DekuDekuplex <at> Yahoo.com (Benjamin L. Russell)
To: bug-gnu-emacs <at> gnu.org
Subject: 23.3; (gnus-face-from-file ...) bug in Gnus v5.13 on GNU Emacs 23.3.1
	(i386-mingw-nt5.1.2600) on Windows XP Professional, Service Pack 3
Date: Tue, 17 May 2011 20:22:26 +0900
For some reason, now Gnus v5.13 in GNU Emacs 23.3.1
(i386-mingw-nt5.1.2600) on Windows XP Professional, Service Pack 3,
refuses to invoke the (gnus-face-from-file ...) function correctly in
~/.gnus.el.

The following code in my ~/.gnus.el file apparently fails at file
conversion of a .jpg file to a face file:

(setq gnus-posting-styles
   '((".*"
      (name "Benjamin L. Russell")
      ("Face"
       (gnus-face-from-file "~/butterflyLang.jpg")
       ))))

Strangely, the following code does work at the same task:

(setq gnus-posting-styles
   '((".*"
      (name "Benjamin L. Russell")
      ("Face"
       (gnus-face-from-file "~/butterflyLang.jpg")
       "iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAHlBMVEUYFxcCBg6kpaUmNIEp
  icj////9/f0lZnglKUb//v47VH4JAAACZ0lEQVQ4jXWTwW6jMBCG7URqODKs1HJMsm3S3tJ1
  JXJurXKvBCtuibU44dYUBDnCskp8rgRS33bHEJJ0tfXBtubz/GPPeIj3xSBfg1qM5ceZJZDj
  cajBCog9ObOLjUl3GoyIUsaRBPWmVMSqECwB7LkVduC2XwBY2mNtlrkNk6oFghb2vLjUHu9A
  VAFW6CMKgyG655BqDx+MHAAmPqpFkqJwDjcNyBWbmbSHwI/WQG02L5rrBiND5ZQZEQK5YcRQ
  yo6alw9LxhS7TyPPF3icMTaoGrC0S8XYvCcruejjGVVYB8CaYUgPlRy97bVJXAJqOfFsEok+
  e0JfarVgXepTPL6QqzKJ9f6yBT/Nkjk8cXty+OBmGWPFRQteBknGEpfPp7eIs4xv0xb4QPoJ
  5+6r2me4zAx6dwCvTsw451sywDl2sjxsQSAy46EBe5zdfD+uDjUPBDHJPpspI9kSStoKaOAP
  wSSZq4GbU7BOoAATtbZqoJUA7jrwDvBNq2+nOL8C7A4gwKr/QdPjdIXzE9UVb8EIHLTw5+kv
  vcS0A95SC3E+GQu9JPdngCUaCKkBm1lVJ2WX2hIK/1pLFVfRAWzAiTF2KH0MEsdgH1MCDLWe
  q9pbXbsxK9IuRo0ldB5TL/DEdczmpwe+ALq83egjPGZUf7cTcDItXKPHWUr8EZIfzX//jg7N
  pdq0LwBUrwELA3sgOPbgCj/1ZZPstd555x5Xu7Y9NtDmsAW308JqhL16af5+O4GJL6xDqy3S
  aH0M7qde3XWnCL337rrB6sY7H/WxgqPPwO91YBh+AsG2y678B8jjA/83vgR/AXSoVPVrTcNy
  AAAAAElFTkSuQmCC"
       ))))

The following procedure reproduces this bug:

1. Invoke Emacs in Windows XP Professional, Service Pack 3, by
double-clicking on C:\emacs\emacs-23.3\bin\runemacs.exe.

2. Within Emacs, type the following command:

> M-x gnus RET

3. Within Gnus, subscribe (if not already subscribed) to the news.test
newsgroup.

4. Within Gnus, type the following command to post a new message:

> a

5. Compose a test message, with subject, say, "test," and subject body,
say "test."

6. Send the message with the following command:

> C-c C-c

7. After a few seconds, refresh the newsgroup with the following
command:

> / N

8. Read the test message just posted.  The message will be missing the
face header, which should be an icon placed immediately to the left of
the sender name in the "From" field of the message.


In GNU Emacs 23.3.1 (i386-mingw-nt5.1.2600)
 of 2011-03-10 on 3249CTO
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (4.5) --no-opt --cflags -Ic:/imagesupport/include'

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: JPN
  value of $XMODIFIERS: nil
  locale-coding-system: cp932
  default enable-multibyte-characters: t

Major mode: Lisp

Minor modes in effect:
  show-paren-mode: t
  recentf-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> C-y <return> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <down> C-x u C-x u <up> <up> <up> <down> 
<left> <return> <return> C-y <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> C-c C-c <escape> < C-c 
C-c <help-echo> <help-echo> <help-echo> <help-echo> 
C-SPC <escape> > <escape> w <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<menu-bar> <help-menu> <send-emacs-bug-report>

Recent messages:
Mark set
Saved text from "       "iVBORw0KGgoAAAANSUhEUgAAADAAAAAw"
Mark set [2 times]
Auto-saving...done
Mark set
Undo! [2 times]
Mark set
Auto-saving...done
Mark set [2 times]
Saved text from "From: DekuDekuplex <at> Yahoo.com (Benjamin L"

Load-path shadows:
None found.

Features:
(shadow help-mode view emacsbug image-mode starttls mailalias smtpmail
newcomment gnus-fun sort gnus-cite smiley ansi-color mail-extr
gnus-async gnus-bcklg gnus-ml multi-isearch gnus-salt gnus-topic nndoc
parse-time timezone byte-opt bytecomp byte-compile nnml nndraft nnmh
auth-source gnus-agent gnus-srvr gnus-score score-mode nnvirtual
gnus-msg gnus-art mm-uu mml2015 epg-config mm-view smime dig nntp
gnus-cache gnus-sum nnoo gnus-group gnus-undo nnmail mail-source
format-spec gnus-start gnus-spec gnus-int gnus-range message ecomplete
rfc822 mml mml-sec password-cache mm-decode mm-bodies mm-encode mailcap
mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev gmm-utils
mailheader canlock sha1 hex-util hashcash gnus-win gnus gnus-ems
nnheader gnus-util netrc time-date mail-utils mm-util mail-prsvr eldoc
palette eyedropper derived hexrgb paren advice help-fns advice-preload
color-theme edmacro kmacro sendmail reporter browse-url hippie-exp
comint ring mouse-sel thingatpt recentf tree-widget wid-edit easymenu
dired regexp-opt cl cl-19 japan-util tooltip ediff-hook vc-hooks
lisp-float-type mwheel dos-w32 disp-table ls-lisp w32-win w32-vars
tool-bar dnd fontset image fringe lisp-mode register page menu-bar
rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock
syntax facemenu font-core frame cham georgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao korean japanese hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button
minibuffer faces cus-face files text-properties overlay md5 base64
format env code-pages mule custom widget hashtable-print-readable
backquote make-network-process multi-tty emacs)

-- 
Benjamin L. Russell  /   DekuDekuplex at Yahoo dot com
http://dekudekuplex.wordpress.com/
Translator/Interpreter / Mobile:  +011 81 90-6526-1406
"Furuike ya, kawazu tobikomu mizu no oto." -- Matsuo Basho^




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#8681; Package emacs,gnus. (Tue, 17 May 2011 19:28:01 GMT) Full text and rfc822 format available.

Message #8 received at 8681 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: DekuDekuplex <at> Yahoo.com (Benjamin L. Russell)
Cc: 8681 <at> debbugs.gnu.org
Subject: Re: bug#8681: 23.3;
	(gnus-face-from-file ...) bug in Gnus v5.13 on GNU Emacs 23.3.1
	(i386-mingw-nt5.1.2600) on Windows XP Professional, Service Pack 3
Date: Tue, 17 May 2011 15:27:05 -0400
Benjamin L. Russell wrote:

> For some reason, now Gnus v5.13 in GNU Emacs 23.3.1
> (i386-mingw-nt5.1.2600) on Windows XP Professional, Service Pack 3,
> refuses to invoke the (gnus-face-from-file ...) function correctly in
> ~/.gnus.el.

The Gnus manual says:

   `gnus-face-from-file' takes a JPEG file as the parameter, and then
   converts the file to Face format by using the
   `gnus-convert-image-to-face-command' shell command.

gnus-convert-image-to-face-command has the default value:

  "convert -scale 48x48! %s -colors %d png:-"

I know nothing about MS Windows, but I'd be surprised if this works there.




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#8681; Package emacs,gnus. (Tue, 17 May 2011 19:36:02 GMT) Full text and rfc822 format available.

Message #11 received at 8681 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Glenn Morris <rgm <at> gnu.org>
Cc: DekuDekuplex <at> Yahoo.com, 8681 <at> debbugs.gnu.org
Subject: Re: bug#8681: 23.3;
	(gnus-face-from-file ...) bug in Gnus v5.13 on GNU Emacs
	23.3.1	(i386-mingw-nt5.1.2600) on Windows XP Professional,
	Service Pack 3
Date: Tue, 17 May 2011 22:35:45 +0300
> From: Glenn Morris <rgm <at> gnu.org>
> Date: Tue, 17 May 2011 15:27:05 -0400
> Cc: 8681 <at> debbugs.gnu.org
> 
>   "convert -scale 48x48! %s -colors %d png:-"
> 
> I know nothing about MS Windows, but I'd be surprised if this works there.

Even if Imagemagick is installed?




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#8681; Package emacs,gnus. (Tue, 17 May 2011 19:39:02 GMT) Full text and rfc822 format available.

Message #14 received at 8681 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: DekuDekuplex <at> Yahoo.com, 8681 <at> debbugs.gnu.org
Subject: Re: bug#8681: 23.3;
	(gnus-face-from-file ...) bug in Gnus v5.13 on GNU Emacs
	23.3.1	(i386-mingw-nt5.1.2600) on Windows XP Professional,
	Service Pack 3
Date: Tue, 17 May 2011 15:38:26 -0400
Eli Zaretskii wrote:

> Even if Imagemagick is installed?

You tell me. Does shell-command-to-string work on MS Windows?
Does it return data to stdout? I have no idea...




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#8681; Package emacs,gnus. (Wed, 18 May 2011 03:09:01 GMT) Full text and rfc822 format available.

Message #17 received at 8681 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Glenn Morris <rgm <at> gnu.org>
Cc: DekuDekuplex <at> Yahoo.com, 8681 <at> debbugs.gnu.org
Subject: Re: bug#8681: 23.3;
	(gnus-face-from-file ...) bug in Gnus v5.13 on GNU Emacs
	23.3.1	(i386-mingw-nt5.1.2600) on Windows XP Professional,
	Service Pack 3
Date: Wed, 18 May 2011 06:08:03 +0300
> From: Glenn Morris <rgm <at> gnu.org>
> Cc: DekuDekuplex <at> Yahoo.com,  8681 <at> debbugs.gnu.org
> Date: Tue, 17 May 2011 15:38:26 -0400
> 
> Eli Zaretskii wrote:
> 
> > Even if Imagemagick is installed?
> 
> You tell me. Does shell-command-to-string work on MS Windows?

Yes, of course.

> Does it return data to stdout?

Who does? the `convert' command or shell-command-to-string?  I don't
think I understand the question.




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#8681; Package emacs,gnus. (Wed, 18 May 2011 03:19:02 GMT) Full text and rfc822 format available.

Message #20 received at 8681 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: DekuDekuplex <at> Yahoo.com, 8681 <at> debbugs.gnu.org
Subject: Re: bug#8681: 23.3;
	(gnus-face-from-file ...) bug in Gnus v5.13 on GNU Emacs
	23.3.1	(i386-mingw-nt5.1.2600) on Windows XP Professional,
	Service Pack 3
Date: Tue, 17 May 2011 23:18:16 -0400
Eli Zaretskii wrote:

> Who does? the `convert' command or shell-command-to-string?  I don't
> think I understand the question.

I think you can ignore me. I guess I meant: does MS Windows have a
/bin/sh equivalent? Does it have a stdout and stderr, and can "convert"
be called from this shell and send its output to stdout? Does it work
out of the box or does it need to be configured?
(No need to answer these questions for my sake.)




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#8681; Package emacs,gnus. (Wed, 18 May 2011 06:47:02 GMT) Full text and rfc822 format available.

Message #23 received at 8681 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Glenn Morris <rgm <at> gnu.org>
Cc: DekuDekuplex <at> Yahoo.com, 8681 <at> debbugs.gnu.org
Subject: Re: bug#8681: 23.3;
	(gnus-face-from-file ...) bug in Gnus v5.13 on GNU Emacs
	23.3.1	(i386-mingw-nt5.1.2600) on Windows XP Professional,
	Service Pack 3
Date: Wed, 18 May 2011 02:46:25 -0400
> From: Glenn Morris <rgm <at> gnu.org>
> Cc: DekuDekuplex <at> Yahoo.com,  8681 <at> debbugs.gnu.org
> Date: Tue, 17 May 2011 23:18:16 -0400
> 
> Eli Zaretskii wrote:
> 
> I guess I meant: does MS Windows have a
> /bin/sh equivalent? Does it have a stdout and stderr, and can "convert"
> be called from this shell and send its output to stdout?

Yes, yes, and yes.  (Even MS-DOS has these features.)

> Does it work out of the box or does it need to be configured?

It works out of the box.

> (No need to answer these questions for my sake.)

I think it's important that you know these factoids.

My guess is that the OP doesn't have Imagemagick installed, and so
convert.exe either is not on PATH or is some other program, not the
one expected by gnus-face-from-file.

Benjamin, what does the following command produce, if you type it at
the command prompt?

    convert --version




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#8681; Package emacs,gnus. (Wed, 18 May 2011 10:57:01 GMT) Full text and rfc822 format available.

Message #26 received at 8681 <at> debbugs.gnu.org (full text, mbox):

From: Juanma Barranquero <lekktu <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: DekuDekuplex <at> yahoo.com, Glenn Morris <rgm <at> gnu.org>, 8681 <at> debbugs.gnu.org
Subject: Re: bug#8681: 23.3; (gnus-face-from-file ...) bug in Gnus v5.13 on
	GNU Emacs 23.3.1 (i386-mingw-nt5.1.2600) on Windows XP Professional,
	Service Pack 3
Date: Wed, 18 May 2011 12:56:12 +0200
On Wed, May 18, 2011 at 08:46, Eli Zaretskii <eliz <at> gnu.org> wrote:

> My guess is that the OP doesn't have Imagemagick installed, and so
> convert.exe either is not on PATH or is some other program, not the
> one expected by gnus-face-from-file.

Likely the Microsoft-supplied tool to convert a FAT volume into a NTFS one...

    Juanma




Reply sent to Lars Magne Ingebrigtsen <larsi <at> gnus.org>:
You have taken responsibility. (Thu, 30 Jun 2011 01:20:03 GMT) Full text and rfc822 format available.

Notification sent to DekuDekuplex <at> Yahoo.com (Benjamin L. Russell):
bug acknowledged by developer. (Thu, 30 Jun 2011 01:20:03 GMT) Full text and rfc822 format available.

Message #31 received at 8681-close <at> debbugs.gnu.org (full text, mbox):

From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: DekuDekuplex <at> Yahoo.com, Glenn Morris <rgm <at> gnu.org>,
	8681-close <at> debbugs.gnu.org
Subject: Re: bug#8681: 23.3;
	(gnus-face-from-file ...) bug in Gnus v5.13 on GNU Emacs
	23.3.1	(i386-mingw-nt5.1.2600) on Windows XP Professional,
	Service Pack 3
Date: Thu, 30 Jun 2011 03:19:27 +0200
Eli Zaretskii <eliz <at> gnu.org> writes:

> My guess is that the OP doesn't have Imagemagick installed, and so
> convert.exe either is not on PATH or is some other program, not the
> one expected by gnus-face-from-file.

Yup.  So I don't think this is a bug in Gnus.

And the built-in ImageMagick functions (which it could be using,
theoretically) don't really allow you to do stuff like that, because it
doesn't expose the required interface.  It's more display-oriented. 

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




Message #32 received at 8681-close <at> debbugs.gnu.org (full text, mbox):

From: "Benjamin L. Russell" <dekudekuplex <at> yahoo.com>
To: Eli Zaretskii <eliz <at> gnu.org>, Lars Magne Ingebrigtsen <larsi <at> gnus.org>
Cc: DekuDekuplex <at> Yahoo.com, Glenn Morris <rgm <at> gnu.org>,
	8681-close <at> debbugs.gnu.org
Subject: Re: bug#8681: 23.3;
	(gnus-face-from-file ...) bug in Gnus v5.13 on GNU Emacs 23.3.1
	(i386-mingw-nt5.1.2600) on Windows XP Professional, Service Pack 3
Date: Thu, 30 Jun 2011 06:56:40 -0700 (PDT)
> Eli Zaretskii <eliz <at> gnu.org>
> writes:
> 
> > My guess is that the OP doesn't have Imagemagick
> installed, and so
> > convert.exe either is not on PATH or is some other
> program, not the
> > one expected by gnus-face-from-file.
> 
> Yup.  So I don't think this is a bug in Gnus.

FYI, I *do* have Imagemagick installed; I thought that I had noted this in a reply in that thread.  Therefore, it's certainly not a bug on my part.

> 
> And the built-in ImageMagick functions (which it could be
> using,
> theoretically) don't really allow you to do stuff like
> that, because it
> doesn't expose the required interface.  It's more
> display-oriented. 

Then this is a problem with the built-in ImageMagick functions, which should be changed to allow me to do stuff like that.

-- Benjamin L. Russell

--- On Thu, 6/30/11, Lars Magne Ingebrigtsen <larsi <at> gnus.org> wrote:

> From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
> Subject: Re: bug#8681: 23.3; (gnus-face-from-file ...) bug in Gnus v5.13 on GNU Emacs 23.3.1 (i386-mingw-nt5.1.2600) on Windows XP Professional, Service Pack 3
> To: "Eli Zaretskii" <eliz <at> gnu.org>
> Cc: "Glenn Morris" <rgm <at> gnu.org>, 8681-close <at> debbugs.gnu.org, DekuDekuplex <at> Yahoo.com
> Date: Thursday, June 30, 2011, 10:19 AM
> Eli Zaretskii <eliz <at> gnu.org>
> writes:
> 
> > My guess is that the OP doesn't have Imagemagick
> installed, and so
> > convert.exe either is not on PATH or is some other
> program, not the
> > one expected by gnus-face-from-file.
> 
> Yup.  So I don't think this is a bug in Gnus.
> 
> And the built-in ImageMagick functions (which it could be
> using,
> theoretically) don't really allow you to do stuff like
> that, because it
> doesn't expose the required interface.  It's more
> display-oriented. 
> 
> -- 
> (domestic pets only, the antidote for overdose, milk.)
>   bloggy blog http://lars.ingebrigtsen.no/
>




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#8681; Package emacs,gnus. (Thu, 30 Jun 2011 14:13:01 GMT) Full text and rfc822 format available.

Message #35 received at 8681 <at> debbugs.gnu.org (full text, mbox):

From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
To: "Benjamin L. Russell" <dekudekuplex <at> yahoo.com>
Cc: Glenn Morris <rgm <at> gnu.org>, Eli Zaretskii <eliz <at> gnu.org>,
	8681 <at> debbugs.gnu.org
Subject: Re: bug#8681: 23.3;
	(gnus-face-from-file ...) bug in Gnus v5.13 on GNU Emacs 23.3.1
	(i386-mingw-nt5.1.2600) on Windows XP Professional, Service Pack 3
Date: Thu, 30 Jun 2011 16:12:25 +0200
"Benjamin L. Russell" <dekudekuplex <at> yahoo.com> writes:

> FYI, I *do* have Imagemagick installed; I thought that I had noted
> this in a reply in that thread.  Therefore, it's certainly not a bug
> on my part.

Sorry; I missed that part.  

So what does

(shell-command "convert -scale 48x48! c:/some/image.jpg -colors %d png:-")

eval to for you?

>> And the built-in ImageMagick functions (which it could be using,
>> theoretically) don't really allow you to do stuff like that, because
>> it doesn't expose the required interface.  It's more
>> display-oriented.
>
> Then this is a problem with the built-in ImageMagick functions, which
> should be changed to allow me to do stuff like that.

Yes.  It sounds like a nice project for someone for Emacs 25.  :-)

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#8681; Package emacs,gnus. (Thu, 30 Jun 2011 14:15:02 GMT) Full text and rfc822 format available.

Message #38 received at 8681 <at> debbugs.gnu.org (full text, mbox):

From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
To: "Benjamin L. Russell" <dekudekuplex <at> yahoo.com>
Cc: Glenn Morris <rgm <at> gnu.org>, Eli Zaretskii <eliz <at> gnu.org>, bugs <at> gnus.org,
	8681 <at> debbugs.gnu.org
Subject: Re: bug#8681: 23.3;
	(gnus-face-from-file ...) bug in Gnus v5.13 on GNU Emacs 23.3.1
	(i386-mingw-nt5.1.2600) on Windows XP Professional, Service Pack 3
Date: Thu, 30 Jun 2011 16:14:27 +0200
Lars Magne Ingebrigtsen <larsi <at> gnus.org> writes:

> (shell-command "convert -scale 48x48! c:/some/image.jpg -colors %d png:-")
>
> eval to for you?

That should be:

(shell-command "convert -scale 48x48! c:/some/image.jpg -colors 10 png:-")

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#8681; Package emacs,gnus. (Thu, 30 Jun 2011 14:24:01 GMT) Full text and rfc822 format available.

Message #41 received at 8681 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: bugs <at> gnus.org
Cc: dekudekuplex <at> yahoo.com, rgm <at> gnu.org, bugs <at> gnus.org, 8681 <at> debbugs.gnu.org
Subject: Re: bug#8681: 23.3;
	(gnus-face-from-file ...) bug in Gnus v5.13 on GNU Emacs 23.3.1
	(i386-mingw-nt5.1.2600) on Windows XP Professional, Service Pack 3
Date: Thu, 30 Jun 2011 10:23:35 -0400
> From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
> Cc: bugs <at> gnus.org
> Cc: Glenn Morris <rgm <at> gnu.org>,  Eli Zaretskii <eliz <at> gnu.org>,  8681 <at> debbugs.gnu.org
> Date: Thu, 30 Jun 2011 16:14:27 +0200
> 
> (shell-command "convert -scale 48x48! c:/some/image.jpg -colors 10 png:-")

I would rather suggest to start with this:

  M-: (executable-find "convert") RET




Message #42 received at 8681-close <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: "Benjamin L. Russell" <dekudekuplex <at> yahoo.com>
Cc: DekuDekuplex <at> Yahoo.com, rgm <at> gnu.org, larsi <at> gnus.org,
	8681-close <at> debbugs.gnu.org
Subject: Re: bug#8681: 23.3;
	(gnus-face-from-file ...) bug in Gnus v5.13 on GNU Emacs 23.3.1
	(i386-mingw-nt5.1.2600) on Windows XP Professional, Service Pack 3
Date: Thu, 30 Jun 2011 10:25:59 -0400
> Date: Thu, 30 Jun 2011 06:56:40 -0700 (PDT)
> From: "Benjamin L. Russell" <dekudekuplex <at> yahoo.com>
> Cc: Glenn Morris <rgm <at> gnu.org>, 8681-close <at> debbugs.gnu.org,
>   DekuDekuplex <at> Yahoo.com
> 
> FYI, I *do* have Imagemagick installed

In what directory is Imagemagick installed on your system?

Is there another convert.exe program somewhere on that machine, like
in C:\WINDOWS\system32 or some such?  If so, is it possible that it
gets invoked instead of Imagemagick's?




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#8681; Package emacs,gnus. (Thu, 30 Jun 2011 14:33:01 GMT) Full text and rfc822 format available.

Message #45 received at 8681 <at> debbugs.gnu.org (full text, mbox):

From: "Benjamin L. Russell" <dekudekuplex <at> yahoo.com>
To: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
Cc: Glenn Morris <rgm <at> gnu.org>, Eli Zaretskii <eliz <at> gnu.org>,
	8681 <at> debbugs.gnu.org
Subject: Re: bug#8681: 23.3;
	(gnus-face-from-file ...) bug in Gnus v5.13 on GNU Emacs 23.3.1
	(i386-mingw-nt5.1.2600) on Windows XP Professional, Service Pack 3
Date: Thu, 30 Jun 2011 07:32:44 -0700 (PDT)
> So what does
> 
> (shell-command "convert -scale 48x48! c:/some/image.jpg
> -colors %d png:-")
> 
> eval to for you?

It evaluated to a PNG file (for some reason, I am unable to copy-and-paste the contents from Emacs to this application, perhaps because the buffer comprises a PNG file).

> 
> >> And the built-in ImageMagick functions (which it
> could be using,
> >> theoretically) don't really allow you to do stuff
> like that, because
> >> it doesn't expose the required interface. 
> It's more
> >> display-oriented.
> >
> > Then this is a problem with the built-in ImageMagick
> functions, which
> > should be changed to allow me to do stuff like that.
> 
> Yes.  It sounds like a nice project for someone for
> Emacs 25.  :-)

Good luck; may the Force be with you! ;-)

-- Benjamin L. Russell

--- On Thu, 6/30/11, Lars Magne Ingebrigtsen <larsi <at> gnus.org> wrote:

> From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
> Subject: Re: bug#8681: 23.3; (gnus-face-from-file ...) bug in Gnus v5.13 on GNU Emacs 23.3.1 (i386-mingw-nt5.1.2600) on Windows XP Professional, Service Pack 3
> To: "Benjamin L. Russell" <dekudekuplex <at> yahoo.com>
> Cc: "Eli Zaretskii" <eliz <at> gnu.org>, "Glenn Morris" <rgm <at> gnu.org>, 8681 <at> debbugs.gnu.org
> Date: Thursday, June 30, 2011, 11:12 PM
> "Benjamin L. Russell" <dekudekuplex <at> yahoo.com>
> writes:
> 
> > FYI, I *do* have Imagemagick installed; I thought that
> I had noted
> > this in a reply in that thread.  Therefore, it's
> certainly not a bug
> > on my part.
> 
> Sorry; I missed that part.  
> 
> So what does
> 
> (shell-command "convert -scale 48x48! c:/some/image.jpg
> -colors %d png:-")
> 
> eval to for you?
> 
> >> And the built-in ImageMagick functions (which it
> could be using,
> >> theoretically) don't really allow you to do stuff
> like that, because
> >> it doesn't expose the required interface. 
> It's more
> >> display-oriented.
> >
> > Then this is a problem with the built-in ImageMagick
> functions, which
> > should be changed to allow me to do stuff like that.
> 
> Yes.  It sounds like a nice project for someone for
> Emacs 25.  :-)
> 
> -- 
> (domestic pets only, the antidote for overdose, milk.)
>   bloggy blog http://lars.ingebrigtsen.no/
>




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#8681; Package emacs,gnus. (Thu, 30 Jun 2011 14:40:02 GMT) Full text and rfc822 format available.

Message #48 received at 8681 <at> debbugs.gnu.org (full text, mbox):

From: "Benjamin L. Russell" <dekudekuplex <at> yahoo.com>
To: bugs <at> gnus.org
Cc: Glenn Morris <rgm <at> gnu.org>, Eli Zaretskii <eliz <at> gnu.org>, bugs <at> gnus.org,
	8681 <at> debbugs.gnu.org
Subject: Re: bug#8681: 23.3;
	(gnus-face-from-file ...) bug in Gnus v5.13 on GNU Emacs 23.3.1
	(i386-mingw-nt5.1.2600) on Windows XP Professional, Service Pack 3
Date: Thu, 30 Jun 2011 07:39:37 -0700 (PDT)
> Lars Magne Ingebrigtsen <larsi <at> gnus.org>
> writes:
> 
> > (shell-command "convert -scale 48x48!
> c:/some/image.jpg -colors %d png:-")
> >
> > eval to for you?
> 
> That should be:
> 
> (shell-command "convert -scale 48x48! c:/some/image.jpg
> -colors 10 png:-")

I had to send another response because I didn't see your correction until after I had sent the first reply; I'm rushing to meet a deadline in 14.5 hours.

Same evaluation:  another PNG file.

-- Benjamin L. Russell

--- On Thu, 6/30/11, Lars Magne Ingebrigtsen <larsi <at> gnus.org> wrote:

> From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
> Subject: Re: bug#8681: 23.3; (gnus-face-from-file ...) bug in Gnus v5.13 on GNU Emacs 23.3.1 (i386-mingw-nt5.1.2600) on Windows XP Professional, Service Pack 3
> To: "Benjamin L. Russell" <dekudekuplex <at> yahoo.com>
> Cc: bugs <at> gnus.org, "Glenn Morris" <rgm <at> gnu.org>, "Eli Zaretskii" <eliz <at> gnu.org>, 8681 <at> debbugs.gnu.org
> Date: Thursday, June 30, 2011, 11:14 PM
> Lars Magne Ingebrigtsen <larsi <at> gnus.org>
> writes:
> 
> > (shell-command "convert -scale 48x48!
> c:/some/image.jpg -colors %d png:-")
> >
> > eval to for you?
> 
> That should be:
> 
> (shell-command "convert -scale 48x48! c:/some/image.jpg
> -colors 10 png:-")
> 
> -- 
> (domestic pets only, the antidote for overdose, milk.)
>   bloggy blog http://lars.ingebrigtsen.no/
>




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#8681; Package emacs,gnus. (Thu, 30 Jun 2011 14:46:01 GMT) Full text and rfc822 format available.

Message #51 received at 8681 <at> debbugs.gnu.org (full text, mbox):

From: "Benjamin L. Russell" <dekudekuplex <at> yahoo.com>
To: bugs <at> gnus.org, Eli Zaretskii <eliz <at> gnu.org>
Cc: rgm <at> gnu.org, bugs <at> gnus.org, 8681 <at> debbugs.gnu.org
Subject: Re: bug#8681: 23.3;
	(gnus-face-from-file ...) bug in Gnus v5.13 on GNU Emacs 23.3.1
	(i386-mingw-nt5.1.2600) on Windows XP Professional, Service Pack 3
Date: Thu, 30 Jun 2011 07:45:11 -0700 (PDT)
Eli Zaretskii <eliz <at> gnu.org> writes:

> I would rather suggest to start with this:
> 
>   M-: (executable-find "convert") RET

"c:/program files/imagemagick-6.2.8-q16/convert.exe"

-- Benjamin L. Russell

--- On Thu, 6/30/11, Eli Zaretskii <eliz <at> gnu.org> wrote:

> From: Eli Zaretskii <eliz <at> gnu.org>
> Subject: Re: bug#8681: 23.3; (gnus-face-from-file ...) bug in Gnus v5.13 on GNU Emacs 23.3.1 (i386-mingw-nt5.1.2600) on Windows XP Professional, Service Pack 3
> To: bugs <at> gnus.org
> Cc: dekudekuplex <at> yahoo.com, bugs <at> gnus.org, rgm <at> gnu.org, 8681 <at> debbugs.gnu.org
> Date: Thursday, June 30, 2011, 11:23 PM
> > From: Lars Magne Ingebrigtsen
> <larsi <at> gnus.org>
> > Cc: bugs <at> gnus.org
> > Cc: Glenn Morris <rgm <at> gnu.org>, 
> Eli Zaretskii <eliz <at> gnu.org>, 
> 8681 <at> debbugs.gnu.org
> > Date: Thu, 30 Jun 2011 16:14:27 +0200
> > 
> > (shell-command "convert -scale 48x48!
> c:/some/image.jpg -colors 10 png:-")
> 
> I would rather suggest to start with this:
> 
>   M-: (executable-find "convert") RET
>




Message #52 received at 8681-close <at> debbugs.gnu.org (full text, mbox):

From: "Benjamin L. Russell" <dekudekuplex <at> yahoo.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: DekuDekuplex <at> Yahoo.com, rgm <at> gnu.org, larsi <at> gnus.org,
	8681-close <at> debbugs.gnu.org
Subject: Re: bug#8681: 23.3;
	(gnus-face-from-file ...) bug in Gnus v5.13 on GNU Emacs 23.3.1
	(i386-mingw-nt5.1.2600) on Windows XP Professional, Service Pack 3
Date: Thu, 30 Jun 2011 07:48:36 -0700 (PDT)
Eli Zaretskii writes:

> > FYI, I *do* have Imagemagick installed
> 
> In what directory is Imagemagick installed on your system?

C:\Program Files\ImageMagick-6.2.8-Q16

> 
> Is there another convert.exe program somewhere on that
> machine, like
> in C:\WINDOWS\system32 or some such?  If so, is it
> possible that it
> gets invoked instead of Imagemagick's?

Let's see:

> Microsoft Windows XP [Version 5.1.2600]
> (C) Copyright 1985-2001 Microsoft Corp.
> 
> C:\Documents and Settings\kensyuu>which convert
> /cygdrive/c/program files/imagemagick-6.2.8-q16/convert

-- Benjamin L. Russell

--- On Thu, 6/30/11, Eli Zaretskii <eliz <at> gnu.org> wrote:

> From: Eli Zaretskii <eliz <at> gnu.org>
> Subject: Re: bug#8681: 23.3; (gnus-face-from-file ...) bug in Gnus v5.13 on GNU Emacs 23.3.1 (i386-mingw-nt5.1.2600) on Windows XP Professional, Service Pack 3
> To: "Benjamin L. Russell" <dekudekuplex <at> yahoo.com>
> Cc: larsi <at> gnus.org, rgm <at> gnu.org, 8681-close <at> debbugs.gnu.org, DekuDekuplex <at> Yahoo.com
> Date: Thursday, June 30, 2011, 11:25 PM
> > Date: Thu, 30 Jun 2011 06:56:40
> -0700 (PDT)
> > From: "Benjamin L. Russell" <dekudekuplex <at> yahoo.com>
> > Cc: Glenn Morris <rgm <at> gnu.org>, 8681-close <at> debbugs.gnu.org,
> >   DekuDekuplex <at> Yahoo.com
> > 
> > FYI, I *do* have Imagemagick installed
> 
> In what directory is Imagemagick installed on your system?
> 
> Is there another convert.exe program somewhere on that
> machine, like
> in C:\WINDOWS\system32 or some such?  If so, is it
> possible that it
> gets invoked instead of Imagemagick's?
>




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#8681; Package emacs,gnus. (Thu, 30 Jun 2011 16:38:03 GMT) Full text and rfc822 format available.

Message #55 received at 8681 <at> debbugs.gnu.org (full text, mbox):

From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
To: "Benjamin L. Russell" <dekudekuplex <at> yahoo.com>
Cc: 8681 <at> debbugs.gnu.org, eliz <at> gnu.org, bugs <at> gnus.org, rgm <at> gnu.org
Subject: Re: bug#8681: 23.3;
	(gnus-face-from-file ...) bug in Gnus v5.13 on GNU Emacs 23.3.1
	(i386-mingw-nt5.1.2600) on Windows XP Professional, Service Pack 3
Date: Thu, 30 Jun 2011 18:37:40 +0200
"Benjamin L. Russell" <dekudekuplex <at> yahoo.com> writes:

>> (shell-command "convert -scale 48x48! c:/some/image.jpg
>> -colors 10 png:-")
>
> I had to send another response because I didn't see your correction
> until after I had sent the first reply; I'm rushing to meet a deadline
> in 14.5 hours.
>
> Same evaluation:  another PNG file.

Could you eval this?

(gnus-shell-command-to-string
"convert -scale 48x48! c:/some/image.jpg -colors 10 png:-")

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#8681; Package emacs,gnus. (Thu, 30 Jun 2011 17:46:02 GMT) Full text and rfc822 format available.

Message #58 received at 8681 <at> debbugs.gnu.org (full text, mbox):

From: "Benjamin L. Russell" <dekudekuplex <at> yahoo.com>
To: bugs <at> gnus.org
Cc: 8681 <at> debbugs.gnu.org, eliz <at> gnu.org, bugs <at> gnus.org, rgm <at> gnu.org
Subject: Re: bug#8681: 23.3;
	(gnus-face-from-file ...) bug in Gnus v5.13 on GNU Emacs 23.3.1
	(i386-mingw-nt5.1.2600) on Windows XP Professional, Service Pack 3
Date: Thu, 30 Jun 2011 10:45:46 -0700 (PDT)
Lars Magne Ingebrigtsen <larsi <at> gnus.org> wrote:

> Could you eval this?
> 
> (gnus-shell-command-to-string
> "convert -scale 48x48! c:/some/image.jpg -colors 10
> png:-")

This is the output from Emacs:

----- output begins immediately after this line -----
Debugger entered--Lisp error: (void-function gnus-shell-command-to-string)
  (gnus-shell-command-to-string "convert -scale 48x48! c:/butterflyLang.jpg -colors 10 png:-")
  eval((gnus-shell-command-to-string "convert -scale 48x48! c:/butterflyLang.jpg -colors 10 png:-"))
  eval-expression((gnus-shell-command-to-string "convert -scale 48x48! c:/butterflyLang.jpg -colors 10 png:-") nil)
  call-interactively(eval-expression nil nil)
----- output ends immediately before this line -----

-- Benjamin L. Russell

--- On Fri, 7/1/11, Lars Magne Ingebrigtsen <larsi <at> gnus.org> wrote:

> From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
> Subject: Re: bug#8681: 23.3; (gnus-face-from-file ...) bug in Gnus v5.13 on GNU Emacs 23.3.1 (i386-mingw-nt5.1.2600) on Windows XP Professional, Service Pack 3
> To: "Benjamin L. Russell" <dekudekuplex <at> yahoo.com>
> Cc: bugs <at> gnus.org, 8681 <at> debbugs.gnu.org, rgm <at> gnu.org, eliz <at> gnu.org
> Date: Friday, July 1, 2011, 1:37 AM
> "Benjamin L. Russell" <dekudekuplex <at> yahoo.com>
> writes:
> 
> >> (shell-command "convert -scale 48x48!
> c:/some/image.jpg
> >> -colors 10 png:-")
> >
> > I had to send another response because I didn't see
> your correction
> > until after I had sent the first reply; I'm rushing to
> meet a deadline
> > in 14.5 hours.
> >
> > Same evaluation:  another PNG file.
> 
> Could you eval this?
> 
> (gnus-shell-command-to-string
> "convert -scale 48x48! c:/some/image.jpg -colors 10
> png:-")
> 
> -- 
> (domestic pets only, the antidote for overdose, milk.)
>   bloggy blog http://lars.ingebrigtsen.no/
>




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#8681; Package emacs,gnus. (Thu, 30 Jun 2011 18:56:01 GMT) Full text and rfc822 format available.

Message #61 received at 8681 <at> debbugs.gnu.org (full text, mbox):

From: Lars Magne Ingebrigtsen <lmi <at> gnus.org>
To: "Benjamin L. Russell" <dekudekuplex <at> yahoo.com>
Cc: 8681 <at> debbugs.gnu.org
Subject: Re: bug#8681: 23.3;
	(gnus-face-from-file ...) bug in Gnus v5.13 on GNU Emacs 23.3.1
	(i386-mingw-nt5.1.2600) on Windows XP Professional, Service Pack 3
Date: Thu, 30 Jun 2011 20:50:06 +0200
"Benjamin L. Russell" <dekudekuplex <at> yahoo.com> writes:

> Debugger entered--Lisp error: (void-function gnus-shell-command-to-string)

You need to start Gnus first started first to use this stuff.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#8681; Package emacs,gnus. (Thu, 30 Jun 2011 20:00:03 GMT) Full text and rfc822 format available.

Message #64 received at 8681 <at> debbugs.gnu.org (full text, mbox):

From: "Benjamin L. Russell" <dekudekuplex <at> yahoo.com>
To: Lars Magne Ingebrigtsen <lmi <at> gnus.org>
Cc: 8681 <at> debbugs.gnu.org
Subject: Re: bug#8681: 23.3;
	(gnus-face-from-file ...) bug in Gnus v5.13 on GNU Emacs 23.3.1
	(i386-mingw-nt5.1.2600) on Windows XP Professional, Service Pack 3
Date: Thu, 30 Jun 2011 12:59:32 -0700 (PDT)
Lars Magne Ingebrigtsen <larsi <at> gnus.org> wrote:

> Lars Magne Ingebrigtsen <larsi <at> gnus.org> wrote:
> 
> > Could you eval this?
> >
> > (gnus-shell-command-to-string
> > "convert -scale 48x48! c:/some/image.jpg -colors 10
> > png:-")
> 
> This is the output from Emacs:
> 
> ----- output begins immediately after this line -----
> Debugger entered--Lisp error: (void-function gnus-shell-command-to-string)
>   (gnus-shell-command-to-string "convert -scale 48x48! c:/butterflyLang.jpg -colors 10 png:-")
>   eval((gnus-shell-command-to-string "convert -scale 48x48! c:/butterflyLang.jpg -colors 10 png:-"))
>   eval-expression((gnus-shell-command-to-string "convert -scale 48x48! c:/butterflyLang.jpg -colors 10 png:-") nil)
>   call-interactively(eval-expression nil nil)
> ----- output ends immediately before this line -----
> 
> > Debugger entered--Lisp error: (void-function
> gnus-shell-command-to-string)
> 
> You need to start Gnus first started first to use this
> stuff.

After starting Gnus, this is the output that I received:

----- output begins immediately after this line -----
Debugger entered--Lisp error: (void-function gnus-shell-command-to-string)
  (gnus-shell-command-to-string "convert -scale 48x48! c:/butterflyLang.jpg -colors 10 png:-")
  eval((gnus-shell-command-to-string "convert -scale 48x48! c:/butterflyLang.jpg -colors 10 png:-"))
  eval-expression((gnus-shell-command-to-string "convert -scale 48x48! c:/butterflyLang.jpg -colors 10 png:-") nil)
  call-interactively(eval-expression nil nil)
----- output ends immediately before this line -----

Starting Gnus first doesn't seem to have changed the behavior.

-- Benjamin L. Russell

"Benjamin L. Russell" <dekudekuplex <at> yahoo.com> writes:

>> (shell-command "convert -scale 48x48! c:/some/image.jpg
>> -colors 10 png:-")
>
> I had to send another response because I didn't see your correction
> until after I had sent the first reply; I'm rushing to meet a deadline
> in 14.5 hours.
>
> Same evaluation:  another PNG file.

Could you eval this?

(gnus-shell-command-to-string
"convert -scale 48x48! c:/some/image.jpg -colors 10 png:-")


--- On Fri, 7/1/11, Lars Magne Ingebrigtsen <lmi <at> gnus.org> wrote:

> From: Lars Magne Ingebrigtsen <lmi <at> gnus.org>
> Subject: Re: bug#8681: 23.3; (gnus-face-from-file ...) bug in Gnus v5.13 on GNU Emacs 23.3.1 (i386-mingw-nt5.1.2600) on Windows XP Professional, Service Pack 3
> To: "Benjamin L. Russell" <dekudekuplex <at> yahoo.com>
> Cc: 8681 <at> debbugs.gnu.org
> Date: Friday, July 1, 2011, 3:50 AM
> "Benjamin L. Russell" <dekudekuplex <at> yahoo.com>
> writes:
> 
> > Debugger entered--Lisp error: (void-function
> gnus-shell-command-to-string)
> 
> You need to start Gnus first started first to use this
> stuff.
> 
> -- 
> (domestic pets only, the antidote for overdose, milk.)
>   bloggy blog http://lars.ingebrigtsen.no/
>




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#8681; Package emacs,gnus. (Thu, 30 Jun 2011 20:11:02 GMT) Full text and rfc822 format available.

Message #67 received at 8681 <at> debbugs.gnu.org (full text, mbox):

From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
To: "Benjamin L. Russell" <dekudekuplex <at> yahoo.com>
Cc: 8681 <at> debbugs.gnu.org
Subject: Re: bug#8681: 23.3;
	(gnus-face-from-file ...) bug in Gnus v5.13 on GNU Emacs 23.3.1
	(i386-mingw-nt5.1.2600) on Windows XP Professional, Service Pack 3
Date: Thu, 30 Jun 2011 22:04:55 +0200
"Benjamin L. Russell" <dekudekuplex <at> yahoo.com> writes:

> After starting Gnus, this is the output that I received:
>
> ----- output begins immediately after this line -----
> Debugger entered--Lisp error: (void-function gnus-shell-command-to-string)
>   (gnus-shell-command-to-string "convert -scale 48x48!

Say

(require 'gnus-fun)

first.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#8681; Package emacs,gnus. (Thu, 30 Jun 2011 20:46:02 GMT) Full text and rfc822 format available.

Message #70 received at 8681 <at> debbugs.gnu.org (full text, mbox):

From: "Benjamin L. Russell" <dekudekuplex <at> yahoo.com>
To: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
Cc: 8681 <at> debbugs.gnu.org
Subject: Re: bug#8681: 23.3;
	(gnus-face-from-file ...) bug in Gnus v5.13 on GNU Emacs 23.3.1
	(i386-mingw-nt5.1.2600) on Windows XP Professional, Service Pack 3
Date: Thu, 30 Jun 2011 13:45:32 -0700 (PDT)
Lars Magne Ingebrigtsen <larsi <at> gnus.org> writes:

> "Benjamin L. Russell" <dekudekuplex <at> yahoo.com> writes:
> 
> > > Lars Magne Ingebrigtsen <larsi <at> gnus.org>
> > wrote:
> > > 
> > > > Could you eval this?
> > > >
> > > > (gnus-shell-command-to-string
> > > > "convert -scale 48x48! c:/some/image.jpg -colors
> > 10
> > > > png:-")
> > > 
> > > This is the output from Emacs:
> > > 
> > > ----- output begins immediately after this line -----
> > > Debugger entered--Lisp error: (void-function
> > gnus-shell-command-to-string)
> > >   (gnus-shell-command-to-string
> > "convert -scale 48x48! c:/butterflyLang.jpg -colors 10
> > png:-")
> > >   eval((gnus-shell-command-to-string
> > "convert -scale 48x48! c:/butterflyLang.jpg -colors 10
> > png:-"))
> > >   eval-expression((gnus-shell-command-to-string
> > "convert -scale 48x48! c:/butterflyLang.jpg -colors 10
> > png:-") nil)
> > >   call-interactively(eval-expression
> > nil nil)
> > > ----- output ends immediately before this line -----
> > > 
> > > > Debugger entered--Lisp error: (void-function
> > > gnus-shell-command-to-string)
> > > 
> > > You need to start Gnus first started first to use
> > this
> > > stuff.
> > 
> > After starting Gnus, this is the output that I received:
> > 
> > ----- output begins immediately after this line -----
> > Debugger entered--Lisp error: (void-function
> > gnus-shell-command-to-string)
> >   (gnus-shell-command-to-string "convert -scale 48x48!
> > c:/butterflyLang.jpg -colors 10 png:-")
> >   eval((gnus-shell-command-to-string "convert -scale
> > 48x48! c:/butterflyLang.jpg -colors 10 png:-"))
> >   eval-expression((gnus-shell-command-to-string
> > "convert -scale 48x48! c:/butterflyLang.jpg -colors 10
> > png:-") nil)
> >   call-interactively(eval-expression nil nil)
> > ----- output ends immediately before this line -----
> > 
> > Starting Gnus first doesn't seem to have changed the
> > behavior.
> 
> Say
> 
> (require 'gnus-fun)
> 
> first.

Okay; that resulted in a PNG file.

-- Benjamin L. Russell




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#8681; Package emacs,gnus. (Thu, 30 Jun 2011 21:00:03 GMT) Full text and rfc822 format available.

Message #73 received at 8681 <at> debbugs.gnu.org (full text, mbox):

From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
To: "Benjamin L. Russell" <dekudekuplex <at> yahoo.com>
Cc: 8681 <at> debbugs.gnu.org
Subject: Re: bug#8681: 23.3;
	(gnus-face-from-file ...) bug in Gnus v5.13 on GNU Emacs 23.3.1
	(i386-mingw-nt5.1.2600) on Windows XP Professional, Service Pack 3
Date: Thu, 30 Jun 2011 22:59:00 +0200
"Benjamin L. Russell" <dekudekuplex <at> yahoo.com> writes:

> Okay; that resulted in a PNG file.

So everything works.  :-)

Are you sure the problem isn't that the ~ isn't expanded properly?  In
the tests you're using C:, but in the original report you're using ~...

(gnus-face-from-file "~/butterflyLang.jpg")

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#8681; Package emacs,gnus. (Fri, 01 Jul 2011 05:53:01 GMT) Full text and rfc822 format available.

Message #76 received at 8681 <at> debbugs.gnu.org (full text, mbox):

From: "Benjamin L. Russell" <dekudekuplex <at> yahoo.com>
To: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
Cc: 8681 <at> debbugs.gnu.org
Subject: Re: bug#8681: 23.3;
	(gnus-face-from-file ...) bug in Gnus v5.13 on GNU Emacs 23.3.1
	(i386-mingw-nt5.1.2600) on Windows XP Professional, Service Pack 3
Date: Thu, 30 Jun 2011 22:52:30 -0700 (PDT)
On Fri, 7/1/11, Lars Magne Ingebrigtsen <larsi <at> gnus.org> wrote:

> "Benjamin L. Russell" <dekudekuplex <at> yahoo.com>
> writes:
> 
> > Okay; that resulted in a PNG file.
> 
> So everything works.  :-)
> 
> Are you sure the problem isn't that the ~ isn't expanded
> properly?  In
> the tests you're using C:, but in the original report
> you're using ~...
> 
> (gnus-face-from-file "~/butterflyLang.jpg")

Entering 

  M-: (gnus-face-from-file "~/butterflyLang.jpg")

and 

  M-: (gnus-face-from-file "C:/home/butterflyLang.jpg")

resulted in 

  nil

from Emacs in each case.

-- Benjamin L. Russell




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#8681; Package emacs,gnus. (Fri, 01 Jul 2011 10:15:03 GMT) Full text and rfc822 format available.

Message #79 received at 8681 <at> debbugs.gnu.org (full text, mbox):

From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
To: "Benjamin L. Russell" <dekudekuplex <at> yahoo.com>
Cc: 8681 <at> debbugs.gnu.org
Subject: Re: bug#8681: 23.3;
	(gnus-face-from-file ...) bug in Gnus v5.13 on GNU Emacs 23.3.1
	(i386-mingw-nt5.1.2600) on Windows XP Professional, Service Pack 3
Date: Fri, 01 Jul 2011 12:10:01 +0200
"Benjamin L. Russell" <dekudekuplex <at> yahoo.com> writes:

> and 
>
>   M-: (gnus-face-from-file "C:/home/butterflyLang.jpg")
>
> resulted in 
>
>   nil

Try `M-x edebug-defun' through `gnus-face-from-file' in gnus-fun.el to
see what doesn't work.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 29 Jul 2011 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 13 years and 332 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.