aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2007-05-26 12:55:55 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2007-05-26 12:55:55 +0000
commitfc98f567cb8cd3113404b09b70e59e246119e7bb (patch)
treee24dbc70ec04178201902191d8b0f1edc04fbda9
parentc81813ef27177dfb1c97892774f39010574e7ca3 (diff)
downloadmailfromd-fc98f567cb8cd3113404b09b70e59e246119e7bb.tar.gz
mailfromd-fc98f567cb8cd3113404b09b70e59e246119e7bb.tar.bz2
Add framework for Emacs MFL Major Mode
git-svn-id: file:///svnroot/mailfromd/trunk@1477 7a8a7f39-df28-0410-adc6-e0d955640f24
-rw-r--r--ChangeLog10
-rw-r--r--Makefile.am2
-rw-r--r--configure.ac9
-rw-r--r--doc/mailfromd.texi1
-rw-r--r--elisp/Makefile.am21
-rw-r--r--elisp/mfl-mode.el0
6 files changed, 41 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index f0b4d970..ca710d51 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2007-05-26 Sergey Poznyakoff <gray@gnu.org.ua>
+
+ * doc/mailfromd.texi: Update
+ * Makefile.am: Update
+ * elisp: New directory
+ * elisp/mfl-mode.el: New file
+ * elisp/Makefile.am: New file
+
2007-05-25 Sergey Poznyakoff <gray@gnu.org.ua>
* src/snarf.m4 (MF_OPTVAL): Fix a leftover bug
@@ -7,7 +15,7 @@
assigned.
* src/bi_dns.m4, src/bi_db.m4: Use MF_OPTVAL insted of MF_DEFINED.
* src/bi_sa.m4: Avoid splitting strings within NLS markers,
- because M4 inserts line directives in between, which cause grief
+ because M4 inserts line directives in between, which causes grief
for many compilers.
* src/Makefile.am (.m4.c): Fix the sed rule
* src/mtasim.c (recursive_rmdir): Do not complain when attempting
diff --git a/Makefile.am b/Makefile.am
index 09b28270..76f997e5 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -17,7 +17,7 @@
# MA 02110-1301 USA
AUTOMAKE_OPTIONS = gnits 1.8.5 std-options
-SUBDIRS = lib gacopyz src mflib po etc doc tests
+SUBDIRS = lib gacopyz src mflib elisp po etc doc tests
ACLOCAL_AMFLAGS = -I m4
distuninstallcheck_listfiles = find . -type f -not -name 'mailfromd.rc' -print
diff --git a/configure.ac b/configure.ac
index bdaf8e45..f3cd2046 100644
--- a/configure.ac
+++ b/configure.ac
@@ -110,6 +110,14 @@ AH_BOTTOM([#ifndef HAVE_ARGCV_UNESCAPE_CHAR
#endif
])
+### Check for Emacs site-lisp directory
+AM_PATH_LISPDIR
+
+if test "$EMACS" != "no"; then
+ lisp_LISP='$(LISPSRC)'
+fi
+AC_SUBST(lisp_LISP)
+
# Gettext.
AM_GNU_GETTEXT([external], [need-formatstring-macros])
AM_GNU_GETTEXT_VERSION([0.16])
@@ -584,6 +592,7 @@ AC_CONFIG_FILES([Makefile
gacopyz/Makefile
src/Makefile
mflib/Makefile
+ elisp/Makefile
po/Makefile.in
etc/Makefile
doc/Makefile])
diff --git a/doc/mailfromd.texi b/doc/mailfromd.texi
index 22cc5d98..4b2f14ac 100644
--- a/doc/mailfromd.texi
+++ b/doc/mailfromd.texi
@@ -9494,6 +9494,7 @@ words:
@item __minor__
@item __package__
@item __patch__
+@item __preproc__
@item __version__
@item accept
@item add
diff --git a/elisp/Makefile.am b/elisp/Makefile.am
new file mode 100644
index 00000000..ba30843d
--- /dev/null
+++ b/elisp/Makefile.am
@@ -0,0 +1,21 @@
+# This file is part of mailfromd
+# Copyright (C) 2007 Sergey Poznyakoff
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301 USA.
+
+LISPSRC = mfl-mode.el
+lisp_LISP=@lisp_LISP@
+EXTRA_DIST=$(LISPSRC)
diff --git a/elisp/mfl-mode.el b/elisp/mfl-mode.el
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/elisp/mfl-mode.el

Return to:

Send suggestions and report system problems to the System administrator.