Subject: bug#30175: closed (Re: bug#30175: 25.3; [PATCH] activate mark when marking bibtex entry)

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 20 Mar 2018 06:51:02 +0000

Your bug report

#30175: 25.3; [PATCH] activate mark when marking bibtex entry

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
30175: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=30175
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#30175: 25.3; [PATCH] activate mark when marking bibtex entry
From: Eli Zaretskii <[email-masked]>
To: Alex Branham <[email-masked]>
Cc: [email-masked]
Date: Tue, 20 Mar 2018 08:50:54 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

> From: Alex Branham <[email-masked]>
> Date: Fri, 19 Jan 2018 12:59:02 -0600
> 
> This patch activates the mark when running bibtex-mark-entry, making behavior consistent with e.g. mark-paragraph.
> 
> Can this make it into Emacs 26 (please)?

Pushed to the emacs-26 branch.  Thanks.

Subject: 25.3; [PATCH] activate mark when marking bibtex entry
From: Alex Branham <[email-masked]>
To: [email-masked]
Date: Fri, 19 Jan 2018 12:59:02 -0600
List-Id: <debbugs-submit.debbugs.gnu.org>

This patch activates the mark when running bibtex-mark-entry, making behavior consistent with e.g. mark-paragraph.

Can this make it into Emacs 26 (please)?

Thanks,
Alex

>From d069aee2fed5f281f8fba2b0c430624462c94d27 Mon Sep 17 00:00:00 2001
From: Alex Branham <[email-masked]>
Date: Fri, 19 Jan 2018 12:54:00 -0600
Subject: [PATCH] * lisp/textmodes/bibtex.el (bibtex-mark-entry): activate mark

---
 lisp/textmodes/bibtex.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/textmodes/bibtex.el b/lisp/textmodes/bibtex.el
index a30e146892..a3f9804358 100644
--- a/lisp/textmodes/bibtex.el
+++ b/lisp/textmodes/bibtex.el
@@ -3871,7 +3871,7 @@ bibtex-reposition-window
 (defun bibtex-mark-entry ()
   "Put mark at beginning, point at end of current BibTeX entry."
   (interactive)
-  (push-mark (bibtex-beginning-of-entry))
+  (push-mark (bibtex-beginning-of-entry) :activate t)
   (bibtex-end-of-entry))
 
 (defun bibtex-count-entries (&optional count-string-entries)
-- 
2.16.0

>From d069aee2fed5f281f8fba2b0c430624462c94d27 Mon Sep 17 00:00:00 2001
From: Alex Branham <[email-masked]>
Date: Fri, 19 Jan 2018 12:54:00 -0600
Subject: [PATCH] * lisp/textmodes/bibtex.el (bibtex-mark-entry): activate mark

---
 lisp/textmodes/bibtex.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/textmodes/bibtex.el b/lisp/textmodes/bibtex.el
index a30e146892..a3f9804358 100644
--- a/lisp/textmodes/bibtex.el
+++ b/lisp/textmodes/bibtex.el
@@ -3871,7 +3871,7 @@ bibtex-reposition-window
 (defun bibtex-mark-entry ()
   "Put mark at beginning, point at end of current BibTeX entry."
   (interactive)
-  (push-mark (bibtex-beginning-of-entry))
+  (push-mark (bibtex-beginning-of-entry) :activate t)
   (bibtex-end-of-entry))
 
 (defun bibtex-count-entries (&optional count-string-entries)
-- 
2.16.0