From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Bolshakov Newsgroups: gmane.emacs.help Subject: Re: longlines and global-auto-revert-mode Date: Wed, 16 Jan 2008 15:29:29 +0300 Message-ID: <478DF8A9.8070106@bridge-quest.com> References: <478CEEDD.10001@gmx.at> <478DD750.4030904@bridge-quest.com> <478DE2B4.2040601@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1200486925 3600 80.91.229.12 (16 Jan 2008 12:35:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 16 Jan 2008 12:35:25 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: martin rudalics Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jan 16 13:35:48 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JF7Uh-0002vd-GO for geh-help-gnu-emacs@m.gmane.org; Wed, 16 Jan 2008 13:35:47 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JF7UI-0003SX-RX for geh-help-gnu-emacs@m.gmane.org; Wed, 16 Jan 2008 07:35:22 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JF7PK-0000Sz-1A for help-gnu-emacs@gnu.org; Wed, 16 Jan 2008 07:30:14 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JF7PI-0000RP-4q for help-gnu-emacs@gnu.org; Wed, 16 Jan 2008 07:30:13 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JF7PH-0000RG-Qg for help-gnu-emacs@gnu.org; Wed, 16 Jan 2008 07:30:11 -0500 Original-Received: from mail44.opentransfer.com ([76.162.254.44]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1JF7PH-0006GW-Bq for help-gnu-emacs@gnu.org; Wed, 16 Jan 2008 07:30:11 -0500 Original-Received: (qmail 2986 invoked by uid 399); 16 Jan 2008 12:30:10 -0000 Original-Received: from unknown (HELO ?192.168.14.96?) (80.249.179.82) by mail44.opentransfer.com with SMTP; 16 Jan 2008 12:30:10 -0000 User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) In-Reply-To: <478DE2B4.2040601@gmx.at> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 1) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:50752 Archived-At: > > I coud not apply patch: > > I was afraid it won't. I'll attach my current version of longlines.el, > please try it. If the byte-compiler gets you an error I have to find > the version of this in emacs 22.1 and patch it. But that version has > some other bugs in this context, hence it's maybe not reasonably to use. > > If you want to fix that manually: FWIW the bug is caused by the fact > that before reverting the buffer longlines-mode wants to remove its > newlines. At this time your file has already changed on disk, Emacs > notices that and tells you about it. By binding `buffer-file-name' and > `buffer-file-truename' to nil while removing these newlines you should > be able to trick Emacs into believing that the buffer is not associated > with any file and so not ask any questions. > > Sorry, it's a never-ending story with this problem. > Wow! It works. Compilation was successful. Many thanks! -- With best regards Dmitry Bolshakov