help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to permanently set terminal coding system?


From: A . L . Meyers
Subject: How to permanently set terminal coding system?
Date: Fri, 27 Dec 2002 17:30:28 +0100
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-debian-linux-gnu)

Hi!  Currently have to set terminal coding system manually each time I
start emacs to latin-1.  Which variable must I customize to set this
permanently, please?

Lucien
-- 
If you receive this by error, please delete it and inform the sender.
PGP key fingerprint=F1C0 D9AE 1B18 1405 4DFA  B4CC 6DC7 FF78 C76E FB15
To Big Brother Echelon from "spook":
security FBI Delta Force jihad AK-47 domestic disruption Kandahar BND 
>From address@hidden  Fri Dec 27 11:35:14 2002
Path: 
shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!fu-berlin.de!uni-berlin.de!thalassa.informatimago.COM!not-for-mail
From: Pascal Bourguignon <address@hidden>
Newsgroups: gnu.emacs.help
Date: 27 Dec 2002 17:33:36 +0100
Organization: informatimago.com
Lines: 30
Sender: address@hidden
Message-ID: <address@hidden>
References: <address@hidden>
NNTP-Posting-Host: thalassa.informatimago.com (212.87.205.57)
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: fu-berlin.de 1041006816 7797689 212.87.205.57 (16 [41911])
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
Xref: shelby.stanford.edu gnu.emacs.help:108512
To: address@hidden
Subject: Re: Dumbing down Emacs 21 graphics?
X-BeenThere: address@hidden
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Users list for the GNU Emacs text editor <help-gnu-emacs.gnu.org>
List-Help: <mailto:address@hidden>
List-Post: <mailto:address@hidden>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:address@hidden>
List-Archive: <http://mail.gnu.org/pipermail/help-gnu-emacs>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:address@hidden>
X-List-Received-Date: Fri, 27 Dec 2002 16:35:14 -0000

address@hidden (Roger Levy) writes:

> Hi,
> 
> I'm trying to figure out how to customize out some of the graphical
> features of Emacs 21, e.g. get rid of the toolbar.  My rationale is
> that I use Emacs frequently via a DSL connection that's sufficiently
> slow that Emacs 21 responds considerably more sluggishly than Emacs
> 20.  OTOH I like some of the other new version 21 features so I don't
> want to downgrade.  I haven't been able to figure out where to find
> the relevant variables--suggestions anyone?
> 
> Thanks,
> 
> Roger

    (custom-set-variables
     '(tool-bar-mode nil nil (tool-bar))
    )

or:
    (tool-bar-mode 0)

in your '~/.emacs'.


-- 
__Pascal_Bourguignon__                   http://www.informatimago.com/
----------------------------------------------------------------------
There is a fault in reality. do not adjust your minds. -- Salman Rushdie
>From address@hidden  Fri Dec 27 12:05:10 2002
Path: 
shelby.stanford.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
From: address@hidden (Lars Gustafsson)
Newsgroups: gnu.emacs.help
Date: 27 Dec 2002 09:00:53 -0800
Organization: http://groups.google.com/
Lines: 23
Message-ID: <address@hidden>
NNTP-Posting-Host: 217.209.176.173
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1041008454 14435 127.0.0.1 (27 Dec 2002 17:00:54
        GMT)
X-Complaints-To: address@hidden
NNTP-Posting-Date: 27 Dec 2002 17:00:54 GMT
Xref: shelby.stanford.edu gnu.emacs.help:108513
To: address@hidden
Subject: Trouble with cursor palcement when using registers.
X-BeenThere: address@hidden
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Users list for the GNU Emacs text editor <help-gnu-emacs.gnu.org>
List-Help: <mailto:address@hidden>
List-Post: <mailto:address@hidden>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:address@hidden>
List-Archive: <http://mail.gnu.org/pipermail/help-gnu-emacs>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:address@hidden>
X-List-Received-Date: Fri, 27 Dec 2002 17:05:10 -0000

I used registers to construct a paste-function. The problem is that
the cursor is always positioned before the text, which I just pasted
in. When you use the yank-function the cursor is always placed after
the text, which was just pasted in. How do I get the cursor after the
text, which was just pasted in automatically. Here is how the
paste-function is implemented:

(global-unset-key [(control v)])
(global-set-key [(control v)]   'paste-and-show)         ; PASTE-KEY.
(defun paste-and-show () (interactive) "Paste from register a"
   (progn
    (message "Region from register a pasted in")
    (if (eq mark-active (not nil)) ; if-part
        (progn                     ; then-part
          (message "The mark was active")
          (transient-mark-mode 1)
          (kill-region (region-beginning) (region-end))
          (transient-mark-mode 0)
          )
      ) 
    (insert-register ?a)
    (setq mark-active nil)
))
>From address@hidden  Fri Dec 27 12:25:09 2002
Path: 
shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fu-berlin.de!uni-berlin.de!170.207.51.80!not-for-mail
From: Kevin Rodgers <address@hidden>
Newsgroups: gnu.emacs.help
Date: Fri, 27 Dec 2002 10:22:58 -0700
Lines: 34
Message-ID: <address@hidden>
References: <address@hidden>
NNTP-Posting-Host: 170.207.51.80
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: fu-berlin.de 1041009765 7761919 170.207.51.80 (16 [82742])
User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US;
        rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2
X-Accept-Language: en-us
Xref: shelby.stanford.edu gnu.emacs.help:108514
To: address@hidden
Subject: Re: Trouble with cursor palcement when using registers.
X-BeenThere: address@hidden
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Users list for the GNU Emacs text editor <help-gnu-emacs.gnu.org>
List-Help: <mailto:address@hidden>
List-Post: <mailto:address@hidden>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:address@hidden>
List-Archive: <http://mail.gnu.org/pipermail/help-gnu-emacs>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:address@hidden>
X-List-Received-Date: Fri, 27 Dec 2002 17:25:09 -0000

Lars Gustafsson wrote:

> I used registers to construct a paste-function. The problem is that
> the cursor is always positioned before the text, which I just pasted
> in. When you use the yank-function the cursor is always placed after
> the text, which was just pasted in. How do I get the cursor after the
> text, which was just pasted in automatically. Here is how the
> paste-function is implemented:
> 
> (global-unset-key [(control v)])
> (global-set-key [(control v)]   'paste-and-show)         ; PASTE-KEY.
> (defun paste-and-show () (interactive) "Paste from register a"
>    (progn
>     (message "Region from register a pasted in")
>     (if (eq mark-active (not nil)) ; if-part
>       (progn                     ; then-part
>         (message "The mark was active")
>         (transient-mark-mode 1)
>         (kill-region (region-beginning) (region-end))
>         (transient-mark-mode 0)
>         )
>       ) 
>     (insert-register ?a)
>     (setq mark-active nil)


C-h f insert-register


(insert-register ?a t)

-- 
<a href="mailto:&lt;kevin.rodgers&#64;ihs.com&gt;";>Kevin Rodgers</a>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]