unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* skeleton bug in python.el
@ 2008-01-19 17:50 Dan Nicolaescu
  2008-01-20  4:02 ` Glenn Morris
  0 siblings, 1 reply; 5+ messages in thread
From: Dan Nicolaescu @ 2008-01-19 17:50 UTC (permalink / raw)
  To: emacs-devel


Create an empty python file. 

Use the menu to select Python/Templates.../if 
Then enter 
something RET
answer y to the question 'Add "else" statement?'

This will throw an error:
skeleton-internal-1: Variable binding depth exceeds max-specpdl-size

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

* Re: skeleton bug in python.el
  2008-01-19 17:50 skeleton bug in python.el Dan Nicolaescu
@ 2008-01-20  4:02 ` Glenn Morris
  2008-01-20 10:54   ` Johan Bockgård
  0 siblings, 1 reply; 5+ messages in thread
From: Glenn Morris @ 2008-01-20  4:02 UTC (permalink / raw)
  To: Dan Nicolaescu; +Cc: emacs-devel

Dan Nicolaescu wrote:

> Create an empty python file. 
>
> Use the menu to select Python/Templates.../if 
> Then enter 
> something RET
> answer y to the question 'Add "else" statement?'
>
> This will throw an error:
> skeleton-internal-1: Variable binding depth exceeds max-specpdl-size

should be fixed now.

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

* Re: skeleton bug in python.el
  2008-01-20  4:02 ` Glenn Morris
@ 2008-01-20 10:54   ` Johan Bockgård
  2008-01-20 21:48     ` Glenn Morris
  0 siblings, 1 reply; 5+ messages in thread
From: Johan Bockgård @ 2008-01-20 10:54 UTC (permalink / raw)
  To: emacs-devel

Glenn Morris <rgm@gnu.org> writes:

> Dan Nicolaescu wrote:
>
>> Create an empty python file. 
>>
>> Use the menu to select Python/Templates.../if 
>> Then enter 
>> something RET
>> answer y to the question 'Add "else" statement?'
>>
>> This will throw an error:
>> skeleton-internal-1: Variable binding depth exceeds max-specpdl-size
>
> should be fixed now.

I think this is a bug in skeleton.  It used to work in Emacs 21.  See

http://lists.gnu.org/archive/html/help-gnu-emacs/2007-12/msg00349.html

-- 
Johan Bockgård

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

* Re: skeleton bug in python.el
  2008-01-20 10:54   ` Johan Bockgård
@ 2008-01-20 21:48     ` Glenn Morris
  2008-01-21  7:22       ` Dan Nicolaescu
  0 siblings, 1 reply; 5+ messages in thread
From: Glenn Morris @ 2008-01-20 21:48 UTC (permalink / raw)
  To: emacs-devel

Johan Bockgård wrote:

> I think this is a bug in skeleton.  It used to work in Emacs 21.  See
>
> http://lists.gnu.org/archive/html/help-gnu-emacs/2007-12/msg00349.html

I don't really know. The doc-string of skeleton-insert says this is
expected behaviour:

   Note that expressions may not return t since this implies an
   endless loop.

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

* Re: skeleton bug in python.el
  2008-01-20 21:48     ` Glenn Morris
@ 2008-01-21  7:22       ` Dan Nicolaescu
  0 siblings, 0 replies; 5+ messages in thread
From: Dan Nicolaescu @ 2008-01-21  7:22 UTC (permalink / raw)
  To: Glenn Morris; +Cc: emacs-devel

Glenn Morris <rgm@gnu.org> writes:

  > Johan Bockgård wrote:
  > 
  > > I think this is a bug in skeleton.  It used to work in Emacs 21.  See
  > >
  > > http://lists.gnu.org/archive/html/help-gnu-emacs/2007-12/msg00349.html
  > 
  > I don't really know. The doc-string of skeleton-insert says this is
  > expected behaviour:
  > 
  >    Note that expressions may not return t since this implies an
  >    endless loop.

I don't know much about this, but verilog-mode.el has the same problem, and
exactly the same file works fine with emacs-21.3...

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

end of thread, other threads:[~2008-01-21  7:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-19 17:50 skeleton bug in python.el Dan Nicolaescu
2008-01-20  4:02 ` Glenn Morris
2008-01-20 10:54   ` Johan Bockgård
2008-01-20 21:48     ` Glenn Morris
2008-01-21  7:22       ` Dan Nicolaescu

Code repositories for project(s) associated with this public inbox

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

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).