[ic] [interchange] Fix encode_special_entities filter to prevent heredoc parsing error

Peter peter at pajamian.dhs.org
Sat Nov 13 05:39:29 UTC 2010


On 13/11/10 18:14, Jon Jensen wrote:
> On Sat, 13 Nov 2010, Peter wrote:
> 
>> emacs versions that I have used will by default prompt you to add the
>> trailing newline if one doesn't exist when you save.
> 
> These that I tested today do not prompt; they just don't write the newline:
> 
> emacs22-22.2-0ubuntu9 (Ubuntu 10.10)
> 
> emacs23-nox-23.1+1-4~bpo50+1 (Debian lenny backports)
> 
> emacs-nox-21.4-20.el5 (RHEL 5)

My own further testing reveals that it depends on what mode emacs is in.
 I haven't found the mode where it prompts, but in perl mode it adds the
newline automatically when saving.  In other modes I've tried it doesn't
add a newline.

Peter



More information about the interchange-users mailing list