From unknown Sat Sep 13 08:20:58 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#5175: 23.1.50; mark deactivated without running deactivate-mark-hook when replying with Gnus Reply-To: Tassilo Horn , 5175@debbugs.gnu.org Resent-From: Tassilo Horn Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Thu, 10 Dec 2009 15:30:25 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: report 5175 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.126045861818862 (code B ref -1); Thu, 10 Dec 2009 15:30:25 +0000 Received: (at submit) by emacsbugs.donarmstrong.com; 10 Dec 2009 15:23:38 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-1.6 required=4.0 tests=AWL,FOURLA,MURPHY_DRUGS_REL8 autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nBAFNagU018855 for ; Thu, 10 Dec 2009 07:23:37 -0800 Received: from mail.gnu.org ([199.232.76.166]:50772 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1NIkre-0007WL-Sg for emacs-pretest-bug@gnu.org; Thu, 10 Dec 2009 10:23:35 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NIkrY-0000EU-RG for emacs-pretest-bug@gnu.org; Thu, 10 Dec 2009 10:23:34 -0500 Received: from deliver.uni-koblenz.de ([141.26.64.15]:28250) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NIkrY-0000E3-2c for emacs-pretest-bug@gnu.org; Thu, 10 Dec 2009 10:23:28 -0500 Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id 5A22E78A3258 for ; Thu, 10 Dec 2009 16:23:26 +0100 (CET) Received: from deliver.uni-koblenz.de ([127.0.0.1]) by localhost (deliver.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 31894-05 for ; Thu, 10 Dec 2009 16:23:22 +0100 (CET) X-CHKRCPT: Envelopesender noch tassilo@member.fsf.org Received: from thinkpad.tsdh.de (unknown [141.26.94.26]) by deliver.uni-koblenz.de (Postfix) with ESMTP id 2E76378975AD for ; Thu, 10 Dec 2009 16:23:20 +0100 (CET) From: Tassilo Horn To: emacs-pretest-bug@gnu.org Date: Thu, 10 Dec 2009 16:23:20 +0100 Message-ID: <87aaxqdf9z.fsf@thinkpad.tsdh.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: amavisd-new at uni-koblenz.de X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the emacs-pretest-bug@gnu.org mailing list. Please describe exactly what actions triggered the bug and the precise symptoms of the bug. If you can, give a recipe starting from `emacs -Q': I use this code, to have a 'bar cursor type when the mark is active. --8<---------------cut here---------------start------------->8--- (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) --8<---------------cut here---------------end--------------->8--- 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. If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. For information about debugging Emacs, please read the file /usr/share/emacs/23.1.50/etc/DEBUG. In GNU Emacs 23.1.50.1 (x86_64-pc-linux-gnu, GTK+ Version 2.18.3) of 2009-12-08 on localhost Windowing system distributor `The X.Org Foundation', version 11.0.10703000 configured using `configure '--prefix=/usr' '--host=x86_64-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--libdir=/usr/lib64' '--build=x86_64-pc-linux-gnu' '--program-suffix=-emacs-23-cvs' '--infodir=/usr/share/info/emacs-23-cvs' '--with-sound' '--with-x' '--without-gconf' '--without-toolkit-scroll-bars' '--with-gif' '--with-jpeg' '--with-png' '--with-rsvg' '--with-tiff' '--with-xpm' '--with-xft' '--with-libotf' '--with-m17n-flt' '--with-x-toolkit=gtk' '--without-hesiod' '--without-kerberos' '--without-kerberos5' '--with-gpm' '--with-dbus' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=x86_64-pc-linux-gnu' 'CFLAGS=-march=core2 -O2 -pipe' 'LDFLAGS=-Wl,-z,now'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Emacs-Lisp Minor modes in effect: shell-dirtrack-mode: t rcirc-track-minor-mode: t paredit-mode: t eldoc-mode: t highlight-symbol-mode: t hi-lock-mode: t outline-minor-mode: t highlight-parentheses-mode: t recentf-mode: t window-number-meta-mode: t window-number-mode: t exec-abbrev-cmd-mode: t global-subword-mode: t subword-mode: t global-hl-line-mode: t savehist-mode: t show-paren-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: R c n n n n n n n n n n n n n n n n n n n n n n n n n n n n n n n n n n n n n n n C-x k q M-x C-g R n n n n n n n n n n n n n n n n n n n n n n n n n n n n n n n n n n n n n n n n n n n n n n n n c C-x k q C-x b C-x C-e C-x b e m C-h f d e b ( d e b u i g C-x C-e C-x b s C-x C-e C-x k C-x b r C-x k R C-h f q C-x C-x q C-x b C-x C-e C-x C-s C-x C-x C-x C-x C-g C-g M-1 M-2 q M-x r e b C-g C-x b M-x r e b Recent messages: Back to top level. th-activate-mark-init Saving file /home/horn/repos/configs/dot-emacs.el... Wrote /home/horn/repos/configs/dot-emacs.el Quit [3 times] Auto-saving... 20091210T155806.201> Exiting summary buffer and applying spam rules 20091210T155806.209> nnimap: Setting marks in ml/re-group... 20091210T155806.211> nnimap: Setting marks in ml/re-group...done 20091210T155806.218> No more unread newsgroups Quit Load-path shadows: ~/repos/el/org-mode/lisp/org-bbdb hides /usr/share/emacs/23.1.50/lisp/org/org-bbdb ~/repos/el/org-mode/lisp/org-habit hides /usr/share/emacs/23.1.50/lisp/org/org-habit ~/repos/el/org-mode/lisp/org-colview hides /usr/share/emacs/23.1.50/lisp/org/org-colview ~/repos/el/org-mode/lisp/org-footnote hides /usr/share/emacs/23.1.50/lisp/org/org-footnote ~/repos/el/org-mode/lisp/org-freemind hides /usr/share/emacs/23.1.50/lisp/org/org-freemind ~/repos/el/org-mode/lisp/org-compat hides /usr/share/emacs/23.1.50/lisp/org/org-compat ~/repos/el/org-mode/lisp/org-icalendar hides /usr/share/emacs/23.1.50/lisp/org/org-icalendar ~/repos/el/org-mode/lisp/org-clock hides /usr/share/emacs/23.1.50/lisp/org/org-clock ~/repos/el/org-mode/lisp/org-bibtex hides /usr/share/emacs/23.1.50/lisp/org/org-bibtex ~/repos/el/org-mode/lisp/org-indent hides /usr/share/emacs/23.1.50/lisp/org/org-indent ~/repos/el/org-mode/lisp/org-faces hides /usr/share/emacs/23.1.50/lisp/org/org-faces ~/repos/el/org-mode/lisp/org-timer hides /usr/share/emacs/23.1.50/lisp/org/org-timer ~/repos/el/org-mode/lisp/org-vm hides /usr/share/emacs/23.1.50/lisp/org/org-vm ~/repos/el/org-mode/lisp/org-list hides /usr/share/emacs/23.1.50/lisp/org/org-list ~/repos/el/org-mode/lisp/org-gnus hides /usr/share/emacs/23.1.50/lisp/org/org-gnus ~/repos/el/org-mode/lisp/org-crypt hides /usr/share/emacs/23.1.50/lisp/org/org-crypt ~/repos/el/org-mode/lisp/org-exp hides /usr/share/emacs/23.1.50/lisp/org/org-exp ~/repos/el/org-mode/lisp/org-protocol hides /usr/share/emacs/23.1.50/lisp/org/org-protocol ~/repos/el/org-mode/lisp/org-inlinetask hides /usr/share/emacs/23.1.50/lisp/org/org-inlinetask ~/repos/el/org-mode/lisp/org-wl hides /usr/share/emacs/23.1.50/lisp/org/org-wl ~/repos/el/org-mode/lisp/org-plot hides /usr/share/emacs/23.1.50/lisp/org/org-plot ~/repos/el/org-mode/lisp/org-w3m hides /usr/share/emacs/23.1.50/lisp/org/org-w3m ~/repos/el/org-mode/lisp/org-agenda hides /usr/share/emacs/23.1.50/lisp/org/org-agenda ~/repos/el/org-mode/lisp/org-archive hides /usr/share/emacs/23.1.50/lisp/org/org-archive ~/repos/el/org-mode/lisp/org-attach hides /usr/share/emacs/23.1.50/lisp/org/org-attach ~/repos/el/org-mode/lisp/org-latex hides /usr/share/emacs/23.1.50/lisp/org/org-latex ~/repos/el/org-mode/lisp/org-mhe hides /usr/share/emacs/23.1.50/lisp/org/org-mhe ~/repos/el/org-mode/lisp/org-irc hides /usr/share/emacs/23.1.50/lisp/org/org-irc ~/repos/el/org-mode/lisp/org-table hides /usr/share/emacs/23.1.50/lisp/org/org-table ~/repos/el/org-mode/lisp/org-info hides /usr/share/emacs/23.1.50/lisp/org/org-info ~/repos/el/org-mode/lisp/org-docbook hides /usr/share/emacs/23.1.50/lisp/org/org-docbook ~/repos/el/org-mode/lisp/org-ascii hides /usr/share/emacs/23.1.50/lisp/org/org-ascii ~/repos/el/org-mode/lisp/org-jsinfo hides /usr/share/emacs/23.1.50/lisp/org/org-jsinfo ~/repos/el/org-mode/lisp/org-id hides /usr/share/emacs/23.1.50/lisp/org/org-id ~/repos/el/org-mode/lisp/org-feed hides /usr/share/emacs/23.1.50/lisp/org/org-feed ~/repos/el/org-mode/lisp/org-xoxo hides /usr/share/emacs/23.1.50/lisp/org/org-xoxo ~/repos/el/org-mode/lisp/org-publish hides /usr/share/emacs/23.1.50/lisp/org/org-publish ~/repos/el/org-mode/lisp/org-exp-blocks hides /usr/share/emacs/23.1.50/lisp/org/org-exp-blocks ~/repos/el/org-mode/lisp/org-mew hides /usr/share/emacs/23.1.50/lisp/org/org-mew ~/repos/el/org-mode/lisp/org-mobile hides /usr/share/emacs/23.1.50/lisp/org/org-mobile ~/repos/el/org-mode/lisp/org-datetree hides /usr/share/emacs/23.1.50/lisp/org/org-datetree ~/repos/el/org-mode/lisp/org-remember hides /usr/share/emacs/23.1.50/lisp/org/org-remember ~/repos/el/org-mode/lisp/org-macs hides /usr/share/emacs/23.1.50/lisp/org/org-macs ~/repos/el/org-mode/lisp/org-mouse hides /usr/share/emacs/23.1.50/lisp/org/org-mouse ~/repos/el/org-mode/lisp/org-html hides /usr/share/emacs/23.1.50/lisp/org/org-html ~/repos/el/org-mode/lisp/org-install hides /usr/share/emacs/23.1.50/lisp/org/org-install ~/repos/el/org-mode/lisp/org-src hides /usr/share/emacs/23.1.50/lisp/org/org-src ~/repos/el/org-mode/lisp/org hides /usr/share/emacs/23.1.50/lisp/org/org ~/repos/el/org-mode/lisp/org-rmail hides /usr/share/emacs/23.1.50/lisp/org/org-rmail ~/repos/el/org-mode/lisp/org-mac-message hides /usr/share/emacs/23.1.50/lisp/org/org-mac-message Features: (shadow emacsbug w3m-form w3m-symbol re-builder grep bbdb-gui flow-fill gnus-cite ansi-color gnus-bcklg gnus-dup gnus-async sort gnus-ml skeleton solar cal-dst holidays hol-loaddefs cal-iso tramp-imap epa epg imap-hash tramp-gw tramp-fish tramp-smb tramp-cache tramp-ftp tramp-cmds tramp shell tramp-compat trampver sh-script executable mule-util cal-move ibuf-ext ibuffer cl-specs edebug debug hippie-exp multi-isearch vc-dispatcher vc-svn find-func help-mode view gnus-topic parse-time pop3 nnml utf-7 utf7 auth-source nnimap imap trace nndraft nnmh nnnil gnus-agent gnus-srvr gnus-score score-mode nnvirtual nntp gnus-cache notmuch bbdb-hooks bbdb-gnus bbdb-snarf mail-extr spam spam-stat bbdb-com gnus-uu yenc gnus-msg smiley gnus-art mm-uu mml2015 epg-config mm-view smime dig gnus-sum nnoo gnus-group gnus-undo nnmail mail-source format-spec gnus-start gnus-spec gnus-int gnus-range gnus-win garak elim warnings lui tracking flyspell ispell incomplete rcirc-late-fix rcirc greqlscript-mode greql-mode tg-mode generic th-latex swank-clojure-autoload clojure-mode swank-clojure paredit slime-fancy slime-fontifying-fu slime-package-fu slime-mdot-fu slime-references slime-xref-browser slime-scratch slime-presentations slime-highlight-edits slime-fuzzy slime-fancy-inspector slime-c-p-c slime-editing-commands slime-autodoc slime-enclosing-context slime-parse slime-repl slime apropos hideshow hyperspec wtf cus-edit cus-start cus-load rdictcc appt diary-lib diary-loaddefs vc-git org-attach org-protocol org-irc org-info org-gnus org-bbdb org-id org-agenda remember org-remember org-datetree org org-footnote org-src org-list org-faces org-compat org-macs org-install cal-menu calendar cal-loaddefs dired-x dired-aux pcomplete em-term term ehelp electric esh-var esh-io esh-cmd esh-ext esh-proc esh-arg eldoc esh-groups eshell esh-util esh-module esh-mode lisppaste xml-rpc xml th-boxquote boxquote rect highlight-symbol hi-lock footnote smtpmail message idna sendmail ecomplete rfc822 mml mml-sec password-cache mm-decode mm-bodies mm-encode mailabbrev gmm-utils mailheader canlock sha1 hex-util hashcash info server yasnippet dropdown-list noutline outline highlight-parentheses browse-kill-ring derived filesets recentf tree-widget sr-speedbar speedbar sb-image ezimage dframe ido anything-config compile comint ring semantic/util-modes semantic/util semantic semantic/tag semantic/lex semantic/fw eieio byte-opt bytecomp byte-compile mode-local cedet imenu w3m-bookmark w3m browse-url doc-view jka-compr image-mode w3m-hist w3m-fb w3m-ems w3m-ccl ccl w3m-favicon w3m-image w3m-proc w3m-util bookmark pp ffap dired rx thingatpt anything woman easymenu man assoc window-number uniquify exec-abbrev-cmd easy-mmode cl cl-19 subword hl-line saveplace savehist paren th-private edmacro kmacro advice help-fns advice-preload th-common mm-url gnus gnus-ems nnheader gnus-util netrc mail-utils wid-edit url-http tls url url-proxy url-privacy url-expand url-methods url-history mailcap url-auth mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums time-date url-cookie url-util url-parse url-gw url-vars mm-util mail-prsvr windmove disp-table site-gentoo w3m-load bbdb-autoloads bbdb regexp-opt timezone tex-site auto-loads tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd font-setting tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind font-render-setting gtk x-toolkit x multi-tty emacs) From unknown Sat Sep 13 08:20:58 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: bug-gnu-emacs@gnu.org From: bug-gnu-emacs@gnu.org (Emacs bug Tracking System) To: Tassilo Horn Subject: bug#5175 closed by Chong Yidong (23.1.50; mark deactivated without running deactivate-mark-hook when replying with Gnus) Message-ID: References: <87r5q936a6.fsf@stupidchicken.com> <87aaxqdf9z.fsf@thinkpad.tsdh.de> X-Emacs-PR-Message: they-closed 5175 X-Emacs-PR-Package: emacs Reply-To: 5175@debbugs.gnu.org Date: Fri, 01 Jan 2010 21:29:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1262381343-3534-1" This is a multi-part message in MIME format... ------------=_1262381343-3534-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the emacs package: #5175: 23.1.50; mark deactivated without running deactivate-mark-hook when = replying with Gnus It has been closed by Chong Yidong . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Chong Yidong by replying to this email. --=20 5175: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D5175 Emacs Bug Tracking System Contact bug-gnu-emacs@gnu.org with problems ------------=_1262381343-3534-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 5175-done) by debbugs.gnu.org; 1 Jan 2010 21:28:27 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NQp2o-0000uZ-Su for submit@debbugs.gnu.org; Fri, 01 Jan 2010 16:28:27 -0500 Received: from pantheon-po42.its.yale.edu ([130.132.50.101]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NQp2n-0000uT-6y for 5175-done@debbugs.gnu.org; Fri, 01 Jan 2010 16:28:25 -0500 Received: from furry (162.254.218.209.transedge.com [209.218.254.162]) (authenticated bits=0) by pantheon-po42.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id o01LSJcm013256 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 1 Jan 2010 16:28:21 -0500 Received: by furry (Postfix, from userid 1000) id AAF4EC07C; Fri, 1 Jan 2010 15:43:29 -0500 (EST) From: Chong Yidong To: Tassilo Horn Subject: 23.1.50; mark deactivated without running deactivate-mark-hook when replying with Gnus Date: Fri, 01 Jan 2010 15:43:29 -0500 Message-ID: <87r5q936a6.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-Spam-Score: 0.6 (/) X-Debbugs-Envelope-To: 5175-done Cc: 5175-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.6 (/) > I use this code, to have a 'bar cursor type when the mark is active. > > --8<---------------cut here---------------start------------->8--- > (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) > --8<---------------cut here---------------end--------------->8--- > > 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. The function message-exchange-point-and-mark in message.el was setting mark-active by hand, incorrectly. I've checked in a fix. Thanks for the bug report. ------------=_1262381343-3534-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 10 Dec 2009 15:23:38 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-1.6 required=4.0 tests=AWL,FOURLA,MURPHY_DRUGS_REL8 autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nBAFNagU018855 for ; Thu, 10 Dec 2009 07:23:37 -0800 Received: from mail.gnu.org ([199.232.76.166]:50772 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1NIkre-0007WL-Sg for emacs-pretest-bug@gnu.org; Thu, 10 Dec 2009 10:23:35 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NIkrY-0000EU-RG for emacs-pretest-bug@gnu.org; Thu, 10 Dec 2009 10:23:34 -0500 Received: from deliver.uni-koblenz.de ([141.26.64.15]:28250) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NIkrY-0000E3-2c for emacs-pretest-bug@gnu.org; Thu, 10 Dec 2009 10:23:28 -0500 Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id 5A22E78A3258 for ; Thu, 10 Dec 2009 16:23:26 +0100 (CET) Received: from deliver.uni-koblenz.de ([127.0.0.1]) by localhost (deliver.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 31894-05 for ; Thu, 10 Dec 2009 16:23:22 +0100 (CET) X-CHKRCPT: Envelopesender noch tassilo@member.fsf.org Received: from thinkpad.tsdh.de (unknown [141.26.94.26]) by deliver.uni-koblenz.de (Postfix) with ESMTP id 2E76378975AD for ; Thu, 10 Dec 2009 16:23:20 +0100 (CET) From: Tassilo Horn To: emacs-pretest-bug@gnu.org Subject: 23.1.50; mark deactivated without running deactivate-mark-hook when replying with Gnus Date: Thu, 10 Dec 2009 16:23:20 +0100 Message-ID: <87aaxqdf9z.fsf@thinkpad.tsdh.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: amavisd-new at uni-koblenz.de X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the emacs-pretest-bug@gnu.org mailing list. Please describe exactly what actions triggered the bug and the precise symptoms of the bug. If you can, give a recipe starting from `emacs -Q': I use this code, to have a 'bar cursor type when the mark is active. --8<---------------cut here---------------start------------->8--- (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) --8<---------------cut here---------------end--------------->8--- 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. If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. For information about debugging Emacs, please read the file /usr/share/emacs/23.1.50/etc/DEBUG. In GNU Emacs 23.1.50.1 (x86_64-pc-linux-gnu, GTK+ Version 2.18.3) of 2009-12-08 on localhost Windowing system distributor `The X.Org Foundation', version 11.0.10703000 configured using `configure '--prefix=/usr' '--host=x86_64-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--libdir=/usr/lib64' '--build=x86_64-pc-linux-gnu' '--program-suffix=-emacs-23-cvs' '--infodir=/usr/share/info/emacs-23-cvs' '--with-sound' '--with-x' '--without-gconf' '--without-toolkit-scroll-bars' '--with-gif' '--with-jpeg' '--with-png' '--with-rsvg' '--with-tiff' '--with-xpm' '--with-xft' '--with-libotf' '--with-m17n-flt' '--with-x-toolkit=gtk' '--without-hesiod' '--without-kerberos' '--without-kerberos5' '--with-gpm' '--with-dbus' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=x86_64-pc-linux-gnu' 'CFLAGS=-march=core2 -O2 -pipe' 'LDFLAGS=-Wl,-z,now'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Emacs-Lisp Minor modes in effect: shell-dirtrack-mode: t rcirc-track-minor-mode: t paredit-mode: t eldoc-mode: t highlight-symbol-mode: t hi-lock-mode: t outline-minor-mode: t highlight-parentheses-mode: t recentf-mode: t window-number-meta-mode: t window-number-mode: t exec-abbrev-cmd-mode: t global-subword-mode: t subword-mode: t global-hl-line-mode: t savehist-mode: t show-paren-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: R c n n n n n n n n n n n n n n n n n n n n n n n n n n n n n n n n n n n n n n n C-x k q M-x C-g R n n n n n n n n n n n n n n n n n n n n n n n n n n n n n n n n n n n n n n n n n n n n n n n n c C-x k q C-x b C-x C-e C-x b e m C-h f d e b ( d e b u i g C-x C-e C-x b s C-x C-e C-x k C-x b r C-x k R C-h f q C-x C-x q C-x b C-x C-e C-x C-s C-x C-x C-x C-x C-g C-g M-1 M-2 q M-x r e b C-g C-x b M-x r e b Recent messages: Back to top level. th-activate-mark-init Saving file /home/horn/repos/configs/dot-emacs.el... Wrote /home/horn/repos/configs/dot-emacs.el Quit [3 times] Auto-saving... 20091210T155806.201> Exiting summary buffer and applying spam rules 20091210T155806.209> nnimap: Setting marks in ml/re-group... 20091210T155806.211> nnimap: Setting marks in ml/re-group...done 20091210T155806.218> No more unread newsgroups Quit Load-path shadows: ~/repos/el/org-mode/lisp/org-bbdb hides /usr/share/emacs/23.1.50/lisp/org/org-bbdb ~/repos/el/org-mode/lisp/org-habit hides /usr/share/emacs/23.1.50/lisp/org/org-habit ~/repos/el/org-mode/lisp/org-colview hides /usr/share/emacs/23.1.50/lisp/org/org-colview ~/repos/el/org-mode/lisp/org-footnote hides /usr/share/emacs/23.1.50/lisp/org/org-footnote ~/repos/el/org-mode/lisp/org-freemind hides /usr/share/emacs/23.1.50/lisp/org/org-freemind ~/repos/el/org-mode/lisp/org-compat hides /usr/share/emacs/23.1.50/lisp/org/org-compat ~/repos/el/org-mode/lisp/org-icalendar hides /usr/share/emacs/23.1.50/lisp/org/org-icalendar ~/repos/el/org-mode/lisp/org-clock hides /usr/share/emacs/23.1.50/lisp/org/org-clock ~/repos/el/org-mode/lisp/org-bibtex hides /usr/share/emacs/23.1.50/lisp/org/org-bibtex ~/repos/el/org-mode/lisp/org-indent hides /usr/share/emacs/23.1.50/lisp/org/org-indent ~/repos/el/org-mode/lisp/org-faces hides /usr/share/emacs/23.1.50/lisp/org/org-faces ~/repos/el/org-mode/lisp/org-timer hides /usr/share/emacs/23.1.50/lisp/org/org-timer ~/repos/el/org-mode/lisp/org-vm hides /usr/share/emacs/23.1.50/lisp/org/org-vm ~/repos/el/org-mode/lisp/org-list hides /usr/share/emacs/23.1.50/lisp/org/org-list ~/repos/el/org-mode/lisp/org-gnus hides /usr/share/emacs/23.1.50/lisp/org/org-gnus ~/repos/el/org-mode/lisp/org-crypt hides /usr/share/emacs/23.1.50/lisp/org/org-crypt ~/repos/el/org-mode/lisp/org-exp hides /usr/share/emacs/23.1.50/lisp/org/org-exp ~/repos/el/org-mode/lisp/org-protocol hides /usr/share/emacs/23.1.50/lisp/org/org-protocol ~/repos/el/org-mode/lisp/org-inlinetask hides /usr/share/emacs/23.1.50/lisp/org/org-inlinetask ~/repos/el/org-mode/lisp/org-wl hides /usr/share/emacs/23.1.50/lisp/org/org-wl ~/repos/el/org-mode/lisp/org-plot hides /usr/share/emacs/23.1.50/lisp/org/org-plot ~/repos/el/org-mode/lisp/org-w3m hides /usr/share/emacs/23.1.50/lisp/org/org-w3m ~/repos/el/org-mode/lisp/org-agenda hides /usr/share/emacs/23.1.50/lisp/org/org-agenda ~/repos/el/org-mode/lisp/org-archive hides /usr/share/emacs/23.1.50/lisp/org/org-archive ~/repos/el/org-mode/lisp/org-attach hides /usr/share/emacs/23.1.50/lisp/org/org-attach ~/repos/el/org-mode/lisp/org-latex hides /usr/share/emacs/23.1.50/lisp/org/org-latex ~/repos/el/org-mode/lisp/org-mhe hides /usr/share/emacs/23.1.50/lisp/org/org-mhe ~/repos/el/org-mode/lisp/org-irc hides /usr/share/emacs/23.1.50/lisp/org/org-irc ~/repos/el/org-mode/lisp/org-table hides /usr/share/emacs/23.1.50/lisp/org/org-table ~/repos/el/org-mode/lisp/org-info hides /usr/share/emacs/23.1.50/lisp/org/org-info ~/repos/el/org-mode/lisp/org-docbook hides /usr/share/emacs/23.1.50/lisp/org/org-docbook ~/repos/el/org-mode/lisp/org-ascii hides /usr/share/emacs/23.1.50/lisp/org/org-ascii ~/repos/el/org-mode/lisp/org-jsinfo hides /usr/share/emacs/23.1.50/lisp/org/org-jsinfo ~/repos/el/org-mode/lisp/org-id hides /usr/share/emacs/23.1.50/lisp/org/org-id ~/repos/el/org-mode/lisp/org-feed hides /usr/share/emacs/23.1.50/lisp/org/org-feed ~/repos/el/org-mode/lisp/org-xoxo hides /usr/share/emacs/23.1.50/lisp/org/org-xoxo ~/repos/el/org-mode/lisp/org-publish hides /usr/share/emacs/23.1.50/lisp/org/org-publish ~/repos/el/org-mode/lisp/org-exp-blocks hides /usr/share/emacs/23.1.50/lisp/org/org-exp-blocks ~/repos/el/org-mode/lisp/org-mew hides /usr/share/emacs/23.1.50/lisp/org/org-mew ~/repos/el/org-mode/lisp/org-mobile hides /usr/share/emacs/23.1.50/lisp/org/org-mobile ~/repos/el/org-mode/lisp/org-datetree hides /usr/share/emacs/23.1.50/lisp/org/org-datetree ~/repos/el/org-mode/lisp/org-remember hides /usr/share/emacs/23.1.50/lisp/org/org-remember ~/repos/el/org-mode/lisp/org-macs hides /usr/share/emacs/23.1.50/lisp/org/org-macs ~/repos/el/org-mode/lisp/org-mouse hides /usr/share/emacs/23.1.50/lisp/org/org-mouse ~/repos/el/org-mode/lisp/org-html hides /usr/share/emacs/23.1.50/lisp/org/org-html ~/repos/el/org-mode/lisp/org-install hides /usr/share/emacs/23.1.50/lisp/org/org-install ~/repos/el/org-mode/lisp/org-src hides /usr/share/emacs/23.1.50/lisp/org/org-src ~/repos/el/org-mode/lisp/org hides /usr/share/emacs/23.1.50/lisp/org/org ~/repos/el/org-mode/lisp/org-rmail hides /usr/share/emacs/23.1.50/lisp/org/org-rmail ~/repos/el/org-mode/lisp/org-mac-message hides /usr/share/emacs/23.1.50/lisp/org/org-mac-message Features: (shadow emacsbug w3m-form w3m-symbol re-builder grep bbdb-gui flow-fill gnus-cite ansi-color gnus-bcklg gnus-dup gnus-async sort gnus-ml skeleton solar cal-dst holidays hol-loaddefs cal-iso tramp-imap epa epg imap-hash tramp-gw tramp-fish tramp-smb tramp-cache tramp-ftp tramp-cmds tramp shell tramp-compat trampver sh-script executable mule-util cal-move ibuf-ext ibuffer cl-specs edebug debug hippie-exp multi-isearch vc-dispatcher vc-svn find-func help-mode view gnus-topic parse-time pop3 nnml utf-7 utf7 auth-source nnimap imap trace nndraft nnmh nnnil gnus-agent gnus-srvr gnus-score score-mode nnvirtual nntp gnus-cache notmuch bbdb-hooks bbdb-gnus bbdb-snarf mail-extr spam spam-stat bbdb-com gnus-uu yenc gnus-msg smiley gnus-art mm-uu mml2015 epg-config mm-view smime dig gnus-sum nnoo gnus-group gnus-undo nnmail mail-source format-spec gnus-start gnus-spec gnus-int gnus-range gnus-win garak elim warnings lui tracking flyspell ispell incomplete rcirc-late-fix rcirc greqlscript-mode greql-mode tg-mode generic th-latex swank-clojure-autoload clojure-mode swank-clojure paredit slime-fancy slime-fontifying-fu slime-package-fu slime-mdot-fu slime-references slime-xref-browser slime-scratch slime-presentations slime-highlight-edits slime-fuzzy slime-fancy-inspector slime-c-p-c slime-editing-commands slime-autodoc slime-enclosing-context slime-parse slime-repl slime apropos hideshow hyperspec wtf cus-edit cus-start cus-load rdictcc appt diary-lib diary-loaddefs vc-git org-attach org-protocol org-irc org-info org-gnus org-bbdb org-id org-agenda remember org-remember org-datetree org org-footnote org-src org-list org-faces org-compat org-macs org-install cal-menu calendar cal-loaddefs dired-x dired-aux pcomplete em-term term ehelp electric esh-var esh-io esh-cmd esh-ext esh-proc esh-arg eldoc esh-groups eshell esh-util esh-module esh-mode lisppaste xml-rpc xml th-boxquote boxquote rect highlight-symbol hi-lock footnote smtpmail message idna sendmail ecomplete rfc822 mml mml-sec password-cache mm-decode mm-bodies mm-encode mailabbrev gmm-utils mailheader canlock sha1 hex-util hashcash info server yasnippet dropdown-list noutline outline highlight-parentheses browse-kill-ring derived filesets recentf tree-widget sr-speedbar speedbar sb-image ezimage dframe ido anything-config compile comint ring semantic/util-modes semantic/util semantic semantic/tag semantic/lex semantic/fw eieio byte-opt bytecomp byte-compile mode-local cedet imenu w3m-bookmark w3m browse-url doc-view jka-compr image-mode w3m-hist w3m-fb w3m-ems w3m-ccl ccl w3m-favicon w3m-image w3m-proc w3m-util bookmark pp ffap dired rx thingatpt anything woman easymenu man assoc window-number uniquify exec-abbrev-cmd easy-mmode cl cl-19 subword hl-line saveplace savehist paren th-private edmacro kmacro advice help-fns advice-preload th-common mm-url gnus gnus-ems nnheader gnus-util netrc mail-utils wid-edit url-http tls url url-proxy url-privacy url-expand url-methods url-history mailcap url-auth mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums time-date url-cookie url-util url-parse url-gw url-vars mm-util mail-prsvr windmove disp-table site-gentoo w3m-load bbdb-autoloads bbdb regexp-opt timezone tex-site auto-loads tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd font-setting tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind font-render-setting gtk x-toolkit x multi-tty emacs) ------------=_1262381343-3534-1-- From unknown Sat Sep 13 08:20:58 2025 X-Loop: bug-gnu-emacs@gnu.org Subject: bug#5175: 23.1.50; mark deactivated without running deactivate-mark-hook when replying with Gnus Reply-To: Katsumi Yamaoka , 5175@debbugs.gnu.org Mail-Followup-To: Katsumi Yamaoka , 5175@debbugs.gnu.org Resent-From: Katsumi Yamaoka Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 02 Jan 2010 02:42:01 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: followup 5175 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@debbugs.gnu.org id=B.126240011815705 (code B ref -1); Sat, 02 Jan 2010 02:42:01 +0000 Received: (at submit) by debbugs.gnu.org; 2 Jan 2010 02:41:58 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NQtwE-00045C-AY for submit@debbugs.gnu.org; Fri, 01 Jan 2010 21:41:58 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NQswo-0003ba-J5 for submit@debbugs.gnu.org; Fri, 01 Jan 2010 20:38:31 -0500 Received: from mail.gnu.org ([199.232.76.166]:36243 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NQswk-0003r3-Sg for emacs-pretest-bug@gnu.org; Fri, 01 Jan 2010 20:38:27 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NQswj-00007k-15 for emacs-pretest-bug@gnu.org; Fri, 01 Jan 2010 20:38:26 -0500 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on monty-python X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.0 Received: from washington.hostforweb.net ([66.225.201.13]:36254) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NQswi-00007W-OE for emacs-pretest-bug@gnu.org; Fri, 01 Jan 2010 20:38:24 -0500 Received: from softbank218118002009.bbtec.net ([218.118.2.9]:45108 helo=) by washington.hostforweb.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1NQswW-0001Ri-NF; Fri, 01 Jan 2010 19:38:12 -0600 From: Katsumi Yamaoka To: Chong Yidong References: <87aaxqdf9z.fsf@thinkpad.tsdh.de> X-Face: #kKnN,xUnmKia.'[pp`; Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu; B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( Date: Sat, 02 Jan 2010 10:38:12 +0900 Message-ID: User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.91 (gnu/linux) Cancel-Lock: sha1:cA3ubxVsGVgCzV7mbf0B32vr3M0= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Antivirus-Scanner: Clean mail though you should still use an Antivirus X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - washington.hostforweb.net X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Source: X-Source-Args: X-Source-Dir: X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-Spam-Score: -1.4 (-) X-Mailman-Approved-At: Fri, 01 Jan 2010 21:41:40 -0500 Cc: emacs-pretest-bug@gnu.org, Tassilo Horn , 5175@debbugs.gnu.org, ding@gnus.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.1 (--) >>>>> In <87aaxqdf9z.fsf@thinkpad.tsdh.de> >>>>> Tassilo Horn 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 > * 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'? From unknown Sat Sep 13 08:20:58 2025 X-Loop: bug-gnu-emacs@gnu.org Subject: bug#5175: 23.1.50; mark deactivated without running deactivate-mark-hook when replying with Gnus Reply-To: Chong Yidong , 5175@debbugs.gnu.org Mail-Followup-To: Chong Yidong , 5175@debbugs.gnu.org Resent-From: Chong Yidong Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 02 Jan 2010 02:43:02 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: followup 5175 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 5175-submit@debbugs.gnu.org id=B5175.126240012615744 (code B ref 5175); Sat, 02 Jan 2010 02:43:02 +0000 Received: (at 5175) by debbugs.gnu.org; 2 Jan 2010 02:42:06 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NQtwM-00045t-KW for submit@debbugs.gnu.org; Fri, 01 Jan 2010 21:42:06 -0500 Received: from pantheon-po42.its.yale.edu ([130.132.50.101]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NQtwK-00045M-S3 for 5175@debbugs.gnu.org; Fri, 01 Jan 2010 21:42:05 -0500 Received: from furry (adsl-99-75-106-169.dsl.wlfrct.sbcglobal.net [99.75.106.169]) (authenticated bits=0) by pantheon-po42.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id o022g03s029338 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 1 Jan 2010 21:42:00 -0500 Received: by furry (Postfix, from userid 1000) id 1885CC05D; Fri, 1 Jan 2010 21:42:00 -0500 (EST) From: Chong Yidong To: Katsumi Yamaoka References: <87aaxqdf9z.fsf@thinkpad.tsdh.de> Date: Fri, 01 Jan 2010 21:41:59 -0500 In-Reply-To: (Katsumi Yamaoka's message of "Sat, 02 Jan 2010 10:38:12 +0900") Message-ID: <87ljgh6xe0.fsf@stupidchicken.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-Spam-Score: 0.6 (/) Cc: Tassilo Horn , 5175@debbugs.gnu.org, ding@gnus.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.6 (/) Katsumi Yamaoka writes: > 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'? An alternative is to avoid using exchange-point-and-mark entirely, like this: (goto-char (prog1 (mark t) (set-marker (mark-marker) (point) (current-buffer)))) (Please don't replay to emacsbugs.donarmstrong.com/debbugs.gnu.org AND emacs-pretest-bug at the same time; sending to the latter creates a new bug in our database.) From unknown Sat Sep 13 08:20:58 2025 X-Loop: bug-gnu-emacs@gnu.org Subject: bug#5175: 23.1.50; mark deactivated without running deactivate-mark-hook when replying with Gnus Reply-To: Chong Yidong , 5175@debbugs.gnu.org Mail-Followup-To: Chong Yidong , 5175@debbugs.gnu.org Resent-From: Chong Yidong Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 02 Jan 2010 19:21:01 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: followup 5175 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 5175-submit@debbugs.gnu.org id=B5175.126246003420961 (code B ref 5175); Sat, 02 Jan 2010 19:21:01 +0000 Received: (at 5175) by debbugs.gnu.org; 2 Jan 2010 19:20:34 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NR9Wb-0005S2-Ht for submit@debbugs.gnu.org; Sat, 02 Jan 2010 14:20:33 -0500 Received: from pantheon-po39.its.yale.edu ([130.132.50.100]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NR9Wa-0005Rv-3N for 5175@debbugs.gnu.org; Sat, 02 Jan 2010 14:20:32 -0500 Received: from furry (adsl-99-75-106-169.dsl.wlfrct.sbcglobal.net [99.75.106.169]) (authenticated bits=0) by pantheon-po39.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id o02JKQcV009829 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 2 Jan 2010 14:20:26 -0500 Received: by furry (Postfix, from userid 1000) id 58DDAC05D; Sat, 2 Jan 2010 14:20:26 -0500 (EST) From: Chong Yidong To: Katsumi Yamaoka References: <87aaxqdf9z.fsf@thinkpad.tsdh.de> Date: Sat, 02 Jan 2010 14:20:26 -0500 In-Reply-To: (Katsumi Yamaoka's message of "Sat, 02 Jan 2010 10:38:12 +0900") Message-ID: <877hs048lh.fsf@stupidchicken.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-Spam-Score: -3.3 (---) Cc: Tassilo Horn , 5175@debbugs.gnu.org, ding@gnus.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.2 (---) Katsumi Yamaoka writes: >> * 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'? I've reworked the change to use the simpler functions from my previous message; I think this should solve the backward compatibility problem. From unknown Sat Sep 13 08:20:58 2025 X-Loop: bug-gnu-emacs@gnu.org Subject: bug#5175: 23.1.50; mark deactivated without running deactivate-mark-hook when replying with Gnus Reply-To: Katsumi Yamaoka , 5175@debbugs.gnu.org Mail-Followup-To: Katsumi Yamaoka , 5175@debbugs.gnu.org Resent-From: Katsumi Yamaoka Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 05 Jan 2010 14:09:10 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: followup 5175 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 5175-submit@debbugs.gnu.org id=B5175.126270052814266 (code B ref 5175); Tue, 05 Jan 2010 14:09:10 +0000 Received: (at 5175) by debbugs.gnu.org; 5 Jan 2010 14:08:48 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NSA5X-0003hy-P9 for submit@debbugs.gnu.org; Tue, 05 Jan 2010 09:08:48 -0500 Received: from orlando.hostforweb.net ([216.246.45.90]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NRz5e-0006fN-2L for 5175@debbugs.gnu.org; Mon, 04 Jan 2010 21:24:10 -0500 Received: from localhost ([127.0.0.1]:42575) by orlando.hostforweb.net with esmtpa (Exim 4.69) (envelope-from ) id 1NRz4y-00065i-Sf; Mon, 04 Jan 2010 20:23:29 -0600 Date: Tue, 05 Jan 2010 11:23:54 +0900 Message-ID: From: Katsumi Yamaoka To: Chong Yidong References: <87aaxqdf9z.fsf@thinkpad.tsdh.de> <877hs048lh.fsf@stupidchicken.com> X-Hashcash: 1:20:100105:cyd@stupidchicken.com::jEVecMrxbf1UviWR:000000000000000000000000000000000000000034wC X-Hashcash: 1:20:100105:ding@gnus.org::nfD2Orr8+7/4+guw:00003Zpk X-Hashcash: 1:20:100105:tassilo@member.fsf.org::hEHEqCfCBR4GYh5e:0000000000000000000000000000000000000000DFt X-Hashcash: 1:20:100105:5175@debbugs.gnu.org::K8gD2Cg2PLjl/FKd:000000000000000000000000000000000000000000kPi Organization: Emacsen advocacy group X-Face: #kKnN,xUnmKia.'[pp`; Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu; B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.91 (gnu/linux) Cancel-Lock: sha1:lf4j5YY96UPeo4eXjwjJ6sHKi4Y= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - orlando.hostforweb.net X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -2.6 (--) X-Mailman-Approved-At: Tue, 05 Jan 2010 09:08:26 -0500 Cc: Tassilo Horn , 5175@debbugs.gnu.org, ding@gnus.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) >>>>> Chong Yidong wrote: > Katsumi Yamaoka writes: >>> * 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'? > I've reworked the change to use the simpler functions from my previous > message; I think this should solve the backward compatibility problem. Thanks for fixing it. I've verified it also clears the problem: http://news.gmane.org/group/gmane.emacs.gnus.general/thread=56821