unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#2642: Apparent regression on font-lock-compile-keywords
@ 2009-03-12  0:10 Chong Yidong
  2009-03-12  1:23 ` Nascif Abousalh-Neto
  0 siblings, 1 reply; 5+ messages in thread
From: Chong Yidong @ 2009-03-12  0:10 UTC (permalink / raw)
  To: Nascif Abousalh-Neto; +Cc: 2642

> I recently upgraded from Emacs 22 to Emacs 23 (W32 on Windows XP).
> I have been using emacs-wiki and groovy-mode and not both fail with a
> similar error pointing to this:
> font-lock-set-defaults: Wrong type argument: symbolp, (quote
> beginning-of-line)
>
> It works on the second time or after turning font-lock on and off, and
> then fails again next time I try to use it.
>
> If I enable debug-on-error I get:
>
> Debugger entered--Lisp error: (wrong-type-argument symbolp (quote
> beginning-of-line))
>   font-lock-compile-keywords(nil)

I can't reproduce this with either emacs-wiki or groovy-mode.  From
Googling around, I see that some packages had bugs that led to such an
error.  It's not a bug in Emacs itself, I think.  Could you try
upgrading to more recent versions of these packages and see if the
problem persists?






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

* bug#2642: Apparent regression on font-lock-compile-keywords
  2009-03-12  0:10 bug#2642: Apparent regression on font-lock-compile-keywords Chong Yidong
@ 2009-03-12  1:23 ` Nascif Abousalh-Neto
  2009-03-12  4:13   ` Chong Yidong
  0 siblings, 1 reply; 5+ messages in thread
From: Nascif Abousalh-Neto @ 2009-03-12  1:23 UTC (permalink / raw)
  To: Chong Yidong; +Cc: 2642@emacsbugs.donarmstrong.com

Hi there,

Thanks for the quick response. I think I am using the latest version of these packages (see below).
Can you tell me which versions you are using?

;;; groovy.el --- Major mode for editing Groovy source text
;;; This file was created from javascript.el written and maintained by Karl.
;;; Minor changes were made to include some of the keywords from Groovy
;;; and use groovy/gr- instead of javascript/js-.

;; Copyright (C) 2007 Seth Schroeder

;; Author: Seth Schroeder <seth.schroeder@nearinfinity.com>
;; Author of javascript.el: Karl Landström <kland@comhem.se>
;; Maintainer: Seth Schroeder <seth.schroeder@nearinfinity.com>
;; Version: 1.0
;; Date: 2007-12-26
;; Keywords: languages, oop, groovy


;; Emacs Lisp Archive Entry
;; Filename: emacs-wiki.el
;; Version: 2.69
;; Keywords: hypermedia
;; Author: John Wiegley (johnw AT gnu DOT org)
;;         Alex Schroeder (alex AT gnu DOT org)
;; Maintainer: Michael Olson (mwolson AT gnu DOT org)


Thanks,
  Nascif



-------------------------------------------------------------------
Nascif Abousalh-Neto
Software Development Manager
Query and Reporting  ▪ Business Intelligence Clients
Tel: + 1 919 531 0123 - Nascif.AbousalhNeto@sas.com
www.sas.com
SAS® … THE POWER TO KNOW®

-----Original Message-----
From: Chong Yidong [mailto:cyd@stupidchicken.com]
Sent: Wednesday, March 11, 2009 8:11 PM
To: Nascif Abousalh-Neto
Cc: 2642@emacsbugs.donarmstrong.com
Subject: Re: Apparent regression on font-lock-compile-keywords

> I recently upgraded from Emacs 22 to Emacs 23 (W32 on Windows XP).
> I have been using emacs-wiki and groovy-mode and not both fail with a
> similar error pointing to this:
> font-lock-set-defaults: Wrong type argument: symbolp, (quote
> beginning-of-line)
>
> It works on the second time or after turning font-lock on and off, and
> then fails again next time I try to use it.
>
> If I enable debug-on-error I get:
>
> Debugger entered--Lisp error: (wrong-type-argument symbolp (quote
> beginning-of-line))
>   font-lock-compile-keywords(nil)

I can't reproduce this with either emacs-wiki or groovy-mode.  From
Googling around, I see that some packages had bugs that led to such an
error.  It's not a bug in Emacs itself, I think.  Could you try
upgrading to more recent versions of these packages and see if the
problem persists?


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

* bug#2642: Apparent regression on font-lock-compile-keywords
  2009-03-12  1:23 ` Nascif Abousalh-Neto
@ 2009-03-12  4:13   ` Chong Yidong
  2009-03-12 18:11     ` Glenn Morris
  0 siblings, 1 reply; 5+ messages in thread
From: Chong Yidong @ 2009-03-12  4:13 UTC (permalink / raw)
  To: Nascif Abousalh-Neto; +Cc: 2642@emacsbugs.donarmstrong.com

Nascif Abousalh-Neto <Nascif.AbousalhNeto@sas.com> writes:

> Thanks for the quick response. I think I am using the latest version
> of these packages (see below).
>
> ;;; groovy.el --- Major mode for editing Groovy source text
>
> ;; Author: Seth Schroeder <seth.schroeder@nearinfinity.com>
> ;; Version: 1.0
> ;; Date: 2007-12-26

Okay---let's take with this file.  Please provide a precise,
step-by-step recipe for reproducing this bug, starting with

1.  emacs -Q -l groovy-mode.el






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

* bug#2642: Apparent regression on font-lock-compile-keywords
  2009-03-12  4:13   ` Chong Yidong
@ 2009-03-12 18:11     ` Glenn Morris
  2009-03-12 18:20       ` Processed: " Emacs bug Tracking System
  0 siblings, 1 reply; 5+ messages in thread
From: Glenn Morris @ 2009-03-12 18:11 UTC (permalink / raw)
  To: Chong Yidong; +Cc: 2642, Nascif Abousalh-Neto

reassign 2642 notemacs
stop

Chong Yidong wrote:

> Okay---let's take with this file.  Please provide a precise,
> step-by-step recipe for reproducing this bug, starting with
>
> 1.  emacs -Q -l groovy-mode.el

That file seems to be fine, but emacs-wiki 2.69 has a bug in
emacs-wiki-colors.el's setting of font-lock-defaults.

It is fixed in 2.72 (which is over 2 years old):

2006-10-10 04:26:33 GMT Michael Olson <mwolson@gnu.org> patch-147

    * emacs-wiki-colors.el (emacs-wiki-use-font-lock): Fix bug that
      was noticed with recent builds of Emacs 22. Improper quoting was
      used. Thanks to Chong Yidong and intrigeri for noticing this.

Neither of these files are part of Emacs.






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

* Processed: Re: bug#2642: Apparent regression on font-lock-compile-keywords
  2009-03-12 18:11     ` Glenn Morris
@ 2009-03-12 18:20       ` Emacs bug Tracking System
  0 siblings, 0 replies; 5+ messages in thread
From: Emacs bug Tracking System @ 2009-03-12 18:20 UTC (permalink / raw)
  To: Glenn Morris; +Cc: Emacs Bugs, notemacs for {2642}

Processing commands for control@emacsbugs.donarmstrong.com:

> reassign 2642 notemacs
bug#2642: Apparent regression on font-lock-compile-keywords
Warning: Unknown package 'notemacs'
bug reassigned from package `emacs' to `notemacs'.

> stop
Stopping processing here.

Please contact me if you need assistance.

Don Armstrong
(administrator, Emacs bugs database)




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

end of thread, other threads:[~2009-03-12 18:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-12  0:10 bug#2642: Apparent regression on font-lock-compile-keywords Chong Yidong
2009-03-12  1:23 ` Nascif Abousalh-Neto
2009-03-12  4:13   ` Chong Yidong
2009-03-12 18:11     ` Glenn Morris
2009-03-12 18:20       ` Processed: " Emacs bug Tracking System

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