jed-users mailing list

[2006 Date Index] [2006 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: Paragraph reformatting functionality


On 20.01.06, John E. Davis wrote:
> Paul Boekholt <p.boekholt@xxxxxxxxx> wrote:
> >> I am not sure what you mean.  Do you have a simple example?
> >
> >What he means is that in JED there is only a paragraph separator, while
> >Emacs has a paragraph_separator and a paragraph_start:
> 
> jed also supports a hook called "mark_paragraph", that will be called
> instead of the "par_sep" hook.  

This is a good idea I will try and report on.

(BTW: I already had made use of the mark_paragraph hook in an experimental
version of format_paragraph_from_point() which I rejected because it could
accidentially overwrite an existing mark_paragraph_hook.)

 
> It looks like the set_buffer_hook documentation needs updated for the
> release.

There is more info "hidden" in hooks.txt (available via the Help>Browse Docs
menu). To move the relevant part to set_buffer_hook documentation would be
nice. 

Also,

 USAGE
   set_buffer_hook (String_Type hook, String_Type f)
+  set_buffer_hook (String_Type hook, Ref_Type f)


But on-line documentation for format_paragraph (and other internal
functions) would be even more important (as a user trying to customize the
paragraph formatting is IMO more likely to look under format_paragraph
(which in turn should point to the available hooks and the function to set
them).

Thanks

Guenter

-- 
Milde ife.et.tu-dresden.de

--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.


[2006 date index] [2006 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]