==== BUGS ====

ctest -j4 fails [not confirmed on l2, aug17]

==== New functionality ====

pipes to avoid unnecessary files: oy y/[].mr{abs(x)>7}.oy{y^2}.avg[j] ?

splines (e.g. to approximate measured resolution)

convolution with function
- with spline
- with TOFTOF model


==== Improve extant functionality ====

coord name algebra

=== plotting ===

"update plot" to replot after change of axes

fn key binding: fn3-4 to scan k

=== by command ===

dp: output for #spec>1 is obfuscated

fs: for curve-calling-external-program (cc ecr or similar)

mfj: remove redundant doc lines

oi: wenn mehrere Files mit rank=2, automatisch in einen File packen


==== Refactoring ====

Register all commands;
transform within-command dialogs into command options

(this replaces the following "dialog generics":)
  - restore ask callback help for lists (prompt for list, not for string)
  - restore help on "?" (e.g. expression help for 'md')
  - default for plot range

refactor func+op registration so that registered object can be const
(assemble typed function list prior to registration)

Terminology: "file" -> "workspace"

lmfit call-back within class, thanks to std::functional

Documentation:
- Universal help/doc associated with
  - environment variables like psdir
  - operators and functions (now hf; separate operators and functions, reconsider sorting)
- refer to external documentation
- explain resol, conv, pconv
- more info on commands (in command shell and in manual?)

When commands have become programmable:
- review history
  - latest action on pX should be part of history
  - history replay must not stop for error
  - show commands while playing history
  - fnc keys not in history

Default file selection:
- inform user about new file selection as result of an operation
- inform user about renumbering after deletion?
- keep curve references intact

history:
  -  for replaying:
    - RETURN not stored
  - during interactive session:
    - store repeated commands only once
- save every input at once (from history to logging ...)


==== WISHLIST ====

customization
- let user choose points/line
- let user choose color/symbol/linestyle
- debug mode (e.g. gnuplot monitor)

allow ad-hoc addition of fit functions
(plugin ? distinguish from opr-functions ?)
- plot accessible Q-E-space


==== WAITING FOR CLUE ====

How to treat blanks in user input:
- operators "mod", "div" suggest to allow blanks in expressions
- "op* 1 .3 99" suggeststo split at blanks

should operations have a return value?
- code for user interrupt
- numeric result?
- pointer to files (replace sel_collect_begin/end mechanism)??

Ctrl+C to abort fit

residual plot

Graphics: simplify; allow LaTeX labels -> Asymptote ? gnuplot ?

distribution: do not overwrite user modifications of ini file

in graph file: doc lines should be formatted such that they can be easily
  read in as command lines

script language integration
- testing
- support for Excel-like tables
- towards LAMP