From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: How to join most buffer in one buffer Date: Fri, 07 Sep 2012 11:52:29 +0300 Message-ID: <83wr06b4fm.fsf@gnu.org> References: <71acbccf-e12f-4831-94ee-23e49ccf1a7e@googlegroups.com> <2C293A42-5177-4834-93A5-D88E0BB7E12F@Web.DE> NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1347007982 16211 80.91.229.3 (7 Sep 2012 08:53:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 7 Sep 2012 08:53:02 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Sep 07 10:53:04 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1T9uJ9-00053J-55 for geh-help-gnu-emacs@m.gmane.org; Fri, 07 Sep 2012 10:52:59 +0200 Original-Received: from localhost ([::1]:45566 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T9uJ6-0003kL-5x for geh-help-gnu-emacs@m.gmane.org; Fri, 07 Sep 2012 04:52:56 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:38170) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T9uJ1-0003kE-A8 for help-gnu-emacs@gnu.org; Fri, 07 Sep 2012 04:52:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T9uIv-0006Mz-Kf for help-gnu-emacs@gnu.org; Fri, 07 Sep 2012 04:52:51 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:64709) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T9uIv-0006Ml-CY for help-gnu-emacs@gnu.org; Fri, 07 Sep 2012 04:52:45 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0M9Z00K001Y7JC00@a-mtaout22.012.net.il> for help-gnu-emacs@gnu.org; Fri, 07 Sep 2012 11:52:30 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M9Z00KCD1ZIJF00@a-mtaout22.012.net.il> for help-gnu-emacs@gnu.org; Fri, 07 Sep 2012 11:52:30 +0300 (IDT) In-reply-to: <2C293A42-5177-4834-93A5-D88E0BB7E12F@Web.DE> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 80.179.55.172 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:86677 Archived-At: > From: Peter Dyballa > Date: Fri, 7 Sep 2012 10:30:56 +0200 > Cc: help-gnu-emacs@gnu.org > > Convert the files to one encoding and then use cat to concatenate them. Too complicated. > 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. This is not needed. You should be able to just "C-x i" each file into the same buffer, then "C-x RET c utf-8 RET C-x C-s" to SUM.txt to save them all. If this doesn't work for you, please report the details. I just tried in Emacs 24.2, and it does work.