all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Engster <deng@randomsample.de>
To: Andreas Politz <politza@fh-trier.de>
Cc: 9967@debbugs.gnu.org
Subject: bug#9967: 24.0.90; semantic/srecode : Missing require
Date: Sun, 06 Nov 2011 15:59:38 +0100	[thread overview]
Message-ID: <87d3d59u05.fsf@engster.org> (raw)
In-Reply-To: <87aa89zkof.fsf@fh-trier.de> (Andreas Politz's message of "Sun, 06 Nov 2011 10:04:16 +0100")

[-- Attachment #1: Type: text/plain, Size: 356 bytes --]

Andreas Politz writes:
> $ emacs -Q
>
> (require 'srecode)
> M-x srecode-insert RET "file:empty" RET
> => error : "Variable insertion second arg srecode-comment-prefix is not a function"
>
> This function is defined in srecode/filters.el .

I've attached a patch. I'm not sure if that's the best solution, but
please try if it fixes your problem.

-David


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: srecode-diff.patch --]
[-- Type: text/x-patch, Size: 942 bytes --]

=== modified file 'lisp/cedet/srecode/filters.el'
--- lisp/cedet/srecode/filters.el       2011-10-26 21:08:09 +0000
+++ lisp/cedet/srecode/filters.el       2011-11-01 21:11:12 +0000
@@ -26,8 +26,10 @@
 ;;; Code:
 
 (require 'newcomment)
-(require 'srecode/table)
-(require 'srecode/insert)
+
+(declare-function srecode-dictionary-lookup-name "srecode/dictionary")
+(defvar srecode-inserter-variable-current-dictionary)
+
 
 (defun srecode-comment-prefix (str)
   "Prefix each line of STR with the comment prefix characters."

=== modified file 'lisp/cedet/srecode/insert.el'
--- lisp/cedet/srecode/insert.el        2011-10-29 14:24:03 +0000
+++ lisp/cedet/srecode/insert.el        2011-11-01 21:11:12 +0000
@@ -33,6 +33,7 @@
 (require 'srecode/find)
 (require 'srecode/dictionary)
 (require 'srecode/args)
+(require 'srecode/filters)
 
 (defvar srecode-template-inserter-point)
 (declare-function srecode-overlaid-activate "srecode/fields")


  reply	other threads:[~2011-11-06 14:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-06  9:04 bug#9967: 24.0.90; semantic/srecode : Missing require Andreas Politz
2011-11-06 14:59 ` David Engster [this message]
2012-01-29  4:21   ` Chong Yidong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d3d59u05.fsf@engster.org \
    --to=deng@randomsample.de \
    --cc=9967@debbugs.gnu.org \
    --cc=politza@fh-trier.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.