summaryrefslogtreecommitdiffabout
authorSergey Poznyakoff <gray@gnu.org.ua>2007-05-26 12:55:55 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2007-05-26 12:55:55 (GMT)
commitfc98f567cb8cd3113404b09b70e59e246119e7bb (patch) (side-by-side diff)
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
Diffstat (more/less context) (ignore whitespace changes)
-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 f0b4d97..ca710d5 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 09b2827..76f997e 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 bdaf8e4..f3cd204 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 22cc5d9..4b2f14a 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 0000000..ba30843
--- a/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 0000000..e69de29
--- a/dev/null
+++ b/elisp/mfl-mode.el

Return to:

Send suggestions and report system problems to the System administrator.