From: David Hansen <david.hansen@gmx.net>
Subject: Re: multi-mode editing, including literate Haskell and noweb
Date: Tue, 18 Jan 2005 19:00:00 +0100 [thread overview]
Message-ID: <87is5u62jj.fsf@robotron.ath.cx> (raw)
In-Reply-To: E1CqrAa-0003xX-5Y@fencepost.gnu.org
On Tue, 18 Jan 2005 06:05:08 -0500 Richard Stallman wrote:
> With multi-mode.el the last closing brace is indented to column 0
> and not `c-basic-offset'.
>
> Can you see if it could be extended to handle this case right?
I don't think there is an easy solution to handle such cases.
How far the major mode has to look back heavily depends on the
syntactic state of your code at point (and of course how the
major mode deals with it).
Worst case may be that all chunks from the beginning of the
buffer up to point are needed. This is kind of inconsistent with
the `narrow-to-region' approach.
David
next prev parent reply other threads:[~2005-01-18 18:00 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <rzqk74689zo.fsf@albion.dl.ac.uk>
2005-01-02 16:06 ` multi-mode editing, including literate Haskell and noweb Richard Stallman
2005-01-04 23:36 ` Dave Love
2005-01-05 20:07 ` Richard Stallman
2005-01-06 1:13 ` Miles Bader
2005-01-06 19:56 ` Richard Stallman
2005-01-17 22:56 ` Dave Love
2005-01-05 20:07 ` Richard Stallman
2005-01-17 11:57 ` David Hansen
2005-01-18 11:05 ` Richard Stallman
2005-01-18 18:00 ` David Hansen [this message]
2005-01-20 2:14 ` Richard Stallman
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=87is5u62jj.fsf@robotron.ath.cx \
--to=david.hansen@gmx.net \
/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.