annotate lisp/obsolete/hscroll.el @ 64693:6bf3cc5c6ab3

Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-505 Merge from gnus--rel--5.10 Patches applied: * gnus--rel--5.10 (patch 99) - Update from CVS 2005-07-29 Katsumi Yamaoka <yamaoka@jpl.org> * lisp/gnus/gnus-art.el (gnus-article-next-page-1): Reduce the number of lines to scroll rather than to stop it. * lisp/gnus/mml.el (mml-generate-default-type): Add doc string. (mml-generate-mime-1): Use mm-default-file-encoding or make it default to application/octet-stream when determining the content type if it is not specified for the part or the mml contents; add a comment about mml-generate-default-type. 2005-07-29 Reiner Steib <Reiner.Steib@gmx.de> * lisp/gnus/mml.el (mml-generate-mime-1): Use mm-default-file-encoding or make it default to application/octet-stream when determining the content type if it is not specified for the external contents. 2005-07-27 Katsumi Yamaoka <yamaoka@jpl.org> * lisp/gnus/mm-decode.el (mm-display-external): Delete temp file, directory and buffer immediately if the external process is exited.
author Miles Bader <miles@gnu.org>
date Sun, 31 Jul 2005 00:12:23 +0000
parents 18a818a2ee7c
children 5b1a238fcbb4 f9a65d7ebd29
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
34421
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1 ;;; hscroll.el --- automatically scroll truncated lines horizontally
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
2 ;;; Copyright (C) 1992, 1993, 1995, 1996 Free Software Foundation, Inc.
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
3
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
4 ;; Author: Wayne Mesard <wmesard@esd.sgi.com>
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
5 ;; Keywords: display
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
6
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
7 ;; This file is part of GNU Emacs.
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
8
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
9 ;; GNU Emacs is free software; you can redistribute it and/or modify
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
10 ;; it under the terms of the GNU General Public License as published by
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
11 ;; the Free Software Foundation; either version 2, or (at your option)
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
12 ;; any later version.
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
13
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
14 ;; GNU Emacs is distributed in the hope that it will be useful,
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
15 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
16 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
17 ;; GNU General Public License for more details.
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
18
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
19 ;; You should have received a copy of the GNU General Public License
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
20 ;; along with GNU Emacs; see the file COPYING. If not, write to the
64085
18a818a2ee7c Update FSF's address.
Lute Kamstra <lute@gnu.org>
parents: 52401
diff changeset
21 ;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18a818a2ee7c Update FSF's address.
Lute Kamstra <lute@gnu.org>
parents: 52401
diff changeset
22 ;; Boston, MA 02110-1301, USA.
34421
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
23
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
24 ;;; Commentary:
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
25 ;;
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
26 ;; This file contains dummy variables and functions only because Emacs
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
27 ;; does hscrolling automatically, now.
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
28
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
29 ;;; Code:
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
30
49598
0d8b17d428b5 Trailing whitepace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 34421
diff changeset
31 ;;;
34421
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
32 ;;; PUBLIC VARIABLES
49598
0d8b17d428b5 Trailing whitepace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 34421
diff changeset
33 ;;;
34421
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
34
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
35 (defvar hscroll-version "0.0")
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
36
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
37 (defgroup hscroll nil
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
38 "This customization group is kept for compatibility only.
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
39 Emacs now does hscrolling automatically. Please remove references
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
40 to hscroll from your init file and code."
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
41 :group 'editing)
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
42
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
43
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
44 (defcustom hscroll-global-mode nil
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
45 "*Obsolete."
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
46 :group 'hscroll
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
47 :type 'boolean
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
48 :require 'hscroll
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
49 :version "20.3")
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
50
49598
0d8b17d428b5 Trailing whitepace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 34421
diff changeset
51 (defcustom hscroll-margin 5
34421
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
52 "*Obsolete."
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
53 :group 'hscroll
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
54 :type 'integer)
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
55
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
56 (defcustom hscroll-snap-threshold 30
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
57 "*Obsolete."
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
58 :group 'hscroll
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
59 :type 'integer)
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
60
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
61 (defcustom hscroll-step-percent 25
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
62 "*Obsolete."
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
63 :group 'hscroll
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
64 :type 'integer)
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
65
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
66 (defcustom hscroll-mode-name " Hscr"
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
67 "*Obsolete."
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
68 :group 'hscroll
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
69 :type 'string)
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
70
49598
0d8b17d428b5 Trailing whitepace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 34421
diff changeset
71 ;;;
34421
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
72 ;;; PUBLIC COMMANDS
49598
0d8b17d428b5 Trailing whitepace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 34421
diff changeset
73 ;;;
34421
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
74
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
75 ;;;###autoload
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
76 (defun turn-on-hscroll ()
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
77 "This function is obsolete.
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
78 Emacs now does hscrolling automatically, if `truncate-lines' is non-nil.
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
79 Also see `automatic-hscrolling'.")
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
80
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
81 ;;;###autoload
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
82 (defun hscroll-mode (&optional arg)
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
83 "This function is obsolete.
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
84 Emacs now does hscrolling automatically, if `truncate-lines' is non-nil.
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
85 Also see `automatic-hscrolling'."
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
86 (interactive "P"))
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
87
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
88 ;;;###autoload
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
89 (defun hscroll-global-mode (&optional arg)
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
90 "This function is obsolete.
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
91 Emacs now does hscrolling automatically, if `truncate-lines' is non-nil.
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
92 Also see `automatic-hscrolling'."
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
93 (interactive "P"))
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
94
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
95 (defun hscroll-window-maybe ()
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
96 "This function is obsolete.
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
97 Emacs now does hscrolling automatically, if `truncate-lines' is non-nil.
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
98 Also see `automatic-hscrolling'."
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
99 (interactive))
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
100
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
101 (provide 'hscroll)
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
102
52401
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 49598
diff changeset
103 ;;; arch-tag: 48377520-e5ca-401d-b360-3881b2d5a05a
34421
6c79e7c27d9b Moved here from lisp/.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
104 ;;; hscroll.el ends here