From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?Andreas_R=c3=b6hler?= Newsgroups: gmane.emacs.help Subject: Re: (copy-marker nil) Date: Tue, 8 May 2018 10:44:46 +0200 Message-ID: <7f6fd0c6-f613-9388-10e6-5ca5544d25ae@easy-emacs.de> References: <364c8f2d-06ab-4f81-852f-eb3bac7a0615@easy-emacs.de> <1e55da6a-d791-c613-ac9a-5d9bc57f840f@easy-emacs.de> <0cc6f5df-d980-492c-a6f3-86070a73488c@default> <34886144-0f66-5677-5054-b940cf0f6e76@easy-emacs.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1525768918 4783 195.159.176.226 (8 May 2018 08:41:58 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 8 May 2018 08:41:58 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux i686; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue May 08 10:41:54 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 1fFyC2-00017C-MP for geh-help-gnu-emacs@m.gmane.org; Tue, 08 May 2018 10:41:54 +0200 Original-Received: from localhost ([::1]:49925 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fFyE8-0004NW-5W for geh-help-gnu-emacs@m.gmane.org; Tue, 08 May 2018 04:44:04 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47159) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fFyDh-0004NE-0v for help-gnu-emacs@gnu.org; Tue, 08 May 2018 04:43:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fFyDd-0002Gj-VN for help-gnu-emacs@gnu.org; Tue, 08 May 2018 04:43:37 -0400 Original-Received: from mout.kundenserver.de ([212.227.126.187]:59769) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fFyDd-0002Fx-L2 for help-gnu-emacs@gnu.org; Tue, 08 May 2018 04:43:33 -0400 Original-Received: from [192.168.178.35] ([188.103.18.182]) by mrelayeu.kundenserver.de (mreue007 [212.227.15.167]) with ESMTPSA (Nemesis) id 0MDa6j-1f5n4B0y1F-00GtkH for ; Tue, 08 May 2018 10:43:30 +0200 In-Reply-To: Content-Language: en-US X-Provags-ID: V03:K1:N6EAQxhhHvFT2tvy0iYWP8a8jF56N+oBffWqnW0mC322zK91Skr CF+EfyWdyvoMJfXT5PfGtadNF8t0Yg64aeXFwcQs0Lt91xiqMrcrRuPWDWo7PKtQTwWxhrG Pgcc6ECzuhQM/yDv3oh5ypkX0MzFKzMX9D/GYkPgBWVzjCsMA3IL2uZ30PpQ8AIaMxWuHow +/AC33Gd4+02kE9BGMQag== X-UI-Out-Filterresults: notjunk:1;V01:K0:4r6zK98Xbkg=:KQ8gSwTwvPplKbQ4GyIR49 00Hptcnc69KvSfGArz3HkcI6VYkjAq8Acy0B+B03B5qfIrD5cj7ySzxTqOhymwbb2cMc4/CZV HTX1pXdoNT1xKICFvmoLEAUhz6L+pLKyUC++EM9Xf+1OqAIevkCG0KKcT0h/h01eXzjtDxRo8 Y9Bka/FIHxF5f4HAxG/oru5F3b4/Z5DoakvNZWUKLED3hhJoNS+3R9O+jQ5CN4kGtLUh/ARFX s/4WY8/2Bm/pT4ErIwm+svWfr3WQLoMM+b+A4xjh7xDClNhGBrZqA8SzPS6wyC0E0iEvYWdel C7/DO3hgQm8U6q0BWbrzLstyLbeoXpvgv24zrMGnP7fkhbL8FG/GNitod+U5ACzM5UlIiQRiv INackV81Kdp5awZ1a+FPfLkX2aZAtIhFM2hc6peYzN3mtsGo9sPbKauy8xwmYz1YZcB3uqUW5 1PiIlp9a4CyW/F5jgYJyxaeUChIMOx4QfHuTNRnb0O4pMC4hneNrbbYCCUYtLfFfTpZgjb8PN WgN2STJE9f2r8Guk2Te410tRDdbCACToZ/t+dBn3CoafG+wnmrshNksvR9lccXKbbcMgyLQTI aeTt10UcNevwLgAU0bQfERNNzjH/VIb/Dyw44OpIzG7NcMFeQs44S20t6H1gWnF694iuVtswd i/XvTAb1aqDLyvzCIBreHVv1PeF5262VEwuU3xIuUyUbzqhadA2mc4lxkraeKL/aqXwNuCmxv MGUT7E+inK0JwFVQ X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.126.187 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:116690 Archived-At: On 08.05.2018 03:46, Stefan Monnier wrote: >> Is there a use-case for a marker pointing nowhere? > > Yes. > >> From my point of view refusing to create such a marker makes sense. > > It would break existing code. Thats a concern. It would surprise me though. Do you have an example. BTW "check for a valid buffer position" > won't work with copy-marker for other reasons (e.g. (copy-marker 0) > returns a marker pointing to (point-min), even though 0 is not a valid > position). > Well, zero here is a special case. But copying a marker out of nil seems not logically. Resp. thats how the universe started? ;)