After many years of using the old emacs interface to Abella, I've recently been trying to use Proof General. It would be wonderful if PG could be configured to support the layout conventions that I use with my files automatically, but absent that, i would be happy if PG would simply not insert newlines every time I type "." at the end of a tactic or untab lines that I've already indented to support my layout convention when hitting newline to go to the next line. The PG documentation mentions a promising variable proof-next-command-insert-space, but setting this to nil doesn't have the effect I was expecting. In fact, customizing the variable and saving says that my ~/.emacs file has been written, but no change is made to the file. If I set the variable myself with setq, it doesn't help. Maybe this has something to do with the Abella PG being a fork of the original? Any suggestions?
--
You received this message because you are subscribed to the Google Groups "Abella" group.
To unsubscribe from this group and stop receiving emails from it, send an email to abella-theorem-p...@googlegroups.com.
To post to this group, send email to abella-the...@googlegroups.com.
Visit this group at https://groups.google.com/group/abella-theorem-prover.
For more options, visit https://groups.google.com/d/optout.
induction on 1. intros. case H1.
search.
--
induction on 1. intros. case H1.
search.
case H2.
This sounds like you have electric-indent-mode active, which is a general Emacs-level thing and not PG or Abella specific.I would recommend turning it off because (a) it's painfully annoying, as you describe, and (b) when you need its functionality you can use C-j instead of RET.Kaustuv
On Mon, Feb 4, 2019 at 9:35 PM Todd Wilson <lambdaca...@gmail.com> wrote:
I was enjoying some of the behavior of the electric '.', just not the insertion of whitespace, but I guess from what you're saying is that it is all or nothing. Also, my problem with indentation is that it's retroactively applied in an annoying manner. For example, if my proof script has--
induction on 1. intros. case H1.
search.then, when I hit ENTER at the end of the second line to start my second subgoal, the indentation at the beginning of this line is deleted. There is an option abella-text-indent, which I can set to nil, but then I get no indentation at all: TAB does nothing, and I have to do all indentation manually with spaces, which is also a no-go. I'm hoping that there is a sensible middle ground somewhere.
You received this message because you are subscribed to the Google Groups "Abella" group.
To unsubscribe from this group and stop receiving emails from it, send an email to abella-theorem-prover+unsub...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to abella-theorem-p...@googlegroups.com.
To post to this group, send email to abella-the...@googlegroups.com.
Visit this group at https://groups.google.com/group/abella-theorem-prover.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Abella" group.
To unsubscribe from this group and stop receiving emails from it, send an email to abella-theorem-p...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to abella-theorem-prover+unsub...@googlegroups.com.
To post to this group, send email to abella-the...@googlegroups.com.
Visit this group at https://groups.google.com/group/abella-theorem-prover.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Abella" group.
To unsubscribe from this group and stop receiving emails from it, send an email to abella-theorem-prover+unsub...@googlegroups.com.