From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Danckaert Subject: Re: [PATCH] gnu: Add emacs-mew. Date: Thu, 02 Feb 2017 19:41:07 +0100 (CET) Message-ID: <20170202.194107.439776871711114152.post@thomasdanckaert.be> References: <87k29ai79x.fsf@gmail.com> <20170201.115644.1899018789878865874.post@thomasdanckaert.be> <87vastt1hl.fsf@gmail.com> Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="--Next_Part(Thu_Feb__2_19_41_07_2017_768)--" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40080) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cZMKN-0000nZ-Qe for guix-devel@gnu.org; Thu, 02 Feb 2017 13:41:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cZMKI-0007gn-Ul for guix-devel@gnu.org; Thu, 02 Feb 2017 13:41:51 -0500 Received: from s02-out.spamexperts.axc.nl ([159.253.1.2]:52051 helo=s02.spamexperts.axc.nl) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cZMKI-0007dP-Jd for guix-devel@gnu.org; Thu, 02 Feb 2017 13:41:46 -0500 In-Reply-To: <87vastt1hl.fsf@gmail.com> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: alezost@gmail.com Cc: guix-devel@gnu.org ----Next_Part(Thu_Feb__2_19_41_07_2017_768)-- Content-Type: Text/Plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit From: Alex Kost Subject: Re: [PATCH] gnu: Add emacs-mew. Date: Thu, 02 Feb 2017 11:56:22 +0300 > OK, I see. We can just patch "mew-key.el" file by putting the > following > line there: > > (add-to-list 'image-load-path 'mew-icon-directory) > > WDYT? Yes, that would be fine! I added a patch file, don't know if there's a more elegant way to achieve the same result? > [...] > > Also you seem to overlook my comment about autoloads. My version of > your patch (attached in my previous message) contains a phase to > generate "mew-autoloads.el". This file is really needed to have > "M-x > mew" command available by default. Otherwise, a user has to put: > > (autoload 'mew "mew" nil t) > > in his/her emacs config. Yes, sorry, I just agreed and then forgot to comment on that part. I didn't know about 'emacs-generate-autoloads and think it's great :) Thanks for your help! Thomas ----Next_Part(Thu_Feb__2_19_41_07_2017_768)-- Content-Type: Text/X-Patch; charset=utf-8 Content-Transfer-Encoding: base64 Content-Disposition: inline; filename="0001-gnu-Add-emacs-mew.patch" RnJvbSAzMTc5NTE0MzM1ZjYxZTI5ZjkzOTk0ZjRkYzBmNTljMzBiNTllODc2IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQ0KRnJvbTogVGhvbWFzIERhbmNrYWVydCA8dGhvbWFzLmRhbmNrYWVydEBn bWFpbC5jb20+DQpEYXRlOiBUdWUsIDI0IEphbiAyMDE3IDA5OjQxOjQyICswMTAwDQpTdWJqZWN0 OiBbUEFUQ0hdIGdudTogQWRkIGVtYWNzLW1ldy4NCg0KKiBnbnUvcGFja2FnZXMvbWFpbC5zY20g KGVtYWNzLW1ldyk6IE5ldyB2YXJpYWJsZS4NCiogZ251L3BhY2thZ2VzL3BhdGNoZXMvbWV3LWFk ZC1pY29ucy10by1sb2FkLXBhdGgucGF0Y2g6IE5ldyBmaWxlLg0KKiBnbnUvbG9jYWwubWsgKGRp c3RfcGF0Y2hfREFUQSk6IEFkZCBpdC4NCg0KQ28tYXV0aG9yZWQtYnk6IEFsZXggS29zdCA8YWxl em9zdEBnbWFpbC5jb20+DQotLS0NCiBnbnUvbG9jYWwubWsgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICB8ICAxICsNCiBnbnUvcGFja2FnZXMvbWFpbC5zY20gICAgICAgICAg ICAgICAgICAgICAgICAgICAgICB8IDUyICsrKysrKysrKysrKysrKys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GdudS1idWlsZC1zeXN0ZW0pDQorICAgIChhcmd1bWVudHMNCisgICAgIChsZXQgKChl bGlzcC1kaXIgIi9zaGFyZS9lbWFjcy9zaXRlLWxpc3AvZ3VpeC5kL21ldyIpDQorICAgICAgICAg ICAoaWNvbi1kaXIgICIvc2hhcmUvbWV3IikpDQorICAgICAgIGAoIzptb2R1bGVzICgoZ3VpeCBi dWlsZCBnbnUtYnVpbGQtc3lzdGVtKQ0KKyAgICAgICAgICAgICAgICAgICAgKGd1aXggYnVpbGQg dXRpbHMpDQorICAgICAgICAgICAgICAgICAgICAoZ3VpeCBidWlsZCBlbWFjcy11dGlscykpDQor ICAgICAgICAgIzppbXBvcnRlZC1tb2R1bGVzICgsQCVnbnUtYnVpbGQtc3lzdGVtLW1vZHVsZXMN CisgICAgICAgICAgICAgICAgICAgICAgICAgICAgIChndWl4IGJ1aWxkIGVtYWNzLXV0aWxzKSkN CisgICAgICAgICAjOmNvbmZpZ3VyZS1mbGFncw0KKyAgICAgICAgIChsaXN0IChzdHJpbmctYXBw ZW5kICItLXdpdGgtZWxpc3BkaXI9IiAlb3V0cHV0ICxlbGlzcC1kaXIpDQorICAgICAgICAgICAg ICAgKHN0cmluZy1hcHBlbmQgIi0td2l0aC1ldGNkaXI9IiAlb3V0cHV0ICxpY29uLWRpcikpDQor ICAgICAgICAgIzpwaGFzZXMNCisgICAgICAgICAobW9kaWZ5LXBoYXNlcyAlc3RhbmRhcmQtcGhh c2VzDQorICAgICAgICAgICAoYWRkLWFmdGVyICdjb25maWd1cmUgJ3BhdGNoLW1ldy1pY29uLWRp cmVjdG9yeQ0KKyAgICAgICAgICAgICAobGFtYmRhKiAoIzprZXkgb3V0cHV0cyAjOmFsbG93LW90 aGVyLWtleXMpDQorICAgICAgICAgICAgICAgKGVtYWNzLXN1YnN0aXR1dGUtdmFyaWFibGVzICJt ZXcta2V5LmVsIg0KKyAgICAgICAgICAgICAgICAgKCJtZXctaWNvbi1kaXJlY3RvcnkiDQorICAg IC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