all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: kaustuv <kaustuv@stanford.edu>
Subject: Re::Emacs Forms mode.
Date: Fri, 7 Feb 2003 01:31:30 -0800	[thread overview]
Message-ID: <Pine.LNX.4.33.0302070130140.1395-100000@crayt3e.stanford.edu> (raw)

hi,
I am trying to use emacs forms mode to create an addressbook. However I am
unable to enter the data in it. The moment I open a new recoed by C-c C-o
I get a screen as i expect, but for the fact that when i press tab to
move to fields  to enter data in the them it simply takes me to the end of
this record. Is there some way instead of pressing tab to goto the desired
fiels and enter data?

Also I noted if the fields in concern had already data in them (for e.g.
after I modified the data file manually) I could not only go to those
fields by pressing tab but also enter data by modifyin what was written
there. I am adding my address.el below. Can someone suggest what is going
wrong?

;; This is my custom build address book format specification
;; Use M-x forms-mode in this file to enter forms
;; C-c C-o to enter new record *after* the present one (i.e. forms inserts
;; after is true)

  (setq forms-file "address.txt")
  (setq forms-number-of-fields 9)
  (setq forms-read-only nil)
  (setq forms-field-sep ":")
  (setq forms-insert-after t)
  (setq forms-format-list
        (list
         "====== address ======\n\n"
         "Last name  : "    1  "\n\n"
         "First name : "    2  "\n\n"
         "Nick name  : "    3  "\n\n"

        "Street  : "   4      "\n\n"
         "City    : "   5      "\n\n"
         "ZIP     : "   6      "\n\n"
         "Country   : "   7    "\n\n"

          "Email Primary:" 8   "\n\n"
          "Email Secondary:" 9 "\n\n"

         "\n"))
bye

-- 
*******************************************************************************
 Office:-                             *  Residence:
                                      *
 Kaustuv                              *  Kaustuv
 Dept of Geophysics                   *  126, Blackwelder Court,
 Mitchell Building, Room 454          *  Apartment No. L6F,
 Stanford University                  *  Escondido Village,
 Stanford.                            *  Stanford University,
 CA-94305                             *  Stanford, CA - 94305
 United States of America             *  United States of America
 Ph: (650) 725-1331                   *  Ph: (650) 497-5776

                      Email: kaustuv@stanford.edu
                             kaustuv@iitbombay.org
*******************************************************************************

             reply	other threads:[~2003-02-07  9:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-07  9:31 kaustuv [this message]
2003-02-07 10:26 ` :Emacs Forms mode Brendan Halpin
2003-02-07 18:37   ` kaustuv
2003-02-08  2:31 ` Galen Boyer

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=Pine.LNX.4.33.0302070130140.1395-100000@crayt3e.stanford.edu \
    --to=kaustuv@stanford.edu \
    /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.