From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/9610 Path: news.gmane.org!not-for-mail From: dbast0s@yahoo.com.br (Daniel C. Bastos) Newsgroups: gmane.emacs.gnus.user Subject: Re: expanding the article window Date: Fri, 31 Aug 2007 13:08:35 -0400 Organization: Aioe.org NNTP Server Message-ID: <84odgnd430.fsf@blade3.toledo.com> References: <84odgwde4s.fsf@blade3.toledo.com> <84odgwwya1.fsf@blade3.toledo.com> <7yir74brlf.fsf@fillmore.spawar.navy.mil> <83sl66ut2m.fsf@torus.sehlabs.com> <84r6lpdp7y.fsf@blade3.toledo.com> <84r6lpymyk.fsf@blade3.toledo.com> <7yodgr8qu9.fsf@fillmore.spawar.navy.mil> <84hcminlvz.fsf@blade3.toledo.com> <7yfy21ztxu.fsf@fillmore.spawar.navy.mil> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1188582019 17143 80.91.229.12 (31 Aug 2007 17:40:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 31 Aug 2007 17:40:19 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Fri Aug 31 19:40:18 2007 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IRATf-0008L3-KU for gegu-info-gnus-english@m.gmane.org; Fri, 31 Aug 2007 19:40:15 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IRATf-0007ft-2a for gegu-info-gnus-english@m.gmane.org; Fri, 31 Aug 2007 13:40:15 -0400 Original-Path: shelby.stanford.edu!headwall.stanford.edu!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!colt.net!feeder.news-service.com!ecngs!feeder2.ecngs.de!feeder.erje.net!aioe.org!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-Lines: 47 Original-NNTP-Posting-Host: 8O8Y7xiSuO+NrJqkQ15qMw.user.aioe.org Original-X-Complaints-To: abuse@aioe.org Cancel-Lock: sha1:3e7MrUvgAcQvmHXuwsPb9xoeRl0= User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (berkeley-unix) Original-Xref: shelby.stanford.edu gnu.emacs.gnus:79811 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:9610 Archived-At: "Steven E. Harris" writes: > dbast0s@yahoo.com.br (Daniel C. Bastos) writes: > >> I wouldn't bind + because what we want is a non-shifted key, remember? > > Yes, I remember. I was just trying to come up with some example > single-character for the `define-key' form, and I noticed that Sh-= > wasn't taken, so it was safe for illustration. It's sort of symmetric > with the default binding for '='. Got it. >> To use +, I'd prefer sticking to "C-c e" which I can do with my left >> hand only; the corner of my palm is usually very close to the control >> key, and that's not the case with my right hand. > > Sure, that makes sense. Try > > [(control c) (e)] > > instead of ?\+ in the `define-key' form. Emacs may require a different > syntax to define the keystroke sequence. Okay. First, let's try '(?\+) (define-key gnus-summary-mode-map '(?\+) (lambda () (interactive) (gnus-configure-windows 'edit-article 'force))) Still get: Debugger entered--Lisp error: (wrong-type-argument arrayp (43)) Now let's try: (define-key gnus-summary-mode-map [(control c) (e)] (lambda () (interactive) (gnus-configure-windows 'edit-article 'force))) This worked. I now replaced [(control c) (e)] by [(w)] so that I just can 'w' and have it expanded. Thanks, Steven. What's the difference between ?\+ and [(w)]. I suppose the second is an array of lists? But what about the '?' in the first? What does it do?