From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.help Subject: RE: (copy-marker nil) Date: Mon, 7 May 2018 07:26:39 -0700 (PDT) Message-ID: <0cc6f5df-d980-492c-a6f3-86070a73488c@default> References: <364c8f2d-06ab-4f81-852f-eb3bac7a0615@easy-emacs.de> <1e55da6a-d791-c613-ac9a-5d9bc57f840f@easy-emacs.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1525703108 29210 195.159.176.226 (7 May 2018 14:25:08 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 7 May 2018 14:25:08 +0000 (UTC) To: =?utf-8?B?QW5kcmVhcyBSw7ZobGVy?= , Help Gnu Emacs mailing list Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon May 07 16:25:04 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fFh4Z-0007RF-UX for geh-help-gnu-emacs@m.gmane.org; Mon, 07 May 2018 16:25:04 +0200 Original-Received: from localhost ([::1]:46560 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fFh6e-0008Nw-Nw for geh-help-gnu-emacs@m.gmane.org; Mon, 07 May 2018 10:27:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53640) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fFh6G-0008Np-U1 for help-gnu-emacs@gnu.org; Mon, 07 May 2018 10:26:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fFh6D-0004gj-OP for help-gnu-emacs@gnu.org; Mon, 07 May 2018 10:26:48 -0400 Original-Received: from userp2130.oracle.com ([156.151.31.86]:38998) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fFh6D-0004fh-D0 for help-gnu-emacs@gnu.org; Mon, 07 May 2018 10:26:45 -0400 Original-Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w47EQNSA097616; Mon, 7 May 2018 14:26:41 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2017-10-26; bh=ysKH+XVpO4K+HuZjs+1RdOu/AHWtF48sdYDW1lNnc7U=; b=T3GMnDy/N7VVdUNPUiQMWkU2o6zPB8b2sT+E/FCGM1GmgWmhWwVuEEUbsFbrMTQVdcEd 7Aet/ZfaIxO6nM3E8tRBqHSvJ9ACnysssHO9udgKGoH/FbNkbYHwJJN2iEziQ3FQh63r FqhifvbpJYxyiX72/GkGoG4cp193Pjw9iVcX22VXsX7OohvfIfwbwfVScGXRM1v66mto H8F80vhAVanE6S54xc5OgBdZdt7GslzkhkaEqfgDLnpnG5E7ZWICgZzLAFpiufHSfAO8 Oi2wfiCBSyZXTYSce28EeqmaUorG/Aaux9AvPd4uT+z0g7bsGhPvPNhrHiD8J/2EnZaf Cg== Original-Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by userp2130.oracle.com with ESMTP id 2hs426cf7b-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 07 May 2018 14:26:41 +0000 Original-Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by userv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w47EQf3T023322 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 7 May 2018 14:26:41 GMT Original-Received: from abhmp0014.oracle.com (abhmp0014.oracle.com [141.146.116.20]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id w47EQeHs002664; Mon, 7 May 2018 14:26:40 GMT In-Reply-To: <1e55da6a-d791-c613-ac9a-5d9bc57f840f@easy-emacs.de> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4690.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8885 signatures=668698 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=514 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1805070148 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] [fuzzy] X-Received-From: 156.151.31.86 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:116677 Archived-At: > > For most functions, passing nil for an &optional parameter is the same > > as omitting it. > > If MARKER is not specified, the new marker does not point anywhere. >=20 > It's about the return value. > A marker pointing nowhere, might it be considered valid? What do you mean by "valid"? Yes, it's a marker. No, it doesn't have a buffer or position. The same is true of other Emacs-Lisp objects, such as overlays: they can exist without having non-nil values for certain of their properties. > Expected such returning nil. Why? The doc string is pretty clear that it returns a marker. And it is clear what happens if arg MARKER is nil: "the new marker does not point anywhere".