Loading ...
Sorry, an error occurred while loading the content.

2228MEPATH

Expand Messages
  • Thomas Hundt
    Feb 26 1:12 PM
    • 0 Attachment
      >> p.s. I did figure out the spelling dictionaries issue: the spell
      >> directory wasn't in my MEPATH.
      >
      > You still using a MEPATH? Not used a MEPATH for years normally put the
      > jasspa directory somewhere where ME automatically finds it and then dump
      > the spelling directories in the spell sub-directory.
      >
      > Jon.

      Hmmm. Yes, I see: /opt/jasspa or /usr/share/jasspa or /usr/local/jasspa
      are the wired-in locations.

      I guess I should be using MEINSTALLPATH to point to the top of my
      install tree, instead of setting MEPATH. It would be a little less
      typing ;-)

      BTW I use the following lame wrapper script to run the thing. It puts
      it in the background, so as not to monopolize the xterm (a la Windows),
      or runs the console version if X11 isn't available.

      #!/bin/sh
      #------------------------------------------------------------
      # me.sh Thundt rev 3 03-Aug-04
      # Wrapper around MicroEmacs; doesn't monopolize xterm
      # Copy into your ~/bin
      #------------------------------------------------------------
      # Rename 'me' to 'me32'. Put this wrapper in ~/bin/me.

      ##set -v # uncomment for debug
      ##set -x

      #-----
      # Make dirs and set paths as needed
      #-----
      if [ ! -d ${HOME}/.jasspa ]; then
      mkdir ${HOME}/.jasspa
      fi

      MEBACKUPPATH="${HOME}/Backup/Jasspa_backups/"
      if [ ! -d ${MEBACKUPPATH} ]; then
      mkdir -p ${MEBACKUPPATH}
      fi

      MEPATH=${HOME}/.jasspa:/home/thundt/App/Jasspa/company:/home/thundt/App/Jasspa/macros:/home/thundt/App/Jasspa/spelling
      export MEBACKUPPATH MEPATH

      #-----
      # Run it in X or console version, as appropriate
      #-----
      if [ "${DISPLAY}x" = "x" ]; then
      /home/thundt/bin/me32 -n $* # no DISPLAY -> run termcap version
      (in fg)
      else
      if [ "$1" = "-n" -o "$2" = "-n" -o "$3" = "-n" -o "$4" = "-n" \
      -o "$5" = "-n" -o "$5" = "-n" -o "$6" = "-n" -o "$7" = "-n" \
      -o "$8" = "-n" -o "$9" = "-n" ]; then
      /home/thundt/bin/me32 $* # user requested non-X; run in fg
      else
      /home/thundt/bin/me32 $* & # X version; run in bg
      fi
      fi



      --
      Thomas Hundt <tom@...> +1-415-867-6698
    • Show all 4 messages in this topic