all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Re: form-at-point bug
       [not found] <35A6E472-C09E-11D6-85DC-00039343C89C@lysator.liu.se>
@ 2002-09-06 15:11 ` Richard Stallman
  2002-09-09 10:14   ` Lennart Staflin
  0 siblings, 1 reply; 2+ messages in thread
From: Richard Stallman @ 2002-09-06 15:11 UTC (permalink / raw)
  Cc: emacs-devel

	 (read-from-whole-string "(x)")          ; from thingatpt.el
	 => Lisp error: (error "Can't read whole string")

    It should return '(x)', not signal error.

This should fix it.  Does this make it work?

I think this is the right fix, because the optimization this turns off
should rarely have occasion to do anything useful.

*** bytecomp.el.~2.111.~	Thu Aug 29 13:26:47 2002
--- bytecomp.el	Fri Sep  6 09:39:52 2002
***************
*** 274,280 ****
  		 (const :tag "source-level" source)
  		 (const :tag "byte-level" byte)))
  
! (defcustom byte-compile-delete-errors t
    "*If non-nil, the optimizer may delete forms that may signal an error.
  This includes variable references and calls to functions such as `car'."
    :group 'bytecomp
--- 274,280 ----
  		 (const :tag "source-level" source)
  		 (const :tag "byte-level" byte)))
  
! (defcustom byte-compile-delete-errors nil
    "*If non-nil, the optimizer may delete forms that may signal an error.
  This includes variable references and calls to functions such as `car'."
    :group 'bytecomp

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

* Re: form-at-point bug
  2002-09-06 15:11 ` form-at-point bug Richard Stallman
@ 2002-09-09 10:14   ` Lennart Staflin
  0 siblings, 0 replies; 2+ messages in thread
From: Lennart Staflin @ 2002-09-09 10:14 UTC (permalink / raw)
  Cc: emacs-devel


On fredag, september 6, 2002, at 05:11 , Richard Stallman wrote:

> This should fix it.  Does this make it work?
>
> I think this is the right fix, because the optimization this turns off
> should rarely have occasion to do anything useful.
>
> *** bytecomp.el.~2.111.~	Thu Aug 29 13:26:47 2002
> --- bytecomp.el	Fri Sep  6 09:39:52 2002
>

Thanks! That did it.

//Lennart

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

end of thread, other threads:[~2002-09-09 10:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <35A6E472-C09E-11D6-85DC-00039343C89C@lysator.liu.se>
2002-09-06 15:11 ` form-at-point bug Richard Stallman
2002-09-09 10:14   ` Lennart Staflin

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.