all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Barry Margolin <barmar@alum.mit.edu>
To: help-gnu-emacs@gnu.org
Subject: Re: beginning-of-defun / end-of-defun mark set message
Date: Wed, 22 Aug 2012 02:54:34 -0400	[thread overview]
Message-ID: <barmar-A716E2.02543422082012@news.eternal-september.org> (raw)
In-Reply-To: mailman.7381.1345604968.855.help-gnu-emacs@gnu.org

In article <mailman.7381.1345604968.855.help-gnu-emacs@gnu.org>,
 drain <aeuster@gmail.com> wrote:

> What's the point in leaving the second arg to push-mark nil (i.e., NOMSG)?
> 
> I ended up disabling it (push-mark () t) in mods of these two functions, but
> before I embrace the change, I'd like to know the thinking behind leaving
> the message in, in the case of these two functions. It makes sense
> elsewhere, particularly when the user is calling push-mark directly
> (C-space), and it's not embedded into a larger function body.

In general, commands that set the mark should display a message, 
especially if this isn't the command's primary purpose.  It's the same 
reason that beginning/end-of-buffer display the message.

-- 
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***


       reply	other threads:[~2012-08-22  6:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.7381.1345604968.855.help-gnu-emacs@gnu.org>
2012-08-22  6:54 ` Barry Margolin [this message]
2012-08-22  3:09 beginning-of-defun / end-of-defun mark set message drain

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=barmar-A716E2.02543422082012@news.eternal-september.org \
    --to=barmar@alum.mit.edu \
    --cc=help-gnu-emacs@gnu.org \
    /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.