Gnus development mailing list
 help / color / mirror / Atom feed
* select-message-coding-system
@ 2006-02-13 18:52 Norbert Koch
  2006-02-13 22:48 ` select-message-coding-system Reiner Steib
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Norbert Koch @ 2006-02-13 18:52 UTC (permalink / raw)


Hi!

Vitals:

(emacs-version)
"SXEmacs: steve@sxemacs.org--2006/sxemacs--main--22.1.4--patch-28, built
Mon Ja\n 23 09:49:34 2006 on arafel"
(gnus-version)
"No Gnus v0.4"

I just got this error message:

Symbol's function definition is void: select-message-coding-system
Sending via mail...

Is there something I've got to set up?

Thanks,
norbert.





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

* Re: select-message-coding-system
  2006-02-13 18:52 select-message-coding-system Norbert Koch
@ 2006-02-13 22:48 ` Reiner Steib
  2006-02-13 23:11 ` select-message-coding-system Katsumi Yamaoka
  2006-02-14 12:26 ` select-message-coding-system Simon Josefsson
  2 siblings, 0 replies; 8+ messages in thread
From: Reiner Steib @ 2006-02-13 22:48 UTC (permalink / raw)


On Mon, Feb 13 2006, Norbert Koch wrote:

> (emacs-version)
> "SXEmacs: steve@sxemacs.org--2006/sxemacs--main--22.1.4--patch-28, built
> Mon Ja\n 23 09:49:34 2006 on arafel"
> (gnus-version)
> "No Gnus v0.4"
>
> I just got this error message:
>
> Symbol's function definition is void: select-message-coding-system
> Sending via mail...

Wrong list, I think.  ;-) There is no "select-message-coding-system"
in Gnus' sources.  But there is one in XEmacs:

xemacs-packages/lisp$ grep select-message-coding-system */*.el
mail-lib/sendmail.el:;  (selected-coding (select-message-coding-system))
vm/vm-reply.el:     (fboundp 'select-message-coding-system)
[...]
xemacs-packages/lisp$ rpm -qf mail-lib/sendmail.el
xemacs-packages-el-20050715-3

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/




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

* Re: select-message-coding-system
  2006-02-13 18:52 select-message-coding-system Norbert Koch
  2006-02-13 22:48 ` select-message-coding-system Reiner Steib
@ 2006-02-13 23:11 ` Katsumi Yamaoka
  2006-02-14  6:26   ` select-message-coding-system Norbert Koch
  2006-02-14  9:25   ` select-message-coding-system Reiner Steib
  2006-02-14 12:26 ` select-message-coding-system Simon Josefsson
  2 siblings, 2 replies; 8+ messages in thread
From: Katsumi Yamaoka @ 2006-02-13 23:11 UTC (permalink / raw)


>>>>> In <1139856765.13953.2.camel@localhost.localdomain> Norbert Koch wrote:

> Vitals:

> (emacs-version)
> "SXEmacs: steve@sxemacs.org--2006/sxemacs--main--22.1.4--patch-28, built
> Mon Ja\n 23 09:49:34 2006 on arafel"
> (gnus-version)
> "No Gnus v0.4"

> I just got this error message:

> Symbol's function definition is void: select-message-coding-system
> Sending via mail...

> Is there something I've got to set up?

You seem to use contrib/smtpmail.el which uses that function.
In Emacs, it is defined in mule-cmds.el but is very
Emacs-specific and is probably hard to implement in XEmacs.  The
function seems to be useful only when text which is not encoded
is passed to smtpmail-send-it.  However, Gnus always encode text
before sending, so I think you may simply void it.

(defalias 'select-message-coding-system 'ignore)

In addition to this, I need to use the following to use that
version of smtpmail.el with XEmacs 21.4.19.

(setq mail-aliases nil)
(defalias 'multibyte-string-p 'ignore)



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

* Re: select-message-coding-system
  2006-02-13 23:11 ` select-message-coding-system Katsumi Yamaoka
@ 2006-02-14  6:26   ` Norbert Koch
  2006-02-14  9:25   ` select-message-coding-system Reiner Steib
  1 sibling, 0 replies; 8+ messages in thread
From: Norbert Koch @ 2006-02-14  6:26 UTC (permalink / raw)


* Katsumi Yamaoka <yamaoka@jpl.org>:

> You seem to use contrib/smtpmail.el which uses that function.

Ah, you are right.  I removed the directory from the load path.  Hmm,
maybe I should only push it to the end :-)

Thanks for your help,
norbert.




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

* Re: select-message-coding-system
  2006-02-13 23:11 ` select-message-coding-system Katsumi Yamaoka
  2006-02-14  6:26   ` select-message-coding-system Norbert Koch
@ 2006-02-14  9:25   ` Reiner Steib
  1 sibling, 0 replies; 8+ messages in thread
From: Reiner Steib @ 2006-02-14  9:25 UTC (permalink / raw)


On Tue, Feb 14 2006, Katsumi Yamaoka wrote:

>>>>>> In <1139856765.13953.2.camel@localhost.localdomain> Norbert Koch wrote:
>> Symbol's function definition is void: select-message-coding-system
>> Sending via mail...
>
>> Is there something I've got to set up?
>
> You seem to use contrib/smtpmail.el which uses that function.
> In Emacs, it is defined in mule-cmds.el but is very
> Emacs-specific and is probably hard to implement in XEmacs.

contrib/smtpmail.el is in fact intended for Emacs 21.  But XEmacs also
has (IIRC a quite recent version of) smtpmail.el in it's mail-lib
package.

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/




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

* Re: select-message-coding-system
  2006-02-13 18:52 select-message-coding-system Norbert Koch
  2006-02-13 22:48 ` select-message-coding-system Reiner Steib
  2006-02-13 23:11 ` select-message-coding-system Katsumi Yamaoka
@ 2006-02-14 12:26 ` Simon Josefsson
  2006-02-14 13:10   ` select-message-coding-system Reiner Steib
  2 siblings, 1 reply; 8+ messages in thread
From: Simon Josefsson @ 2006-02-14 12:26 UTC (permalink / raw)
  Cc: ding

Norbert Koch <nk@viteno.net> writes:

> Hi!
>
> Vitals:
>
> (emacs-version)
> "SXEmacs: steve@sxemacs.org--2006/sxemacs--main--22.1.4--patch-28, built
> Mon Ja\n 23 09:49:34 2006 on arafel"
> (gnus-version)
> "No Gnus v0.4"
>
> I just got this error message:
>
> Symbol's function definition is void: select-message-coding-system
> Sending via mail...
>
> Is there something I've got to set up?

Do you have Gnus's contrib/ in your load-path?

Ok, it seems adding s???mail.el to contrib/ didn't work well with
XEmacs.  Should have remembered that, I modify it in some ways each
time I import it into XEmacs...

Hm.  Either XEmacs users has to make sure they put Gnus contrib/ after
mail-lib in load-path, or we'll somehow have to revert the
contrib/s???mail.el files.

Or create contrib/emacs vs contrib/xemacs?  I don't like that.

Or someone make fixes these files so they work fine on both emacsen,
so we don't have this problem.



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

* Re: select-message-coding-system
  2006-02-14 12:26 ` select-message-coding-system Simon Josefsson
@ 2006-02-14 13:10   ` Reiner Steib
  2006-02-15 13:54     ` select-message-coding-system Simon Josefsson
  0 siblings, 1 reply; 8+ messages in thread
From: Reiner Steib @ 2006-02-14 13:10 UTC (permalink / raw)


On Tue, Feb 14 2006, Simon Josefsson wrote:

> Ok, it seems adding s???mail.el to contrib/ didn't work well with
> XEmacs.  Should have remembered that, I modify it in some ways each
> time I import it into XEmacs...
>
> Hm.  Either XEmacs users has to make sure they put Gnus contrib/ after
> mail-lib in load-path, or we'll somehow have to revert the
> contrib/s???mail.el files.

No, please don't fix what ain't broken.  contrib/ should *not* be in
`load-path':

,----[ contrib/README ]
| Please note that it is not good to just add this directory to
| load-path: a number of files in this directory will become part of
| more recent Emacs versions, so that you might be running obsolete
| libraries with all kinds of ill effects.
| 
| The suggested method for installation is to copy those files that you
| need to a directory which is in load-path.
`----

At least `ucs-tables.el' doesn't work at all with XEmacs:

,----[ contrib/ucs-tables.el ]
| (when (featurep 'xemacs)
|   (error "This file cannot be used with XEmacs.[...]"))
`----

> Or someone make fixes these files so they work fine on both emacsen,
> so we don't have this problem.

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/




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

* Re: select-message-coding-system
  2006-02-14 13:10   ` select-message-coding-system Reiner Steib
@ 2006-02-15 13:54     ` Simon Josefsson
  0 siblings, 0 replies; 8+ messages in thread
From: Simon Josefsson @ 2006-02-15 13:54 UTC (permalink / raw)


Reiner Steib <reinersteib+gmane@imap.cc> writes:

> On Tue, Feb 14 2006, Simon Josefsson wrote:
>
>> Ok, it seems adding s???mail.el to contrib/ didn't work well with
>> XEmacs.  Should have remembered that, I modify it in some ways each
>> time I import it into XEmacs...
>>
>> Hm.  Either XEmacs users has to make sure they put Gnus contrib/ after
>> mail-lib in load-path, or we'll somehow have to revert the
>> contrib/s???mail.el files.
>
> No, please don't fix what ain't broken.  contrib/ should *not* be in
> `load-path':
>
> ,----[ contrib/README ]
> | Please note that it is not good to just add this directory to
> | load-path: a number of files in this directory will become part of
> | more recent Emacs versions, so that you might be running obsolete
> | libraries with all kinds of ill effects.
> | 
> | The suggested method for installation is to copy those files that you
> | need to a directory which is in load-path.
> `----

Right, problem solved, let's keep the files.



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

end of thread, other threads:[~2006-02-15 13:54 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-13 18:52 select-message-coding-system Norbert Koch
2006-02-13 22:48 ` select-message-coding-system Reiner Steib
2006-02-13 23:11 ` select-message-coding-system Katsumi Yamaoka
2006-02-14  6:26   ` select-message-coding-system Norbert Koch
2006-02-14  9:25   ` select-message-coding-system Reiner Steib
2006-02-14 12:26 ` select-message-coding-system Simon Josefsson
2006-02-14 13:10   ` select-message-coding-system Reiner Steib
2006-02-15 13:54     ` select-message-coding-system Simon Josefsson

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 NNTP newsgroup(s).