unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#16850: 24.3.50; lisp--local-variables raises error in comments and strings
@ 2014-02-23  8:46 Dmitry Gutov
  2014-02-24  4:43 ` Thierry Volpiatto
  2014-02-25 21:46 ` Stefan Monnier
  0 siblings, 2 replies; 5+ messages in thread
From: Dmitry Gutov @ 2014-02-23  8:46 UTC (permalink / raw)
  To: 16850

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@gmail.com-20140219210406-y2s7lx244ojfl5on
Windowing system distributor `The X.Org Foundation', version 11.0.11405000
System Description:	Ubuntu 13.10





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

* bug#16850: 24.3.50; lisp--local-variables raises error in comments and strings
  2014-02-23  8:46 bug#16850: 24.3.50; lisp--local-variables raises error in comments and strings Dmitry Gutov
@ 2014-02-24  4:43 ` Thierry Volpiatto
  2014-02-24  5:41   ` Dmitry Gutov
  2014-02-25 21:46 ` Stefan Monnier
  1 sibling, 1 reply; 5+ messages in thread
From: Thierry Volpiatto @ 2014-02-24  4:43 UTC (permalink / raw)
  To: 16850

Dmitry Gutov <dgutov@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@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 






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

* bug#16850: 24.3.50; lisp--local-variables raises error in comments and strings
  2014-02-24  4:43 ` Thierry Volpiatto
@ 2014-02-24  5:41   ` Dmitry Gutov
  0 siblings, 0 replies; 5+ messages in thread
From: Dmitry Gutov @ 2014-02-24  5:41 UTC (permalink / raw)
  To: Thierry Volpiatto; +Cc: 16850

Thierry Volpiatto <thierry.volpiatto@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





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

* bug#16850: 24.3.50; lisp--local-variables raises error in comments and strings
  2014-02-23  8:46 bug#16850: 24.3.50; lisp--local-variables raises error in comments and strings Dmitry Gutov
  2014-02-24  4:43 ` Thierry Volpiatto
@ 2014-02-25 21:46 ` Stefan Monnier
  2014-02-26  2:33   ` Dmitry Gutov
  1 sibling, 1 reply; 5+ messages in thread
From: Stefan Monnier @ 2014-02-25 21:46 UTC (permalink / raw)
  To: Dmitry Gutov; +Cc: 16850

> 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"





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

* bug#16850: 24.3.50; lisp--local-variables raises error in comments and strings
  2014-02-25 21:46 ` Stefan Monnier
@ 2014-02-26  2:33   ` Dmitry Gutov
  0 siblings, 0 replies; 5+ messages in thread
From: Dmitry Gutov @ 2014-02-26  2:33 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: 16850-done

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.





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

end of thread, other threads:[~2014-02-26  2:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-23  8:46 bug#16850: 24.3.50; lisp--local-variables raises error in comments and strings Dmitry Gutov
2014-02-24  4:43 ` Thierry Volpiatto
2014-02-24  5:41   ` Dmitry Gutov
2014-02-25 21:46 ` Stefan Monnier
2014-02-26  2:33   ` Dmitry Gutov

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