From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ben Pfaff Newsgroups: gmane.emacs.help Subject: Re: arguments in url question Date: Sun, 16 Mar 2008 21:09:19 -0700 Message-ID: <87wso2800g.fsf@blp.benpfaff.org> References: <0d49795c-c0de-4def-83fb-3f96794860eb@c19g2000prf.googlegroups.com> <87fxuq9h0j.fsf@blp.benpfaff.org> <30336027-8934-405a-b14d-f1f411dfb74a@d21g2000prf.googlegroups.com> Reply-To: blp@cs.stanford.edu NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1205746837 15087 80.91.229.12 (17 Mar 2008 09:40:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 17 Mar 2008 09:40:37 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Mar 17 10:40:56 2008 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 1JbBpu-0001J0-Sf for geh-help-gnu-emacs@m.gmane.org; Mon, 17 Mar 2008 10:40:55 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JbBpL-00039I-2s for geh-help-gnu-emacs@m.gmane.org; Mon, 17 Mar 2008 05:40:19 -0400 Original-Path: shelby.stanford.edu!not-for-mail Original-Newsgroups: gnu.emacs.help,comp.programming Original-Lines: 23 Original-NNTP-Posting-Host: footstool.stanford.edu Original-X-Trace: news.Stanford.EDU 1205726956 25985 171.64.72.130 (17 Mar 2008 04:09:16 GMT) Original-X-Complaints-To: news@news.stanford.edu User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) Cancel-Lock: sha1:8xauxM7rgEookk+j04syvdBPAgs= Original-Xref: shelby.stanford.edu gnu.emacs.help:157087 comp.programming:251116 X-Mailman-Approved-At: Mon, 17 Mar 2008 05:38:35 -0400 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:52456 Archived-At: Chad writes: > On Mar 16, 8:16 pm, Ben Pfaff wrote: >> grocery_stocker writes: >> > The following function on his web page basically makes a url ouf given >> > a link. >> >> > (defun wrap-url-string (url &optional raw) >> >> [...] >> >> > What I don't get is how can a url have optional arguments. >> >> It's not the URL that has optional arguments in this case. It's >> the wrap-url-string function that has an optional argument. >> That's a feature of Emacs Lisp, not a feature of a URL. > > So what would be the optional argument in this case? The one named "raw" in the function declaration quoted above. -- Ben Pfaff http://benpfaff.org