Alan L Tyree <alanty...@gmail.com> writes: > Indeed, an exercise which I have already done in the form of a lisp > function to catch the nasty little numbers at the beginning of lines. > > For the earlier exporter, I used this to insert non-printing spaces, > export, then remove non-printing space. Far from elegant :-). >
Wouldn't it be better to fix the file once and for all? After all, if you do that and then paste it into the org file, then refilling is *never* going to create the problem (assuming that there is no bug in the filling code of course: if there is, then it has to get fixed.) I may have misunderstood but I took the question to be the following: if I get an arbitrary file from somewhere, and I want to make an org document out of it, can I paste it in? The answer is "yes, but...": there might be problems. Checking the file with a script shows the problems, then you go in and fix them (by hand if necessary: four or five instances of the problem in 60+ pages seems insignificant, assuming that you *know* that the problem is there.) > I still like the suggestion that there should be an option so that > lists cannot begin at the beginning of a line. Like Samuel earlier in > this thread, I always indent lists. > Who's to guarantee that the file you are pasting in does not have indented dashes or numbers at the beginning of some lines? Wouldn't that cause the same problem? -- Nick