From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/87249 Path: news.gmane.org!.POSTED!not-for-mail From: "Byung-Hee HWANG =?utf-8?B?KO2Zqeuzke2drCk=?=" Newsgroups: gmane.emacs.gnus.general Subject: Re: Custom Message-ID Date: Wed, 17 Aug 2016 20:58:27 +0900 Organization: =?utf-8?B?6YeR6Zm1ICjmt7XmupDsnZgg66eI7J2MKQ==?= Message-ID: References: <8737m78ri3.fsf@alex.chromebook> <87fuq74gdg.fsf@ericabrahamsen.net> <877fbi3qrr.fsf@linux-m68k.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1471435205 12495 195.159.176.226 (17 Aug 2016 12:00:05 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 17 Aug 2016 12:00:05 +0000 (UTC) User-Agent: Gnus/5.130016 (Ma Gnus v0.16) Emacs/23.3 (gnu/linux) Cc: ding@gnus.org To: Andreas Schwab Original-X-From: ding-owner+M35469@lists.math.uh.edu Wed Aug 17 13:59:58 2016 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from lists1.math.uh.edu ([129.7.128.208]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bZzVk-0002qA-O2 for ding-account@gmane.org; Wed, 17 Aug 2016 13:59:56 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.86_2) (envelope-from ) id 1bZzUf-0003qQ-9T; Wed, 17 Aug 2016 06:58:49 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by lists1.math.uh.edu with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.86_2) (envelope-from ) id 1bZzUb-0003pr-8w for ding@lists.math.uh.edu; Wed, 17 Aug 2016 06:58:45 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.86_2) (envelope-from ) id 1bZzUZ-0006Lj-FT for ding@lists.math.uh.edu; Wed, 17 Aug 2016 06:58:45 -0500 Original-Received: from mail-pf0-f196.google.com ([209.85.192.196]) by quimby.gnus.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1bZzUX-0006jh-F8 for ding@gnus.org; Wed, 17 Aug 2016 13:58:42 +0200 Original-Received: by mail-pf0-f196.google.com with SMTP id g202so7782082pfb.1 for ; Wed, 17 Aug 2016 04:58:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=doraji.xyz; s=google-2048-bit; h=from:to:cc:subject:organization:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=CZnyreOESlbCTbN0a5EfjhXczoQLK8lmTS61+HiASfc=; b=RxJCWOQJWGodxyEffab9hxevNZmyCupnBTrpI+6hGtWlXFsHAaOMTDtDgdcSfRDdcM R6iN8soFhgBVZ2mS/4eOA9e8hNVAJBRrdHwg2Jf+OP95dF2EhiVLbvAWKWgfIOURhCCO vBKqVJulDmr9UGrpaR4utrAOGKJCsvR4WLFUJcwmAgGbPqdYVKPwIq9qKKSzK8x8kf+r gcwrM61ocvR9F7y+FHFWN6LxJYT2XQxu7AgcVWU777KvQrAN1ZRkL97s1rD2IzU4FOQp It+FNwcyRPTTQCFWcLEjjnqC0jrPp1vtPQlXXRXhUcmrO2HKgpKdzEw8VvkYnhlRiwwY 5K/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:organization:references:date :in-reply-to:message-id:user-agent:mime-version :content-transfer-encoding; bh=CZnyreOESlbCTbN0a5EfjhXczoQLK8lmTS61+HiASfc=; b=DOp+Oz4R2hM28LuCLsNVoNMdlhXkwD4fppapobxpHCTHdaW00pZXEEXX6AcURDRtoA YYkX14ksibMDSJqyRKG9JwFOzXCFILvVeJz7bKxOupFtIiUKEwOyN8MolrGeCqwEGuN+ TOzR5J3DH0LzX/Yuqg+sialnHM0x+YN2uI2vSO1qK121BxmLqPaTR1Z13QbCFjM3rDX4 YyxnzSm1FpnaVJ/PAVZADaodXDBQd4Rwb12I31oqeUUC8UZzyRsvMnkD/eTIC0GWkfNp GMV9CSJcCC4e4tDW6aZbdjyCd9X1GX2YXLX4pbhNCGJ653wBK35scCdX/+snSvy++F2L +vVw== X-Gm-Message-State: AEkoouvMD79cAgkBRJazl6To2Ubhwn971KR01O72OngSn6bh5L1S6SqEDVx1EMCIc+PWtw== X-Received: by 10.98.79.27 with SMTP id d27mr73568929pfb.127.1471435113574; Wed, 17 Aug 2016 04:58:33 -0700 (PDT) Original-Received: from alex.chromebook ([175.193.178.75]) by smtp.gmail.com with ESMTPSA id p9sm46808768pfj.3.2016.08.17.04.58.31 (version=TLS1 cipher=AES128-SHA bits=128/128); Wed, 17 Aug 2016 04:58:33 -0700 (PDT) X-Google-Original-From: soyeomul@yw.doraji.xyz (Byung-Hee HWANG =?utf-8?B?KO2Zqeuzke2drCk=?=) Original-Received: by alex.chromebook (sSMTP sendmail emulation); Wed, 17 Aug 2016 20:58:27 +0900 X-Thanks-HS: =?utf-8?B?XuyynO2VmOywveyDneydhCDri6Qg7IK066as7Iuc66Ck64qU?= =?utf-8?B?IOuniOydjF9eKSkvLw==?= X-Thanks-BS: =?utf-8?B?Xl7sppDqsbDsmrTluIPlvrflpKnkuIte67O0656M7LCs5Zyw?= =?utf-8?B?5LiK5aSp5ZyL5bu66KitX14pKS8v?= X-Thanks-Absolete-Coding-System: UTF-8 X-Operating-System: =?utf-8?B?44CKZGluZ+OAiw==?= -- The Gnus X-Gnus-Location: Seoul, South Korea =?utf-8?B?KOuMgO2VnOuvvOq1rSwg5aSn6Z+T?= =?utf-8?B?5rCR5ZyLKQ==?= X-Gnus-Local-TimeZone: (UTC+09:00) Korea Standard Time, Seoul X-Gnus-Github: https://github.com/soyeomul/Gnus In-Reply-To: <877fbi3qrr.fsf@linux-m68k.org> (Andreas Schwab's message of "Mon, 15 Aug 2016 19:07:04 +0200") List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:87249 Archived-At: Hellow! Andreas Schwab =EA=BB=98=EC=84=9C =EC=93=B0=EC=8B= =9C=EA=B8=B8, =E3=80=8A=E8=A8=98=E4=BA=8B =E5=85=A8=E6=96=87 <877fbi3qrr.fsf@linux-m68k.= org> =EC=97=90=EC=84=9C=E3=80=8B: > On Aug 15 2016, "Byung-Hee HWANG "(=ED=99=A9=EB=B3=91=ED=9D=AC)"" wrote: > >> ### begins here ### >> --- message.el.orig 2016-08-15 20:07:35.222584247 +0900 >> +++ message.el 2016-08-15 21:32:18.315036847 +0900 >> @@ -5731,6 +5731,7 @@ >> (* 25 25))) >> (let ((tm (current-time))) >> (concat >> + "yw." >> (if (or (eq system-type 'ms-dos) >> ;; message-number-base36 doesn't handle bigints. >> (floatp (user-uid))) >> ### ends here ### >> >> That is not elegant style, though i'm so happy! > > (add-function :filter-return 'message-unique-id > #'(lambda (muid) (concat "yw." muid))) > > Andreas. First of all, your codes is so beautiful!!! Then, it is start my story... My Emacs version is old, so i did download from git server of GNU, branch emacs-25. The file name is nadvice.el, i found the variable `add-funcetion' in nadvice.el. Actually for some reason, i cannot upgrade to emacs 25.=20 ### begins here: emacs error messages by M-x byte-compile=20=20 Compiling file /home/soyeomul/.emacs.d/elisp/nadvice.el at Wed Aug 17 20:28= :15 2016 Entering directory `/home/soyeomul/.emacs.d/elisp/' In remove-function: nadvice.el:322:24:Warning: reference to free variable `setter' nadvice.el:323:24:Warning: reference to free variable `new' nadvice.el:323:55:Warning: reference to free variable `getter' nadvice.el:429:30:Error: Symbol's value as variable is void: setter ### ends here Sorry. As you see above, i did myself best to write the variable `add-function'. In current, below is my environments: ;;;;; Emacs: GNU Emacs 23.3.1 (modified by Debian) ;;;;; OS: Ubuntu 12.04.5 LTS (via Crouton) ;;;;; HW: Google Chromebook (Codename: Alex) ;;;;; Kernel: Linux 3.8.11 (chrome-bot@cros-beefy264-c2) For a while, i should be stick in humble short patch. [1] Though i love my short patch;; Really Thank You Andreas! and also Ted, Emanuel and Eric,=20 thank you for your time and good codes ^^ Sincerely, Byung-Hee [1] https://github.com/soyeomul/Gnus/blob/MaGnus/dot.gnus.20160816 --=20 ^=EA=B3=A0=EB=A7=99=EC=8A=B5=EB=8B=88=EB=8B=A4 =EA=B0=90=EC=82=AC=ED=95=A9= =EB=8B=88=EB=8B=A4_^))//