Mercurial > emacs
annotate lisp/cdl.el @ 85454:be5bf5efd2ed
Remove `diff-tree' operation, now subsumed by `diff'.
Also `revision-completion-table' now takes a list of files.
(vc-deduce-fileset): Remove unused var `regexp'.
Only obey allow-directory-wildcard in dired buffers.
(vc-default-diff-tree): Remove.
(vc-diff-added-files): New var.
(vc-diff-internal): Use it. Remove arg `backend'. Update callers.
(vc-version-diff): Revert from `vc-history-diff' to the original name.
Remove the `backend' arg.
(vc-contains-version-controlled-file): Remove.
(vc-diff): Bring it closer to the version in Emacs-22.
(vc-revert): Fix typo in let-binding.
(vc-default-unregister): Remove.
(vc-dired-buffers-for-dir): Remove N^2 behavior.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Fri, 19 Oct 2007 20:59:49 +0000 |
parents | 9355f9b7bbff |
children | 73661ddc7ac7 f55f9811f5d7 |
rev | line source |
---|---|
38409
153f1b1f2efd
Emacs lisp coding convention fixes.
Pavel Janík <Pavel@Janik.cz>
parents:
30294
diff
changeset
|
1 ;;; cdl.el --- Common Data Language (CDL) utility functions for GNU Emacs |
4865 | 2 |
74439 | 3 ;; Copyright (C) 1993, 2001, 2002, 2003, 2004, 2005, |
75347 | 4 ;; 2006, 2007 Free Software Foundation, Inc. |
4865 | 5 |
4866 | 6 ;; Author: ATAE@spva.physics.imperial.ac.uk (Ata Etemadi) |
30294 | 7 ;; Maintainer: FSF |
4866 | 8 ;; Keywords: data |
9 | |
4865 | 10 ;; This file is part of GNU Emacs. |
11 | |
12 ;; GNU Emacs is free software; you can redistribute it and/or modify | |
13 ;; it under the terms of the GNU General Public License as published by | |
78236
9355f9b7bbff
Switch license to GPLv3 or later.
Glenn Morris <rgm@gnu.org>
parents:
75347
diff
changeset
|
14 ;; the Free Software Foundation; either version 3, or (at your option) |
4865 | 15 ;; any later version. |
16 | |
17 ;; GNU Emacs is distributed in the hope that it will be useful, | |
18 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of | |
19 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
20 ;; GNU General Public License for more details. | |
21 | |
22 ;; You should have received a copy of the GNU General Public License | |
14169 | 23 ;; along with GNU Emacs; see the file COPYING. If not, write to the |
64091 | 24 ;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
25 ;; Boston, MA 02110-1301, USA. | |
4865 | 26 |
38412
253f761ad37b
Some fixes to follow coding conventions in files maintained by FSF.
Pavel Janík <Pavel@Janik.cz>
parents:
38409
diff
changeset
|
27 ;;; Commentary: |
253f761ad37b
Some fixes to follow coding conventions in files maintained by FSF.
Pavel Janík <Pavel@Janik.cz>
parents:
38409
diff
changeset
|
28 |
4865 | 29 ;;; Code: |
30 | |
31 (defun cdl-get-file (filename) | |
32 "Run file through ncdump and insert result into buffer after point." | |
33 (interactive "fCDF file: ") | |
34 (message "ncdump in progress...") | |
35 (let ((start (point))) | |
36 (call-process "ncdump" nil t nil (expand-file-name filename)) | |
37 (goto-char start)) | |
38 (message "ncdump in progress...done")) | |
39 | |
40 (defun cdl-put-region (filename start end) | |
41 "Run region through ncgen and write results into a file." | |
42 (interactive "FNew CDF file: \nr") | |
43 (message "ncgen in progress...") | |
44 (call-process-region start end "ncgen" | |
45 nil nil nil "-o" (expand-file-name filename)) | |
46 (message "ncgen in progress...done")) | |
47 | |
18383 | 48 (provide 'cdl) |
49 | |
52401 | 50 ;;; arch-tag: b8e95a6e-2387-4077-ad9a-af54b09b8615 |
38409
153f1b1f2efd
Emacs lisp coding convention fixes.
Pavel Janík <Pavel@Janik.cz>
parents:
30294
diff
changeset
|
51 ;;; cdl.el ends here |