>>>>> "Emanuele" == Emanuele Olivetti <olivetti@xxxxxx> writes: > Ciao, ho trovato qui queste due utili funzioni per emacs: > http://www.cs.helsinki.fi/u/abrax/HACK/EMACS.html Da Emacs help .... ms-dos file names To visit a file and specify whether it uses DOS-style or Unix-style end-of-line, specify a coding system (*note Specify Coding::). For example, `C-x <RET> c unix <RET> C-x C-f foobar.txt' visits the file `foobar.txt' without converting the EOLs; if some line ends with a carriage-return linefeed pair, Emacs will display `^M' at the end of that line. Similarly, you can direct Emacs to save a buffer in a specified EOL format with the `C-x <RET> f' command. For example, to save a buffer with Unix EOL format, type `C-x <RET> f unix <RET> C-x C-s'. If you visit a file with DOS EOL conversion, then save it with Unix EOL format, that effectively converts the file to Unix EOL style, like `dos2unix'. -- bye, Luca -- Per iscriversi (o disiscriversi), basta spedire un messaggio con OGGETTO "subscribe" (o "unsubscribe") a mailto:linuxtrent-request@xxxxxxxxxxxxx