all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dmitry Bolshakov <dmitry.bolshakov@bridge-quest.com>
To: martin rudalics <rudalics@gmx.at>
Cc: help-gnu-emacs@gnu.org
Subject: Re: longlines and global-auto-revert-mode
Date: Wed, 16 Jan 2008 15:29:29 +0300	[thread overview]
Message-ID: <478DF8A9.8070106@bridge-quest.com> (raw)
In-Reply-To: <478DE2B4.2040601@gmx.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

  reply	other threads:[~2008-01-16 12:29 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-15 17:35 longlines and global-auto-revert-mode martin rudalics
2008-01-16 10:07 ` Dmitry Bolshakov
2008-01-16 10:55   ` martin rudalics
2008-01-16 12:29     ` Dmitry Bolshakov [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-01-15 10:01 Dmitry Bolshakov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=478DF8A9.8070106@bridge-quest.com \
    --to=dmitry.bolshakov@bridge-quest.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=rudalics@gmx.at \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.