all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

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.