(dired-buffer-stale-p): Do not revert buffer that can be written.
[bpt/emacs.git] / etc / TODO
CommitLineData
309920fa
EZ
1Emacs TODO List -*-outline-*-
2
1bb97e22 3Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
5b87ad55
GM
4 Free Software Foundation, Inc.
5See the end of the file for license conditions.
6
19cc91fb 7
2255d5b4
RS
8If you are ready to start working on any of these TODO items, we
9appreciate your help; please write to emacs-devel@gnu.org so we can be
10aware that the problem is being addressed, and talk with you how to do
7bea57c9 11it best. Since Emacs is an FSF-copyrighted package, please be
2255d5b4
RS
12prepared to sign legal papers to transfer the copyright on your work
13to the FSF.
14
c884b4d7
DN
15* Simple tasks. These don't require much emacs knowledge, they are
16suitable for anyone from beginners to experts.
17
bfb906ac
DN
18** Convert modes that use view-mode to be derived from special-mode instead.
19
9fe219e3
DN
20** make emacsclient accept -nw as a synonym to -t.
21
22** Replace some uses of the preprocessor code in Makefile.in with the equivalent autoconf.
23
c884b4d7 24** Major modes should have a menu entry. Examples of modes that do
bfb906ac 25not have one at the moment and probably should: text-mode, inferior-lisp-mode.
c884b4d7 26
479be3f4 27** Check if all items on the mode-line have a suitable tooltip for all modes.
c884b4d7 28
4e0ace23
DN
29** edebug and debugger-mode should have a toolbar.
30It can use the same icons as gud.
31
c884b4d7
DN
32** Check what minor modes don't use define-minor-mode and convert them
33to use it.
34
6d095958
GM
35** Convert all defvars with leading `*' in the doc-strings into defcustoms
36of appropriate :type and :group.
37
ba1c68de 38* Small but important fixes needed in existing features:
a9c1a157 39
cc48343f
RS
40** Flymake's customization mechanism needs to be both simpler (fewer
41levels of indirection) and better documented, so it is easier to
42understand. I find it quite hard to figure out what compilation
43command it will use.
44
45I suggest totally rewriting that part of Flymake, using the simplest
46mechanism that sufficies for the specific needs. That will be easy
47for users to customize.
48
600e5c79 49** Make "emacs --daemon" start emacs without showing any frame.
f1d45b83
DN
50Use emacsclient later to open frames.
51
600e5c79
DN
52** Make it possible to reliably turn on minor modes using "mode:" in the local
53variables section.
f1d45b83 54
37202eec
SM
55** "Options -> Save Options" should save the font set via "Set Font/Fontset"
56I.e. mouse-set-font should use customize-face.
57
0989e765
SM
58** Compute the list of active keymaps *after* reading the first event.
59
046ece71
KS
60** Distribute a bar cursor of width > 1 evenly between the two glyphs
61 on each side of the bar (what to do at the edges?).
62
d322eb9b
RS
63** buffer-offer-save should be a permanent local.
64
125fbe81 65** revert-buffer should eliminate overlays and the mark.
045744c6
MR
66 For related problems consult the thread starting with
67 http://lists.gnu.org/archive/html/emacs-devel/2005-11/msg01346.html
125fbe81 68
f98abf6d
RS
69** erase-buffer should perhaps disregard read-only properties of text.
70
30c56b97
LT
71** Make occur correctly handle matches that span more than one line,
72 as well as overlapping matches.
73
d3a403e5 74** Fix the kill/yank treatment of invisible text. At the moment,
b9e6b498 75 invisible text is placed in the kill-ring, so that the contents of
2345130a
SM
76 the ring may not correspond to the text as displayed to the user.
77 It ought to be possible to omit text which is invisible (due to a
b9e6b498
GM
78 text-property, overlay, or selective display) from the kill-ring.
79
6f771c32
RS
80** Change the way define-minor-mode handles autoloading.
81 It should not generate :require. Or :require in defcustom
82 should not be recorded in the user's custom-set-variables call.
83
af09dd78
RS
84** Feature to change cursor shape when Emacs is idle (for more than
85 a specified time).
86
4e07258f
RS
87** The buttons at the top of a custom buffer should not omit
88 variables whose values are currently hidden.
89
ec0cf966
RS
90** Clean up the variables in browse-url. Perhaps use a shell command string to
91 specify the browser instead of the mushrooming set of functions.
92 See also ESR's proposal for a BROWSER environment variable
93 <URL:http://www.catb.org/~esr/BROWSER/browse-url.patch>.
94
528b6abc
RS
95** Enhance scroll-bar to handle tall line (similar to line-move).
96
97** Make occur handle multi-line matches cleanly with context.
98
f98abf6d
RS
99** In Custom buffers, put the option that turns a mode on or off first,
100 using a heuristic of some kind?
101
102** Define recompute-arg and recompute-arg-if for fix_command to use.
103 See rms message of 11 Dec 05.
104
7c14546c
JD
105** Height returned by frame-parameter ... and height given to
106 make-frame does not mean the same thing. The former includes menu and
107 tool bar lines, the latter don't. frame-parameter should return height
108 without menu and tool bar lines.
109
f98abf6d
RS
110** In Emacs Info, examples of using Customize should be clickable
111 and they should create Custom buffers.
112
321e4870
RS
113** The toolbar should show keyboard equivalents in its tooltips.
114
74561a26
RS
115** Add function to redraw the tool bar.
116
a9b6d67e
RS
117** M-! M-n should fetch the buffer-file-name as the default.
118
5a893bff
RS
119** Redesign the load-history data structure so it can cope better
120 with evaluating definitions of the same function from different files,
121 recording which file the latest definition came from.
046ece71 122
4b4d11cc
RS
123** make back_comment use syntax-ppss or equivalent.
124
67ccd6cb
GM
125** Consider improving src/sysdep.c's search for a fqdn.
126http://lists.gnu.org/archive/html/emacs-devel/2007-04/msg00782.html
127
128** Find a proper fix for rcirc multiline nick adding.
129http://lists.gnu.org/archive/html/emacs-devel/2007-04/msg00684.html
211fb124 130
94172215
EZ
131** Implement `network-interface-list' and `network-interface-info'
132on MS-Windows. Hint: the information is present in the Registry,
133under the keys
134HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Linkage\
135and
136HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\<device>\
137where <device> is the network device found under the first key.
138
4af1faa3
GM
139** Check for any included packages that define obsolete bug-reporting commands.
140Change them to use report-emacs-bug.
141
7a00b900
NR
142** Allow fringe indicators to display a tooltip (provide a help-echo property?)
143
d73803e6
CY
144** Add a defcustom that supplies a function to name numeric backup files,
145like make-backup-file-name-function for non-numeric backup files.
146
ba1c68de 147* Important features:
a9c1a157 148
cc48343f
RS
149** Having tabs above a window to switch buffers in it.
150
151** "Perspectives" are named persistent window configurations. We have
152had the window configuration mechanism in GNU Emacs since the
153beginning but we have never developed a good user interface to take
154advantage of them. Eclipse's user interface seems to be good.
155
156Perspectives work well even if you do the equivalent of C-x 4 C-f
157because of the distinction between view windows vs file windows. In
158Emacs this is more or less the "dedicated window" feature, but we have
159never really made it work for this.
160
161Perspectives also need to interact with the tabs.
162
163** Imenu could be extended into a file-structure browsing mechanism
164using code like that of customize-groups.
165
166** Display something in the margin on lines that have compilation
167errors.
168
169** Compilation error navigation bar, parallel to the scroll bar,
170indicating where in the buffer there are compilation errors.
171Perhaps we could arrange to display these error indications on top
172of the scroll bar itself. That depends on to what extent toolkit
173scroll bars are extensible.
174
ba1c68de 175** Provide user-friendly ways to list all available font families,
321e4870
RS
176 list fonts, display a font as a sample, etc. [fx is looking at
177 multilingual font selection for the Unicode branch of Emacs.]
5e101746 178
3aa7c28e
RS
179** Provide a convenient way to select a color with the mouse.
180
09d04fb3 181** Rewrite the face code to be simpler, clearer and faster.
5e101746 182
ba1c68de 183** Program Enriched mode to read and save in RTF. [Is there actually a
c51b37fd 184 decent single definition of RTF? Maybe see info at
1b2105d9
EZ
185 http://latex2rtf.sourceforge.net/.] This task seems to be addressed
186 by http://savannah.nongnu.org/projects/emacs-rtf/, which is still in
187 very early stages.
6165b6e3 188
ba1c68de 189** Implement something better than the current Refill mode. This
a9c1a157
RS
190 probably needs some primitive support.
191
ba6be78d 192** Add a command to make a "Local Variables" section in the current buffer
07ff1e4b
RS
193 and/or add a variable to the list.
194
ba1c68de 195** Implement primitive and higher-level functions to allow filling
a9c1a157
RS
196 properly with variable-pitch faces.
197
ba1c68de 198** Implement a smoother vertical scroll facility, one that allows
d3a403e5
SM
199 C-v to scroll through a tall image. The primitive operations
200 posn-at-point and posn-at-x-y should now make it doable in elisp.
a9c1a157 201
6ca1c497
RS
202** Implement intelligent search/replace, going beyond query-replace
203 (see http://graphics.csail.mit.edu/~rcm/chi04.pdf).
204
ba1c68de
SM
205** Implement other text formatting properties.
206*** Footnotes that can appear either in place or at the end of the page.
207*** text property that says "don't break line in middle of this".
6165b6e3
EZ
208 Don't break the line between two characters that have the
209 same value of this property.
ba1c68de 210*** Discretionary hyphens that are not visible when they are at end of line.
6165b6e3 211
ec0cf966
RS
212** Internationalize Emacs's messages.
213
4a7499a9
RS
214** Set up a facility to save backtraces when errors happen during
215specified filters, specified timers, and specified hooks.
216
49322539
RS
217** Install mmc@maruska.dyndns.org's no-flicker change.
218
07ff1e4b
RS
219** Add a "current vertical pixel level" value that goes with point,
220 so that motion commands can also move through tall images.
221 This value would be to point as window-vscroll is to window-start.
222
ec0cf966
RS
223** Address internationalization of symbols names essentially
224 as documentation, e.g. in command names and Custom.
a9c1a157 225
ba1c68de 226** Make the Lucid menu widget display multilingual text. [This
bf6394a6
DL
227 probably needs to be done from actual Emacs buffers, either directly
228 in the menu or by rendering in an unmapped window and copying the
f677a3a3
SM
229 pixels. The current code assumes a specific locale; that isn't good
230 enough even if X can render the arbitrary text] [The gtk
7bea57c9
DL
231 port now displays multilingual text in menus, but only insofar as
232 Emacs can encode it as utf-8 and gtk can display the result.]
f677a3a3
SM
233 Maybe making Lucid menus work like Gtk's (i.e. just force utf-8) is good
234 enough now that Emacs can encode most chars into utf-8.
a9c1a157 235
ba1c68de 236** Remove the limitation that window and frame widths and heights can
a9c1a157
RS
237 be only full columns/lines.
238
ba1c68de
SM
239* Other features we would like:
240
22f9eb9e
CY
241** Make longlines-mode wrap lines based on screen position instead
242 of character position, so that variable-width fonts can be handled
243 properly.
244
c3bb6fdb
SM
245** Allow frames(terminals) created by emacsclient to inherit their environment
246from the emacsclient process.
a37288ad
SM
247** Remove the default toggling behavior of minor modes when called from elisp
248rather than interactively. This a trivial one-liner in easy-mode.el.
0de301ed 249
a53e64cc
SM
250** Create a category of errors called `user-error' for errors which are
251typically due to pilot errors and should thus be in debug-ignored-errors.
252
39eadb4a
RS
253** Give Tar mode all the features of Archive mode.
254
9b8453da
RS
255** Create a category of errors called `process-error'
256 for some or all errors associated with using subprocesses.
257
51f74c37
RS
258** Maybe reinterpret `parse-error' as a category of errors
259 and put some other errors under it.
260
1a500a73 261** A function to tell you the argument pattern of functions.
1b2105d9 262 See `function-arity' in http://www.loveshack.ukfsn.org/emacs/fx-misc.el.
1a500a73
RS
263
264** Make byte-compile warn when a doc string is too wide.
265
9f4ba075
CY
266** Make byte-optimization warnings issue accurate line numbers.
267
f95a20e7
RS
268** A function to check for customizable options that have been
269 set but not saved, and ask the user whether to save them.
270 This could go in kill-emacs-query-functions, to remind people
271 to save their changes. If the user says yes, show them
272 in a Custom buffer using customize-customized.
273
8c9676fb
DK
274** Record the sxhash of the default value for customized variables
275 and notify the user (maybe by adding a menu item or toolbar button,
276 as the detection can occur during autoload time) when the default
277 changes (meaning that new versions of the Lisp source with a changed
278 default value got installed) and offer ediff on the respective
279 customization buffers.
280
e0402468 281** Emacs Lisp mode could put an overlay on the defun for every
8c9676fb
DK
282 function that has advice. The overlay could have `after-text' like
283 " [Function has advice]". It might look like (defun foo [Function
284 has advice] (x y) The overlay could also be a button that you could
285 use to view the advice.
e0402468 286
17e55b2a
RS
287** Add a function to get the insertion-type of the markers in an overlay.
288
9c9c88db
SM
289** ange-ftp
290*** understand sftp
1b2105d9
EZ
291 This is hard to make work because sftp doesn't print status
292 messages.
293
9c9c88db
SM
294*** Use MLS for ange-ftp-insert-directory if a list of files is specified.
295
ba1c68de
SM
296** Ability to map a key, including all modified-combinations.
297 E.g map mouse-4 to wheel-up as well as M-mouse-4 -> M-wheel-up
298 M-C-mouse-4 -> M-C-wheel-up, H-S-C-M-s-double-mouse-4 ->
299 H-S-C-M-s-double-wheel-up, ...
a9c1a157 300
ba1c68de
SM
301** Beefed-up syntax-tables.
302*** recognize multi-character syntactic entities like `begin' and `end'.
303*** nested string-delimiters (for Postscript's (foo(bar)baz) strings).
304*** support for infix operators (with precedence).
305*** support for the $ (paired delimiter) in parse-partial-sexp.
306*** support for hook-chars whose effect on the parsing-state is specified
307 by elisp code. Thus a char could both close a string and open a comment
308 at the same time and do it in a context-sensitive way.
309*** ability to add mode-specific data to the partial-parse-state.
310
2d1ef312
RS
311** Add a way to convert a keyboard macro to equivalent Lisp code.
312
ba1c68de 313** Have a command suggestion help system that recognizes patterns
a9c1a157
RS
314 of commands which could be replaced with a simpler common command.
315 It should not make more than one suggestion per 10 minutes.
6165b6e3 316
ba1c68de 317** Add a way to define input methods by computing them (when first used)
30a2aafd
RS
318 from other input methods. Then redefine C-x 8 to use a
319 user-selected input method, with the default being the union of
320 latin-1-prefix and latin-1-postfix.
321
a7abe867 322** Switch the Windows port to using Unicode keyboard input (maybe).
2fa4f835
EZ
323 Based on http://msdn2.microsoft.com/en-us/library/ms633586.aspx,
324 this boils down to (1) calling RegisterClassW function to register
325 Emacs windows, and (2) modifying ALL system messages to use Unicode.
326 In particular, WM_CHAR messages, which result from keyboard input,
a7abe867 327 will then come in encoded in UTF-16.
2fa4f835
EZ
328
329 One advantage of switching to Unicode is to toss encoded-kbd usage,
330 which will solve the problem with binding non-ASCII keys with
331 modifiers.
332
a7abe867
RS
333 Problem: using this on Windows 9x/ME requires installing the
334 Microsoft Layer for Unicode (MSLU), which might not implement all
335 the required functionality that is available built-in on Windows XP
336 and later. We should not make this change if it would pressure
337 users of unauthorized copies of older versions of Windows to
338 downgrade to versions that require activation.
339
ba1c68de 340** Implement a clean way to use different major modes for
06382b71
RS
341 different parts of a buffer. This could be useful in editing
342 Bison input files, for instance, or other kinds of text
1b2105d9
EZ
343 where one language is embedded in another language. See
344 http://www.loveshack.ukfsn.org/emacs/multi-mode.el and also
345 mmm-mode, as reference for approaches took by others.
a933dad1 346
b76781cd
RS
347** Arrange a way for an input method to return the first character
348 immediately, then replace it later. So that C-s a with
349 input method latin-1-postfix would immediately search for an a.
a933dad1 350
ba1c68de 351** Give start-process the ability to direct standard-error
a933dad1
DL
352 output to a different filter.
353
ba1c68de 354** Make desktop.el save the "frame configuration" of Emacs (in some
a933dad1
DL
355 useful sense).
356
ba1c68de 357** Give desktop.el a feature to switch between different named
8ba148c7
RS
358 desktops.
359
ba1c68de 360** Replace finder.el with something that generates an Info file
e39fc314
DL
361 which gives the same information through a menu structure. [Dave
362 Love started on this.]
a933dad1 363
10bb671b
RS
364** Add a cpio mode, more or less like tar mode.
365
ba1c68de 366** Implement a variant of uncompress.el or jka-compr.el that works with
2794f7ab
DL
367 GNU Privacy Guard for encryption. [Code exists but isn't assigned.
368 See the Gnus development sources for assigned code concerning GPG
1b2105d9
EZ
369 use with mail, which is probably a good start.] See also
370 http://www.loveshack.ukfsn.org/emacs/auto-crypt.tgz.
a933dad1 371
06382b71
RS
372** Save undo information in special temporary files, and reload it
373 when needed for undoing. This could extend undo capacity.
a933dad1 374
ba1c68de 375** Change the Windows NT menu code
a933dad1
DL
376 so that it handles the deep_p argument and avoids
377 regenerating the whole menu bar menu tree except
378 when the user tries to use the menubar.
379
380 This requires the RIT to forward the WM_INITMENU message to
381 the main thread, and not return from that message until the main
0245b3ef 382 thread has processed the MENU_BAR_ACTIVATE_EVENT and regenerated
a933dad1 383 the whole menu bar. In the mean time, it should process other messages.
d054101f 384
ba1c68de 385** Get some major packages installed: W3 (development version needs
93a759ba 386 significant work), PSGML, _possibly_ Cedet and ECB.
590394eb
GM
387 http://lists.gnu.org/archive/html/emacs-devel/2007-05/msg01493.html
388 Check the assignments file for other packages which might go in and
389 have been missed.
390
7d6f3b3a
GM
391** Possibly install python-mode in place of python.el, or combine the two.
392Someone needs to do the work of figuring out who all the non-trivial
393python-mode.el contributors are and getting assignments.
394http://lists.gnu.org/archive/html/emacs-devel/2008-02/msg02156.html
395http://lists.gnu.org/archive/html/emacs-devel/2008-02/msg02201.html
396http://lists.gnu.org/archive/html/emacs-devel/2008-02/msg02489.html
397http://lists.gnu.org/archive/html/emacs-devel/2008-02/msg02234.html
398
ba1c68de 399** Make keymaps a first-class Lisp object (this means a rewrite of
5dd31b13
SM
400 keymap.c). What should it do apart from being opaque ?
401 multiple inheritance ? faster where-is ? no more fix_submap_inheritance ?
402 what else ?
e39fc314 403
ba1c68de 404** Provide real menus on ttys. The MS-DOS implementation can serve as
2fa4f835 405 an example how to do part of this; see the XMenu* functions on msdos.c.
e39fc314 406
ba1c68de 407** Implement popular parts of the rest of the CL functions as compiler
e39fc314
DL
408 macros in cl-macs.
409
261b01c6
RS
410** Make compiler warnings about functions that might be undefined at run time
411 smarter, so that they know which files are required by the file being
412 compiled and don't warn about functions defined in them.
413
ba1c68de 414** Highlight rectangles (`mouse-track-rectangle-p' in XEmacs). Already in CUA,
a52ce7f8 415 but it's a valuable feature worth making more general.
e39fc314 416
ba1c68de 417** Provide MIME support for Rmail using the Gnus MIME library. [Maybe
bf6394a6
DL
418 not now feasible, given Gnus maintenance decisions. fx looked at
419 this and can say where some of the problems are.]
e39fc314 420
ba1c68de 421** Eliminate the storm of warnings concerning char/unsigned char
1b2105d9
EZ
422 mismatches that we get with GCC 4.x and proprietary compilers on
423 various systems. They make it difficult to spot the important
424 warnings.
e39fc314 425
ba1c68de 426** Fix anything necessary to use `long long' EMACS_INTs with GCC.
eaf67bae 427
ba1c68de 428** Split out parts of lisp.h and generate Makefile dependencies
eaf67bae
DL
429 automatically.
430
ba1c68de 431** Update the FAQ.
eaf67bae 432
ba1c68de 433** Allow auto-compression-mode to use zlib calls if zlib is available.
b04f7626 434 [It's required for PNG, so may be linked anyhow.]
1265b539 435
ba1c68de 436** Add a --pristine startup flag which does -q --no-site-file plus
1265b539
DL
437 ignoring X resources (Doze equivalents?) and most of the
438 environment. What should not be ignored needs consideration.
590394eb 439 [Do the existing -Q and -D cover this, or is more needed?]
1265b539 440
ba1c68de 441** Improve the GC (generational, incremental). (We may be able to use
7bea57c9
DL
442 the Boehm collector.) [See the Boehm-GC branch in CVS for work on
443 this.]
19cc91fb 444
ba1c68de 445** Check what hooks would help Emacspeak -- see the defadvising in W3.
e2849090 446
a5bd14d3
RS
447** Add definitions for symbol properties, for documentation purposes.
448
ba1c68de 449** Add horizontal scroll bars.
00a18b59 450
ba1c68de 451** Provide an optional feature which computes a scroll bar slider's
e4ded23c 452 size and its position from lines instead of characters.
c0460c17 453
ba1c68de 454** Allow unknown image types to be rendered via an external program
590394eb
GM
455 converting them to, say, PBM (in the same way as PostScript?). [does
456 doc-view.el do this, or could it be extended to do this?]
d1c3f6b6 457
ba1c68de 458** Allow displaying an X window from an external program in a buffer,
d1c3f6b6
RS
459 e.g. to render graphics from Java applets. [gerd and/or wmperry
460 thought this was feasible.]
461
ba1c68de 462** Allow images (not just text) in the margin to be mouse-sensitive.
d1c3f6b6
RS
463 (Requires recursing through display properties). Provide some way
464 to simulate mouse-clicks on marginal text without a mouse.
465
ba1c68de 466** Implement Lisp functions to determine properly whether a character
d1c3f6b6
RS
467 is displayable (particularly needed in XFree 4, sigh). Use it to
468 define useful glyphs that may be displayed as images or unicodes
469 (with ASCIIfied fallback via latin1-disp). Examples include
470 box-drawing graphics in Custom buffers, W3 rules and tables, and
471 tree displays generally, mode-line mail indicator. [See work done
8589dc17 472 already for Emacs 23 and consult fx.]
d1c3f6b6 473
ba1c68de 474** Do something to make rms happy with fx's dynamic loading, and use it
d1c3f6b6
RS
475 to implement things like auto-loaded buffer parsers and database
476 access in cases which need more than Lisp.
477
ba1c68de 478** Extend ps-print to deal with multiple font sizes, images, and extra
d1c3f6b6
RS
479 encodings.
480
ba1c68de 481** Provide portable undumping using mmap (per gerd design).
d1c3f6b6 482
48b194fd
RS
483** Make byte-compile avoid binding an expanded defsubst's args
484when the body only calls primitives.
485
ba1c68de 486** Use the XIE X extension, if available, for image display.
e641b454 487
ba1c68de 488** Make monochrome images display using the foreground and background
51fe665a
RS
489 colors of the applicable faces.
490
d101bf56
RS
491** Face remapping.
492
ec68482b
RS
493** Make `format-time-string' preserve text properties like `format'.
494
fda12b27
RS
495** Optionally make the cursor a little thinner at the end of a line
496 or the end of the buffer.
497
ba1c68de 498** Port the conservative stack marking code of Emacs' garbage collector
1b2105d9
EZ
499 to more systems, so that we can completely get rid of GCPROs. Note
500 that Boehm garbage collector provides this.
5e101746 501
ba1c68de 502** Reorder defcustom's in each package so that the more important
5005a9c0
EZ
503 options come first in the Customize buffers. This could be done by
504 either rearranging the file (since options are shown in the order
505 they appear in the *.el files), or by adding a few :set-after
506 attributes.
507
ba1c68de 508** Maybe document the features of libraries missing from the manual (or
5e101746
RS
509 ancillary manuals, including the Lisp manual in some cases).
510 This is not worth doing for all of these packages and we need not
511 aim for completeness, but some may be worth documenting.
512
513 Here's a list which is probably not complete/correct: align, allout,
514 artist, ansi-color, array, battery, calculator, cdl, cmuscheme,
657c5358 515 completion, cua, delim-col, dirtrack, double, echistory, elide-head,
5e101746
RS
516 easymenu, expand, flow-ctrl, format [format-alist],
517 generic/generic-x [various modes], kermit, log-edit, ledit
518 [obsolete?], makesum, midnight [other than in Kill Buffer node],
519 mouse-copy [?], mouse-drag, mouse-sel, net-utils, rcompile,
520 snmp-mode [?], soundex [should be interactive?], strokes [start from
521 the web page], talk, thingatpt [interactive functions?], type-break,
522 vcursor, xscheme, zone-mode [?], mlconvert [?], iso-cvt, iso-swed,
523 swedish, feedmail [?], uce, bruce, gametree, meese, page-ext,
524 refbib, refer, scribe, sgml-mode, spell, texinfo, underline,
525 cmacexp, hideif, mantemp [obsolete?], pcomplete, assoc, xml,
526 cvs-status (should be described in PCL-CVS manual); other progmodes,
527 probably in separate manual.
758830ba 528
ba1c68de 529** Convert the XPM bitmaps to PPM, replace the PBMs with them and scrap
6772c8e1
GM
530 the XPMs so that the color versions work generally. (Requires care
531 with the color used for the transparent regions.)
bf6394a6 532
ba1c68de 533** Convenient access to the `values' variable. It would be nice to have an
758830ba
JB
534 interface that would show you the printed reps of the elements of the
535 list in a menu, let you select one of the values, and put it into some
536 other variable, without changing the value of `values'.
bf6394a6 537
ba1c68de 538** (Controlled by a flag) make open and close syntax match exactly,
c51b37fd
DL
539 i.e. `(' doesn't match `]'.
540
ba1c68de 541** Specify parameter ID-FORMAT in all calls to `file-attributes' and
9ac8c83b
LH
542 `directory-files-and-attributes' where attributes UID or GID are used.
543 Whenever possible, use value 'string.
544 When done, change meaning of default value from 'integer to 'string.
545 If value 'integer is used nowhere, remove the parameter ID-FORMAT from
546 the definition of `file-attributes' and `directory-files-and-attributes'
547 and from the calls.
548
cf4c9271
KH
549** Make language-info-alist customizable. Currently a user can customize
550 only the variable `current-language-environment'.
551
552** Improve language environment handling so that Emacs can fit
553 better to a users locale. Currently Emacs uses utf-8 language
554 environment for all utf-8 locales, thus a user in ja_JP.UTF-8 locale
555 are also put in utf-8 lang. env. In such a case, it is
556 better to use Japanese lang. env. but prefer utf-8 coding system.
1f724d55 557
321e4870
RS
558** Enhance locale handling: handle language, territory and charset
559 orthogonally and de-emphasize language environments. Use the locale
560 to set up more things, such as fontsets, the default Ispell
561 dictionary, diary format, calendar holidays and display, quoting
562 characters and phrase boundaries, sentence endings, collation for
563 sorting (at least for unicodes), HTTP Accept-language, patterns for
564 directory listings and compilation messages, yes-or-no replies,
565 common menu items when the toolkit supports it ... `locale-info'
566 needs extending for LC_COLLATE &c. [fx started on this.]
567
1f724d55
KH
568** Eliminate the current restriction on header printing by ps-print.
569 Currently, a header can contain only single 1-byte charset in
570 addition to ASCII.
571
572** In ps-print, provide an user friendly interface to specify fonts.
573
1f724d55
KH
574** Enhance word boundary detection for such a script that doesn't use
575 space at word boundary (e.g. Thai).
576
cf4c9271
KH
577** Implement interface programs with major Japanese conversion server
578 in lib-src so that they can be used from the input method
579 "japanese". Currently, most Japanese users are using external
580 packages (e.g. tamago, anthy) or an input method via XIM.
1f724d55 581
a53e64cc
SM
582** Let LEIM handle the Mode_switch key like XIM does (i.e. a toggle like C-\
583but which can also be used as a modifier).
584
d59e3c42
NR
585** Improve Help buffers: Change the face of previously visited links (like
586 Info, but also with regard to namespace), add a forward button to make the
587 Help buffer more browser like and gives the value of lisp expressions
588 e.g auto-mode-alist, the right face. [nickrob@snap.net.nz has a patch
589 for this for inclusion after 22.1].
590
5a473319
GM
591** Possibly make `list-holidays' eval items in the calendar-holidays variable.
592 See thread
593 <http://lists.gnu.org/archive/html/emacs-devel/2006-02/msg01034.html>.
594 [rgm@gnu.org will look at this after 22.1]
595
9e21382c
GM
596** Possibly make cal-dst use the system timezone database directly.
597 See thread
598 <http://lists.gnu.org/archive/html/emacs-pretest-bug/2006-11/msg00060.html>
599
590394eb
GM
600** Possibly add a "close" button to the modeline.
601 The idea is to add an "X" of some kind, that when clicked deletes
602 the window associated with that modeline.
603 http://lists.gnu.org/archive/html/emacs-devel/2007-09/msg02416.html
604
ba1c68de
SM
605* Internal changes
606
41a023e3 607** Cleanup all the GC_ mark bit stuff -- there is no longer any distinction
dcbccc4d
CY
608 since the mark bit is no longer stored in the Lisp_Object itself.
609
12cdb1c1
SM
610** Refine the `predicate' arg to read-file-name.
611 Currently, it mixes up the predicate to apply when doing completion and the
612 one to use when terminating the selection.
613
1d919365
SM
614** Merge ibuffer.el and buff-menu.el.
615 More specifically do what's needed to make ibuffer.el the default,
616 or just an extension of buff-menu.el.
617
618** Use pcomplete by default in shell-mode.
619 This means to make it behave (by default) more like the current code.
620 Use it also for read-shell-command, M-x compile, ...
621
622** Merge sendmail.el and messages.el.
623 Probably not a complete merge, but at least arrange for messages.el to be
624 a derived mode of sendmail.el. Or arrange for messages.el to be split
625 into a small core and "the rest" so that we use less resources as long as
626 we stick to the features provided in sendmail.el.
045744c6 627
ba1c68de 628** Replace gmalloc.c with the modified Doug Lea code from the current
1d919365
SM
629 GNU libc so that the special mmapping of buffers can be removed --
630 that apparently loses under Solaris, at least. [fx has mostly done
631 this.]
ba1c68de
SM
632
633** Rewrite make-docfile to be clean and maintainable.
634
635** Add an inferior-comint-minor-mode to capture the common set of operations
636 offered by major modes that offer an associated inferior
d3a403e5
SM
637 comint-derived mode. I.e. basically make cmuscheme.el/inf-lisp.el generic.
638 For use by sml-mode, python-mode, tex-mode, scheme-mode, lisp-mode,
639 haskell-mode, tuareg-mode, ...
ba1c68de 640
7cef6228
CY
641** Make SYNC_INPUT the default.
642 All loops using immediate_quit need to be checked to ensure that
643 C-g can interrupt them, in case of an infinite loop. Once we
644 switch to using SYNC_INPUT, we can remove the BLOCK_INPUTs in the
645 allocation functions (allocate_string etc.) without worrying about
646 data munging.
647
f57dad5a
MB
648** Add "link" button class
649 Add a standard button-class named "link", and make all other link-like
650 button classes inherit from it. Set the default face of the "link" button
651 class to the standard "link" face.
652
2345130a
SM
653* Other known bugs:
654
c3bb6fdb 655** `make-frame' forgets unhandled parameters, at least for X11 frames.
48b8e4a0
SM
656** The \\{...} keymap dump output does not correctly remove shadowed entries:
657From: "Drew Adams" <drew.adams@oracle.com>
658
659(define-key minibuffer-local-map [(control ?=)] 'foo)
660(define-key minibuffer-local-completion-map [(control ?=)] 'foo)
661
662(defun toto () "\\{minibuffer-local-completion-map}" 4)
663
664C-h f toto shows a duplicate entry for C-=:
665
666toto is a Lisp function.
667(toto)
668
669key binding
670- --- -------
671
672C-g abort-recursive-edit
673TAB minibuffer-complete
674C-j exit-minibuffer
675RET exit-minibuffer
676ESC Prefix Command
677SPC minibuffer-complete-word
678? minibuffer-completion-help
679C-= foo
680C-= foo
681...
682
2345130a
SM
683** a two-char comment-starter whose two chars are symbol constituents will
684not be noticed if it appears within a word.
685
07ff1e4b
RS
686** Fix unexelf.c to handle the .data.rel and .data.rel.local
687 sections made by GCC 3.4 on IRIX.
688
5b87ad55
GM
689\f
690This file is part of GNU Emacs.
691
ab73e885 692GNU Emacs is free software: you can redistribute it and/or modify
5b87ad55 693it under the terms of the GNU General Public License as published by
ab73e885
GM
694the Free Software Foundation, either version 3 of the License, or
695(at your option) any later version.
309920fa 696
5b87ad55
GM
697GNU Emacs is distributed in the hope that it will be useful,
698but WITHOUT ANY WARRANTY; without even the implied warranty of
699MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
700GNU General Public License for more details.
309920fa 701
5b87ad55 702You should have received a copy of the GNU General Public License
ab73e885 703along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
309920fa 704
ab5796a9 705;;; arch-tag: b0a3e40b-726a-457d-9999-ba848321b036