From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chad Newsgroups: gmane.emacs.help Subject: Re: arguments in url question Date: Sun, 16 Mar 2008 21:00:54 -0700 (PDT) Organization: http://groups.google.com Message-ID: <30336027-8934-405a-b14d-f1f411dfb74a@d21g2000prf.googlegroups.com> References: <0d49795c-c0de-4def-83fb-3f96794860eb@c19g2000prf.googlegroups.com> <87fxuq9h0j.fsf@blp.benpfaff.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1205747185 16337 80.91.229.12 (17 Mar 2008 09:46:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 17 Mar 2008 09:46:25 +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:46:53 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 1JbBvg-0002u7-DZ for geh-help-gnu-emacs@m.gmane.org; Mon, 17 Mar 2008 10:46:52 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JbBv6-0006fl-ES for geh-help-gnu-emacs@m.gmane.org; Mon, 17 Mar 2008 05:46:16 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!d21g2000prf.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help,comp.programming Original-Lines: 21 Original-NNTP-Posting-Host: 66.81.68.124 Original-X-Trace: posting.google.com 1205726454 9227 127.0.0.1 (17 Mar 2008 04:00:54 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Mon, 17 Mar 2008 04:00:54 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: d21g2000prf.googlegroups.com; posting-host=66.81.68.124; posting-account=kTs1ygoAAACgG1TSoyECpovEyy-V6_8b User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.7) Gecko/20061011 Fedora/1.5.0.7-7.fc6 Firefox/1.5.0.7, gzip(gfe), gzip(gfe) Original-Xref: shelby.stanford.edu gnu.emacs.help:157086 comp.programming:251114 X-Mailman-Approved-At: Mon, 17 Mar 2008 05:38:52 -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:52460 Archived-At: 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. > -- > "I admire him, I frankly confess it; and when his time comes > I shall buy a piece of the rope for a keepsake." > --Mark Twain So what would be the optional argument in this case?