From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.help Subject: Re: Why doesn't Emacs have a horizontal scroll bar? Date: Wed, 04 Jul 2007 00:45:49 +0200 Organization: Organization?!? Message-ID: <85bqetqf6q.fsf@lola.goethe.zz> References: <63F95800EDD046419F17688AAFD41CCF01A90F5C@rnd-ex01.rnd.gdnt.local> <606FF314-7C06-4F85-84B0-99308F8B7965@Web.DE> <873b06n43f.fsf@informatimago.com> <85myydqgk9.fsf@lola.goethe.zz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1183506091 10675 80.91.229.12 (3 Jul 2007 23:41:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 3 Jul 2007 23:41:31 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jul 04 01:41:31 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 1I5rzs-0001CJ-7P for geh-help-gnu-emacs@m.gmane.org; Wed, 04 Jul 2007 01:41:28 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I5rzr-0006QA-Ns for geh-help-gnu-emacs@m.gmane.org; Tue, 03 Jul 2007 19:41:27 -0400 Original-Path: shelby.stanford.edu!headwall.stanford.edu!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!syros.belnet.be!news.belnet.be!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!news.belwue.de!newsfeed.ision.net!newsfeed2.easynews.net!ision!newsfeed.arcor.de!newsspool1.arcor-online.net!news.arcor.de.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help X-Face: 2FEFf>]>q>2iw=B6, xrUubRI>pR&Ml9=ao@P@i)L:\urd*t9M~y1^:+Y]'C0~{mAl`oQuAl \!3KEIp?*w`|bL5qr,H)LFO6Q=qx~iH4DN; i"; /yuIsqbLLCh/!U#X[S~(5eZ41to5f%E@'ELIi$t^ Vc\LWP@J5p^rst0+('>Er0=^1{]M9!p?&:\z]|;&=NP3AhB!B_bi^]Pfkw User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) Cancel-Lock: sha1:ICHhxChVXWsvsQgK3Cu3v4kwGx4= Original-Lines: 21 Original-NNTP-Posting-Date: 04 Jul 2007 00:45:53 CEST Original-NNTP-Posting-Host: 0f552aeb.newsspool4.arcor-online.net Original-X-Trace: DXC=2U_EZP7@l7GWDmlTRbh@=I4IUK5MOK`; S:bhJLQOF_0N\gM?FSW\9RERMlbA Original-X-Complaints-To: usenet-abuse@arcor.de Original-Xref: shelby.stanford.edu gnu.emacs.help:149865 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:45453 Archived-At: David Kastrup writes: > Dieter Wilhelm writes: >> By the way, I'm just curious whether this might be more elegant, would >> you mind doing the same with a macro definition? > > A definition for the purpose of an action is never elegant. > > (macrolet ((h (&rest lst) (cons 'progn > (mapcar (lambda (x) (list x -1)) lst)))) > (h scroll-bar-mode menu-bar-mode tool-bar-mode)) Perhaps more macroesque would be (macrolet ((h (lst) `(progn ,@(mapcar (lambda (x) `(,x -1)) lst)))) (h (scroll-bar-mode menu-bar-mode tool-bar-mode))) -- David Kastrup, Kriemhildstr. 15, 44793 Bochum