* bug#2002: `beginning-of-defun' pushes mark undocumentedly. It shouldn't! @ 2009-01-23 11:27 ` Alan Mackenzie 2009-01-24 0:52 ` Glenn Morris 2009-01-25 23:35 ` bug#2002: marked as done (`beginning-of-defun' pushes mark undocumentedly. It shouldn't!) Emacs bug Tracking System 0 siblings, 2 replies; 4+ messages in thread From: Alan Mackenzie @ 2009-01-23 11:27 UTC (permalink / raw To: bug-gnu-emacs Hi, Emacs! I was "horrified" to find `beginning-of-defun' pushes the mark. OK, maybe I should wake up, this having been done as long ago as 2004-05-01 in .../emacs-lisp/lisp.el 1.53. However, this pushing of the mark is NOT DOCUMENTED, neither in the Emacs nor the Elisp manual. THIS IS A BUG!!!! This marking is fine (maybe) when a user types C-M-a. Actually, I think it's of marginal utility - it's about as likely to be a nuisance as to be helpful. The marking is NOT ACCEPTABLE when begining-of-defun is used in a lisp program. Using b-o-d in a program is a reasonable thing to do. The feature, if it is to remain must be documented in both manuals. OK, I'm volunteering to do this. ;-) POSSIBLE FIXES ============== 1. A new customizable option, with a name better than `defun-movement-leaves-mark'. This could be bound to nil by lisp programs. 2. Document that lisp programs should use `beginning-of-defun-raw'. (Does this exist in XEmacs?). 3. Revert b-o-d to leaving the mark well alone. What do people think? -- Alan Mackenzie (Nuremberg, Germany). ^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#2002: `beginning-of-defun' pushes mark undocumentedly. It shouldn't! 2009-01-23 11:27 ` bug#2002: `beginning-of-defun' pushes mark undocumentedly. It shouldn't! Alan Mackenzie @ 2009-01-24 0:52 ` Glenn Morris 2009-01-25 23:36 ` Alan Mackenzie 2009-01-25 23:35 ` bug#2002: marked as done (`beginning-of-defun' pushes mark undocumentedly. It shouldn't!) Emacs bug Tracking System 1 sibling, 1 reply; 4+ messages in thread From: Glenn Morris @ 2009-01-24 0:52 UTC (permalink / raw To: Alan Mackenzie; +Cc: 2002 Alan Mackenzie wrote: > The marking is NOT ACCEPTABLE when begining-of-defun is used in a lisp > program. But it doesn't actually push the mark in that case, though, does it? ^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#2002: `beginning-of-defun' pushes mark undocumentedly. It shouldn't! 2009-01-24 0:52 ` Glenn Morris @ 2009-01-25 23:36 ` Alan Mackenzie 0 siblings, 0 replies; 4+ messages in thread From: Alan Mackenzie @ 2009-01-25 23:36 UTC (permalink / raw To: Glenn Morris; +Cc: 2002 Hi, Glenn! On Fri, Jan 23, 2009 at 07:52:20PM -0500, Glenn Morris wrote: > Alan Mackenzie wrote: > > The marking is NOT ACCEPTABLE when begining-of-defun is used in a lisp > > program. > But it doesn't actually push the mark in that case, though, does it? No, it doesn't. I am calling `mark-sexp', which flashes "Mark set" in the echo area. I shouldn't be using `mark-sexp', because the mark is for the user, not for the elisp programmer. My mistake. Sorry for the noise, and thanks for the correction. -- Alan Mackenzie (Nuremberg, Germany). ^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#2002: marked as done (`beginning-of-defun' pushes mark undocumentedly. It shouldn't!) 2009-01-23 11:27 ` bug#2002: `beginning-of-defun' pushes mark undocumentedly. It shouldn't! Alan Mackenzie 2009-01-24 0:52 ` Glenn Morris @ 2009-01-25 23:35 ` Emacs bug Tracking System 1 sibling, 0 replies; 4+ messages in thread From: Emacs bug Tracking System @ 2009-01-25 23:35 UTC (permalink / raw To: Alan Mackenzie [-- Attachment #1: Type: text/plain, Size: 923 bytes --] Your message dated Sun, 25 Jan 2009 23:44:11 +0000 with message-id <20090125234411.GB6588@muc.de> and subject line Re: bug#2002: `beginning-of-defun' pushes mark undocumentedly. It shouldn't! has caused the Emacs bug report #2002, regarding `beginning-of-defun' pushes mark undocumentedly. It shouldn't! to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com immediately.) -- 2002: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=2002 Emacs Bug Tracking System Contact owner@emacsbugs.donarmstrong.com with problems [-- Attachment #2: Type: message/rfc822, Size: 3223 bytes --] From: Alan Mackenzie <acm@muc.de> To: bug-gnu-emacs@gnu.org Subject: `beginning-of-defun' pushes mark undocumentedly. It shouldn't! Date: Fri, 23 Jan 2009 11:27:14 +0000 Message-ID: <20090123112714.GA3056@muc.de> Hi, Emacs! I was "horrified" to find `beginning-of-defun' pushes the mark. OK, maybe I should wake up, this having been done as long ago as 2004-05-01 in .../emacs-lisp/lisp.el 1.53. However, this pushing of the mark is NOT DOCUMENTED, neither in the Emacs nor the Elisp manual. THIS IS A BUG!!!! This marking is fine (maybe) when a user types C-M-a. Actually, I think it's of marginal utility - it's about as likely to be a nuisance as to be helpful. The marking is NOT ACCEPTABLE when begining-of-defun is used in a lisp program. Using b-o-d in a program is a reasonable thing to do. The feature, if it is to remain must be documented in both manuals. OK, I'm volunteering to do this. ;-) POSSIBLE FIXES ============== 1. A new customizable option, with a name better than `defun-movement-leaves-mark'. This could be bound to nil by lisp programs. 2. Document that lisp programs should use `beginning-of-defun-raw'. (Does this exist in XEmacs?). 3. Revert b-o-d to leaving the mark well alone. What do people think? -- Alan Mackenzie (Nuremberg, Germany). [-- Attachment #3: Type: message/rfc822, Size: 1931 bytes --] From: Alan Mackenzie <acm@muc.de> To: 2002-done@emacsbugs.donarmstrong.com Subject: Re: bug#2002: `beginning-of-defun' pushes mark undocumentedly. It shouldn't! Date: Sun, 25 Jan 2009 23:44:11 +0000 Message-ID: <20090125234411.GB6588@muc.de> On Fri, Jan 23, 2009 at 11:27:14AM +0000, Alan Mackenzie wrote: > Hi, Emacs! > I was "horrified" to find `beginning-of-defun' pushes the mark. OK, > maybe I should wake up, this having been done as long ago as 2004-05-01 > in .../emacs-lisp/lisp.el 1.53. > However, this pushing of the mark is NOT DOCUMENTED, neither in the > Emacs nor the Elisp manual. THIS IS A BUG!!!! Closed - there is no bug. The report was a mistake. -- Alan Mackenzie (Nuremberg, Germany). ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-01-25 23:36 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <20090125234411.GB6588@muc.de> 2009-01-23 11:27 ` bug#2002: `beginning-of-defun' pushes mark undocumentedly. It shouldn't! Alan Mackenzie 2009-01-24 0:52 ` Glenn Morris 2009-01-25 23:36 ` Alan Mackenzie 2009-01-25 23:35 ` bug#2002: marked as done (`beginning-of-defun' pushes mark undocumentedly. It shouldn't!) Emacs bug Tracking System
Code repositories for project(s) associated with this external index https://git.savannah.gnu.org/cgit/emacs.git https://git.savannah.gnu.org/cgit/emacs/org-mode.git This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.