all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* abbrev table in cperl-mode
@ 2010-04-16 11:27 Leo
  2010-04-16 19:12 ` Ilya Zakharevich
  0 siblings, 1 reply; 6+ messages in thread
From: Leo @ 2010-04-16 11:27 UTC (permalink / raw)
  To: emacs-devel; +Cc: Ilya Zakharevich

Hello Ilya,

Is it intended for the abbrevs defined in cperl-mode to be saved to the
abbrev file i.e. these:

......
(let ((prev-a-c abbrevs-changed))
    (define-abbrev-table 'cperl-mode-abbrev-table '(
		("if" "if" cperl-electric-keyword 0)
		("elsif" "elsif" cperl-electric-keyword 0)
		("while" "while" cperl-electric-keyword 0)
		("until" "until" cperl-electric-keyword 0)
		("unless" "unless" cperl-electric-keyword 0)
		("else" "else" cperl-electric-else 0)
		("continue" "continue" cperl-electric-else 0)
		("for" "for" cperl-electric-keyword 0)
		("foreach" "foreach" cperl-electric-keyword 0)
		("formy" "formy" cperl-electric-keyword 0)
		("foreachmy" "foreachmy" cperl-electric-keyword 0)
		("do" "do" cperl-electric-keyword 0)
		("=pod" "=pod" cperl-electric-pod 0)
		("=over" "=over" cperl-electric-pod 0)
		("=head1" "=head1" cperl-electric-pod 0)
		("=head2" "=head2" cperl-electric-pod 0)
		("pod" "pod" cperl-electric-pod 0)
		("over" "over" cperl-electric-pod 0)
		("head1" "head1" cperl-electric-pod 0)
		("head2" "head2" cperl-electric-pod 0)))
	(setq abbrevs-changed prev-a-c))
......

It seems a bit better to define them as system abbrevs.

Leo




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

end of thread, other threads:[~2010-04-17 14:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-16 11:27 abbrev table in cperl-mode Leo
2010-04-16 19:12 ` Ilya Zakharevich
2010-04-16 20:11   ` Leo
2010-04-17  4:48     ` Ilya Zakharevich
2010-04-17 11:21       ` Leo
2010-04-17 14:42       ` Stefan Monnier

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.