From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/61683 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.gnus.general Subject: Small self-contained helper library for Gnus (was: Simplify code for tooltips in menus) Date: Mon, 16 Jan 2006 18:44:17 +0100 Organization: Dept. of Theoretical Physics, University of Ulm Message-ID: References: Reply-To: Reiner Steib NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1137434068 13152 80.91.229.2 (16 Jan 2006 17:54:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 16 Jan 2006 17:54:28 +0000 (UTC) Original-X-From: ding-owner+m10214@lists.math.uh.edu Mon Jan 16 18:54:27 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 1EyYXv-0003Uv-E8 for ding-account@gmane.org; Mon, 16 Jan 2006 18:53:35 +0100 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 1EyYXr-0002rO-00; Mon, 16 Jan 2006 11:53:31 -0600 Original-Received: from nas02.math.uh.edu ([129.7.128.40]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1EyYVm-0002rJ-00 for ding@lists.math.uh.edu; Mon, 16 Jan 2006 11:51:22 -0600 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas02.math.uh.edu with esmtp (Exim 4.52) id 1EyYVc-0001n1-PN for ding@lists.math.uh.edu; Mon, 16 Jan 2006 11:51:22 -0600 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 1EyYVb-0005AD-00 for ; Mon, 16 Jan 2006 18:51:11 +0100 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1EyYVV-0002rw-0f for ding@gnus.org; Mon, 16 Jan 2006 18:51:05 +0100 Original-Received: from bridgekeeper.physik.uni-ulm.de ([134.60.10.123]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 16 Jan 2006 18:51:05 +0100 Original-Received: from Reiner.Steib by bridgekeeper.physik.uni-ulm.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 16 Jan 2006 18:51:05 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-To: ding@gnus.org Original-Lines: 54 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: bridgekeeper.physik.uni-ulm.de X-Face: mtjf/D:es1T0wHO:&CJ'ZXe"l;3C--rw\z!{`eFwL){|]RpI+4{u25L=5C /0>KuGeTsk<~<&NE-AKV1560e!+RJeyWmSskkrJm?[vUV#66{T_m|Ae<||Ku#Mk5`y&O`n~z2;n8eP J5#2h@2eQgV@E70IY_0WlEx!"&giy{+\%h1LJox$zv@/l%ZmU4^tZA>xQpnkUBVC5.jpg#0'(+2?Rs )NAr:>3<=WxHE$ktbLysDIM5TbmHu*3 On Tue, Jan 06 2004, Lars Magne Ingebrigtsen wrote: ^^^^ [ See http://thread.gmane.org/v9hdzfu64d.fsf%40marauder.physik.uni-ulm.de for the complete thread. ] > Reiner Steib <4.uce.03.r.s@nurfuerspam.de> writes: >> On Fri, Jan 02 2004, Lars Magne Ingebrigtsen wrote: >>> But I've sometimes wished that there was a file in the Gnus >>> distribution that just had self-contained little helper functions and >>> macros (like this one). misc.el or something. h4x0r.el. >> I think we should do this. Could you suggest a name and kick-start it >> (add to CVS, write something about its purpose [1])? >> >> What about the name-space (package prefix)? Should the helper >> functions start with "gnus-"? If not, it would be easier to find real >> dependencies packages or libraries that are supposed to be independent >> from Gnus, like `message.el', `mm-*.el', `mml-*.el', what-else? But >> OTOH, a different name-space would need a lot of renaming in the Gnus >> code. > > Let's see... there's already a mm-util.el file, and a mail-utils.el > file... How about nnutil.el? AFAICS nn*.el is for Gnus back end functionality. > Or how about just stuffing more of these functions/macros into > mm-util? It looks like it only has general utility functions and > stuff, but quite a few compatibility functions, too. Which might or > might not be a plus. I'd rather create a new small self-contained library. Most of the helper functions have nothing to do with MIME so it's not useful to load additional MIME functions. The name of the library and the prefix for functions and variables should _not_ be "gnus-" (or "mm-", "nn-" or "message-"). This will make it easier to detect real Gnus dependencies in the MIME library, in Message or other parts of Gnus which are supposed to be independent from Gnus (see texi/gnus-coding.texi). I intend to install such a self-contained library within the next days because I need it to improve the Gnus and Message toolbars. I'm not sure about the name and the prefix yet. Maybe "gmu.el" --- Gnus, Message/MIME Utils --- and "gmu-" as a prefix. Are there any other suggestions for the name and the prefix? The prefix should be quite short and not in use in other packages upto now. Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/