GNU bug report logs - #30175
25.3; [PATCH] activate mark when marking bibtex entry

Previous Next

Package: emacs;

Reported by: Alex Branham <alex.branham <at> gmail.com>

Date: Fri, 19 Jan 2018 19:00:02 UTC

Severity: minor

Tags: patch

Found in version 25.3

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#30175: closed (25.3; [PATCH] activate mark when marking
 bibtex entry)
Date: Tue, 20 Mar 2018 06:51:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Tue, 20 Mar 2018 08:50:54 +0200
with message-id <83lgenme9d.fsf <at> gnu.org>
and subject line Re: bug#30175: 25.3; [PATCH] activate mark when marking bibtex entry
has caused the debbugs.gnu.org bug report #30175,
regarding 25.3; [PATCH] activate mark when marking bibtex entry
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
30175: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=30175
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Alex Branham <alex.branham <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 25.3; [PATCH] activate mark when marking bibtex entry
Date: Fri, 19 Jan 2018 12:59:02 -0600
[Message part 3 (text/plain, inline)]
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 <branham <at> utexas.edu>
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

[0001-lisp-textmodes-bibtex.el-bibtex-mark-entry-activate-.patch (text/x-patch, attachment)]
[Message part 5 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: Alex Branham <alex.branham <at> gmail.com>
Cc: 30175-done <at> debbugs.gnu.org
Subject: Re: bug#30175: 25.3; [PATCH] activate mark when marking bibtex entry
Date: Tue, 20 Mar 2018 08:50:54 +0200
> From: Alex Branham <alex.branham <at> gmail.com>
> 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.


This bug report was last modified 7 years and 69 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.