Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 187332 - net-dns/libidn - better support for [x]emacs
Summary: net-dns/libidn - better support for [x]emacs
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: XEmacs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 184166
  Show dependency tree
 
Reported: 2007-08-01 07:16 UTC by Christian Faulhammer (RETIRED)
Modified: 2020-11-05 21:40 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch for ebuild, no sitefile needed (libidn-emacs.patch,1.93 KB, patch)
2007-08-01 07:17 UTC, Christian Faulhammer (RETIRED)
Details | Diff
Patch for ebuild (libidn-emacs.patch,1.96 KB, patch)
2007-08-01 07:19 UTC, Christian Faulhammer (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Faulhammer (RETIRED) gentoo-dev 2007-08-01 07:16:57 UTC
Patch to follow...we will apply it anytime soon
Comment 1 Christian Faulhammer (RETIRED) gentoo-dev 2007-08-01 07:17:41 UTC
Created attachment 126569 [details, diff]
Patch for ebuild, no sitefile needed
Comment 2 Christian Faulhammer (RETIRED) gentoo-dev 2007-08-01 07:19:43 UTC
Created attachment 126570 [details, diff]
Patch for ebuild

Argh, chose the wrong patch
Comment 3 Petteri Räty (RETIRED) gentoo-dev 2007-08-11 09:05:42 UTC
(In reply to comment #2)
> Created an attachment (id=126570) [edit]
> Patch for ebuild
> 
> Argh, chose the wrong patch
> 

it's maintainer needed so just go ahead and commit it.
Comment 4 Christian Faulhammer (RETIRED) gentoo-dev 2007-09-16 17:31:55 UTC
fixed
Comment 5 Ulrich Müller gentoo-dev 2007-12-04 10:57:03 UTC
(In reply to comment #4)
> fixed

Not really, since libidn-1.0 is not fixed.
Comment 6 Ulrich Müller gentoo-dev 2007-12-05 09:19:33 UTC
Fixed in 1.0-r1.

Adding xemacs to CC. Hans, maybe you want to look at XEmacs support?
Comment 7 Hans de Graaff gentoo-dev Security 2007-12-09 10:39:09 UTC
Yes, I'll probably want to add xemacs support for this as well, but it will not be so easy. There is only one lispdir option to the configure script, and that's already taken by emacs. So we'd need to either rig this so that only emacs or xemacs can be specified, or the install and compile options need to be a bit more convoluted. I'm going to put this on the backburner since it won't be a quick fix.
Comment 8 Christian Faulhammer (RETIRED) gentoo-dev 2008-01-14 00:41:43 UTC
1.0 fixed by ulm, emacs is out of here...only xemacs left.
Comment 9 Stephan Springer 2008-09-03 10:29:19 UTC
Christian, why didn't you use a sitefile and instead chose to tell the user via elog that he has to tweak his .emacs or site-start.el file?

I think it would be better to add these three lines to site-gentoo.el via elisp-common.eclass, but maybe you had some reason unknown to me for doing it this way.
Comment 10 Christian Faulhammer (RETIRED) gentoo-dev 2008-09-03 11:08:15 UTC
(In reply to comment #9)
> Christian, why didn't you use a sitefile and instead chose to tell the user via
> elog that he has to tweak his .emacs or site-start.el file?
> 
> I think it would be better to add these three lines to site-gentoo.el via
> elisp-common.eclass, but maybe you had some reason unknown to me for doing it
> this way.

 Because that's our policy.  To quote from http://www.gentoo.org/proj/en/lisp/emacs/emacs.xml: 
"Important: A load command for site initialisations is only acceptable for a few packages. If used, it always loads the whole package and makes Emacs start-up really slow, so the autoload mechanism is the preferred way."

Comment 11 Stephan Springer 2008-09-03 11:46:31 UTC
Thanks for the link.  The mentioned section continues:

"The elisp-common eclass has functions to generate an autoload file if none is shipped is with the package [...] Keep pollution low but provide sane default settings out of the box so even a novice can start working fast."

Wouldn't it be a good idea to load idna.el and punycode.el via autoload?

(BTW: "... none is shipped is ..." has one "is" too many.)
Comment 12 Christian Faulhammer (RETIRED) gentoo-dev 2008-09-03 11:59:14 UTC
(In reply to comment #11)
> Thanks for the link.  The mentioned section continues:
> 
> "The elisp-common eclass has functions to generate an autoload file if none is
> shipped is with the package [...] Keep pollution low but provide sane default
> settings out of the box so even a novice can start working fast."
> 
> Wouldn't it be a good idea to load idna.el and punycode.el via autoload?

 No, because the Elisp files don't ship with autoload snippets and we won't/can't create them.  Don't strip the important part that says "but the functionality is available in the source nonetheless". If you want to discuss this further please contact us by mail at emacs@gentoo.org to not bugspam the other people on this bug.
 
> (BTW: "... none is shipped is ..." has one "is" too many.)
 
 Fixed.

Comment 13 Ulrich Müller gentoo-dev 2008-09-03 12:23:46 UTC
>  No, because the Elisp files don't ship with autoload snippets and we
> won't/can't create them.

Actually it's trivial in this case, since the API consists of four functions only. I'll take a closer look later today.
Comment 14 Ulrich Müller gentoo-dev 2008-09-03 13:30:44 UTC
(In reply to comment #11)
> Wouldn't it be a good idea to load idna.el and punycode.el via autoload?

In CVS as libidn-1.9.r1.
Comment 15 Christian Faulhammer (RETIRED) gentoo-dev 2009-07-09 10:07:56 UTC
This is fixed, if I overlook that correctly.
Comment 16 Hans de Graaff gentoo-dev Security 2009-07-09 16:31:01 UTC
Not fixed for XEmacs.
Comment 17 Jeroen Roovers (RETIRED) gentoo-dev 2011-08-01 20:58:19 UTC
Need a patch for that. :)
Comment 18 Mats Lidell gentoo-dev 2014-09-26 23:22:44 UTC
idna.el and punycode.el are now part of the net-utils package as provided by upstream which is released as a pre-release package. As such I have made it available in the emacs overlay.
Comment 19 Mats Lidell gentoo-dev 2020-11-04 08:30:28 UTC
Thanks mgorny for bringing this to my attention. Looking into this I see that I made a version bump on the app-xemacs/net-utils package 2018-08-11 (https://gitweb.gentoo.org/repo/gentoo.git/commit/app-xemacs/net-utils/net-utils-1.61.ebuild?id=12e79bfd2b2b0090deba168b4c20351edee09e43) introducing version 1.61 that contains the files idna.el and punycode.el. I missed to update this bug then.
Comment 20 Mats Lidell gentoo-dev 2020-11-05 21:40:42 UTC
Tested idna.el and punycode.el with xemacs-21.4.24-r2 that they work according to the test examples in the header in each file. So closing this as resolved.