* [pretest] Symbol's value as variable is void: perl-mode-abbrev-table
@ 2002-06-23 19:57 Kevin A. Burton
[not found] ` <200206241939.g5OJdSm26203@aztec.santafe.edu>
0 siblings, 1 reply; 4+ messages in thread
From: Kevin A. Burton @ 2002-06-23 19:57 UTC (permalink / raw)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I didn't have this problem a while back.. Now I am getting this on the pretest.
I reverted back to my CVS snapshot I was running (it is about a month old) and
this problem does not exist.
...
Are we missing a defvar for this?
Kevin
- --
Kevin A. Burton ( burton@apache.org, burton@openprivacy.org, burton@peerfear.org )
Location - San Francisco, CA, Cell - 415.595.9965
Jabber - burtonator@jabber.org, Web - http://www.peerfear.org/
IRC - openprojects.net #infoanarchy | #p2p-hackers | #reptile
2600 Magazine says Ford sucks: http://www.fordreallysucks.com/more_info.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt
iD8DBQE9FigiAwM6xb2dfE0RAlQJAKCzdZeuuRgDj0dqHQ1efEtzpuBxQwCgsa5M
uPcKmeTdeKqi3OEHGiNTEZE=
=4uSL
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [pretest] Symbol's value as variable is void: perl-mode-abbrev-table
[not found] ` <200206241939.g5OJdSm26203@aztec.santafe.edu>
@ 2002-06-24 19:49 ` Kevin A. Burton
2002-06-25 23:32 ` Richard Stallman
0 siblings, 1 reply; 4+ messages in thread
From: Kevin A. Burton @ 2002-06-24 19:49 UTC (permalink / raw)
Cc: emacs-devel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Richard Stallman <rms@gnu.org> writes:
> What exactly should I do to reproduce this?
Sorry... just open a perl file (.pl) and run M-x perl-mode.
That did it for me. Actually the mapping was in auto-mode-alist and I noticed
it wasn't font-locked and realized that this was a problem. It does it on all
files too. Anytime you go into perl-mode. cperl-mode doesn't seem to have
this problem because it correctly defvar's cperl-mode-abbrev-table.
Kevin
- --
Kevin A. Burton ( burton@apache.org, burton@openprivacy.org, burton@peerfear.org )
Location - San Francisco, CA, Cell - 415.595.9965
Jabber - burtonator@jabber.org, Web - http://www.peerfear.org/
IRC - openprojects.net #infoanarchy | #p2p-hackers | #reptile
Failure to accept hypocrisy is the sign of a weak mind.
- me
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt
iD8DBQE9F3faAwM6xb2dfE0RAsdCAJ9juifx3jyAjjEq/tht7nLi+TqMXQCfWZqp
uGN/yXd6ImvcpbbXiLSJRAY=
=iqpi
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [pretest] Symbol's value as variable is void: perl-mode-abbrev-table
2002-06-24 19:49 ` Kevin A. Burton
@ 2002-06-25 23:32 ` Richard Stallman
2002-06-25 23:53 ` Kevin A. Burton
0 siblings, 1 reply; 4+ messages in thread
From: Richard Stallman @ 2002-06-25 23:32 UTC (permalink / raw)
Cc: emacs-devel
Does this change fix it?
*** perl-mode.el.~1.38.4.1.~ Wed Oct 31 17:01:58 2001
--- perl-mode.el Tue Jun 25 09:55:13 2002
***************
*** 105,110 ****
--- 105,114 ----
:prefix "perl-"
:group 'languages)
+ (defvar perl-mode-abbrev-table nil
+ "Abbrev table in use in perl-mode buffers.")
+ (define-abbrev-table 'perl-mode-abbrev-table ())
+
(defvar perl-mode-map
(let ((map (make-sparse-keymap)))
(define-key map "{" 'perl-electric-terminator)
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [pretest] Symbol's value as variable is void: perl-mode-abbrev-table
2002-06-25 23:32 ` Richard Stallman
@ 2002-06-25 23:53 ` Kevin A. Burton
0 siblings, 0 replies; 4+ messages in thread
From: Kevin A. Burton @ 2002-06-25 23:53 UTC (permalink / raw)
Cc: emacs-devel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Richard Stallman <rms@gnu.org> writes:
> Does this change fix it?
>
> *** perl-mode.el.~1.38.4.1.~ Wed Oct 31 17:01:58 2001
> --- perl-mode.el Tue Jun 25 09:55:13 2002
> ***************
> *** 105,110 ****
> --- 105,114 ----
> :prefix "perl-"
> :group 'languages)
>
> + (defvar perl-mode-abbrev-table nil
> + "Abbrev table in use in perl-mode buffers.")
> + (define-abbrev-table 'perl-mode-abbrev-table ())
> +
> (defvar perl-mode-map
> (let ((map (make-sparse-keymap)))
> (define-key map "{" 'perl-electric-terminator)
Yes...
I applied the patch, and re-evaluated. Prior to the patch it failed, after the
patch it worked.
Good work!
Kevin
- --
Kevin A. Burton ( burton@apache.org, burton@openprivacy.org, burton@peerfear.org )
Location - San Francisco, CA, Cell - 415.595.9965
Jabber - burtonator@jabber.org, Web - http://www.peerfear.org/
IRC - openprojects.net #infoanarchy | #p2p-hackers | #reptile
The demonstration of the level of human stupidity is directly proportional to
their level of technological accomplishment.
-- Burton's law
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt
iD8DBQE9GQJnAwM6xb2dfE0RAopCAJ9QEeyNOqYn2rUOlCqkaWlYmzoJmgCeL3Ia
RLaZnvmEEng0Vq6X22YJKtU=
=ND1H
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-06-25 23:53 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-23 19:57 [pretest] Symbol's value as variable is void: perl-mode-abbrev-table Kevin A. Burton
[not found] ` <200206241939.g5OJdSm26203@aztec.santafe.edu>
2002-06-24 19:49 ` Kevin A. Burton
2002-06-25 23:32 ` Richard Stallman
2002-06-25 23:53 ` Kevin A. Burton
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).