unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* problem with smart-snippet
@ 2007-12-14 19:02 Camille Bourgoin
  2008-02-28  7:15 ` Kevin Rodgers
  0 siblings, 1 reply; 2+ messages in thread
From: Camille Bourgoin @ 2007-12-14 19:02 UTC (permalink / raw)
  To: help-gnu-emacs

Hello,

I have a problem with "smart-snippet.el".
There is my configuration :

;;; snippets
(require 'snippet)
(require 'smart-snippet)
;(define-key snippet-map (kbd "C-i") 'snippet-next-field)
;; RUBY snippets
(snippet-with-abbrev-table 'ruby-mode-abbrev-table
  ('if' 'if $${condition} $.' '(not in-comment?))
  ('if' 'if $${condition}\n$>$.\nend$>\n' 'bol?))

It give to me the error :
Symbol's value as variable is void: ruby-mode-abbrev-table

Any idea ?

-- 
Camille "Mesmento" Bourgoin
jabber : mr.camille@im.apinc.org
http://linuxette.blogspot.com/
http://enarkeenologos.blogspot.com

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

* Re: problem with smart-snippet
  2007-12-14 19:02 problem with smart-snippet Camille Bourgoin
@ 2008-02-28  7:15 ` Kevin Rodgers
  0 siblings, 0 replies; 2+ messages in thread
From: Kevin Rodgers @ 2008-02-28  7:15 UTC (permalink / raw)
  To: help-gnu-emacs

Camille Bourgoin wrote:
> Hello,
> 
> I have a problem with "smart-snippet.el".
> There is my configuration :
> 
> ;;; snippets
> (require 'snippet)
> (require 'smart-snippet)
> ;(define-key snippet-map (kbd "C-i") 'snippet-next-field)
> ;; RUBY snippets
> (snippet-with-abbrev-table 'ruby-mode-abbrev-table
>   ('if' 'if $${condition} $.' '(not in-comment?))
>   ('if' 'if $${condition}\n$>$.\nend$>\n' 'bol?))
> 
> It give to me the error :
> Symbol's value as variable is void: ruby-mode-abbrev-table
> 
> Any idea ?

(require 'ruby) or (require 'ruby-mode)

-- 
Kevin Rodgers
Denver, Colorado, USA





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

end of thread, other threads:[~2008-02-28  7:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-14 19:02 problem with smart-snippet Camille Bourgoin
2008-02-28  7:15 ` Kevin Rodgers

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