Gnus development mailing list
 help / color / mirror / Atom feed
From: Uwe Brauer <oub@mat.ucm.es>
To: ding@gnus.org
Subject: Re: Xemacs (Mule) and GNU Emacs, problem with drafts and encoding.
Date: Thu, 28 May 2015 11:26:45 +0200	[thread overview]
Message-ID: <87k2vthx2i.fsf@mat.ucm.es> (raw)
In-Reply-To: <b4msiah8p7g.fsf@jpl.org>

[-- Attachment #1: Type: text/plain, Size: 1014 bytes --]

>> "Katsumi" == Katsumi Yamaoka <yamaoka@jpl.org> writes:

   > On Wed, 27 May 2015 14:51:12 +0200, Uwe Brauer wrote:
   >> I tried  that but this coding setting but alas it does not make the
   >> drafts compatible.

   > Supposing you meant escape-quoted, it is the only real universal
   > coding system in XEmacs 21.5 and 21.4 (with Mule) AFAIK, but is
   > not available in Emacs.  I think the iso-2022-7bit choice is not
   > so bad since the etc/HELLO file uses it in both Emacsen.

Hm when I use the setting 
(setq message-draft-coding-system 'iso-2022-7bit)
and try to enter the draft folder I obtain an error I attach below

   >> Why does Xemacs not support the utf-8 coding for drafts, although in
   >> general it does support this format?

   > XEmacs 21.5 supports utf-8 natively but 21.4 requires the Mule-UCS
   > XEmacs package, that is a bit buggy, AFAIK.

I am on 21.5.33 Mule, so utf8 should be supported, however

(setq message-draft-coding-system 'utf8) 

Also gives me an error I attach 



[-- Attachment #2: utf8 coding bug --]
[-- Type: text/plain, Size: 1916 bytes --]

Debugger entered--Lisp error: (wrong-type-argument stringp nil)
  file-name-nondirectory(nil)
  insert-file-contents("~/News/drafts/drafts/818")
  byte-code("..." [file coding-system-for-read auto-mode-alist file-name-coding-system nnmail-pathname-coding-system nnmail-file-coding-system mm-auto-mode-alist insert-file-contents t] 3)
  nnmail-find-file("~/News/drafts/drafts/818")
  nndraft-request-article(818 "drafts" "" #<buffer " *nntpd*">)
  nndraft-retrieve-headers((604 719 725 726 728 730 731 732 733 735 741 743 747 751 754 783 785 787 795 796 816 817 818 819 822 827 829 831 836 838 841 842 846 848 851 852 855 874 885 894 896 903 908 917 920 923 926) "drafts" "" t)
  gnus-retrieve-headers((604 719 725 726 728 730 731 732 733 735 741 743 747 751 754 783 785 787 795 796 816 817 818 819 822 827 829 831 836 838 841 842 846 848 851 852 855 874 885 894 896 903 908 917 920 923 926) "nndraft:drafts" t)
  gnus-cache-retrieve-headers((604 719 725 726 728 730 731 732 733 735 741 743 747 751 754 783 785 787 795 796 816 817 818 819 822 827 829 831 836 838 841 842 846 848 851 852 855 874 885 894 896 903 908 917 920 923 926) "nndraft:drafts" t)
  gnus-retrieve-headers((604 719 725 726 728 730 731 732 733 735 741 743 747 751 754 783 785 787 795 796 816 817 818 819 822 827 829 831 836 838 841 842 846 848 851 852 855 874 885 894 896 903 908 917 920 923 926) "nndraft:drafts" t)
  gnus-fetch-headers((604 719 725 726 728 730 731 732 733 735 741 743 747 751 754 783 785 787 795 796 816 817 818 819 822 827 829 831 836 838 841 842 846 848 851 852 855 874 885 894 896 903 908 917 920 923 926))
  gnus-select-newsgroup("nndraft:drafts" nil nil)
  gnus-summary-read-group-1("nndraft:drafts" nil t nil nil nil)
  gnus-summary-read-group("nndraft:drafts" nil t nil nil nil nil)
  gnus-group-read-group(nil t)
  gnus-group-select-group(nil)
  gnus-topic-select-group(nil)
  call-interactively(gnus-topic-select-group)

[-- Attachment #3: iso-2022 bug --]
[-- Type: text/plain, Size: 3671 bytes --]

Debugger entered--Lisp error: (wrong-type-argument stringp nil)
  file-name-nondirectory(nil)
  insert-file-contents("~/News/drafts/drafts/818")
  byte-code("..." [file coding-system-for-read auto-mode-alist file-name-coding-system nnmail-pathname-coding-system nnmail-file-coding-system mm-auto-mode-alist insert-file-contents t] 3)
  nnmail-find-file("~/News/drafts/drafts/818")
  nndraft-request-article(818 "drafts" "" #<buffer " *nntpd*">)
  nndraft-retrieve-headers((604 719 725 726 728 730 731 732 733 735 741 743 747 751 754 783 785 787 795 796 816 817 818 819 822 827 829 831 836 838 841 842 846 848 851 852 855 874 885 894 896 903 908 917 920 923 926) "drafts" "" t)
  gnus-retrieve-headers((604 719 725 726 728 730 731 732 733 735 741 743 747 751 754 783 785 787 795 796 816 817 818 819 822 827 829 831 836 838 841 842 846 848 851 852 855 874 885 894 896 903 908 917 920 923 926) "nndraft:drafts" t)
  gnus-fetch-headers((604 719 725 726 728 730 731 732 733 735 741 743 747 751 754 783 785 787 795 796 816 817 818 819 822 827 829 831 836 838 841 842 846 848 851 852 855 874 885 894 896 903 908 917 920 923 926))
  gnus-select-newsgroup("nndraft:drafts" nil nil)
  gnus-summary-read-group-1("nndraft:drafts" nil t nil nil nil)
  gnus-summary-read-group("nndraft:drafts" nil t nil nil nil nil)
  gnus-group-read-group(nil t)
  gnus-group-select-group(nil)
  gnus-topic-select-group(nil)
  call-interactively(gnus-topic-select-group)
  recursive-edit()
  byte-code("..." [buffer-read-only noninteractive debugger-buffer middlestart debugger-args debugger-batch-max-lines pop-to-buffer debugger-mode debugger-setup-buffer count-lines 2 "...\n" message buffer-string kill-emacs debug backtrace-debug 3 t debugger-reenable "" nil recursive-edit standard-output] 3)
  debug(error (wrong-type-argument stringp nil))
  file-name-nondirectory(nil)
  insert-file-contents("~/News/drafts/drafts/818")
  byte-code("..." [file coding-system-for-read auto-mode-alist file-name-coding-system nnmail-pathname-coding-system nnmail-file-coding-system mm-auto-mode-alist insert-file-contents t] 3)
  nnmail-find-file("~/News/drafts/drafts/818")
  nndraft-request-article(818 "drafts" "" #<buffer " *nntpd*">)
  nndraft-retrieve-headers((604 719 725 726 728 730 731 732 733 735 741 743 747 751 754 783 785 787 795 796 816 817 818 819 822 827 829 831 836 838 841 842 846 848 851 852 855 874 885 894 896 903 908 917 920 923 926) "drafts" "" t)
  gnus-retrieve-headers((604 719 725 726 728 730 731 732 733 735 741 743 747 751 754 783 785 787 795 796 816 817 818 819 822 827 829 831 836 838 841 842 846 848 851 852 855 874 885 894 896 903 908 917 920 923 926) "nndraft:drafts" t)
  gnus-cache-retrieve-headers((604 719 725 726 728 730 731 732 733 735 741 743 747 751 754 783 785 787 795 796 816 817 818 819 822 827 829 831 836 838 841 842 846 848 851 852 855 874 885 894 896 903 908 917 920 923 926) "nndraft:drafts" t)
  gnus-retrieve-headers((604 719 725 726 728 730 731 732 733 735 741 743 747 751 754 783 785 787 795 796 816 817 818 819 822 827 829 831 836 838 841 842 846 848 851 852 855 874 885 894 896 903 908 917 920 923 926) "nndraft:drafts" t)
  gnus-fetch-headers((604 719 725 726 728 730 731 732 733 735 741 743 747 751 754 783 785 787 795 796 816 817 818 819 822 827 829 831 836 838 841 842 846 848 851 852 855 874 885 894 896 903 908 917 920 923 926))
  gnus-select-newsgroup("nndraft:drafts" nil nil)
  gnus-summary-read-group-1("nndraft:drafts" nil t nil nil nil)
  gnus-summary-read-group("nndraft:drafts" nil t nil nil nil nil)
  gnus-group-read-group(nil t)
  gnus-group-select-group(nil)
  gnus-topic-select-group(nil)
  call-interactively(gnus-topic-select-group)

  reply	other threads:[~2015-05-28  9:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-27 12:51 Uwe Brauer
2015-05-28  1:29 ` Katsumi Yamaoka
2015-05-28  9:26   ` Uwe Brauer [this message]
2015-05-29  2:46     ` Katsumi Yamaoka

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k2vthx2i.fsf@mat.ucm.es \
    --to=oub@mat.ucm.es \
    --cc=ding@gnus.org \
    /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.
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).