GNU bug report logs - #16850
24.3.50; lisp--local-variables raises error in comments and strings

Previous Next

Package: emacs;

Reported by: Dmitry Gutov <dgutov <at> yandex.ru>

Date: Sun, 23 Feb 2014 08:47:02 UTC

Severity: normal

Found in version 24.3.50

Fixed in version 24.4

Done: Dmitry Gutov <dgutov <at> yandex.ru>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 16850 in the body.
You can then email your comments to 16850 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#16850; Package emacs. (Sun, 23 Feb 2014 08:47:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Dmitry Gutov <dgutov <at> yandex.ru>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 23 Feb 2014 08:47:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3.50; lisp--local-variables raises error in comments and strings
Date: Sun, 23 Feb 2014 10:46:16 +0200
1. Open an empty emacs-lisp-mode buffer.

2. Type `;; Thi' in it (`Thi' is an example of a prefix without known
completions).

3. Press `C-M-i', see "End of file during parsing" in the echo area.

This is a problem for Company, because it makes the company-capf
`candidates' action raise the error. Original report here:
https://github.com/company-mode/company-mode/issues/66

The error doesn't happen when the symbol before point does have some
completions. Not sure why, because `(lisp--local-variables)' raises the
error either way when evaluated directly.

In GNU Emacs 24.3.50.3 (x86_64-unknown-linux-gnu, GTK+ Version 3.8.6)
 of 2014-02-20 on axl
Repository revision: 116484 lekktu <at> gmail.com-20140219210406-y2s7lx244ojfl5on
Windowing system distributor `The X.Org Foundation', version 11.0.11405000
System Description:	Ubuntu 13.10




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#16850; Package emacs. (Mon, 24 Feb 2014 04:45:02 GMT) Full text and rfc822 format available.

Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Thierry Volpiatto <thierry.volpiatto <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#16850: 24.3.50;
 lisp--local-variables raises error in comments and strings
Date: Mon, 24 Feb 2014 05:43:40 +0100
Dmitry Gutov <dgutov <at> yandex.ru> writes:

> 1. Open an empty emacs-lisp-mode buffer.
>
> 2. Type `;; Thi' in it (`Thi' is an example of a prefix without known
> completions).
>
> 3. Press `C-M-i', see "End of file during parsing" in the echo area.
>
> This is a problem for Company, because it makes the company-capf
> `candidates' action raise the error. Original report here:
> https://github.com/company-mode/company-mode/issues/66

Same problem with helm.

> The error doesn't happen when the symbol before point does have some
> completions.

Probably because you tried in a different context:

;; read-  => raise error

;; (read- => complete ok

> Not sure why, because `(lisp--local-variables)' raises the error
> either way when evaluated directly.
>
> In GNU Emacs 24.3.50.3 (x86_64-unknown-linux-gnu, GTK+ Version 3.8.6)
>  of 2014-02-20 on axl
> Repository revision: 116484 lekktu <at> gmail.com-20140219210406-y2s7lx244ojfl5on
> Windowing system distributor `The X.Org Foundation', version 11.0.11405000
> System Description:	Ubuntu 13.10
>
>
>
>

-- 
Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997 





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#16850; Package emacs. (Mon, 24 Feb 2014 05:43:02 GMT) Full text and rfc822 format available.

Message #11 received at 16850 <at> debbugs.gnu.org (full text, mbox):

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Thierry Volpiatto <thierry.volpiatto <at> gmail.com>
Cc: 16850 <at> debbugs.gnu.org
Subject: Re: bug#16850: 24.3.50;
 lisp--local-variables raises error in comments and strings
Date: Mon, 24 Feb 2014 07:41:52 +0200
Thierry Volpiatto <thierry.volpiatto <at> gmail.com> writes:

>> The error doesn't happen when the symbol before point does have some
>> completions.
>
> Probably because you tried in a different context:
>
> ;; read-  => raise error

Nope. I press C-M-i with this example and don't see the error.

>
> ;; (read- => complete ok




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#16850; Package emacs. (Tue, 25 Feb 2014 21:48:01 GMT) Full text and rfc822 format available.

Message #14 received at 16850 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Dmitry Gutov <dgutov <at> yandex.ru>
Cc: 16850 <at> debbugs.gnu.org
Subject: Re: bug#16850: 24.3.50;
 lisp--local-variables raises error in comments and strings
Date: Tue, 25 Feb 2014 16:46:35 -0500
> 3. Press `C-M-i', see "End of file during parsing" in the echo area.

Indeed, it should catch this error.  Can someone take care of that?


        Stefan "having trouble catching up with the backlog"




Reply sent to Dmitry Gutov <dgutov <at> yandex.ru>:
You have taken responsibility. (Wed, 26 Feb 2014 02:34:02 GMT) Full text and rfc822 format available.

Notification sent to Dmitry Gutov <dgutov <at> yandex.ru>:
bug acknowledged by developer. (Wed, 26 Feb 2014 02:34:02 GMT) Full text and rfc822 format available.

Message #19 received at 16850-done <at> debbugs.gnu.org (full text, mbox):

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 16850-done <at> debbugs.gnu.org
Subject: Re: bug#16850: 24.3.50; lisp--local-variables raises error in comments
 and strings
Date: Wed, 26 Feb 2014 04:33:12 +0200
Version: 24.4

On 25.02.2014 23:46, Stefan Monnier wrote:
>> 3. Press `C-M-i', see "End of file during parsing" in the echo area.
>
> Indeed, it should catch this error.  Can someone take care of that?

Fixed, I think.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 26 Mar 2014 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 10 years and 44 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.