help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to join most buffer in one buffer


From: Peter Dyballa
Subject: Re: How to join most buffer in one buffer
Date: Fri, 7 Sep 2012 10:30:56 +0200

Am 07.09.2012 um 09:50 schrieb lap7619@yahoo.it:

> I need to join most buffer (text files) in a buffer... but every buffer has 
> own coding-system (utf-8-dos, utf-8-unix, etc.):

Convert the files to one encoding and then use cat to concatenate them.

In GNU Emacs you could open the first file in a buffer and save the buffer with 
the final  encoding to a new file. Now you can open the other files, copy their 
contents (maybe into registers), and finally paste them into the target buffer. 
This way the different encodings will be automatically adapted to that of the 
target buffer.

A pro grammatical solution is also possible…

--
Greetings

  Pete

Without vi there is only GNU Emacs




reply via email to

[Prev in Thread] Current Thread [Next in Thread]