Gnus development mailing list
 help / color / mirror / Atom feed
From: Nuutti Kotivuori <nuutti.kotivuori@smarttrust.com>
Subject: Re: '.' at the beginning of summary buffer lines
Date: Fri, 31 Aug 2001 17:08:16 +0300	[thread overview]
Message-ID: <87itf45nlb.fsf@smarttrust.com> (raw)
In-Reply-To: <87sne97iuh.fsf@mclinux.com> (Josh Huber's message of "Thu, 30 Aug 2001 09:55:34 -0400")

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

Josh Huber wrote:
> Nuutti Kotivuori <nuutti.kotivuori@smarttrust.com> writes:
>> No idea - I have gotten it to work in XEmacs with MULE-UCS and a
>> small hack to Gnus code.
> 
> What did you hack in the Gnus code?

Just a small thing:


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: utf-8-patch --]
[-- Type: text/x-patch, Size: 686 bytes --]

Index: mm-util.el
===================================================================
RCS file: /usr/local/cvsroot/gnus/lisp/mm-util.el,v
retrieving revision 6.22
diff -u -r6.22 mm-util.el
--- mm-util.el	2001/08/04 02:13:35	6.22
+++ mm-util.el	2001/08/31 14:06:06
@@ -356,10 +356,7 @@
     (when (memq 'iso-2022-jp-2 charsets)
       (setq charsets (delq 'iso-2022-jp charsets)))
     (setq charsets (mm-delete-duplicates charsets))
-    (if (and (> (length charsets) 1)
-	     (fboundp 'find-coding-systems-region)
-	     (let ((cs (find-coding-systems-region b e)))
-	       (or (memq 'utf-8 cs) (memq 'mule-utf-8 cs))))
+    (if (> (length charsets))
 	'(utf-8)
       charsets)))
 

[-- Attachment #3: Type: text/plain, Size: 214 bytes --]


Makes it assume that if there's more than one charset, use
UTF-8. XEmacs does not have find-coding-systems-region.

And this is an ugly hack that works for me, not good enough to include
somewhere else.

-- Naked

  reply	other threads:[~2001-08-31 14:08 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-26 17:33 Florian Weimer
2001-08-26 17:36 ` Henrik Enberg
2001-08-26 17:47   ` Karl Kleinpaste
2001-08-26 18:57     ` Florian Weimer
2001-08-26 18:54       ` Amos Gouaux
2001-08-26 20:08         ` Florian Weimer
2001-08-26 20:59         ` Russ Allbery
2001-08-26 21:26           ` Simon Josefsson
2001-08-29 15:31             ` Harry Putnam
2001-08-29 17:00               ` Simon Josefsson
2001-08-29 18:30                 ` Kai Großjohann
2001-08-29 16:46             ` Nuutti Kotivuori
2001-08-29 18:59               ` Simon Josefsson
2001-08-30 11:40                 ` Nuutti Kotivuori
2001-08-30 13:55                   ` Josh Huber
2001-08-31 14:08                     ` Nuutti Kotivuori [this message]
2001-09-01  0:37                       ` Daniel Pittman
2001-08-31 14:11                     ` Nuutti Kotivuori
2001-08-31 23:29                   ` Simon Josefsson
2001-08-26 21:39           ` Lars Magne Ingebrigtsen
2001-08-26 21:22       ` Kai Großjohann
2001-08-26 23:09       ` Karl Kleinpaste
2001-08-26 18:58   ` Florian Weimer
2001-08-26 19:54     ` Lars Magne Ingebrigtsen
2001-08-27 13:47   ` Emerick Rogul

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=87itf45nlb.fsf@smarttrust.com \
    --to=nuutti.kotivuori@smarttrust.com \
    /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).