From debbugs-submit-bounces@debbugs.gnu.org Thu Nov 24 08:04:02 2016 Received: (at submit) by debbugs.gnu.org; 24 Nov 2016 13:04:02 +0000 Received: from localhost ([127.0.0.1]:39994 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c9th4-0000Vh-Et for submit@debbugs.gnu.org; Thu, 24 Nov 2016 08:04:02 -0500 Received: from eggs.gnu.org ([208.118.235.92]:50153) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c9th2-0000VE-Dp for submit@debbugs.gnu.org; Thu, 24 Nov 2016 08:04:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c9tgv-0008Sr-Qw for submit@debbugs.gnu.org; Thu, 24 Nov 2016 08:03:55 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:53165) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c9tgv-0008Sl-NQ for submit@debbugs.gnu.org; Thu, 24 Nov 2016 08:03:53 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41119) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c9tgt-0004B5-OI for bug-gnu-emacs@gnu.org; Thu, 24 Nov 2016 08:03:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c9tgo-0008R5-ON for bug-gnu-emacs@gnu.org; Thu, 24 Nov 2016 08:03:51 -0500 Received: from mail.mojserwer.eu ([195.110.48.8]:52357) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c9tgo-0008QA-Cn for bug-gnu-emacs@gnu.org; Thu, 24 Nov 2016 08:03:46 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id 773881DA07A for ; Thu, 24 Nov 2016 14:03:43 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail.mojserwer.eu Received: from mail.mojserwer.eu ([127.0.0.1]) by localhost (mail.mojserwer.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vZq3kguBXumM for ; Thu, 24 Nov 2016 14:03:36 +0100 (CET) Received: from localhost (unknown [150.254.74.252]) by mail.mojserwer.eu (Postfix) with ESMTPSA id B3ACB1DA079 for ; Thu, 24 Nov 2016 14:03:35 +0100 (CET) User-agent: mu4e 0.9.17; emacs 26.0.50.3 From: Marcin Borkowski To: bug-gnu-emacs@gnu.org Subject: 26.0.50; beginning-of-defun-raw goes too far Date: Thu, 24 Nov 2016 14:03:30 +0100 Message-ID: <87bmx5qbbx.fsf@mbork.pl> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Hello, consider this in an Elisp-mode buffer: --8<---------------cut here---------------start------------->8--- ;; Comment header -!-(defun func-1 (arg) "docstring" body) --8<---------------cut here---------------end--------------->8--- (-!- means the point). Type M-x beginning-of-defun-raw. The point moves to the beginning of buffer instead of staying where it is. Tested on emacs -Q. (I encountered it while working - still - on bug #21072.) Best, Marcin Borkowski In GNU Emacs 26.0.50.3 (x86_64-unknown-linux-gnu, GTK+ Version 3.22.2) of 2016-10-28 built on jane Repository revision: e2fd20683ad6c771912958058985c9696a1fc063 Windowing system distributor 'The X.Org Foundation', version 11.0.11804000 Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS NOTIFY ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 LIBSYSTEMD Important settings: value of $LC_COLLATE: pl_PL.UTF-8 value of $LC_CTYPE: pl_PL.UTF-8 value of $LC_MESSAGES: pl_PL.UTF-8 value of $LANG: pl_PL.UTF-8 locale-coding-system: utf-8-unix Major mode: Emacs-Lisp Minor modes in effect: lispy-mode: t diff-auto-refine-mode: t global-git-commit-mode: t async-bytecomp-package-mode: t beeminder-org-integration-mode: t TeX-PDF-mode: t TeX-source-correlate-mode: t pdf-occur-global-minor-mode: t yas-global-mode: t yas-minor-mode: t savehist-mode: t global-flycheck-mode: t projectile-global-mode: t projectile-mode: t ivy-mode: t show-paren-mode: t shell-dirtrack-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Features: (shadow emacsbug vc-dispatcher vc-hg time dired-aux texmathp ruler-mode hexl pdf-sync pdf-annot pdf-outline pdf-links pdf-history latexenc reposition net-search mm-archive org-datetree org-capture calc-alg calc-ext tabify calc-menu calc-aent calc calc-loaddefs calc-macs qp eieio-opt counsel preview prv-emacs tex-buf adaptive-wrap font-latex latex tex-ispell tex-style find-dired mail-extr face-remap shr-color misearch multi-isearch timezone network-stream starttls url-cache eww mm-url gnus nnheader url-queue shr svg dom cal-move parse-time dabbrev diary-lib diary-loaddefs cal-iso executable lispy swiper iedit iedit-lib lispy-inline avy semantic/db eieio-base etags xref project ediff-merg ediff-wind ediff-diff ediff-mult ediff-help ediff-init ediff-util ediff edebug lispy-tags vc-git magit-blame magit-stash magit-bisect magit-remote magit-commit magit-sequence magit magit-apply magit-wip magit-log magit-diff smerge-mode diff-mode magit-core magit-autorevert autorevert filenotify magit-process magit-popup magit-mode magit-git magit-section magit-utils git-commit help-fns radix-tree log-edit pcvs-util add-log with-editor async-bytecomp async tramp-sh ert debug colir color typopunct beeminder ewoc anaphora request url-http tls gnutls url-auth url-gw nsm sierotki emms-librefm-stream emms-librefm-scrobbler emms-playlist-limit emms-volume emms-volume-amixer emms-i18n emms-history emms-score emms-stream-info emms-metaplaylist-mode emms-bookmarks emms-cue emms-mode-line-icon emms-browser sort emms-playlist-sort emms-last-played emms-player-xine emms-player-mpd emms-playing-time emms-lyrics emms-url url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf mailcap emms-streams emms-show-all emms-tag-editor emms-mark emms-mode-line emms-cache emms-info-ogginfo emms-info-mp3info emms-info later-do emms-playlist-mode emms-player-vlc emms-player-mplayer emms-player-simple emms-source-playlist emms-source-file locate emms-setup emms emms-compat tex dbus xml crm pdf-occur tablist tablist-filter semantic/wisent/comp semantic/wisent semantic/wisent/wisent semantic/util-modes semantic/util semantic semantic/tag semantic/lex semantic/fw mode-local cedet pdf-isearch let-alist pdf-misc imenu pdf-tools pdf-view bookmark pp pdf-cache pdf-info tq pdf-util tex-mode ansible f s yasnippet org-info org-habit org-docview org-tree-slide org-timer org-drill savehist org-id hi-lock org-learn org-protocol org-clock ledger-mode ledger-check ledger-schedule ledger-xact ledger-texi ledger-test ledger-sort ledger-report ledger-reconcile ledger-post ledger-occur ledger-init ledger-fontify ledger-state ledger-navigate ledger-fonts ledger-exec ledger-context ledger-complete ledger-commodities esh-var esh-io esh-cmd esh-opt esh-ext esh-proc esh-groups eshell esh-module esh-mode esh-arg esh-util cus-edit cus-start cus-load wid-edit ledger-regex js-lookup flycheck rx projectile grep compile ibuf-ext ibuffer ibuffer-loaddefs dash hydra lv not-too-often gnus-dired org-mu4e org-element avl-tree org-location-google-maps org-agenda google-maps google-maps-static url-util google-maps-geocode google-maps-base json map org org-macro org-footnote org-pcomplete org-list org-faces org-entities noutline outline easy-mmode org-version ob-emacs-lisp ob ob-tangle ob-ref ob-lob ob-table ob-exp org-src ob-keys ob-comint ob-core ob-eval org-compat org-macs org-loaddefs find-func mu4e-contrib mu4e desktop frameset mu4e-speedbar speedbar sb-image ezimage dframe mu4e-main mu4e-context mu4e-view cal-menu calendar cal-loaddefs browse-url mu4e-headers mu4e-compose mu4e-draft mu4e-actions ido rfc2368 smtpmail sendmail mu4e-mark mu4e-message html2text mu4e-proc mu4e-utils doc-view jka-compr image-mode mu4e-lists mu4e-vars message subr-x puny rfc822 mml mml-sec epa derived epg gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mailabbrev mail-utils gmm-utils mailheader hl-line cl mu4e-meta ivy delsel ffap thingatpt edmacro kmacro server dired-x dired dired-loaddefs paren tramp tramp-compat tramp-loaddefs trampver ucs-normalize shell pcomplete comint ansi-color ring format-spec advice finder-inf tex-site dired-dups-autoloads dired-efap-autoloads git-gutter-fringe-autoloads fringe-helper-autoloads git-gutter-autoloads htmlize-autoloads typopunct-autoloads info package epg-config url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache url-vars seq byte-opt gv bytecomp byte-compile cl-extra help-mode easymenu cconv cl-loaddefs pcase cl-lib time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote dbusbind inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 1243575 132189) (symbols 48 66382 0) (miscs 40 9873 7660) (strings 32 230539 145336) (string-bytes 1 9348822) (vectors 16 110926) (vector-slots 8 2530441 92715) (floats 8 11299 8067) (intervals 56 70725 2550) (buffers 976 111)) -- Marcin Borkowski From debbugs-submit-bounces@debbugs.gnu.org Thu Nov 24 11:59:57 2016 Received: (at 25015) by debbugs.gnu.org; 24 Nov 2016 16:59:57 +0000 Received: from localhost ([127.0.0.1]:40633 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c9xNN-0007py-Ag for submit@debbugs.gnu.org; Thu, 24 Nov 2016 11:59:57 -0500 Received: from eggs.gnu.org ([208.118.235.92]:56118) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c9xNM-0007pl-CV for 25015@debbugs.gnu.org; Thu, 24 Nov 2016 11:59:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c9xNE-0007KW-5k for 25015@debbugs.gnu.org; Thu, 24 Nov 2016 11:59:51 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:47880) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c9xNE-0007KQ-2a; Thu, 24 Nov 2016 11:59:48 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4126 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1c9xND-0005nD-8n; Thu, 24 Nov 2016 11:59:47 -0500 Date: Thu, 24 Nov 2016 18:59:33 +0200 Message-Id: <83d1hk6cga.fsf@gnu.org> From: Eli Zaretskii To: Marcin Borkowski In-reply-to: <87bmx5qbbx.fsf@mbork.pl> (message from Marcin Borkowski on Thu, 24 Nov 2016 14:03:30 +0100) Subject: Re: bug#25015: 26.0.50; beginning-of-defun-raw goes too far References: <87bmx5qbbx.fsf@mbork.pl> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -8.0 (--------) X-Debbugs-Envelope-To: 25015 Cc: 25015@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -8.0 (--------) > From: Marcin Borkowski > Date: Thu, 24 Nov 2016 14:03:30 +0100 > > consider this in an Elisp-mode buffer: > > --8<---------------cut here---------------start------------->8--- > ;; Comment header > > -!-(defun func-1 (arg) > "docstring" > body) > --8<---------------cut here---------------end--------------->8--- > > (-!- means the point). This means point is actually _before_ the function, right? > Type M-x beginning-of-defun-raw. The point moves to the beginning > of buffer instead of staying where it is. Do you still think it's a problem? From debbugs-submit-bounces@debbugs.gnu.org Thu Nov 24 12:09:59 2016 Received: (at submit) by debbugs.gnu.org; 24 Nov 2016 17:09:59 +0000 Received: from localhost ([127.0.0.1]:40659 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c9xX4-00086u-Vx for submit@debbugs.gnu.org; Thu, 24 Nov 2016 12:09:59 -0500 Received: from eggs.gnu.org ([208.118.235.92]:59439) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c9xX3-00086f-Ls for submit@debbugs.gnu.org; Thu, 24 Nov 2016 12:09:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c9xWx-00042O-La for submit@debbugs.gnu.org; Thu, 24 Nov 2016 12:09:52 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:41521) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c9xWx-000427-Hh for submit@debbugs.gnu.org; Thu, 24 Nov 2016 12:09:51 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50406) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c9xWw-0005VX-5h for bug-gnu-emacs@gnu.org; Thu, 24 Nov 2016 12:09:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c9xWv-000411-9t for bug-gnu-emacs@gnu.org; Thu, 24 Nov 2016 12:09:50 -0500 Received: from mout.kundenserver.de ([212.227.126.135]:59029) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c9xWo-0003zd-Ag; Thu, 24 Nov 2016 12:09:42 -0500 Received: from [192.168.178.35] ([77.12.123.142]) by mrelayeu.kundenserver.de (mreue005 [212.227.15.167]) with ESMTPSA (Nemesis) id 0M5cGS-1cyjf622zQ-00xc2y; Thu, 24 Nov 2016 18:09:36 +0100 Subject: Re: bug#25015: 26.0.50; beginning-of-defun-raw goes too far To: bug-gnu-emacs@gnu.org References: <87bmx5qbbx.fsf@mbork.pl> <83d1hk6cga.fsf@gnu.org> From: =?UTF-8?Q?Andreas_R=c3=b6hler?= Message-ID: <4d439630-593a-4df6-702e-6d47efab8d50@easy-emacs.de> Date: Thu, 24 Nov 2016 18:18:26 +0100 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Icedove/45.4.0 MIME-Version: 1.0 In-Reply-To: <83d1hk6cga.fsf@gnu.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:MaRVVSpH4A0XCmSMu6vRqr6Yu8GXW9H7YpmcsWtrDN2RCeW4b89 YqPg5dAxOkFJQYPqt6lEPGR//5BLwllB6dl5IxRXgipiZ+lHLU6ihv1ZGp6oqW6kBxgebbh 1n0rxA7CRE4fPkAPwdurUvRm1i6GJzpBEgO0Cc81w+Bcph2N4ZoB7rjPgaBUP6N69/VNw3e SB/oKakrtt1mx2liqZMbw== X-UI-Out-Filterresults: notjunk:1;V01:K0:ZUjtpv+Gn6E=:ZaQJTRNtxgzx1EeshII7QJ c41is041J0YeaXxBPemYpSU//M2vvqDGVM2lS8N0GqG6VC9S2jv/7U8mYxCDYS/emFpmiip/P UpZKjXF+UPNppBMDuNH1ep509PcKMZ0geG7NlMkOCz/O/DTJjcWg4n74a/lvlQm3iN8IQhVvH fpCkut3qNYKLSRBVfibmLfVrXPfcH0xw35fHOLPDG5/xm/+fgDz0Zv2fOSOhMc8Ytltie52k1 cNiDopX9Xv80lIXwvAXzIKdbodvx4hxWzI4cIVrNtE/8JHdP/1RA8hbk6ItTqCSMbr3vCl/pQ FUjZiGHKr6eQY1htyoSbc0Qu/V0wCKF/rsCvb+EncOJ0AzfQKpiodi/tJ87yy34ExpIP2DgHE EP9Vp/CM7+TSY00ScyVBXG97iiJTSaPUVI8e4fOl1Ow46saMKOMOQA/3JNY1SPPgnxE6APj8M LJNIgxmGABU8Cr6MA80Fd7nJdS1hB0ZPYAHkJo6oRQs9vqsfkApcSMP+3kgLNUOML4bGkdAzd 9FbQ39cPLdgin2voUrFzX1jn8EA9uL84rTVD1DnLgEnWy41EUMW3SbMeaFoEQdlEfPurggfP3 97PQYQZsMPmWDwA1E5RGsOlAT6uK0gpDTv97DFRirdo5gOkQa7fI8n2ZKuXpBKOKekpd72/1C 3v4/gzOTswrbT1ZggcOiFD0sf20nHzyD+0o4cE6QyjjX/bXA7gProz/5OuhRzLV6GPyOG4xnB rQV5KVAd5TkXW/xq X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit Cc: Eli Zaretskii , Marcin Borkowski X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) On 24.11.2016 17:59, Eli Zaretskii wrote: >> From: Marcin Borkowski >> Date: Thu, 24 Nov 2016 14:03:30 +0100 >> >> consider this in an Elisp-mode buffer: >> >> --8<---------------cut here---------------start------------->8--- >> ;; Comment header >> >> -!-(defun func-1 (arg) >> "docstring" >> body) >> --8<---------------cut here---------------end--------------->8--- >> >> (-!- means the point). > This means point is actually _before_ the function, right? Assume the drawing was meant to say: at start position. > >> Type M-x beginning-of-defun-raw. The point moves to the beginning >> of buffer instead of staying where it is. > Do you still think it's a problem? > > > IMHO it's a design question. Which might be answered with the current state. OTOH seen from the editors point, just returning nil of no further from is available seems convenient - that way the current position isn't lost. From debbugs-submit-bounces@debbugs.gnu.org Thu Nov 24 16:18:36 2016 Received: (at 25015) by debbugs.gnu.org; 24 Nov 2016 21:18:36 +0000 Received: from localhost ([127.0.0.1]:40782 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cA1Pg-0005ll-2e for submit@debbugs.gnu.org; Thu, 24 Nov 2016 16:18:36 -0500 Received: from mail.mojserwer.eu ([195.110.48.8]:52710) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cA1Pe-0005lX-0q; Thu, 24 Nov 2016 16:18:34 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id 8C1591DA042; Thu, 24 Nov 2016 22:18:32 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail.mojserwer.eu Received: from mail.mojserwer.eu ([127.0.0.1]) by localhost (mail.mojserwer.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9DllvwWwEzh6; Thu, 24 Nov 2016 22:18:30 +0100 (CET) Received: from localhost (static-dwadziewiec-jedenpiec7.echostar.pl [109.232.29.157]) by mail.mojserwer.eu (Postfix) with ESMTPSA id 3CAC81DA037; Thu, 24 Nov 2016 22:18:30 +0100 (CET) References: <87bmx5qbbx.fsf@mbork.pl> <83d1hk6cga.fsf@gnu.org> User-agent: mu4e 0.9.17; emacs 26.0.50.3 From: Marcin Borkowski To: Eli Zaretskii Subject: Re: bug#25015: 26.0.50; beginning-of-defun-raw goes too far In-reply-to: <83d1hk6cga.fsf@gnu.org> Date: Thu, 24 Nov 2016 22:18:28 +0100 Message-ID: <877f7sr2zf.fsf@mbork.pl> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 25015 Cc: 25015-done@debbugs.gnu.org, 25015@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On 2016-11-24, at 17:59, Eli Zaretskii wrote: >> From: Marcin Borkowski >> Date: Thu, 24 Nov 2016 14:03:30 +0100 >> >> consider this in an Elisp-mode buffer: >> >> --8<---------------cut here---------------start------------->8--- >> ;; Comment header >> >> -!-(defun func-1 (arg) >> "docstring" >> body) >> --8<---------------cut here---------------end--------------->8--- >> >> (-!- means the point). > > This means point is actually _before_ the function, right? Now that I think of it... yes. >> Type M-x beginning-of-defun-raw. The point moves to the beginning >> of buffer instead of staying where it is. > > Do you still think it's a problem? Yes and no. I can see now that this is not necessarily a bug. OTOH, if you now press M-h instead of e.g. C-M-a, you will see why I considered this a problem. (And this is in stock mark-defun; my version has the same problem, I'll have to think how to deal with it.) I'm thus closing this, and sorry for the noise. -- Marcin Borkowski From unknown Fri Jun 20 07:24:31 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 23 Dec 2016 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator