emacs-devel
[Top][All Lists]
Advanced

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

Re: narrow-to-here-document


From: Kai Großjohann
Subject: Re: narrow-to-here-document
Date: Mon, 30 Jun 2003 22:11:12 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)

David Kastrup <address@hidden> writes:

> it is a reasonable assumption when programming that (1- (point)) and
> (save-excursion (backward-char) (point)) are the same thing,
> basically.

It used to be that this was not the case.  (In Emacs 20.2 I think.)

I agree that it would be better if they were the same, but I can't
think of a less disruptive method for having two major modes in the
same buffer, and to allow the usual parsing functions for each of the
modes to function more-or-less normally.

Another approach might be to have two buffers, one for each mode, and
to merge them into a third buffer.  Then each command in the third
buffer would be actually executed in one of the two buffers.  But this
approach gives difficulties in finding out how to merge the two
buffers.
-- 
~/.signature





reply via email to

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