From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Adam Hardy Newsgroups: gmane.emacs.help Subject: Re: line length control setting Date: Mon, 17 Nov 2003 14:08:28 +0100 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <3FB8C84C.3020201@cyberspaceroad.com> References: <87n0b3auxe.fsf@ID-87814.user.dfncis.de> <3FB3B8EF.4070400@yahoo.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1069074853 20838 80.91.224.253 (17 Nov 2003 13:14:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 17 Nov 2003 13:14:13 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Nov 17 14:14:10 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1ALjCk-0005jd-00 for ; Mon, 17 Nov 2003 14:14:10 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1ALk7H-0007Jz-9E for geh-help-gnu-emacs@m.gmane.org; Mon, 17 Nov 2003 09:12:35 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1ALk6f-0006iO-8i for help-gnu-emacs@gnu.org; Mon, 17 Nov 2003 09:11:57 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1ALk5m-0004lC-HD for help-gnu-emacs@gnu.org; Mon, 17 Nov 2003 09:11:34 -0500 Original-Received: from [212.227.126.189] (helo=moutng.kundenserver.de) by monty-python.gnu.org with esmtp (Exim 4.24) id 1ALk5b-0004Hw-LR for help-gnu-emacs@gnu.org; Mon, 17 Nov 2003 09:10:51 -0500 Original-Received: from [212.227.126.207] (helo=mrelayng.kundenserver.de) by moutng6.kundenserver.de with esmtp (Exim 3.35 #1) id 1ALj83-0002gh-00 for help-gnu-emacs@gnu.org; Mon, 17 Nov 2003 14:09:19 +0100 Original-Received: from [217.228.243.206] (helo=cyberspaceroad.com) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 1ALj83-0002Zz-00 for help-gnu-emacs@gnu.org; Mon, 17 Nov 2003 14:09:19 +0100 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en, en-us, de-de In-Reply-To: <3FB3B8EF.4070400@yahoo.com> X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 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 Xref: main.gmane.org gmane.emacs.help:14307 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:14307 On 11/13/2003 06:01 PM Kevin Rodgers wrote: > Oliver Scholz wrote: >> Adam Hardy writes: >>>> But I discovered this is also acting on the command buffer, so >>>> I cannot add more than my fill column when doing simple file >>>> copies or renames or text search & replaces. > >>> Well, you could just check whether the current buffer is the >>> minibuffer: > >>>> (when (and (not (minibufferp)) (> (current-column) >>>> fill-column)) ...) > >>> emacs is choking on (minibufferp) - says it's a null-function. I >>> presume it's saying it doesn't exist? I can't find any mention of >>> it in the help. >> >> It seems that this function is new in the CVS version of Emacs. I >> wasn't aware of that. Sorry. > > Can you emulate it like this? > (window-minibuffer-p (selected-window)) Yes, works beautifully . Thanks Adam -- GNU Emacs 21.3.1 on Linux 2.4.20 RH9