From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/62966 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: New completion mode Date: Sat, 22 Apr 2006 02:01:20 +0200 Organization: Programmerer Ingebrigtsen Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1145664343 8078 80.91.229.2 (22 Apr 2006 00:05:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 22 Apr 2006 00:05:43 +0000 (UTC) Original-X-From: ding-owner+m11493@lists.math.uh.edu Sat Apr 22 02:05:43 2006 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FX5d1-0000ir-K3 for ding-account@gmane.org; Sat, 22 Apr 2006 02:05:35 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1FX5cv-000539-00; Fri, 21 Apr 2006 19:05:29 -0500 Original-Received: from nas01.math.uh.edu ([129.7.128.39]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1FX5cc-000534-00 for ding@lists.math.uh.edu; Fri, 21 Apr 2006 19:05:10 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas01.math.uh.edu with esmtp (Exim 4.52) id 1FX5ca-0001Wi-Bb for ding@lists.math.uh.edu; Fri, 21 Apr 2006 19:05:10 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1FX5ca-0000up-00 for ; Sat, 22 Apr 2006 02:05:08 +0200 Original-Received: from root by ciao.gmane.org with local (Exim 4.43) id 1FX5cU-0000eT-5B for ding@gnus.org; Sat, 22 Apr 2006 02:05:02 +0200 Original-Received: from quimbies.gnus.org ([80.91.231.2]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 22 Apr 2006 02:05:02 +0200 Original-Received: from larsi by quimbies.gnus.org with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 22 Apr 2006 02:05:02 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-To: ding@gnus.org Original-Lines: 58 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: quimbies.gnus.org Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAD1BMVEVFPTegcF+wi23BuLdw eYiBAuvjAAAACXBIWXMAAABIAAAASABGyWs+AAACQUlEQVQ4y1WT4ZWEIAyEwbMAghZgIgWsxgIA 6b+mmwD73h1/duEzk0kI7m3tFTlFbrmD+7NU9bFzrGj71dcB3ud9br0lSuTWAI48I159VPE9cXw1 /5c6DXAs7/OMQ0um2QATp0Lt7YCEnQd4Hz1ruoTofT4GEB68e9qKHERMG88cESbJ4a+vHSS2HN65 BVq9pEIauUaRBr8xuMDSJV2DlMgu6dGPg7o/4oHj7KqcMUaBVMsGyHlTWt2CArUKc/fqQ+h1uKUV VZS4pTRrNoSAVvkEuAvRt+jJWQwwip/t8AMsbEQTuvsvgiIzGqkX79cMCN2Uj0TIcF/TVXY79eTO e4+rVUlXsn3YtlLMxhGtT6JXEqbg8v2aMJwnOei85bxELqIfHQuxBz6EkLJcbNnGghSLbU9IJaJo 4HE5dyC8WeUVAaP4sXCPZdMNlRsYfexuK4hFXGw5xFlDOpBD0qbxBIArsU6FXqCgPEIM7JoWAPUf d+QlmS+q5u8PwHjJeW56XzRPqKcysdVmt5vqdr/m0MVNMdJYuRuK4QuIEYF5kzEdAGECPUUL7/jO pOL3bolUo94syXlMnFu+dwtwG7DrWPps2suaQFTQxOx+Dvd+1tn40fYqqWSo1/px5wCWHDG7ULM3 kXL4EyFQqtLy4prLa8tNRw4Vlkjp7alXoPWcAPO57aLPADbRdoUY6kIpCk+QXSutP15E7NDi+fwb hqEDuw3iWkt2oxvNtRWza4CpkEXM9iUY9xQ8+lFojxAPY34Q+wuMMXHGoCsEMgAAAABJRU5ErkJg gg== Mail-Copies-To: never X-Now-Playing: Various's _Summer and Smiles of Finland_: "Es - =?iso-8859-1?Q?Pehme=E4?= iho" User-Agent: Gnus/5.110005 (No Gnus v0.5) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:Fce9dJ+pGXFqr0n3tHpKiGsYHb4= X-Spam-Score: -2.6 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:62966 Archived-At: Katsumi Yamaoka writes: > The regexp used in `message-put-addresses-in-ecomplete' causes > an infloop in XEmacs. The test case is: > > (gnus-replace-in-string "yamaoka@jpl.org" "^ +\\| *$" "") > > It might be due to an XEmacs bug. Though it seems to be solved > by replacing the regexp with "^ +\\| +$". Ok; done. > The completions list appears only when a user invokes the > `self-insert-command' command. Especially in Japan, people use > various tools in order to write Japanese text. Some tools > replace `self-insert-command' with the other command, e.g., > `egg-self-insert-char', in many keys, and it is used even when > writing ASCII text. So, we need to make changes in message.el > like the following: > > (defcustom message-self-insert-commands '(self-insert-command) Yup. I wonder whether there's a simpler solution to make this work automatically. The point of the check for `self-insert-command' was just to avoid having the code trigger on totally automatic header setup stuff. (It would flash "No ecomplete matches" while generating the header.) But I don't see any obvious way to fix this, so I've installed your change. > Therefore, I make a proposal to add a variable like > `ecomplete-database-file-coding-system'. I think the best > choice for the default value is `iso-2022-7bit' which all > Emacsen (with Mule) support. Ok; I'll make this change. > Putting the coding cookie to the rc file would also be good. It > enables people to manually edit the rc file safely and informs > non-Mule XEmacs whether the contents can be used and modified. What should the cookie look like? > Mail-abbrevs is still useful. So, I use > > (add-hook 'message-setup-hook (if (featurep 'xemacs) > 'mail-aliases-setup > 'mail-abbrevs-setup)) > > even if I set `message-mail-alias-type' to `ecomplete'. How > about making this option a list? Will do. -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen