unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Katsumi Yamaoka <yamaoka@jpl.org>
To: Chong Yidong <cyd@stupidchicken.com>
Cc: emacs-pretest-bug@gnu.org, Tassilo Horn <tassilo@member.fsf.org>,
	5175@emacsbugs.donarmstrong.com, ding@gnus.org
Subject: bug#5175: 23.1.50; mark deactivated without running deactivate-mark-hook when replying with Gnus
Date: Sat, 02 Jan 2010 10:38:12 +0900	[thread overview]
Message-ID: <b4mbphdmgl7.fsf__10.0912330255554$1262400596$gmane$org@jpl.org> (raw)
In-Reply-To: 87aaxqdf9z.fsf@thinkpad.tsdh.de

>>>>> In <87aaxqdf9z.fsf@thinkpad.tsdh.de>
>>>>>	Tassilo Horn <tassilo@member.fsf.org> wrote:
> I use this code, to have a 'bar cursor type when the mark is active.

> (defun th-activate-mark-init ()
>   (setq cursor-type 'bar))
> (add-hook 'activate-mark-hook 'th-activate-mark-init)

> (defun th-deactivate-mark-init ()
>   (setq cursor-type 'box))
> (add-hook 'deactivate-mark-hook 'th-deactivate-mark-init)

> This works very good, except when replying to a mail with Gnus using `R'
> in summary.  `R' first yanks the quoted contents of the email I want to
> reply to into the message buffer.  After that, I have a 'bar cursor but
> no active region.

> So it seems that it's somehow possible to deactivate the mark without
> running deactivate-mark-hook, and I think that shouldn't be so.

>>>>> In Bzr-99227  Chong Yidong wrote:
> 2010-01-01  Chong Yidong  <cyd@stupidchicken.com>

> 	* message.el (message-exchange-point-and-mark): Call
> 	exchange-point-and-mark with an argument rather than setting
> 	mark-active by hand (Bug#5175).

This incompatible change makes Gnus not work with old Emacsen, so
I don't merge it to the Gnus trunk, i.e., No Gnus.  Any idea not
to use the argument of `exchange-point-and-mark'?






  parent reply	other threads:[~2010-01-02  1:38 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87r5q936a6.fsf@stupidchicken.com>
2009-12-10 15:23 ` bug#5175: 23.1.50; mark deactivated without running deactivate-mark-hook when replying with Gnus Tassilo Horn
2010-01-01 21:29   ` bug#5175: marked as done (23.1.50; mark deactivated without running deactivate-mark-hook when replying with Gnus) Emacs bug Tracking System
2010-01-02  1:38   ` Katsumi Yamaoka [this message]
2010-01-02  1:38   ` bug#5175: 23.1.50; mark deactivated without running deactivate-mark-hook when replying with Gnus Katsumi Yamaoka
     [not found]   ` <b4mbphdmgl7.fsf@jpl.org>
2010-01-02  2:41     ` Chong Yidong
2010-01-02 19:20     ` Chong Yidong
     [not found]     ` <877hs048lh.fsf@stupidchicken.com>
2010-01-05  2:23       ` Katsumi Yamaoka

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='b4mbphdmgl7.fsf__10.0912330255554$1262400596$gmane$org@jpl.org' \
    --to=yamaoka@jpl.org \
    --cc=5175@debbugs.gnu.org \
    --cc=5175@emacsbugs.donarmstrong.com \
    --cc=cyd@stupidchicken.com \
    --cc=ding@gnus.org \
    --cc=emacs-pretest-bug@gnu.org \
    --cc=tassilo@member.fsf.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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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