unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* balanced.el and c-mode
@ 2006-10-26 20:11 Slavomir Kaslev
  2006-10-27 12:05 ` Florian Kaufmann
  0 siblings, 1 reply; 3+ messages in thread
From: Slavomir Kaslev @ 2006-10-26 20:11 UTC (permalink / raw)


I have just installed balanced.el on my Gnu Emacs 21.3 but I am not
quite happy with the way it works in c-mode.

Is anyone else using this combination. Can you give me some (random)
hints?

Thank you in advance.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: balanced.el and c-mode
  2006-10-26 20:11 balanced.el and c-mode Slavomir Kaslev
@ 2006-10-27 12:05 ` Florian Kaufmann
  2006-10-27 12:26   ` Slavomir Kaslev
  0 siblings, 1 reply; 3+ messages in thread
From: Florian Kaufmann @ 2006-10-27 12:05 UTC (permalink / raw)


I can't help you, but I can imagine that the people who could help you
liked to get more information from you what exactly makes you unhappy.
Give some examples what currently happens and what you would like to
happen.

Flo

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: balanced.el and c-mode
  2006-10-27 12:05 ` Florian Kaufmann
@ 2006-10-27 12:26   ` Slavomir Kaslev
  0 siblings, 0 replies; 3+ messages in thread
From: Slavomir Kaslev @ 2006-10-27 12:26 UTC (permalink / raw)


On Oct 27, 3:05 pm, "Florian Kaufmann" <sensor...@gmail.com> wrote:
> I can't help you, but I can imagine that the people who could help you
> liked to get more information from you what exactly makes you unhappy.
> Give some examples what currently happens and what you would like to
> happen.
>
> Flo

Here are some examples:

If one is using balanced.el in lisp mode, inserting ( then deleting it
automaticly deletes the respecting ) which was inserted from
balanced.el. This doesn't happen in c-mode.

Another thing that bugs me is that balanced.el messes c-mode
indentation. When not using balanced.el I get
if (foo)
{
....
With balanced.el the behavior is
if (foo)
....{}
While I would expect something like that:
if (foo)
{
....                  <-cursor here
}

Probably someone has already hited on those and can post some elisp for
fixing them?

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-10-27 12:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-26 20:11 balanced.el and c-mode Slavomir Kaslev
2006-10-27 12:05 ` Florian Kaufmann
2006-10-27 12:26   ` Slavomir Kaslev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).