Mercurial > emacs
view lisp/term/internal.el @ 7977:ebee036f5d20
(gnus-uu-view-directory): Fixed viewing with the
`gnus-uu-asynchronous' variable set.
(gnus-uu-ctl-map): Removed the keystrokes `C-c C-v C-h' and
`C-c C-v h' from the keymap.
(gnus-uu-decode-and-view-all-articles,
(gnus-uu-decode-and-view-all-unread-articles,
(gnus-uu-decode-and-save-all-unread-articles,
(gnus-uu-decode-and-save-all-articles): Accept prefix arg for # files.
(gnus-uu-uustrip-article-as): Waits for uudecode to finish before
further treatment of the resulting files.
(gnus-uu-summary-next-subject): After decoding, if there are no
more unread articles, jump to the last article decoded.
(gnus-uu-post-encoded): Make last posting in a
series always have more than 4 lines.
(gnus-uu-interactive-save-original-file): Fixed
original file save when there's more that one original file.
(gnus-uu-view-file): Rewrote function and fixed
ask before view/save after view.
(gnus-uu-ask-to-save-file): New function.
(gnus-uu-interactive-set-up-windows): New function.
(gnus-uu-interactive-scan-directory) New function.
(gnus-uu-interactive-rescan-directory): New function.
(gnus-uu-ignore-files-by-name, gnus-uu-ignore-files-by-type): New vars.
(gnus-uu-interactive-execute): Change directory to work dir before executing.
(gnus-uu-view-directory, gnus-uu-check-for-generated-files):
Fixed bug deleting generated directories.
(gnus-uu-unpack-archives): Added error message for corrupted archives.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 20 Jun 1994 19:09:24 +0000 |
parents | da74d15b3571 |
children | 6ae78193650e |
line wrap: on
line source
;; internal.el -- setup support for PC keyboards and screens, internal terminal ;; Copyright (C) 1993, 1994 Free Software Foundation, Inc. ;; Author: Morten Welinder <terra@diku.dk> ;; Version: 1,02 ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by ;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, ;; but WITHOUT ANY WARRANTY; without even the implied warranty of ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;; GNU General Public License for more details. ;; You should have received a copy of the GNU General Public License ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. ;; --------------------------------------------------------------------------- ;; screen setup -- that's easy! (standard-display-8bit 127 254) ;; --------------------------------------------------------------------------- ;; keyboard setup -- that's simple! (set-input-mode nil nil 0) (define-key function-key-map [backspace] "\177") ; Normal behaviour for BS (define-key function-key-map [delete] "\C-d") ; ... and Delete (define-key function-key-map [tab] [?\t]) (define-key function-key-map [linefeed] [?\n]) (define-key function-key-map [clear] [11]) (define-key function-key-map [return] [13]) (define-key function-key-map [escape] [?\e]) (define-key function-key-map [M-backspace] [?\M-\d]) (define-key function-key-map [M-delete] [?\M-\d]) (define-key function-key-map [M-tab] [?\M-\t]) (define-key function-key-map [M-linefeed] [?\M-\n]) (define-key function-key-map [M-clear] [?\M-\013]) (define-key function-key-map [M-return] [?\M-\015]) (define-key function-key-map [M-escape] [?\M-\e]) (put 'backspace 'ascii-character 127) (put 'delete 'ascii-character 127) (put 'tab 'ascii-character ?\t) (put 'linefeed 'ascii-character ?\n) (put 'clear 'ascii-character 12) (put 'return 'ascii-character 13) (put 'escape 'ascii-character ?\e) ;; --------------------------------------------------------------------------- ;; We want to do this when Emacs is started because it depends on the ;; country code. (let* ((i 128) (modify (function (lambda (ch sy) (modify-syntax-entry ch sy text-mode-syntax-table) (if (boundp 'tex-mode-syntax-table) (modify-syntax-entry ch sy tex-mode-syntax-table)) (modify-syntax-entry ch sy (standard-syntax-table)) ))) (downs (car (standard-case-table))) (ups (car (cdr (standard-case-table)))) ;; The following are strings of letters, first lower then upper case. ;; This will look funny on terminals which display other code pages. (chars (cond ((= dos-codepage 850) "ķ ·ÆĮ ĩŌÓÔØŨÞĄÖâãĒāęĢéëYėíĄIĢéĪĨÐŅįč") ((= dos-codepage 865) "A AEEEIIIOOUĢUY AĄIĒOĢUĪĨ") ;; default is 437 (t "A AEEEIIIOOUĢUY AĄIĒOĢUĪĨ")))) (while (< i 256) (funcall modify i "_") (setq i (1+ i))) (setq i 0) (while (< i (length chars)) (let ((ch1 (aref chars i)) (ch2 (aref chars (1+ i)))) (funcall modify ch1 "w") (funcall modify ch2 "w") (aset ups ch1 ch2) (if (> ch2 127) (aset downs ch2 ch1)) (setq i (+ i 2)))) (let ((table (list downs ups nil nil))) (save-excursion (mapcar (lambda (b) (progn (set-buffer b) (set-case-table table))) (buffer-list))) (set-standard-case-table table)))