From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stephen Leake Newsgroups: gmane.emacs.devel Subject: Re: beginning-of-defun-comments bug [was: Re: 26.0.90: mark-defun problem in c-mode] Date: Sat, 30 Dec 2017 12:43:02 -0600 Message-ID: <86shbsukeh.fsf@stephe-leake.org> References: <834lo8fqyi.fsf@gnu.org> <20171230103432.GB10623@ACM> <20171230120136.GD10623@ACM> <83shbse5rs.fsf@gnu.org> <20171230154305.GF10623@ACM> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1514659324 3328 195.159.176.226 (30 Dec 2017 18:42:04 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 30 Dec 2017 18:42:04 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (windows-nt) To: emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Dec 30 19:42:00 2017 Return-path: Envelope-to: ged-emacs-devel@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 1eVM51-0000UE-3u for ged-emacs-devel@m.gmane.org; Sat, 30 Dec 2017 19:41:59 +0100 Original-Received: from localhost ([::1]:35740 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eVM6z-00047h-T3 for ged-emacs-devel@m.gmane.org; Sat, 30 Dec 2017 13:44:01 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55879) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eVM6C-0003hB-LN for emacs-devel@gnu.org; Sat, 30 Dec 2017 13:43:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eVM67-0002Fg-Nn for emacs-devel@gnu.org; Sat, 30 Dec 2017 13:43:12 -0500 Original-Received: from smtp105.ord1d.emailsrvr.com ([184.106.54.105]:50382) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eVM67-0002Cq-Il for emacs-devel@gnu.org; Sat, 30 Dec 2017 13:43:07 -0500 Original-Received: from smtp6.relay.ord1d.emailsrvr.com (localhost [127.0.0.1]) by smtp6.relay.ord1d.emailsrvr.com (SMTP Server) with ESMTP id B3EDFE0072 for ; Sat, 30 Dec 2017 13:43:04 -0500 (EST) X-Auth-ID: board-president@tomahawk-creek-hoa.com Original-Received: by smtp6.relay.ord1d.emailsrvr.com (Authenticated sender: board-president-AT-tomahawk-creek-hoa.com) with ESMTPA id 7729CE0071 for ; Sat, 30 Dec 2017 13:43:04 -0500 (EST) X-Sender-Id: board-president@tomahawk-creek-hoa.com Original-Received: from Takver4 (76-218-37-33.lightspeed.kscymo.sbcglobal.net [76.218.37.33]) by 0.0.0.0:25 (trex/5.7.12); Sat, 30 Dec 2017 13:43:04 -0500 In-Reply-To: <20171230154305.GF10623@ACM> (Alan Mackenzie's message of "Sat, 30 Dec 2017 15:43:05 +0000") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 184.106.54.105 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:221474 Archived-At: Alan Mackenzie writes: > + (eol (save-excursion (end-of-line) (point))) You can use `line-end-position' for this. -- -- Stephe