aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/forms.el (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Update years in copyright notice; nfc.Thien-Thi Nguyen2006-02-061-1/+1
|
* 2005-09-25 Romain Francoise <romain@orebokech.com>Romain Francoise2005-09-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * dired-aux.el (dired-copy-file-recursive): * dired.el (dired-delete-file): * ediff-mult.el (ediff-dir-diff-copy-file): * ediff-util.el (ediff-test-save-region): * forms.el (forms-mode): * ido.el (ido-file-internal, ido-delete-file-at-head): * log-edit.el (log-edit-done): * ses.el (ses-yank-resize): * play/gomoku.el (gomoku-human-plays, gomoku) (gomoku-human-resigns, gomoku-prompt-for-other-game) (gomoku-offer-a-draw): * play/landmark.el (lm-human-resigns, lm): * net/eudcb-ldap.el (eudc-ldap-check-base): * play/mpuz.el (mpuz-offer-abort, mpuz-try-letter, mpuz-close-game): * progmodes/ebrowse.el (ebrowse-find-pattern): * progmodes/idlw-shell.el (idlwave-shell-set-bp-check): * textmodes/reftex-index.el (reftex-index-initialize-phrases-buffer): End `yes-or-no-p' and `y-or-n-p' prompts with question mark and space. * vc.el (vc-delete-file): * play/gomoku.el (gomoku-terminate-game, gomoku) (gomoku-prompt-for-move, gomoku-human-takes-back): * play/landmark.el (lm-human-takes-back, lm-prompt-for-move) (lm-start-robot, lm-human-plays): Remove extraneous spaces in messages.
* Update years in copyright notice; nfc.Thien-Thi Nguyen2005-08-061-1/+2
|
* Update FSF's address.Lute Kamstra2005-07-041-2/+2
|
* (forms--intuit-from-file): Fix reference to `forms-number-of-fields' in ↵Juanma Barranquero2005-06-141-3/+3
| | | | | | | error message. (forms-print): Fix quoting in error message. (forms-mode): Fix quoting in docstring.
* (forms-mode): Use run-mode-hooks.Lute Kamstra2005-05-261-1/+1
|
* Replace `eval-current-buffer' by `eval-buffer'.Juanma Barranquero2005-05-181-2/+2
|
* Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-196Miles Bader2004-04-101-6/+1
| | | | | | | | | | | | | | | | | | | Remove RCS keywords 2004-04-10 Miles Bader <miles@gnu.org> RCS keyword removal (only non-comment changes are enumerated here): * lisp/emacs-lisp/bytecomp.el (byte-compile-version): Variable removed. (byte-compile-insert-header): Don't use `byte-compile-version'. * lisp/url/url-vars.el (url-version): Use the constant string "Emacs" instead of calculating something from the RCS `State' keyword [the latter is almost entirely useless anyway]. * lisp/forms.el (forms-version): Variable removed. (forms-mode): Don't use `forms-version'. * lisp/recentf.el (recentf-version): Variable removed. * lisp/progmodes/delphi.el (delphi-version): Variable removed. * lisp/progmodes/ada-mode.el (ada-mode): RCS keyword removed from docstring.
* Add arch taglinesMiles Bader2003-09-011-2/+3
|
* (forms-mode-hook): Rename from forms-mode-hooks.Stefan Monnier2003-05-291-73/+49
| | | | | | | | | | | | (forms-mode): Use add-hook rather than make-local-variable+setq. Use with-current-buffer. Run the new and the old hooks. (forms--update): Use with-current-buffer and line-end-position. (forms--goto-record): New fun. (forms-jump-record, forms-insert-record, forms-delete-record): Use it. (forms--process-format-list): Remove unused var `this-item'. (forms--intuit-from-file): Remove unused var `the-result'. (forms--trans): Remove unused var `x'. (forms--exit, forms-exit, forms-exit-no-save): Remove unused arg.
* (forms-mode): Use write-file-functions instead of local-write-file-hooks.Richard M. Stallman2003-05-281-7/+7
| | | | Use make-local-variable to make it local.
* (forms--mode-commands1): Bind \t, not `tab'.Richard M. Stallman2003-05-231-5/+3
| | | | | (forms--mode-commands): Don't bind \t in the maps where we call forms--mode-commands1.
* Trailing whitespace deleted.Juanma Barranquero2003-02-041-78/+78
|
* (forms--change-commands): Use command remapping instead ofAndreas Schwab2003-01-121-15/+7
| | | | substitute-key-definition.
* (forms-jump-record, forms-insert-record, forms-delete-record): CalculatePavel Janík2002-05-181-5/+8
| | | | | lines from the beginning of the accessible portion rather than from the beginning of the buffer.
* Some fixes to follow coding conventions.Pavel Janík2001-07-161-4/+4
|
* (forms-mode-hooks): Fix :type.Dave Love2001-02-071-4/+4
|
* Use new backquote syntax.Gerd Moellmann1999-11-131-88/+88
| | | | | (forms--make-format-elt-using-text-properties): Treat `intangible' differently.
* forms-save-buffer): Call set-buffer-modified-p toEli Zaretskii1999-05-311-5/+18
| | | | | | force the data buffer to be saved, even if the data didn't change, in case the write filter was modified. Restore the current record after read-file-filter finishes.
* (forms-mode): Don't call forms-first-record orKarl Heuer1999-05-011-28/+33
| | | | forms-last-record if the data file has zero records.
* (forms--show-record): Convert integers to stringRichard M. Stallman1999-01-151-4/+6
| | | | | | expicitly since concat will no longer accept integers. (forms-print): Use local `total-nb-records' since `forms--total-records' will be inaccessible after buffer switching.
* Comment fix.Karl Heuer1998-10-061-3/+3
|
* (forms-mode): Doc fix (remove slashes from keybindings).Stephen Eglen1998-07-171-15/+15
|
* Further doc fix.Richard M. Stallman1997-08-271-3/+3
|
* (forms-read-only): Un-customize, and doc fix.Richard M. Stallman1997-08-271-7/+5
|
* Customized.Richard M. Stallman1997-08-191-27/+49
|
* (forms-mode, forms--process-format-list)Richard M. Stallman1997-06-111-48/+57
| | | | | | | | | | | (forms--make-parser-elt, forms-search-forward, forms-search-backward): Fix error messages. (forms-save-buffer): Do not run the `write-file-filter' hooks explicitly since they are run via `local-write-file-hooks'. (forms-search-forward, forms-search-backward): Wrap the search. Use `error' to signal failure.
* Use `error' where possible to signal errors.Karl Heuer1997-06-101-80/+75
| | | | | | | | | | | | Remove (beep)s for warnings. Change comment about the iif hook to reflect the actual reason. Correct error in field numbering. (forms-mode): Make `forms--elements' local before calling `forms--process-format-list'. (forms-save-buffer): `forms-write-file-filter' and `forms-read-file-filter' were not called correctly.
* (forms-insert-after): New variable. Non-nil means: inserts of newJohan Vromans1996-03-011-13/+31
| | | | | | records go after current record, also initial position is at last record. (forms-mode, forms-insert-record): Use it.
* (forms--process-format-list): Fix error format string.Karl Heuer1996-01-291-6/+6
|
* (forms-mode, forms-toggle-read-only): Fix message text.Karl Heuer1996-01-251-7/+7
| | | | (forms-search-forward, forms-search-backward): Likewise.
* (forms--help, forms-search-forward, forms-search-backward): Pass proper ↵Karl Heuer1996-01-251-5/+5
| | | | format string to message.
* Update FSF's address.Erik Naggum1996-01-141-262/+263
|
* (forms-toggle-read-only, forms-enumerate): Doc fix.Karl Heuer1996-01-041-9/+9
|
* Use `buffer-substring-no-properties' instead of `buffer-substring' toJohan Vromans1995-11-161-11/+11
| | | | avoid the properties being copied.
* Comment change.Richard M. Stallman1995-10-301-4/+5
|
* Comment change.Richard M. Stallman1995-10-281-3/+3
|
* (forms-check-number-of-fields): New vbl.Richard M. Stallman1995-08-141-5/+15
| | | | (forms-mode): Don't issue warning if vbl says not to.
* (forms-mode): treat local-write-file-hooks as a list.Johan Vromans1995-07-081-3/+3
|
* Withdraw mouse-major-mode-map modifications.Johan Vromans1995-06-181-4/+2
| | | | They were erroneous and not needed.
* (forms--mode-menu-edit,forms--mode-menu-ro):Richard M. Stallman1995-06-171-2/+4
| | | | Set `mouse-major-mode-menu'.
* (forms--mode-menu-ro, forms--mode-menu-edit): Fix capitalization in menu bar.Karl Heuer1995-05-301-24/+24
|
* (forms--mode-commands): Delete C-c ? binding.Richard M. Stallman1995-05-021-2/+1
|
* (forms--make-format-elt-using-text-properties)Richard M. Stallman1995-04-251-9/+16
| | | | | | | forms--make-format): Add `intangible' text property to read-only areas. (forms-next-field, forms-previous-field): Use `inhibit-point-motion-hooks' to allow move between two intangible areas.
* Bump version.Johan Vromans1995-01-051-4/+4
|
* Change forms-search to forms-search-forward, and addJohan Vromans1995-01-051-17/+176
| | | | | | | | forms-search-backward. (forms--mode-menu-ro, forms--mode-menu-edit): New functions to create a pulldown menu in the menubar. (forms--mode-commands): Call them for the edit and view mode. (forms-print): New function.
* (forms--update): Undo change made mistakenly.Richard M. Stallman1994-07-261-5/+5
|
* (forms-read-file-filter): new hook function toRichard M. Stallman1994-07-261-33/+155
| | | | | | | | | | | | | | | | | | | | | | | preprocess file contents before being passed to forms mode. (forms-write-file-filter): new hook function to preprocess file contents before it is being saved to disk. Can be used to undo the effects of `forms-read-file-filter'. (forms-mode): Supply a default format if no `forms-format-list' was specified. Preprocess file contents using `forms-read-file-filter' and attach `forms-write-file-filter' to the `local-write-file-hooks' of the file buffer. Present a friendly message if the visited file is empty or new. (forms--intuit-from-file): New subroutine to get the number of fields from the data file; constructs a default format list. (forms-save-buffer): Forms mode wrapper for `save-buffer'. (forms--change-commands, forms--exit): Use it. (forms--update): Check for the presence of the field separator in any of the fields. Refuse update if found. (forms-delete-record): Allow the last record of the file to be deleted, even if not terminated by a newline. (forms--local-write-file-function): Remove. Didn't do any good. Replaced by `forms-save-buffer'.
* (forms-delete-record): Handle deletion of last lineRichard M. Stallman1994-07-171-5/+5
| | | | when it has no terminating newline.
* (forms-mode): Plug security hole by disabling `eval-buffer' unlessRichard M. Stallman1994-06-131-24/+36
| | | | | | | | | | | | `enable-local-eval' is set to t. Correct setting of `forms--mode-setup'. (forms--local-write-file-function): New function to be used as `local-write-file-hooks'. (forms-mode): Use it. (forms-find-file,forms-find-file-other-window): Locally set `enable-local-eval' and `enable-local-variables' to t. (forms-find-file-other-window): Remove extraneous call to `eval-current-buffer'.