From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: Ignoring entries starting with space Date: Fri, 26 Jun 2009 01:03:43 +0200 Message-ID: References: <873a9p5ls2.fsf@mail.jurta.org> <87fxdot5cl.fsf@mail.jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1245971044 31659 80.91.229.12 (25 Jun 2009 23:04:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 25 Jun 2009 23:04:04 +0000 (UTC) Cc: Juri Linkov , Francesc Rocher , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 26 01:03:57 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MJxz2-0000Wu-5u for ged-emacs-devel@m.gmane.org; Fri, 26 Jun 2009 01:03:56 +0200 Original-Received: from localhost ([127.0.0.1]:44550 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MJxz1-0004EC-IG for ged-emacs-devel@m.gmane.org; Thu, 25 Jun 2009 19:03:55 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MJxyw-0004Ci-FC for emacs-devel@gnu.org; Thu, 25 Jun 2009 19:03:50 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MJxyr-0004CW-UB for emacs-devel@gnu.org; Thu, 25 Jun 2009 19:03:50 -0400 Original-Received: from [199.232.76.173] (port=48263 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MJxyr-0004CT-Oj for emacs-devel@gnu.org; Thu, 25 Jun 2009 19:03:45 -0400 Original-Received: from mail-fx0-f223.google.com ([209.85.220.223]:64353) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MJxyr-0001fY-6s for emacs-devel@gnu.org; Thu, 25 Jun 2009 19:03:45 -0400 Original-Received: by fxm23 with SMTP id 23so1899382fxm.42 for ; Thu, 25 Jun 2009 16:03:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=ybwj1S+gdDESJxBIkQ5Hpo3OXIr/ugAwKI4VN4Rn0Uw=; b=M3fDVg19OahKcSkdERvGavr5l0/r77u3ffwq/z6W9nL7kAXZPuExrCWbey0aqua9X3 yl47wDOROvbpJJVZUSwb7oeWDs4PzXFuyP5qpVNHaXqr6LwiwC95SNYFfzb92hCUtX0t +F+NmLpy5TI5JzuCrRycm1Wi3V7X+fuPHHPX4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=jLVb0spRfhFjUpkAzgD8O+tHR8wRlXbUFRyMvmr0AiyWAgqMqTbfO4QDKcU8HRJt1K +5BXgXik20x6z46pwfGq5M8a2prweuGY1HZrwYkkZUQcNZ2MBFkjHNMU7zluAAtZdTS6 7E1WITuJScbK4eE1J90UZq8uKVdcm+7FzLV2g= Original-Received: by 10.239.173.72 with SMTP id d8mr272232hbf.103.1245971023644; Thu, 25 Jun 2009 16:03:43 -0700 (PDT) In-Reply-To: X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:111734 Archived-At: On Fri, Jun 26, 2009 at 12:57 AM, Stefan Monnier wrote: >> So maybe a configurable key like C-RET, M-RET or S-RET could exit the >> minibuffer without adding the minibuffer contents to the history >> as an alternative to the leading space if typing a space character >> poses a problem with completion or with file names. > > That would inded make more sense to me. =C2=A0Maybe even a separate comma= nd > that wouldn't exit but just set a local var that would then cause the > next exit to refrain from recording the data in the history (that > command could even instead just provide a way to switch to some other > history var, so you could throw stuff away by selecting a dummy history > var, but you could also choose some other history var if you so wanted). And that command could also be a toggle which informed the user about the state (ie that the input would not (or would) be saved in the history list).