all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: owner@emacsbugs.donarmstrong.com (Emacs bug Tracking System)
To: Alan Mackenzie <acm@muc.de>
Subject: bug#2002: marked as done (`beginning-of-defun' pushes mark  undocumentedly.  It shouldn't!)
Date: Sun, 25 Jan 2009 23:35:03 +0000	[thread overview]
Message-ID: <handler.2002.D2002.123292593121183.ackdone@emacsbugs.donarmstrong.com> (raw)
In-Reply-To: 20090123112714.GA3056@muc.de

[-- 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).


      parent reply	other threads:[~2009-01-25 23:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [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   ` Emacs bug Tracking System [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=handler.2002.D2002.123292593121183.ackdone@emacsbugs.donarmstrong.com \
    --to=owner@emacsbugs.donarmstrong.com \
    --cc=acm@muc.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.