From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: tomer Newsgroups: gmane.emacs.help Subject: clear minibuffer text wehn open a file Date: Mon, 7 Apr 2014 23:52:37 -0700 (PDT) Message-ID: <7be89e9a-097c-4f69-b412-d6999602ee08@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1396971465 5134 80.91.229.3 (8 Apr 2014 15:37:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 8 Apr 2014 15:37:45 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Apr 08 17:37:38 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WXY5X-0000XE-Ay for geh-help-gnu-emacs@m.gmane.org; Tue, 08 Apr 2014 17:37:27 +0200 Original-Received: from localhost ([::1]:41164 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WXY5W-0004pG-Qg for geh-help-gnu-emacs@m.gmane.org; Tue, 08 Apr 2014 11:37:26 -0400 X-Received: by 10.42.62.11 with SMTP id w11mr220492ich.29.1396939958308; Mon, 07 Apr 2014 23:52:38 -0700 (PDT) X-Received: by 10.182.19.193 with SMTP id h1mr16752obe.14.1396939958152; Mon, 07 Apr 2014 23:52:38 -0700 (PDT) Original-Path: usenet.stanford.edu!ur14no4390115igb.0!news-out.google.com!xg2ni201igc.0!nntp.google.com!l13no4240864iga.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=134.191.232.71; posting-account=NuEtcAoAAADUxiHpeF0Pumy7gc4ekCfm Original-NNTP-Posting-Host: 134.191.232.71 User-Agent: G2/1.0 Injection-Date: Tue, 08 Apr 2014 06:52:38 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:204769 X-Mailman-Approved-At: Tue, 08 Apr 2014 11:37:10 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:97044 Archived-At: when load file I want to clear minibuffer text without killing to ring. I use this code: global-set-key [(control ?7)] 'tl-delete-line) (defun tl-delete-line() (interactive) (beginning-of-line) (kill-line) (insert "/vobs/aaa/DV") ) I use kill-line which add to the ring.I want to clear the line without saving to ring. Is is possible ? Thanks Tomer