view lisp/international/iso-swed.el @ 31383:860d7ac182e3

(vc-rcs-show-log-entry): New function. (vc-rcs-checkin, vc-rcs-checkout): Don't set all properties. (vc-rcs-register): If there is no RCS subdir, ask the user whether to create one. (vc-rcs-state-heuristic): Use file-ownership-preserved-p. (vc-rcs-checkout): Remove the error-handling for missing-rcs. (vc-rcs-state-heuristic): Don't use file-writable-p. (vc-rcs-print-log): Insert in the current buffer. (vc-rcs-diff): Insert in the current buffer and remove unused arg CMP. (vc-rcs-workfile-unchanged-p): Use vc-do-command instead of vc-simple-command. (vc-rcs-fetch-master-state): Removed check for unlocked-changes to avoid doing a diff when opening a file. (vc-rcs-state): Added check for unlocked-changes. (vc-rcs-header): Escape Id. (vc-rcs-workfile-unchanged-p): Remove optional arg VERSION. (vc-rcs-state): Call vc-workfile-unchanged-p, not the RCS-specific version. (vc-rcs-state-heuristic): Use file-writable-p instead of comparing userids. (vc-rcs-fetch-master-state): Handle the case where rcs is missing. Simplify the logic by eliminating unreachable code. (vc-rcs-diff): Only pass `2' to vc-do-command if necessary and just do a recursive call if we need to retry. (vc-rcs-checkout): Handle the case where rcs is missing by making the buffer read-write if requested and re-signalling the error. (vc-rcs-find-most-recent-rev): New function. The code derives from the old vc-parse-buffer but uses the revision number rather than the date (much easier to compare robustly). (vc-rcs-fetch-master-state): Use `with-temp-buffer'. Adapt to the new vc-parse-buffer (and vc-rcs-find-most-recent-rev). Find the locking-user more directly. Check strict locking and set checkout-model appropriately. (vc-rcs-parse-locks): Remove. (vc-rcs-latest-on-branch-p): Use with-temp-buffer and adapt to the new vc-parse-buffer (and vc-rcs-find-most-recent-rev). (vc-rcs-system-release): Use with-current-buffer and vc-parse-buffer. (vc-rcs-register, vc-rcs-checkout): Use with-current-buffer. Merge in code from vc-rcs-hooks.el. Don't require 'vc anymore. (vc-rcs-responsible-p): Use expand-file-name instead of concat and file-directory-p instead of file-exists-p. (vc-rcs-exists): Remove. (vc-rcs-header): New var. Update Copyright. (vc-rcs-rename-file): New function. (vc-rcs-diff): Remove unused `backend' variable. (vc-rcs-clear-headers): New function; code moved here from vc-clear-headers in vc.el. (tail): Provide vc-rcs and remove vc-rcs-logentry-check. (vc-rcs-register): Parse command output to find master file name and workfile version. (vc-rcs-checkout): Removed call to vc-file-clear-masterprops. Require vc and vc-rcs-hooks. (vc-rcs-trunk-p, vc-rcs-branch-part): Move to vc-rcs-hooks. (vc-rcs-backend-release-p): Remove (use vc-rcs-release-p). (vc-release-greater-or-equal-p): Move from vc. (vc-rcs-trunk-p, vc-rcs-branch-p, vc-rcs-branch-part, vc-rcs-minor-part, vc-rcs-previous-version): Remove duplicates. (vc-rcs-checkout): Add a missing `new-version' argument in the call to vc-rcs-latest-on-branch-p. Hopefully that was the right one. (vc-rcs-steal-lock): Renamed from `vc-rcs-steal'. Updated everything to use `vc-checkout-model'. (vc-rcs-backend-release-p): function added. other stuff updated to reference this function instead of the old `vc-backend-release-p'. (vc-rcs-logentry-check): Function added. (vc-rcs-checkin, vc-rcs-previous-version) (vc-rcs-checkout): Name space cleaned up. No more revision number crunching function names that are not prefixed with vc-rcs. (vc-rcs-checkout-model): Function added. References to `vc-checkout-model' replaced. (vc-rcs-admin): Added the query-only option as required by the vc.el file. (vc-rcs-exists): Function added. (vc-*-checkout): Use with-temp-file instead of /bin/sh. Merged from mainline (vc-rcs-latest-on-branch-p): Moved to vc-rcs-hooks.el. (vc-rcs-latest-on-branch-p, vc-rcs-trunk-p) (vc-rcs-branch-p, vc-rcs-branch-part, vc-rcs-minor-part) (vc-rcs-previous-version): Functions added. (vc-rcs-diff): Function added. (vc-rcs-checkout) Bug (typo) found and fixed. (vc-rcs-register-switches) Variable `vc-rcs-register-switches' added. Require vc when compiling. (vc-rcs-print-log, vc-rcs-assign-name, vc-rcs-merge) (vc-rcs-check-headers, vc-rcs-steal, vc-rcs-uncheck, vc-rcs-revert) (vc-rcs-checkin): New functions (code from vc.el). (vc-rcs-previous-version, vc-rcs-system-release, vc-rcs-checkout): Doc fix. (vc-rcs-release): Deleted. (Duplicated vc-rcs-system-release). (vc-rcs-trunk-p, vc-rcs-branch-p, vc-rcs-branch-part) (vc-rcs-minor-part, vc-rcs-previous-version, vc-rcs-release) (vc-rcs-release-p, vc-rcs-admin, vc-rcs-checkout): New functions from vc.el. (vc-rcs-system-release): Renamed from vc-rcs-backend-release.
author Gerd Moellmann <gerd@gnu.org>
date Mon, 04 Sep 2000 19:47:43 +0000
parents 83f275dcd93a
children 0d8b17d428b5
line wrap: on
line source

;;; iso-swed.el --- set up char tables for ISO 8859/1 for Swedish/Finnish ttys

;; Copyright (C) 1987 Free Software Foundation, Inc.

;; Author: Howard Gayle
;; Maintainer: FSF
;; Keywords: i18n

;; 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, Inc., 59 Temple Place - Suite 330,
;; Boston, MA 02111-1307, USA.

;;; Commentary:

;; Written by Howard Gayle.  See case-table.el for details.

;;; Code:

;; This code sets up to display ISO 8859/1 characters on
;; terminals that have ASCII in the G0 set and a Swedish/Finnish
;; version of ISO 646 in the G1 set.  The G1 set differs from
;; ASCII as follows:
;; 
;; ASCII G1
;;     $ general currency sign
;;     @ capital E with acute accent
;;     [ capital A with diaeresis or umlaut mark
;;     \ capital O with diaeresis or umlaut mark
;;     ] capital A with ring
;;     ^ capital U with diaeresis or umlaut mark
;;     ` small e with acute accent
;;     { small a with diaeresis or umlaut mark
;;     | small o with diaeresis or umlaut mark
;;     } small a with ring
;;     ~ small u with diaeresis or umlaut mark

(require 'disp-table)

(standard-display-ascii 160 "{_}")   ; NBSP (no-break space)
(standard-display-ascii 161 "{!}")   ; inverted exclamation mark
(standard-display-ascii 162 "{c}")   ; cent sign
(standard-display-ascii 163 "{GBP}") ; pound sign
(standard-display-g1    164 ?$)      ; general currency sign
(standard-display-ascii 165 "{JPY}") ; yen sign
(standard-display-ascii 166 "{|}")   ; broken vertical line
(standard-display-ascii 167 "{S}")   ; section sign
(standard-display-ascii 168 "{\"}")  ; diaeresis
(standard-display-ascii 169 "{C}")   ; copyright sign
(standard-display-ascii 170 "{_a}")  ; ordinal indicator, feminine
(standard-display-ascii 171 "{<<}")  ; left angle quotation mark
(standard-display-ascii 172 "{~}")   ; not sign
(standard-display-ascii 173 "{-}")   ; soft hyphen
(standard-display-ascii 174 "{R}")   ; registered sign
(standard-display-ascii 175 "{=}")   ; macron
(standard-display-ascii 176 "{o}")   ; degree sign
(standard-display-ascii 177 "{+-}")  ; plus or minus sign
(standard-display-ascii 178 "{2}")   ; superscript two
(standard-display-ascii 179 "{3}")   ; superscript three
(standard-display-ascii 180 "{'}")   ; acute accent
(standard-display-ascii 181 "{u}")   ; micro sign
(standard-display-ascii 182 "{P}")   ; pilcrow
(standard-display-ascii 183 "{.}")   ; middle dot
(standard-display-ascii 184 "{,}")   ; cedilla
(standard-display-ascii 185 "{1}")   ; superscript one
(standard-display-ascii 186 "{_o}")  ; ordinal indicator, masculine
(standard-display-ascii 187 "{>>}")  ; right angle quotation mark
(standard-display-ascii 188 "{1/4}") ; fraction one-quarter
(standard-display-ascii 189 "{1/2}") ; fraction one-half
(standard-display-ascii 190 "{3/4}") ; fraction three-quarters
(standard-display-ascii 191 "{?}")   ; inverted question mark
(standard-display-ascii 192 "{`A}")  ; A with grave accent
(standard-display-ascii 193 "{'A}")  ; A with acute accent
(standard-display-ascii 194 "{^A}")  ; A with circumflex accent
(standard-display-ascii 195 "{~A}")  ; A with tilde
(standard-display-g1    196 ?[)      ; A with diaeresis or umlaut mark
(standard-display-g1    197 ?])      ; A with ring
(standard-display-ascii 198 "{AE}")  ; AE diphthong
(standard-display-ascii 199 "{,C}")  ; C with cedilla
(standard-display-ascii 200 "{`E}")  ; E with grave accent
(standard-display-g1    201 ?@)      ; E with acute accent
(standard-display-ascii 202 "{^E}")  ; E with circumflex accent
(standard-display-ascii 203 "{\"E}") ; E with diaeresis or umlaut mark
(standard-display-ascii 204 "{`I}")  ; I with grave accent
(standard-display-ascii 205 "{'I}")  ; I with acute accent
(standard-display-ascii 206 "{^I}")  ; I with circumflex accent
(standard-display-ascii 207 "{\"I}") ; I with diaeresis or umlaut mark
(standard-display-ascii 208 "{-D}")  ; D with stroke, Icelandic eth
(standard-display-ascii 209 "{~N}")  ; N with tilde
(standard-display-ascii 210 "{`O}")  ; O with grave accent
(standard-display-ascii 211 "{'O}")  ; O with acute accent
(standard-display-ascii 212 "{^O}")  ; O with circumflex accent
(standard-display-ascii 213 "{~O}")  ; O with tilde
(standard-display-g1    214 ?\\)     ; O with diaeresis or umlaut mark
(standard-display-ascii 215 "{x}")   ; multiplication sign
(standard-display-ascii 216 "{/O}")  ; O with slash
(standard-display-ascii 217 "{`U}")  ; U with grave accent
(standard-display-ascii 218 "{'U}")  ; U with acute accent
(standard-display-ascii 219 "{^U}")  ; U with circumflex accent
(standard-display-g1    220 ?^)      ; U with diaeresis or umlaut mark
(standard-display-ascii 221 "{'Y}")  ; Y with acute accent
(standard-display-ascii 222 "{TH}")  ; capital thorn, Icelandic
(standard-display-ascii 223 "{ss}")  ; small sharp s, German
(standard-display-ascii 224 "{`a}")  ; a with grave accent
(standard-display-ascii 225 "{'a}")  ; a with acute accent
(standard-display-ascii 226 "{^a}")  ; a with circumflex accent
(standard-display-ascii 227 "{~a}")  ; a with tilde
(standard-display-g1    228 ?{)      ; a with diaeresis or umlaut mark
(standard-display-g1    229 ?})      ; a with ring
(standard-display-ascii 230 "{ae}")  ; ae diphthong
(standard-display-ascii 231 "{,c}")  ; c with cedilla
(standard-display-ascii 232 "{`e}")  ; e with grave accent
(standard-display-g1    233 ?`)      ; e with acute accent
(standard-display-ascii 234 "{^e}")  ; e with circumflex accent
(standard-display-ascii 235 "{\"e}") ; e with diaeresis or umlaut mark
(standard-display-ascii 236 "{`i}")  ; i with grave accent
(standard-display-ascii 237 "{'i}")  ; i with acute accent
(standard-display-ascii 238 "{^i}")  ; i with circumflex accent
(standard-display-ascii 239 "{\"i}") ; i with diaeresis or umlaut mark
(standard-display-ascii 240 "{-d}")  ; d with stroke, Icelandic eth
(standard-display-ascii 241 "{~n}")  ; n with tilde
(standard-display-ascii 242 "{`o}")  ; o with grave accent
(standard-display-ascii 243 "{'o}")  ; o with acute accent
(standard-display-ascii 244 "{^o}")  ; o with circumflex accent
(standard-display-ascii 245 "{~o}")  ; o with tilde
(standard-display-g1    246 ?|)      ; o with diaeresis or umlaut mark
(standard-display-ascii 247 "{/}")   ; division sign
(standard-display-ascii 248 "{/o}")  ; o with slash
(standard-display-ascii 249 "{`u}")  ; u with grave accent
(standard-display-ascii 250 "{'u}")  ; u with acute accent
(standard-display-ascii 251 "{^u}")  ; u with circumflex accent
(standard-display-g1    252 ?~)      ; u with diaeresis or umlaut mark
(standard-display-ascii 253 "{'y}")  ; y with acute accent
(standard-display-ascii 254 "{th}")  ; small thorn, Icelandic
(standard-display-ascii 255 "{\"y}") ; small y with diaeresis or umlaut mark

(provide 'iso-swed)

;;; iso-swed.el ends here