D: come posso formattare / riempire gli articoli scarsamente formattati in un org-modeelenco puntato?
Sto cercando di capire come far fill-paragraphfunzionare un org-modeelenco puntato di elementi formattati male . Per "mal formattato" intendo proiettili a lunga durata che usano più righe ma devono essere ripuliti per renderli leggibili. La difficoltà è che org-modenon sembra riconoscere le righe successive come parte dello stesso punto elenco quando il primo carattere non bianco si trova nella stessa colonna del punto elenco stesso.
Pertanto, nell'esempio seguente, il punto elenco (1) non necessita di riempimento, i punti elenco (2) e (3) devono essere riempiti e rispondono come previsto fill-paragraph, ma i punti elenco (4) e (5) non si riempiono come previsto:
* a header
1) a simple bullet
2) a bullet that responds nicely
to
fill-paragraph
(try it!)
3) another bullet that also responds nicely
to
fill-paragraph
even though the "t" in "to" and the
"e" in "even" line up with the space
in between the "4)" and the start of the bullet
4) a bullet that does
NOT respond to fill-paragraph
because the "N" in "NOT" is in the same column
as the start of the bullet
5) a similar problem:
the text is flush entirely to the left
Prima di tutto, perché succede? Secondo, e più precisamente, come posso convincere org-modea trattare tutte le linee fino al prossimo proiettile come parte dello stesso proiettile per fill-paragraphscopi?
org, per impostazione predefinita, non prenderebbe in considerazione parte dell'elemento (ad esempio, se ci troviamo nella riga "NON ..." nell'esempio), non verrà riempito come previsto, ovvero, si riempie come un paragrafo separato e assorbe anche l'elemento 5). Il problema sembra essere nellaorg-mark-elementscelta dell'elemento. Ci penserò ancora.