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

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

Re: kill-ring-save trouble


From: Kai Großjohann
Subject: Re: kill-ring-save trouble
Date: Tue, 24 Dec 2002 10:04:17 +0100
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu)

lng2@spray.se (Lars Gustafsson) writes:

> Is there a way to stop Emacs from saving everything, which is being
> highlighted into the kill-ring. In many windows applications you can
> copy some text and then replace other text by first highlighting it
> and then paste over it. This works one time in Emacs but the second
> time you're trying to paste in the text, which you first copied, the
> text pasted in is the text which was highlighted the second time. I
> wanted the text highlighted the first time to be pasted in.

First of all, try M-y after yanking (pasting).

Secondly, investigate delete-selection-mode.

-- 
~/.signature is: umop ap!sdn    (Frank Nobis)
>From help-gnu-emacs-bounces@gnu.org  Tue Dec 24 04:10:09 2002
Path: 
shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!feed.news.nacamar.de!fu-berlin.de!uni-berlin.de!p508770e3.dip.t-dialin.NET!not-for-mail
From: kai.grossjohann@uni-duisburg.de (Kai =?iso-8859-1?q?Gro=DFjohann?=)
Newsgroups: gnu.emacs.help
Date: Tue, 24 Dec 2002 10:06:49 +0100
Organization: University of Dortmund, Germany
Lines: 15
Message-ID: <84wulzeqfq.fsf@lucy.cs.uni-dortmund.de>
References: <attcqc$ris$1@nets3.rz.RWTH-Aachen.DE>
        <841y4czpuh.fsf@lucy.cs.uni-dortmund.de>
        <xod6r8c8hyzv.fsf@mspacman.gpcc.itd.umich.edu>
NNTP-Posting-Host: p508770e3.dip.t-dialin.net (80.135.112.227)
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: fu-berlin.de 1040720814 5666923 80.135.112.227 (16 [73968])
User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50
 (i686-pc-linux-gnu)
Cancel-Lock: sha1:yw3qOG6w7JsMR1t4zkkzeHKrVEo=
Xref: shelby.stanford.edu gnu.emacs.help:108471
To: help-gnu-emacs@gnu.org
Subject: Re: Emacs, terminal, and terminal coding schemes
X-BeenThere: help-gnu-emacs@gnu.org
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:help-gnu-emacs-request@gnu.org?subject=help>
List-Post: <mailto:help-gnu-emacs@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:help-gnu-emacs-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/help-gnu-emacs>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:help-gnu-emacs-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Tue, 24 Dec 2002 09:10:09 -0000

Jonathon Isaac Swiderski <jonswid@umich.edu> writes:

> I have set C-x RET t iso-latin-1 and C-x RET t iso-8859-1 (I've
> tried -9, too), and Gnus (5.7/Emacs 20.7) still doesn't understand
> characters --- while Pine's newsreader (whose coding system is set
> to iso-8859-1 also) correctly displays accents, umlauts,
> etc. correctly, Gnus display's Kai's last name as "Gro\337johann" or
> "=?iso-8859-1?q?G".  All this in the same terminal emulator, PuTTY.

If you see =?iso-8859-1?q?, then it's a different problem.  This is a
Mule encoding, and Gnus 5.7 does not grok Mule.

I recommend that you install Gnus 5.8 which does grok Mule.
-- 
~/.signature is: umop ap!sdn    (Frank Nobis)
>From help-gnu-emacs-bounces@gnu.org  Tue Dec 24 12:10:08 2002
Path: 
shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!fu-berlin.de!uni-berlin.de!170.207.51.80!not-for-mail
From: Kevin Rodgers <kevin.rodgers@ihs.com>
Newsgroups: gnu.emacs.help
Date: Tue, 24 Dec 2002 10:08:56 -0700
Lines: 27
Message-ID: <3E0894A8.6050506@ihs.com>
References: <E9SN9.486519$QZ.73326@sccrnsc02>
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 1040749732 6024770 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:108472
To: help-gnu-emacs@gnu.org
Subject: Re: C-x C-c
X-BeenThere: help-gnu-emacs@gnu.org
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:help-gnu-emacs-request@gnu.org?subject=help>
List-Post: <mailto:help-gnu-emacs@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:help-gnu-emacs-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/help-gnu-emacs>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:help-gnu-emacs-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Tue, 24 Dec 2002 17:10:08 -0000

tcp wrote:

>   Is there a way to map the C-x C-c to close all opened files and frame but
> not exiting emacs.

You asked for it:


(defun close-all-files ()
   "Kill all buffers that are visiting a file."
   (interactive)
   (let ((buffers (buffer-list)))
     (while buffers
       (if (buffer-file-name (car buffers))
          (kill-buffer (car buffers)))
       (setq buffers (cdr buffers)))))

(define-key "\C-x\C-c"
   (lambda ()
     "Run `\\[close-all-files]' and `\\[delete-frame\\]'."
     (interactive)
     (close-all-files)
     (delete-frame)))

-- 
<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]