From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.help Subject: Re: next-line + recenter (- redraw frame)? Date: Mon, 27 Mar 2006 08:51:32 -0700 Message-ID: References: <5xlh1kdb5ttw$.1eomol2tpwh55.dlg@40tude.net> <19aniuq151di2$.1qyujo75j1w3b$.dlg@40tude.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1143474804 440 80.91.229.2 (27 Mar 2006 15:53:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 27 Mar 2006 15:53:24 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Mar 27 17:53:22 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FNu1w-0007d4-6b for geh-help-gnu-emacs@m.gmane.org; Mon, 27 Mar 2006 17:53:20 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FNu1v-0006Ul-P7 for geh-help-gnu-emacs@m.gmane.org; Mon, 27 Mar 2006 10:53:19 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FNu1Y-0006Tp-Al for help-gnu-emacs@gnu.org; Mon, 27 Mar 2006 10:52:56 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FNu1W-0006TX-Ve for help-gnu-emacs@gnu.org; Mon, 27 Mar 2006 10:52:55 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FNu1W-0006TO-9m for help-gnu-emacs@gnu.org; Mon, 27 Mar 2006 10:52:54 -0500 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FNu32-0000Ha-Nv for help-gnu-emacs@gnu.org; Mon, 27 Mar 2006 10:54:29 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FNu1E-0007VB-6E for help-gnu-emacs@gnu.org; Mon, 27 Mar 2006 17:52:38 +0200 Original-Received: from 207.167.42.60 ([207.167.42.60]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 27 Mar 2006 17:52:35 +0200 Original-Received: from ihs_4664 by 207.167.42.60 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 27 Mar 2006 17:52:35 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: help-gnu-emacs@gnu.org Original-Lines: 70 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 207.167.42.60 User-Agent: Mozilla Thunderbird 0.9 (X11/20041105) X-Accept-Language: en-us, en In-Reply-To: X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:34006 Archived-At: David Combs wrote: > Never even knew it was there, sun.el. > > Questions: > > . What makes sun.el relevant to (only?) Sun computers, or Solaris? It is relevant to Sun keyboards. > . Is this sun.el so well liked that just about *anyone* running > emacs on a Sun should put a load-file of it in their .emacs? It should be loaded automatically: ,----[ C-h v term-file-prefix RET ] | term-file-prefix's value is "term/" | | Documentation: | If non-nil, Emacs startup does (load (concat term-file-prefix (getenv "TERM"))) | You may set this variable to nil in your `.emacs' file if you do not wish | the terminal-initialization file to be loaded. | | Defined in `paths.el'. `---- And from the Emacs manual: ,---- | | Terminal-specific Initialization --------------------------------| | | Each terminal type can have a Lisp library to be loaded into Emacs | when it is run on that type of terminal. For a terminal type named | TERMTYPE, the library is called `term/TERMTYPE' and it is found by | searching the directories `load-path' as usual and trying the suffixes | `.elc' and `.el'. Normally it appears in the subdirectory `term' of | the directory where most Emacs libraries are kept. | | The usual purpose of the terminal-specific library is to map the | escape sequences used by the terminal's function keys onto more | meaningful names, using `function-key-map'. See the file | `term/lk201.el' for an example of how this is done. Many function keys | are mapped automatically according to the information in the Termcap | data base; the terminal-specific library needs to map only the function | keys that Termcap does not specify. | | When the terminal type contains a hyphen, only the part of the name | before the first hyphen is significant in choosing the library name. | Thus, terminal types `aaa-48' and `aaa-30-rv' both use the library | `term/aaa'. The code in the library can use `(getenv "TERM")' to find | the full terminal type name. | | The library's name is constructed by concatenating the value of the | variable `term-file-prefix' and the terminal type. Your `.emacs' file | can prevent the loading of the terminal-specific library by setting | `term-file-prefix' to `nil'. | | Emacs runs the hook `term-setup-hook' at the end of initialization, | after both your `.emacs' file and any terminal-specific library have | been read in. Add hook functions to this hook if you wish to override | part of any of the terminal-specific libraries and to define | initializations for terminals that do not have a library. *Note | Hooks::. | `---- -- Kevin Rodgers