(intersection): Keep the elements of the returned list
[emacs.git] / etc / TODO
blobd91d7d5e837b6c0ffcc0c614ebebbb52708e6393
1                                                                 -*-text-*-
3 If you are ready to start working on any of these TODO items, we
4 appreciate your help; please write to emacs-devel@gnu.org so we can be
5 aware that the problem is being addressed, and talk with you how to do
6 it best.  Since Emacs is an FSF-copyrighted packages, please be
7 prepared to sign legal papers to transfer the copyright on your work
8 to the FSF.
10 Small but important fixes needed in existing features:
12 * Bring back the feature of showing the part of the buffer that is a problem
13   for the use of the preferred coding systems.
15 * Make compile.el record the markers that point to error loci
16   on text properties in the error message lines.
18 Important features:
20 * Write an INTRO_CVS file with basic instructions how to build emacs
21   from CVS (make bootstrap), some information on how the config
22   and build system is tied together, and all sorts of tips and tricks
23   (FAQ) which may be of interest to new (and old) emacs hackers.
25 * Provide user-friendly ways to list all available font families,
26   display a font as a sample, etc.
28 * Program Enriched mode to read and save in RTF.  [Is there actually a
29   decent single definition of RTF?]
31 * Implement something better than the current Refill mode.  This
32   probably needs some primitive support.
34 * Implement primitive and higher-level functions to allow filling
35   properly with variable-pitch faces.
37 * Implement a smoother vertical scroll facility.
39 * Implement other text formatting properties.
40 ** Footnotes that can appear either in place or at the end of the page.
41 ** text property that says "don't break line in middle of this".
42    Don't break the line between two characters that have the
43    same value of this property.
44 ** Discretionary hyphens that are not visible when they are at end of line.
46 * Make movemail work with IMAP.
48 * Internationalize Emacs's messages.
50 * Port Emacs to GTK+.  (Relevant work has been done already.)
52 * Make the Lucid menu widget display multilingual text.
54 * Remove the limitation that window and frame widths and heights can
55   be only full columns/lines.
57 * Move fringe to be displayed between display margins and text area.
58   [KFS is looking into this].
60 * Set fringe widths per-window/per-buffer.
62 * Make fringe bitmaps user configurable.  Maybe add ability to add
63   additional bitmaps to the fringe from lisp.
65 Other features we would like:
67 * Have a command suggestion help system that recognizes patterns
68   of commands which could be replaced with a simpler common command.
69   It should not make more than one suggestion per 10 minutes.
71 * Implement a clean way to use different major modes for
72   different parts of a buffer.
74 * Give start-process the ability to direct standard-error
75   output to a different filter.
77 * Make desktop.el save the "frame configuration" of Emacs (in some
78   useful sense).
80 * Give desktop.el a feature to switch between different named
81   desktops.
83 * Replace finder.el with something that generates an Info file
84   which gives the same information through a menu structure.  [Dave
85   Love started on this.]
87 * Implement a variant of uncompress.el or jka-compr.el that works with
88   GNU Privacy Guard for encryption.  [Code exists but isn't assigned.]
90 * Save undo information in files, and reload it when needed
91   for undoing.
93 * Merge the Emacs regex.c with the Glibc regex.c.
94   They split off a few years ago through negligance.
96 * Change the Windows NT menu code
97   so that it handles the deep_p argument and avoids
98   regenerating the whole menu bar menu tree except
99   when the user tries to use the menubar.
101   This requires the RIT to forward the WM_INITMENU message to
102   the main thread, and not return from that message until the main
103   thread has processed the menu_bar_activate_event and regenerated
104   the whole menu bar.  In the mean time, it should process other messages.
106 * Get some major packages installed: W3/url (development version needs
107   significant work), PSGML, Mule-UCS, Tramp (?).  Check the
108   assignments file for other packages which might go in and have been
109   missed.
111 * Make keymaps a first-class Lisp object (this means a rewrite of
112   keymap.c).  What should it do apart from being opaque ?
113   multiple inheritance ?  faster where-is ?  no more fix_submap_inheritance ?
114   what else ?
116 * Provide real menus on ttys.  The MS-DOS implementation can serve as
117   an example how to do part of this.
119 * Implement popular parts of the rest of the CL functions as compiler
120   macros in cl-macs.
122 * Highlight rectangles (`mouse-track-rectangle-p' in XEmacs).
124 * Support simultaneous tty and X frames.
126 * Provide MIME support for Rmail using the Gnus MIME library.
128 * Eliminate the storm of warnings concerning char/unsigned char
129   mismatches that we get with proprietary compilers on various systems.
130   They make it difficult to spot the important warnings.
132 * Fix anything necessary to use `long long' EMACS_INTs with GCC.
134 * Split out parts of lisp.h and generate Makefile dependencies
135   automatically.
137 * Update the FAQ.
139 * Allow auto-compression-mode to use zlib calls if zlib is available.
140   [It's required for PNG, so may be linked anyhow.]
142 * Add a --pristine startup flag which does -q --no-site-file plus
143   ignoring X resources (Doze equivalents?) and most of the
144   environment.  What should not be ignored needs consideration.
146 * Investigate using the language environment (or locale?) to set up
147   more things, such as the default Ispell dictionary, calendar
148   holidays, quoting characters?,...
150 * Improve the GC (generational, incremental).  (We may be able to use
151   the Boehm collector.)
153 * Check what hooks would help Emacspeak -- see the defadvising in W3.
155 * Implement some variety of (non-gtk) drag-and-drop support under X.
156   Using libdnd might be a good start.
158 * Add horizontal scroll bars.
160 * Provide an optional feature which computes a scroll bar slider's
161   size and its position from lines instead of characters.
163 * Integrate Vroonhof's Custom themes code and make it do useful
164   things.  [The integration is partly done.]
166 * Adapt the gnuserv/gnudoit features for server/emacsclient.
168 * Re-implement emacs-server in lisp as an internal server using
169   make-network-process instead of using an external program.
171 * Investigate using GNU Lightning or similar system for incremental
172   compilation of selected bytecode functions to subrs.  Converting CCL
173   programs to native code is probably the first thing to try, though.
175 * Add a feature to Info similar to "info --apropos SUBJECT".
177 * If you do an insert-file and that file is currently modified in
178   another buffer but not written yet, print a warning.
180 * Add support for SVG (Scalable Vector Graphics) rendering to 
181   Emacs.
183 * Use the XIE X extension, if available, for image display.
185 * Add support for rendering antialiased text, probably using
186   XRender/Freetype.
188 * Rewrite make-docfile to something sane.
190 * Port the conservative stack marking code of Emacs' garbage collector
191   to more systems, so that we can completely get rid of GCPROs.
193 * Reorder defcustom's in each package so that the more important
194   options come first in the Customize buffers.  This could be done by
195   either rearranging the file (since options are shown in the order
196   they appear in the *.el files), or by adding a few :set-after
197   attributes.
199 * Maybe document the features of libraries missing from the manual (or
200   ancillary manuals, including the Lisp manual in some cases).
201   This is not worth doing for all of these packages and we need not
202   aim for completeness, but some may be worth documenting.
204   Here's a list which is probably not complete/correct: align, allout,
205   artist, ansi-color, array, battery, calculator, cdl, cmuscheme,
206   completion, cua, delim-col, dirtrack, double, echistory, elide-head,
207   easymenu, expand, flow-ctrl, format [format-alist],
208   generic/generic-x [various modes], kermit, log-edit, ledit
209   [obsolete?], makesum, midnight [other than in Kill Buffer node],
210   mouse-copy [?], mouse-drag, mouse-sel, net-utils, rcompile,
211   snmp-mode [?], soundex [should be interactive?], strokes [start from
212   the web page], talk, thingatpt [interactive functions?], type-break,
213   vcursor, xscheme, zone-mode [?], mlconvert [?], iso-cvt, iso-swed,
214   swedish, feedmail [?], uce, bruce, gametree, meese, page-ext,
215   refbib, refer, scribe, sgml-mode, spell, texinfo, underline,
216   cmacexp, hideif, mantemp [obsolete?], pcomplete, assoc, xml,
217   cvs-status (should be described in PCL-CVS manual); other progmodes,
218   probably in separate manual.