From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dieter Wilhelm Newsgroups: gmane.emacs.help Subject: Re: Why doesn't Emacs have a horizontal scroll bar? Date: Tue, 03 Jul 2007 22:51:20 +0200 Organization: The Church of Emacs Message-ID: <878x9xky7r.fsf@debby.local.net> References: <63F95800EDD046419F17688AAFD41CCF01A90F5C@rnd-ex01.rnd.gdnt.local> <606FF314-7C06-4F85-84B0-99308F8B7965@Web.DE> <873b06n43f.fsf@informatimago.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1183495904 13134 80.91.229.12 (3 Jul 2007 20:51:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 3 Jul 2007 20:51:44 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Pascal Bourguignon Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jul 03 22:51:42 2007 connect(): Connection refused Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1I5pLZ-0003LZ-Ca for geh-help-gnu-emacs@m.gmane.org; Tue, 03 Jul 2007 22:51:41 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I5pLY-0002xC-MQ for geh-help-gnu-emacs@m.gmane.org; Tue, 03 Jul 2007 16:51:40 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I5pLK-0002w4-El for help-gnu-emacs@gnu.org; Tue, 03 Jul 2007 16:51:26 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I5pLJ-0002vm-NE for help-gnu-emacs@gnu.org; Tue, 03 Jul 2007 16:51:26 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I5pLJ-0002vf-Hj for help-gnu-emacs@gnu.org; Tue, 03 Jul 2007 16:51:25 -0400 Original-Received: from moutng.kundenserver.de ([212.227.126.179]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1I5pLJ-0002Pu-0n for help-gnu-emacs@gnu.org; Tue, 03 Jul 2007 16:51:25 -0400 Original-Received: from [89.12.126.58] (helo=debby.local.net) by mrelayeu.kundenserver.de (node=mrelayeu0) with ESMTP (Nemesis), id 0MKwh2-1I5pKy31QU-0004AH; Tue, 03 Jul 2007 22:51:22 +0200 Original-Received: from dieter by debby.local.net with local (Exim 4.63) (envelope-from ) id 1I5pLE-0003fl-UK; Tue, 03 Jul 2007 22:51:20 +0200 In-Reply-To: <873b06n43f.fsf@informatimago.com> (Pascal Bourguignon's message of "Mon\, 02 Jul 2007 18\:49\:08 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) X-Provags-ID: V01U2FsdGVkX1+tu5VgXOy2/KuxggJYUUnEhIYAyUdIZeASZav uwN8NAqdV5Zc37ujWF9bvUmqENw2YqfVXZF9VIgSO0CriQbBE6 pl3vkkPsEQLRBTsIDj0uhxTB3CX7NyS X-detected-kernel: Linux 2.6? (barebone, rare!) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:45450 Archived-At: Pascal Bourguignon writes: > Here is the first form I have in by ~/.emacs: > > (mapcar (lambda (f) (when (fboundp f) (funcall f -1))) > '(scroll-bar-mode menu-bar-mode tool-bar-mode)) That is very nice, thanks, I adapted it to my .emacs as well. But is the fboundp check not a bit superfluous with this concise list? By the way, I'm just curious whether this might be more elegant, would you mind doing the same with a macro definition? -- Best wishes H. Dieter Wilhelm Darmstadt, Germany