OSDN Git Service

add French menu
authorHIRAOKA Kazuyuki <khi@users.osdn.me>
Mon, 12 Feb 2018 13:42:42 +0000 (22:42 +0900)
committerHIRAOKA Kazuyuki <khi@users.osdn.me>
Mon, 12 Feb 2018 14:04:23 +0000 (23:04 +0900)
18 files changed:
ChangeLog
Makefile.am
Makefile.in
bcomp.el
configure
configure.ac
doc/README-j.html
doc/README.ja.rd
fr/0000-00-00-000000.txt [new file with mode: 0644]
fr/ChangeLog [new file with mode: 0644]
fr/Makefile.am [new file with mode: 0644]
fr/Makefile.in [new file with mode: 0644]
howm-lang-fr.el [new file with mode: 0644]
howm-menu-fr.el [new file with mode: 0644]
howm-mkmenu.el
howm-vars.el
howm.el
howm.el.in

index 46454cd..94c6d3c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,18 @@
+2018-02-12  HIRAOKA Kazuyuki  <khi@users.osdn.me>
+
+       * howm-lang-fr.el: added for French menu
+       thx > http://piratepad.net/ZNywUOscRL
+
+       * howm-vars.el (howm-menu-lang): add 'fr' for French menu
+
+       * howm-mkmenu.el (howm-mkmenu-rules): ditto.
+
+       * howm.el.in: ditto.
+
+       * configure.ac: ditto.
+
+       * Makefile.am: ditto.
+
 2018-01-02  HIRAOKA Kazuyuki  <khi@users.osdn.me>
 
        * ChangeLog: update URL
index 4a0a2e4..3faccb5 100644 (file)
@@ -13,8 +13,10 @@ howm_LISP = \
        howm-common.el \
        howm-vars.el \
        howm-lang-en.el \
+       howm-lang-fr.el \
        howm-lang-ja.el \
        howm-menu-en.el \
+       howm-menu-fr.el \
        howm-menu-ja.el \
        honest-report.el \
        action-lock.el \
@@ -26,10 +28,14 @@ howm_LISP = \
 EXTRA_DIST = Makefile.old bcomp.el howm-mkmenu.el $(howm_LISP) \
        bcomp.el.in howm.el.in test.bat
 BUILT_SOURCES = $(srcdir)/howm.el $(srcdir)/bcomp.el
-SUBDIRS = doc ext en ja sample
+SUBDIRS = doc ext en fr ja sample
 
-MENU_SRC = en/0000-00-00-000000.txt ja/0000-00-00-000000.txt
-MENU_EL = $(srcdir)/howm-menu-en.el $(srcdir)/howm-menu-ja.el
+MENU_SRC = en/0000-00-00-000000.txt \
+       fr/0000-00-00-000000.txt \
+       ja/0000-00-00-000000.txt
+MENU_EL = $(srcdir)/howm-menu-en.el \
+       $(srcdir)/howm-menu-fr.el \
+       $(srcdir)/howm-menu-ja.el
 TEST_INIT = sample/dot.emacs
 
 AM_MAKEFLAGS = HOWM_MAKE=t
index 137c186..eacbe72 100644 (file)
@@ -156,10 +156,10 @@ howmLISP_INSTALL = $(INSTALL_DATA)
 LISP = $(howm_LISP)
 am__ELFILES = action-lock.el cheat-font-lock.el gfunc.el \
        honest-report.el howm-backend.el howm-common.el howm-date.el \
-       howm-lang-en.el howm-lang-ja.el howm-menu-en.el \
-       howm-menu-ja.el howm-menu.el howm-misc.el howm-mode.el \
-       howm-reminder.el howm-vars.el howm-view.el howm.el illusion.el \
-       riffle.el
+       howm-lang-en.el howm-lang-fr.el howm-lang-ja.el \
+       howm-menu-en.el howm-menu-fr.el howm-menu-ja.el howm-menu.el \
+       howm-misc.el howm-mode.el howm-reminder.el howm-vars.el \
+       howm-view.el howm.el illusion.el riffle.el
 am__ELCFILES = $(am__ELFILES:.el=.elc)
 ELCFILES = $(LISP:.el=.elc)
 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive        \
@@ -334,8 +334,10 @@ howm_LISP = \
        howm-common.el \
        howm-vars.el \
        howm-lang-en.el \
+       howm-lang-fr.el \
        howm-lang-ja.el \
        howm-menu-en.el \
+       howm-menu-fr.el \
        howm-menu-ja.el \
        honest-report.el \
        action-lock.el \
@@ -348,9 +350,15 @@ EXTRA_DIST = Makefile.old bcomp.el howm-mkmenu.el $(howm_LISP) \
        bcomp.el.in howm.el.in test.bat
 
 BUILT_SOURCES = $(srcdir)/howm.el $(srcdir)/bcomp.el
-SUBDIRS = doc ext en ja sample
-MENU_SRC = en/0000-00-00-000000.txt ja/0000-00-00-000000.txt
-MENU_EL = $(srcdir)/howm-menu-en.el $(srcdir)/howm-menu-ja.el
+SUBDIRS = doc ext en fr ja sample
+MENU_SRC = en/0000-00-00-000000.txt \
+       fr/0000-00-00-000000.txt \
+       ja/0000-00-00-000000.txt
+
+MENU_EL = $(srcdir)/howm-menu-en.el \
+       $(srcdir)/howm-menu-fr.el \
+       $(srcdir)/howm-menu-ja.el
+
 TEST_INIT = sample/dot.emacs
 AM_MAKEFLAGS = HOWM_MAKE=t
 all: $(BUILT_SOURCES)
index ae52cd6..6c95c5d 100644 (file)
--- a/bcomp.el
+++ b/bcomp.el
@@ -3,7 +3,7 @@
 
 (setq bcomp-files
       '(
-       "howm.el" "howm-menu.el" "howm-reminder.el" "howm-date.el" "howm-misc.el" "howm-mode.el" "howm-view.el" "howm-backend.el" "howm-common.el" "howm-vars.el" "howm-lang-en.el" "howm-lang-ja.el" "howm-menu-en.el" "howm-menu-ja.el" "honest-report.el" "action-lock.el" "riffle.el" "gfunc.el" "illusion.el" "cheat-font-lock.el" 
+       "howm.el" "howm-menu.el" "howm-reminder.el" "howm-date.el" "howm-misc.el" "howm-mode.el" "howm-view.el" "howm-backend.el" "howm-common.el" "howm-vars.el" "howm-lang-en.el" "howm-lang-fr.el" "howm-lang-ja.el" "howm-menu-en.el" "howm-menu-fr.el" "howm-menu-ja.el" "honest-report.el" "action-lock.el" "riffle.el" "gfunc.el" "illusion.el" "cheat-font-lock.el" 
        ))
 
 (let* ((dir (expand-file-name default-directory))
index 6481ed4..3e64a65 100755 (executable)
--- a/configure
+++ b/configure
@@ -2825,7 +2825,7 @@ if test `cd ${srcdir}; pwd` != `pwd`; then
 #  AC_CONFIG_LINKS(doc/howm.info:doc/howm.info)
 fi
 
-ac_config_files="$ac_config_files Makefile doc/Makefile ext/Makefile en/Makefile ja/Makefile sample/Makefile howm.el"
+ac_config_files="$ac_config_files Makefile doc/Makefile ext/Makefile sample/Makefile en/Makefile fr/Makefile ja/Makefile howm.el"
 
 cat >confcache <<\_ACEOF
 # This file is a shell script that caches the results of configure
@@ -3561,9 +3561,10 @@ do
     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
     "ext/Makefile") CONFIG_FILES="$CONFIG_FILES ext/Makefile" ;;
+    "sample/Makefile") CONFIG_FILES="$CONFIG_FILES sample/Makefile" ;;
     "en/Makefile") CONFIG_FILES="$CONFIG_FILES en/Makefile" ;;
+    "fr/Makefile") CONFIG_FILES="$CONFIG_FILES fr/Makefile" ;;
     "ja/Makefile") CONFIG_FILES="$CONFIG_FILES ja/Makefile" ;;
-    "sample/Makefile") CONFIG_FILES="$CONFIG_FILES sample/Makefile" ;;
     "howm.el") CONFIG_FILES="$CONFIG_FILES howm.el" ;;
 
   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
index 92a7421..2f17c9b 100644 (file)
@@ -166,4 +166,8 @@ if test `cd ${srcdir}; pwd` != `pwd`; then
 #  AC_CONFIG_LINKS(doc/howm.info:doc/howm.info)
 fi
 
-AC_OUTPUT([Makefile doc/Makefile ext/Makefile en/Makefile ja/Makefile sample/Makefile howm.el])
+AC_OUTPUT([
+  Makefile doc/Makefile ext/Makefile sample/Makefile
+  en/Makefile fr/Makefile ja/Makefile
+  howm.el
+])
index b51f089..4a5a64d 100644 (file)
@@ -1291,6 +1291,15 @@ make test</pre></li>
 <h3><a name="label-19" id="label-19">¹¹¿·µ­Ï¿</a></h3><!-- RDLabel: "¹¹¿·µ­Ï¿" -->
 <p>thx &gt; patch¡¦²þÎÉ°Æ¡¦»ØŦ¤ò¤¯¤À¤µ¤Ã¤¿³§ÍÍ</p>
 <ul>
+<li>¥¹¥Ê¥Ã¥×¥·¥ç¥Ã¥ÈÈÇ
+<ul>
+<li>[2018-02-12]
+<ul>
+<li>autotools ¤Þ¤ï¤ê¤òÁݽü</li>
+<li>¥Õ¥é¥ó¥¹¸ì¥á¥Ë¥å¡¼¤òÄɲÃ
+      <a href="http://piratepad.net/ZNywUOscRL">thx</a></li>
+</ul></li>
+</ul></li>
 <li>¥ê¥ê¡¼¥¹ÈÇ howm-1.4.4 [2016-12-31]
 <ul>
 <li>¥Ð¥¤¥È¥³¥ó¥Ñ¥¤¥ë»þ¤Î·Ù¹ð¤ò²óÈò
index d6134c3..52bcb23 100644 (file)
@@ -927,6 +927,12 @@ Emacs 
 
 thx > patch¡¦²þÎÉ°Æ¡¦»ØŦ¤ò¤¯¤À¤µ¤Ã¤¿³§ÍÍ
 
+* ¥¹¥Ê¥Ã¥×¥·¥ç¥Ã¥ÈÈÇ
+  * [2018-02-12]
+    * autotools ¤Þ¤ï¤ê¤òÁݽü
+    * ¥Õ¥é¥ó¥¹¸ì¥á¥Ë¥å¡¼¤òÄɲÃ
+      ((<thx|URL:http://piratepad.net/ZNywUOscRL>))
+
 * ¥ê¥ê¡¼¥¹ÈÇ howm-1.4.4 [2016-12-31]
   * ¥Ð¥¤¥È¥³¥ó¥Ñ¥¤¥ë»þ¤Î·Ù¹ð¤ò²óÈò
     * cl ¤ò¤ä¤á¤Æ cl-lib ¤ò»È¤¦
diff --git a/fr/0000-00-00-000000.txt b/fr/0000-00-00-000000.txt
new file mode 100644 (file)
index 0000000..4fa64c2
--- /dev/null
@@ -0,0 +1,98 @@
+= <<< %menu%
+ %"e"[Se souvenir] %"c"[Nouveau] %"D"[Dup] Search(%"s"[Chaine] %"g"[Regexp] %"o"[Occurences])
+ %"a"[Tout] %"l"[Récent] %"A"[Autour] %"y"[Programme] %"t"[A faire] %"b"[Fichiers tampons] %"x"[Repères]
+ %"K"[<Titre] [<Nom] %"d"[Date>] %"i"[Clé>] %"r"[Màj] %"w"[Parcours aléatoire] [Tout tuer]
+ %"."[Aujourd'hui] %":"[Hier] %"h"[Historique] %"R"[Màj du Menu] [Editer le menu] [Préferences]
+-------------------------------------
+[Schedule, Todo] -- @schedule, !deadline (until %sdays days from now)
+!deadline, +todo, -reminder, ~defer (top %tnum entries)
+%reminder
+-------------------------------------
+Recent
+%recent
+-------------------------------------
+Random -- If you do not like this, [Editer le menu] to erase it.
+%random
+-------------------------------------
+
+Format of schedule and todo (Please replace {} with []):
+{2002-10-21}@1  schedule -- (shown in schedule part. @3 = "3 days schedule to 10-23")
+{2002-10-21}+7  todo -- float up slowly from the date in 7 days
+{2002-10-21}!7  deadline -- float up fast from 7 days before the date
+{2002-10-21}-1  reminder -- float at the date and sink slowly one unit per 1 day
+{2002-10-21}~30 defer -- float at the date and repeat sinking and floating with 30 days period
+{2002-10-21}.   done -- sink forever
+(Numbers after marks are default values.)
+
+How to remember:
+* Schedule at(@) the date
+* Reminder sinks down(-).
+* Todo floats up(+).
+* Deadline needs attention!
+* Defer waves(~) up and down.
+* Done is the end(.).
+
+-------------------------------------
+
+You can edit this menu itself.
+>>> %Editing Menu%
+
+
+= <<< %Editing Menu%
+[Editer le menu] Hit RET on the left button to edit this menu.
+[Màj du Menu] Hit RET on the left button to update this menu.
+--------------------------------------------------------
+
+*** Format of the menu file ***
+(Please hit RET on [Editer le menu] and read the source file.)
+
+== Basic format
+
+As you see...
+
+* [xxx] is button.
+* %REMINDER (in small letters) is schedule and todo list.
+* %RECENT (in small letters) is list of recent entries.
+* %RANDOM (in small letters) is list of random entries.
+
+You can arrange their places as you like.
+Writing favorite files or goto links may be also convenient.
+(ex) file:///etc/services   >>> wiki
+
+== Shortcut
+
+%"foo"[Tout]
+This is displayed as foo[Tout], and the key "f" executes [Tout].
+Exactly speaking, it executes the following sequence:
+(1) move to closing ", (2) move to next underline, and (3) hit it.
+
+%"bar%"
+If you put % at the tail like this, the key "b" means "move cursor here".
+
+== For lispers
+
+Display:
+%here%howm-congrats-count ;; embed value of variable howm-congrats-count
+%here%(howm-menu-search "search")
+;; embed result of (...), that is, search "search" and embed matched lines
+Functions must be registered for safety.
+(setq howm-menu-allow (append '(foo bar) howm-menu-allow)) ;; allow foo, bar
+
+Action:
+%eval%(message (buffer-name))  ;; evaluate S expr
+%call%find-file  ;; call function interactively
+Both are evaluated in the previous buffer before raising menu.
+
+== Hiding
+
+'%' + '|' toggles invisibility
+like this: visible%|invisible%|appear%|disappear  - until the end of line
+(Newline is removed when the end of line is invisible.)
+
+== Multiple menus
+
+Links to %xxx% open "<< < %xxx%" with menu-mode: >>> %menu%
+When you add new menu, [[%menu%]] may be more convenient because corresponding
+entry is generated automatically.
+
+%eval%(howm-menu-open "00000000-000000.txt")  -- open file with menu-mode
diff --git a/fr/ChangeLog b/fr/ChangeLog
new file mode 100644 (file)
index 0000000..55fdba9
--- /dev/null
@@ -0,0 +1,4 @@
+2018-02-12  HIRAOKA Kazuyuki  <khi@users.osdn.me>
+
+       * 0000-00-00-000000.txt: added for French menu
+
diff --git a/fr/Makefile.am b/fr/Makefile.am
new file mode 100644 (file)
index 0000000..c37714d
--- /dev/null
@@ -0,0 +1,6 @@
+EXTRA_DIST = 0000-00-00-000000.txt
+
+Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+       cd $(top_builddir) && \
+       CONFIG_HEADERS= CONFIG_LINKS= \
+       CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
diff --git a/fr/Makefile.in b/fr/Makefile.in
new file mode 100644 (file)
index 0000000..7ed6961
--- /dev/null
@@ -0,0 +1,385 @@
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+@SET_MAKE@
+VPATH = @srcdir@
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__make_running_with_option = \
+  case $${target_option-} in \
+      ?) ;; \
+      *) echo "am__make_running_with_option: internal error: invalid" \
+              "target option '$${target_option-}' specified" >&2; \
+         exit 1;; \
+  esac; \
+  has_opt=no; \
+  sane_makeflags=$$MAKEFLAGS; \
+  if $(am__is_gnu_make); then \
+    sane_makeflags=$$MFLAGS; \
+  else \
+    case $$MAKEFLAGS in \
+      *\\[\ \  ]*) \
+        bs=\\; \
+        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+          | sed "s/$$bs$$bs[$$bs $$bs  ]*//g"`;; \
+    esac; \
+  fi; \
+  skip_next=no; \
+  strip_trailopt () \
+  { \
+    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+  }; \
+  for flg in $$sane_makeflags; do \
+    test $$skip_next = yes && { skip_next=no; continue; }; \
+    case $$flg in \
+      *=*|--*) continue;; \
+        -*I) strip_trailopt 'I'; skip_next=yes;; \
+      -*I?*) strip_trailopt 'I';; \
+        -*O) strip_trailopt 'O'; skip_next=yes;; \
+      -*O?*) strip_trailopt 'O';; \
+        -*l) strip_trailopt 'l'; skip_next=yes;; \
+      -*l?*) strip_trailopt 'l';; \
+      -[dEDm]) skip_next=yes;; \
+      -[JT]) skip_next=yes;; \
+    esac; \
+    case $$flg in \
+      *$$target_option*) has_opt=yes; break;; \
+    esac; \
+  done; \
+  test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
+pkgdatadir = $(datadir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkglibexecdir = $(libexecdir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+subdir = fr
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
+       $(top_srcdir)/mkinstalldirs ChangeLog
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
+       $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+       $(ACLOCAL_M4)
+mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+AM_V_P = $(am__v_P_@AM_V@)
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_@AM_V@)
+am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
+am__v_GEN_0 = @echo "  GEN     " $@;
+am__v_GEN_1 = 
+AM_V_at = $(am__v_at_@AM_V@)
+am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
+am__v_at_0 = @
+am__v_at_1 = 
+SOURCES =
+DIST_SOURCES =
+am__can_run_installinfo = \
+  case $$AM_UPDATE_INFO_DIR in \
+    n|no|NO) false;; \
+    *) (install-info --version) >/dev/null 2>&1;; \
+  esac
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = @ACLOCAL@
+AMTAR = @AMTAR@
+AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+CVS = @CVS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EMACS = @EMACS@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+MAINT = @MAINT@
+MAKEINFO = @MAKEINFO@
+MKDIR_P = @MKDIR_P@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_URL = @PACKAGE_URL@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+STRIP = @STRIP@
+VERSION = @VERSION@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+am__leading_dot = @am__leading_dot@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+builddir = @builddir@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+extdir = @extdir@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+howmdir = @howmdir@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+lispdir = @lispdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+packagedir = @packagedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+sysconfdir = @sysconfdir@
+target_alias = @target_alias@
+top_build_prefix = @top_build_prefix@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+EXTRA_DIST = 0000-00-00-000000.txt
+all: all-am
+
+.SUFFIXES:
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
+       @for dep in $?; do \
+         case '$(am__configure_deps)' in \
+           *$$dep*) \
+             ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+               && { if test -f $@; then exit 0; else break; fi; }; \
+             exit 1;; \
+         esac; \
+       done; \
+       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu fr/Makefile'; \
+       $(am__cd) $(top_srcdir) && \
+         $(AUTOMAKE) --gnu fr/Makefile
+.PRECIOUS: Makefile
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
+       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+tags TAGS:
+
+ctags CTAGS:
+
+cscope cscopelist:
+
+
+distdir: $(DISTFILES)
+       @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+       topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+       list='$(DISTFILES)'; \
+         dist_files=`for file in $$list; do echo $$file; done | \
+         sed -e "s|^$$srcdirstrip/||;t" \
+             -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+       case $$dist_files in \
+         */*) $(MKDIR_P) `echo "$$dist_files" | \
+                          sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+                          sort -u` ;; \
+       esac; \
+       for file in $$dist_files; do \
+         if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+         if test -d $$d/$$file; then \
+           dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+           if test -d "$(distdir)/$$file"; then \
+             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+           fi; \
+           if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+             cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+             find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+           fi; \
+           cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+         else \
+           test -f "$(distdir)/$$file" \
+           || cp -p $$d/$$file "$(distdir)/$$file" \
+           || exit 1; \
+         fi; \
+       done
+check-am: all-am
+check: check-am
+all-am: Makefile
+installdirs:
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+       @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+       if test -z '$(STRIP)'; then \
+         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+             install; \
+       else \
+         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+           "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+       fi
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+       -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+       -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+       @echo "This command is intended for maintainers to use"
+       @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic mostlyclean-am
+
+distclean: distclean-am
+       -rm -f Makefile
+distclean-am: clean-am distclean-generic
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+html-am:
+
+info: info-am
+
+info-am:
+
+install-data-am:
+
+install-dvi: install-dvi-am
+
+install-dvi-am:
+
+install-exec-am:
+
+install-html: install-html-am
+
+install-html-am:
+
+install-info: install-info-am
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-pdf-am:
+
+install-ps: install-ps-am
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+       -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-generic
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am:
+
+.MAKE: install-am install-strip
+
+.PHONY: all all-am check check-am clean clean-generic cscopelist-am \
+       ctags-am distclean distclean-generic distdir dvi dvi-am html \
+       html-am info info-am install install-am install-data \
+       install-data-am install-dvi install-dvi-am install-exec \
+       install-exec-am install-html install-html-am install-info \
+       install-info-am install-man install-pdf install-pdf-am \
+       install-ps install-ps-am install-strip installcheck \
+       installcheck-am installdirs maintainer-clean \
+       maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
+       pdf-am ps ps-am tags-am uninstall uninstall-am
+
+
+Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+       cd $(top_builddir) && \
+       CONFIG_HEADERS= CONFIG_LINKS= \
+       CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
diff --git a/howm-lang-fr.el b/howm-lang-fr.el
new file mode 100644 (file)
index 0000000..74cb8b4
--- /dev/null
@@ -0,0 +1,63 @@
+;;; howm-lang-fr.el --- Wiki-like note-taking tool
+;;; Copyright (C) 2005-2018
+;;;   HIRAOKA Kazuyuki <khi@users.osdn.me>
+;;;
+;;; French translation by french-speaking howm users
+;;;
+;;; 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 1, 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.
+;;;
+;;; The GNU General Public License is available by anonymouse ftp from
+;;; prep.ai.mit.edu in pub/gnu/COPYING.  Alternately, you can write to
+;;; the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139,
+;;; USA.
+;;--------------------------------------------------------------------
+
+(require 'howm-common)
+
+(defvar howm-day-of-week-fr '("Dim" "Lun" "Mar" "Mer" "Jeu" "Ven" "Sam"))
+
+(defvar howm-menu-command-table-fr
+  `(
+    ("[Se souvenir]" howm-remember previous)
+    ("[Nouveau]" (lambda () (howm-create ,howm-menu-action-arg)))
+    ("[Ajouter]" (lambda () (howm-create-here ,howm-menu-action-arg)))
+    ("[Dup]" howm-dup)
+    ("[Màj]" howm-initialize-buffer previous)
+    ("[Regexp]" howm-list-grep)
+    ("[Chaine]" howm-list-grep-fixed)
+    ;;         ("[roma]" howm-list-migemo)
+    ("[Aujourd'hui]" howm-find-today)
+    ("[Hier]" howm-find-yesterday)
+    ("[Tout]" howm-list-all)
+    ("[Récent]" howm-list-recent)
+    ("[Autour]" howm-list-around)
+    ("[Programme]" howm-list-schedule)
+    ("[Occurences]" (lambda () (call-interactively 'howm-occur)) previous)
+    ("[Fichiers tampons]" (lambda () (howm-list-buffers ,howm-menu-action-arg)))
+    ("[Repères]" howm-list-mark-ring previous)
+    ("[Historique]" howm-history)
+    ("[<Titre]" howm-keyword-to-kill-ring)
+    ("[<Nom]" (lambda () (howm-keyword-to-kill-ring t)))
+    ("[Clé>]" howm-insert-keyword previous)
+    ("[Date>]" howm-insert-date previous)
+    ("[DateTemps>]" howm-insert-dtime previous)
+    ("[A faire]" howm-list-todo)
+    ("[Tout tuer]" howm-kill-all)
+    ("[Forcer tout tuer]" (lambda () (interactive) (howm-kill-all t)))
+    ("[Editer le menu]" howm-menu-edit current)
+    ("[Màj du Menu]" howm-menu-refresh current)
+    ("[Préferences]" (lambda () (customize-group 'howm)))
+    ("[Parcours aléatoire]" howm-random-walk previous)
+    ))
+
+(provide 'howm-lang-fr)
+
+;;; howm-lang-fr.el ends here
diff --git a/howm-menu-fr.el b/howm-menu-fr.el
new file mode 100644 (file)
index 0000000..6c87f22
--- /dev/null
@@ -0,0 +1,107 @@
+;;; -*- Coding: utf-8-unix -*-
+;;; automatically generated from fr/0000-00-00-000000.txt
+;;; by howm-mkmenu.el.
+
+(require 'howm-vars)
+
+(howm-defconst-risky howm-menu-fr "= <<< %menu%
+ %\"e\"[Se souvenir] %\"c\"[Nouveau] %\"D\"[Dup] Search(%\"s\"[Chaine] %\"g\"[Regexp] %\"o\"[Occurences])
+ %\"a\"[Tout] %\"l\"[Récent] %\"A\"[Autour] %\"y\"[Programme] %\"t\"[A faire] %\"b\"[Fichiers tampons] %\"x\"[Repères]
+ %\"K\"[<Titre] [<Nom] %\"d\"[Date>] %\"i\"[Clé>] %\"r\"[Màj] %\"w\"[Parcours aléatoire] [Tout tuer]
+ %\".\"[Aujourd'hui] %\":\"[Hier] %\"h\"[Historique] %\"R\"[Màj du Menu] [Editer le menu] [Préferences]
+-------------------------------------
+[Schedule, Todo] -- @schedule, !deadline (until %sdays days from now)
+!deadline, +todo, -reminder, ~defer (top %tnum entries)
+%reminder
+-------------------------------------
+Recent
+%recent
+-------------------------------------
+Random -- If you do not like this, [Editer le menu] to erase it.
+%random
+-------------------------------------
+
+Format of schedule and todo (Please replace {} with []):
+{2002-10-21}@1  schedule -- (shown in schedule part. @3 = \"3 days schedule to 10-23\")
+{2002-10-21}+7  todo -- float up slowly from the date in 7 days
+{2002-10-21}!7  deadline -- float up fast from 7 days before the date
+{2002-10-21}-1  reminder -- float at the date and sink slowly one unit per 1 day
+{2002-10-21}~30 defer -- float at the date and repeat sinking and floating with 30 days period
+{2002-10-21}.   done -- sink forever
+(Numbers after marks are default values.)
+
+How to remember:
+* Schedule at(@) the date
+* Reminder sinks down(-).
+* Todo floats up(+).
+* Deadline needs attention!
+* Defer waves(~) up and down.
+* Done is the end(.).
+
+-------------------------------------
+
+You can edit this menu itself.
+>>> %Editing Menu%
+
+
+= <<< %Editing Menu%
+[Editer le menu] Hit RET on the left button to edit this menu.
+[Màj du Menu] Hit RET on the left button to update this menu.
+--------------------------------------------------------
+
+*** Format of the menu file ***
+(Please hit RET on [Editer le menu] and read the source file.)
+
+== Basic format
+
+As you see...
+
+* [xxx] is button.
+* %REMINDER (in small letters) is schedule and todo list.
+* %RECENT (in small letters) is list of recent entries.
+* %RANDOM (in small letters) is list of random entries.
+
+You can arrange their places as you like.
+Writing favorite files or goto links may be also convenient.
+(ex) file:///etc/services   >>> wiki
+
+== Shortcut
+
+%\"foo\"[Tout]
+This is displayed as foo[Tout], and the key \"f\" executes [Tout].
+Exactly speaking, it executes the following sequence:
+(1) move to closing \", (2) move to next underline, and (3) hit it.
+
+%\"bar%\"
+If you put % at the tail like this, the key \"b\" means \"move cursor here\".
+
+== For lispers
+
+Display:
+%here%howm-congrats-count ;; embed value of variable howm-congrats-count
+%here%(howm-menu-search \"search\")
+;; embed result of (...), that is, search \"search\" and embed matched lines
+Functions must be registered for safety.
+(setq howm-menu-allow (append '(foo bar) howm-menu-allow)) ;; allow foo, bar
+
+Action:
+%eval%(message (buffer-name))  ;; evaluate S expr
+%call%find-file  ;; call function interactively
+Both are evaluated in the previous buffer before raising menu.
+
+== Hiding
+
+'%' + '|' toggles invisibility
+like this: visible%|invisible%|appear%|disappear  - until the end of line
+(Newline is removed when the end of line is invisible.)
+
+== Multiple menus
+
+Links to %xxx% open \"<< < %xxx%\" with menu-mode: >>> %menu%
+When you add new menu, [[%menu%]] may be more convenient because corresponding
+entry is generated automatically.
+
+%eval%(howm-menu-open \"00000000-000000.txt\")  -- open file with menu-mode
+")
+
+(provide 'howm-menu-fr)
index f402669..9669594 100644 (file)
@@ -25,6 +25,7 @@
   '(
     ;; (<var> <src> [<src-coding> <dest-coding>]) ==> <var>.el
     (howm-menu-en "en/0000-00-00-000000.txt")
+    (howm-menu-fr "fr/0000-00-00-000000.txt" utf-8-unix utf-8-unix)
     (howm-menu-ja "ja/0000-00-00-000000.txt" euc-jp iso-2022-7bit)
     ))
 
index 6795d08..fccdfa9 100644 (file)
@@ -240,13 +240,21 @@ A file is excluded iff this regexp matches with all the relative paths."
   :group 'howm)
 
 (defcustom howm-menu-lang
-  (if (or (and (boundp 'current-language-environment)
-               (string= current-language-environment "Japanese"))
-          (string-match "^ja" (howm-get-locale)))
-      'ja
-    'en)
+  (let ((lang-table '((fr "French" "^fr")
+                      (ja "Japanese" "^ja"))))
+    (let ((lang (or (and (boundp 'current-language-environment)
+                        current-language-environment)
+                   ""))
+          (locale (howm-get-locale))
+          (ret 'en))
+      (mapc (lambda (rule)
+              (if (or (string= lang (cadr rule))
+                      (string-match (caddr rule) locale))
+                  (setq ret (car rule))))
+            lang-table)
+      ret))
   "*Language of menu."
-  :type '(radio (const en) (const ja))
+  :type '(radio (const en) (const fr) (const ja))
   :group 'howm-menu)
 
 (howm-defcustom-risky howm-menu-file nil
diff --git a/howm.el b/howm.el
index 797a527..c66e974 100644 (file)
--- a/howm.el
+++ b/howm.el
@@ -82,6 +82,7 @@
 ;;; http://noir.s7.xrea.com/pub/zaurus/howmz.el
 
 (howm-require-lang 'en)
+(howm-require-lang 'fr)
 (howm-require-lang 'ja)
 
 ;;; security fix [2006-12-16]
index 59a4565..9b51bc3 100644 (file)
@@ -82,6 +82,7 @@
 ;;; http://noir.s7.xrea.com/pub/zaurus/howmz.el
 
 (howm-require-lang 'en)
+(howm-require-lang 'fr)
 (howm-require-lang 'ja)
 
 ;;; security fix [2006-12-16]