Mercurial > emacs
annotate lisp/cdl.el @ 82992:5de4189e659d
Got rid of the rif (window-based redisplay interface) global variable.
src/dispextern.h (PRODUCE_GLYPHS): Use the rif in IT->f, not the global rif.
(rif): Removed.
src/dispnew.c (rif): Removed.
(direct_output_for_insert, direct_output_forward_char, update_frame)
(redraw_overlapped_rows, redraw_overlapping_rows, update_window)
(update_marginal_area, update_text_area, update_window_line)
(set_window_cursor_after_update, scrolling_window): Use the rif of the
current frame, not the global rif.
src/fontset.c: #include termhooks.h, for FRAME_RIF.
(Finternal_char_font): Use the rif of the current frame.
src/frame.c (x_set_frame_parameters): Use the rif of the current frame.
src/keyboard.c (detect_input_pending_run_timers): Use the rif of the
current frame.
src/minibuf.c: #include termhooks.h, for FRAME_RIF.
(read_minibuf): Use the rif of the current frame.
src/term.c (update_begin): Removed rif update hack.
src/termhooks.h (FRAME_RIF): New macro.
src/xdisp.c (init_iterator, expose_frame): Removed rif update hack.
(echo_area_display, x_cursor_to, draw_fringe_bitmap)
(try_window_reusing_current_matrix, try_window_id)
(get_glyph_face_and_encoding, x_get_glyph_overhangs)
(get_char_face_and_encoding, compute_overhangs_and_x, draw_glyphs)
(x_produce_glyphs, x_insert_glyphs, x_clear_end_of_line)
(erase_phys_cursor, display_and_set_cursor, show_mouse_face)
(define_frame_cursor1, x_draw_vertical_border): Use the rif of the
current frame.
src/xfns.c (Fx_create_frame): Removed rif update hack.
src/xterm.c (frame_highlight, frame_unhighlight): Ditto.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-32
author | Karoly Lorentey <lorentey@elte.hu> |
---|---|
date | Fri, 02 Jan 2004 04:22:23 +0000 |
parents | 695cf19ef79e |
children | 6fb026ad601f 375f2633d815 |
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 |
3 ;; Copyright (C) 1993 Free Software Foundation, Inc. | |
4 | |
4866 | 5 ;; Author: ATAE@spva.physics.imperial.ac.uk (Ata Etemadi) |
30294 | 6 ;; Maintainer: FSF |
4866 | 7 ;; Keywords: data |
8 | |
4865 | 9 ;; This file is part of GNU Emacs. |
10 | |
11 ;; GNU Emacs is free software; you can redistribute it and/or modify | |
12 ;; it under the terms of the GNU General Public License as published by | |
13 ;; the Free Software Foundation; either version 2, or (at your option) | |
14 ;; any later version. | |
15 | |
16 ;; GNU Emacs is distributed in the hope that it will be useful, | |
17 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of | |
18 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
19 ;; GNU General Public License for more details. | |
20 | |
21 ;; You should have received a copy of the GNU General Public License | |
14169 | 22 ;; along with GNU Emacs; see the file COPYING. If not, write to the |
23 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, | |
24 ;; Boston, MA 02111-1307, USA. | |
4865 | 25 |
38412
253f761ad37b
Some fixes to follow coding conventions in files maintained by FSF.
Pavel Janík <Pavel@Janik.cz>
parents:
38409
diff
changeset
|
26 ;;; Commentary: |
253f761ad37b
Some fixes to follow coding conventions in files maintained by FSF.
Pavel Janík <Pavel@Janik.cz>
parents:
38409
diff
changeset
|
27 |
4865 | 28 ;;; Code: |
29 | |
30 (defun cdl-get-file (filename) | |
31 "Run file through ncdump and insert result into buffer after point." | |
32 (interactive "fCDF file: ") | |
33 (message "ncdump in progress...") | |
34 (let ((start (point))) | |
35 (call-process "ncdump" nil t nil (expand-file-name filename)) | |
36 (goto-char start)) | |
37 (message "ncdump in progress...done")) | |
38 | |
39 (defun cdl-put-region (filename start end) | |
40 "Run region through ncgen and write results into a file." | |
41 (interactive "FNew CDF file: \nr") | |
42 (message "ncgen in progress...") | |
43 (call-process-region start end "ncgen" | |
44 nil nil nil "-o" (expand-file-name filename)) | |
45 (message "ncgen in progress...done")) | |
46 | |
18383 | 47 (provide 'cdl) |
48 | |
52401 | 49 ;;; arch-tag: b8e95a6e-2387-4077-ad9a-af54b09b8615 |
38409
153f1b1f2efd
Emacs lisp coding convention fixes.
Pavel Janík <Pavel@Janik.cz>
parents:
30294
diff
changeset
|
50 ;;; cdl.el ends here |