unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: bojohan+news@dd.chalmers.se (Johan Bockgård)
To: help-gnu-emacs@gnu.org
Subject: Re: leaving the region highlighted after a command
Date: Sun, 10 Jun 2007 12:15:46 +0200	[thread overview]
Message-ID: <yoijk5ucjest.fsf@gamma02.me.chalmers.se> (raw)
In-Reply-To: mailman.1639.1181136259.32220.help-gnu-emacs@gnu.org

Jonathan Swartz <swartz@pobox.com> writes:

> But if I simply call mark-whole- buffer from another function or
> copy its code verbatim to another function, the new other functions
> do NOT leave the region highlighted:
>
>    ;; No highlighting
>    (defun mb ()
>      (interactive)
>      (mark-whole-buffer))

Works for me.

-- 
Johan Bockgård

       reply	other threads:[~2007-06-10 10:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1639.1181136259.32220.help-gnu-emacs@gnu.org>
2007-06-10 10:15 ` Johan Bockgård [this message]
2007-06-06 13:24 leaving the region highlighted after a command Jonathan Swartz
2007-06-06 15:15 ` Drew Adams
2007-06-06 19:25   ` Jonathan Swartz
2007-06-07 14:30     ` Drew Adams

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=yoijk5ucjest.fsf@gamma02.me.chalmers.se \
    --to=bojohan+news@dd.chalmers.se \
    --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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).