From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Klaus Straubinger Newsgroups: gmane.emacs.help Subject: Re: Emacs 21 and w3 on Debian Date: Fri, 27 May 2005 08:29:37 +0200 (CEST) Organization: not organised Message-ID: References: <87sm0fbjx4.fsf@tiger.rapttech.com.au> <874qcvqar0.fsf@spamfoil.invalid> <87oeb2c2x5.fsf@tiger.rapttech.com.au> <87fywebcp7.fsf@tiger.rapttech.com.au> <87ll66pavk.fsf@spamfoil.invalid> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1117176339 23285 80.91.229.2 (27 May 2005 06:45:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 27 May 2005 06:45:39 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri May 27 08:45:36 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DbYZt-0006WS-8U for geh-help-gnu-emacs@m.gmane.org; Fri, 27 May 2005 08:44:17 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DbYe6-00075A-4i for geh-help-gnu-emacs@m.gmane.org; Fri, 27 May 2005 02:48:38 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!news-FFM2.ecrc.net!news.sap-ag.de!news2!news.sap-ag.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 29 Original-NNTP-Posting-Host: 10.18.74.2 Original-X-Trace: news.sap-ag.de 1117175377 11549 10.18.74.2 (27 May 2005 06:29:37 GMT) Original-X-Complaints-To: newsmaster@sap.com Original-NNTP-Posting-Date: Fri, 27 May 2005 06:29:37 +0000 (UTC) Mail-Copies-To: nobody User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 X-No-Archive: Yes Original-Xref: shelby.stanford.edu gnu.emacs.help:131556 Original-To: help-gnu-emacs@gnu.org 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 X-Gmane-Expiry: 2005-06-10 Xref: news.gmane.org gmane.emacs.help:27015 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:27015 Kevin Rodgers wrote: > How exactly is that improvement implemented? > > (cons redirect-uri url-callback-arguments) > > (if url-callback-arguments > (cons redirect-uri (cdr url-callback-arguments)) > (list redirect-uri)) I chose something like the second alternative: (if url-callback-arguments (setcar url-callback-arguments redirect-uri) (setq url-callback-arguments (list redirect-uri))) The first would not be correct because the URL sometimes already present as first argument in the url-callback-arguments list must be replaced. Would it work then to simply write (setq url-callback-arguments (append (list redirect-uri) (cdr url-callback-arguments))) independent of the value of url-callback-arguments? -- Klaus Straubinger