From sl392@cam.ac.uk Tue Oct 13 08:26:20 2009 Received: (at submit) by emacsbugs.donarmstrong.com; 13 Oct 2009 15:26:20 +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=0.2 required=4.0 tests=AWL autolearn=ham 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 n9DFQIE4016998 for ; Tue, 13 Oct 2009 08:26:20 -0700 Received: from mx10.gnu.org ([199.232.76.166]:59866) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1MxjGU-0007Y6-H6 for emacs-pretest-bug@gnu.org; Tue, 13 Oct 2009 11:26:18 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1MxjGS-0004M6-QX for emacs-pretest-bug@gnu.org; Tue, 13 Oct 2009 11:26:18 -0400 Received: from ppsw-6.csi.cam.ac.uk ([131.111.8.136]:35801) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MxjGS-0004Lg-Gl for emacs-pretest-bug@gnu.org; Tue, 13 Oct 2009 11:26:16 -0400 X-Cam-AntiVirus: no malware found X-Cam-SpamDetails: not scanned X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/ Received: from lapwing-gw-1.csx.cam.ac.uk ([131.111.1.66]:64086 helo=victoria.local) by ppsw-6.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.156]:587) with esmtpsa (PLAIN:sl392) (TLSv1:DHE-RSA-AES128-SHA:128) id 1MxjGQ-0003ni-Kz (Exim 4.70) for emacs-pretest-bug@gnu.org (return-path ); Tue, 13 Oct 2009 16:26:14 +0100 From: Leo To: emacs-pretest-bug@gnu.org Subject: 23.1.50; C-M-h in bibtex mode Date: Tue, 13 Oct 2009 16:26:12 +0100 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (darwin) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: "Leo, Shidai Liu" X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Please describe exactly what actions triggered the bug and the precise symptoms of the bug: C-M-h which runs bibtex-mark-entry in BibTeX-mode seems to be inconsistent with C-M-h in other modes. For example, C-M-h in emacs-lisp-mode will mark the 'defun' with highlighted region and the point in the beginning of the region. In BibTeX mode, however, the region is _not_ highlighted and the point is left at the end of the region. I wonder if this inconsistency can be done away with. Best wishes, Leo From cyd@stupidchicken.com Thu Oct 15 13:56:38 2009 Received: (at 4717) by emacsbugs.donarmstrong.com; 15 Oct 2009 20:56: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=-0.3 required=4.0 tests=AWL,FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from pantheon-po43.its.yale.edu (pantheon-po43.its.yale.edu [130.132.50.104]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9FKubuS016363 for <4717@emacsbugs.donarmstrong.com>; Thu, 15 Oct 2009 13:56:38 -0700 Received: from furry (dhcp128036014244.central.yale.edu [128.36.14.244]) (authenticated bits=0) by pantheon-po43.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id n9FKuVXu005966 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 15 Oct 2009 16:56:31 -0400 Received: by furry (Postfix, from userid 1000) id 9DFBAC070; Thu, 15 Oct 2009 16:56:31 -0400 (EDT) From: Chong Yidong To: Roland Winkler Cc: 4717@debbugs.gnu.org Subject: Re: 23.1.50; C-M-h in bibtex mode Date: Thu, 15 Oct 2009 16:56:31 -0400 Message-ID: <8763agjs00.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) Hi Roland, Could you take a look at this bug? There seems to be no good reason for bibtex to behave differently than the rest of Emacs. What bibtex-mode probably needs to do is to bind beginning/end-of-defun-function to bibtex-beginning/end-of-entry. Then you can remove bibtex-mark-entry (or rather make it an obsolete alias for mark-defun). WDYT? > C-M-h which runs bibtex-mark-entry in BibTeX-mode seems to be > inconsistent with C-M-h in other modes. For example, C-M-h in > emacs-lisp-mode will mark the 'defun' with highlighted region and the > point in the beginning of the region. > In BibTeX mode, however, the region is _not_ highlighted and the point > is left at the end of the region. > I wonder if this inconsistency can be done away with. From rwinkler@niu.edu Thu Oct 15 16:09:33 2009 Received: (at 4717) by emacsbugs.donarmstrong.com; 15 Oct 2009 23:09:33 +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=0.0 required=4.0 tests=none autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from essmail.ess.niu.edu (essmail.ess.niu.edu [131.156.1.18]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9FN9WJO005934 for <4717@emacsbugs.donarmstrong.com>; Thu, 15 Oct 2009 16:09:33 -0700 Received: from lukas.physics.niu.edu (lukas.physics.niu.edu [131.156.85.221]) by essmail.ess.niu.edu (8.13.6/8.13.6) with ESMTP id n9FN9TA8007552; Thu, 15 Oct 2009 18:09:29 -0500 (CDT) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19159.43945.39728.132688@lukas.physics.niu.edu> Date: Thu, 15 Oct 2009 18:09:29 -0500 From: "Roland Winkler" To: Chong Yidong Cc: 4717@debbugs.gnu.org Subject: Re: 23.1.50; C-M-h in bibtex mode In-Reply-To: <8763agjs00.fsf@stupidchicken.com> References: <8763agjs00.fsf@stupidchicken.com> X-Mailer: VM 8.2 trial under 23.1.50.1 (x86_64-unknown-linux-gnu) On Thu Oct 15 2009 Chong Yidong wrote: > Could you take a look at this bug? There seems to be no good > reason for bibtex to behave differently than the rest of Emacs. > What bibtex-mode probably needs to do is to bind > beginning/end-of-defun-function to bibtex-beginning/end-of-entry. > Then you can remove bibtex-mark-entry (or rather make it an > obsolete alias for mark-defun). I thought I could do that quickly, till I realized there is a minor nuisance: There are several functions / commands that could benefit from binding beginning/end-of-defun-function to bibtex-beginning/end-of-entry. Yet for historical reasons bibtex-beginning/end-of-entry behave slightly different from the `standard' beginning/end-of-defun. So the proper solution will be to make these bibtex functions behave similar to beginning/end-of-defun This will require to check also the internal usage of bibtex-beginning/end-of-entry by bibtex-mode, which is just a bit more work... Roland From rwinkler@niu.edu Sun Oct 18 10:09:25 2009 Received: (at 4717) by emacsbugs.donarmstrong.com; 18 Oct 2009 17:09:25 +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=0.0 required=4.0 tests=none autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from tfkpsv.physik.uni-erlangen.de (tfkpsv.physik.uni-erlangen.de [131.188.164.197]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9IH9Okr016170 for <4717@emacsbugs.donarmstrong.com>; Sun, 18 Oct 2009 10:09:25 -0700 Received: from regnitz.physics.niu.edu (adsl-68-77-29-3.dsl.emhril.ameritech.net [68.77.29.3]) by tfkpsv.physik.uni-erlangen.de (Postfix) with ESMTP id 2066484A27; Sun, 18 Oct 2009 19:09:21 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19163.19389.592808.77535@regnitz.physics.niu.edu> Date: Sun, 18 Oct 2009 12:09:17 -0500 From: "Roland Winkler" To: Chong Yidong Cc: 4717@debbugs.gnu.org Subject: Re: 23.1.50; C-M-h in bibtex mode In-Reply-To: <8763agjs00.fsf@stupidchicken.com> References: <8763agjs00.fsf@stupidchicken.com> X-Mailer: VM 8.2 trial under 23.1.50.1 (i686-pc-linux-gnu) On Thu Oct 15 2009 Chong Yidong wrote: > Could you take a look at this bug? There seems to be no good reason for > bibtex to behave differently than the rest of Emacs. What bibtex-mode > probably needs to do is to bind beginning/end-of-defun-function to > bibtex-beginning/end-of-entry. Then you can remove bibtex-mark-entry > (or rather make it an obsolete alias for mark-defun). Kind of related question: mark-defun does not put point where beginning-of-defun puts it. But if there is an empty line preceding the beginning-of-defun location, mark-defun will put point there. Why? The docstring of mark-defun does not explain this behavior. Also, the optional arg of mark-defun should be explained, too. Thanks, Roland From cyd@stupidchicken.com Sun Oct 18 13:31:48 2009 Received: (at 4717) by emacsbugs.donarmstrong.com; 18 Oct 2009 20:31:49 +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=0.0 required=4.0 tests=AWL autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from pantheon-po43.its.yale.edu (pantheon-po43.its.yale.edu [130.132.50.104]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9IKVlpm018499 for <4717@emacsbugs.donarmstrong.com>; Sun, 18 Oct 2009 13:31:48 -0700 Received: from furry (adsl-99-69-49-186.dsl.wlfrct.sbcglobal.net [99.69.49.186]) (authenticated bits=0) by pantheon-po43.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id n9IKVfZf026510 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 18 Oct 2009 16:31:41 -0400 Received: by furry (Postfix, from userid 1000) id 06EFAC070; Sun, 18 Oct 2009 16:31:39 -0400 (EDT) From: Chong Yidong To: "Roland Winkler" Cc: 4717@debbugs.gnu.org Subject: Re: 23.1.50; C-M-h in bibtex mode References: <8763agjs00.fsf@stupidchicken.com> <19163.19389.592808.77535@regnitz.physics.niu.edu> Date: Sun, 18 Oct 2009 16:31:39 -0400 In-Reply-To: <19163.19389.592808.77535@regnitz.physics.niu.edu> (Roland Winkler's message of "Sun, 18 Oct 2009 12:09:17 -0500") Message-ID: <87ws2sbg0k.fsf@stupidchicken.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) "Roland Winkler" writes: > mark-defun does not put point where beginning-of-defun puts it. But > if there is an empty line preceding the beginning-of-defun location, > mark-defun will put point there. Why? The docstring of mark-defun > does not explain this behavior. I don't know the answer. This behavior dates to 1993, though, so I don't think it's feasible to change it for Lisp mode. From rwinkler@niu.edu Sun Oct 18 20:38:51 2009 Received: (at 4717) by emacsbugs.donarmstrong.com; 19 Oct 2009 03:38:51 +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=0.0 required=4.0 tests=none autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from tfkpsv.physik.uni-erlangen.de (tfkpsv.physik.uni-erlangen.de [131.188.164.197]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9J3cn4r018332 for <4717@emacsbugs.donarmstrong.com>; Sun, 18 Oct 2009 20:38:51 -0700 Received: from regnitz.physics.niu.edu (adsl-68-77-29-3.dsl.emhril.ameritech.net [68.77.29.3]) by tfkpsv.physik.uni-erlangen.de (Postfix) with ESMTP id BE3CE84B34; Mon, 19 Oct 2009 05:38:48 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19163.57157.842686.926110@regnitz.physics.niu.edu> Date: Sun, 18 Oct 2009 22:38:45 -0500 From: "Roland Winkler" To: Chong Yidong Cc: 4717@debbugs.gnu.org Subject: Re: 23.1.50; C-M-h in bibtex mode In-Reply-To: <87ws2sbg0k.fsf@stupidchicken.com> References: <8763agjs00.fsf@stupidchicken.com> <19163.19389.592808.77535@regnitz.physics.niu.edu> <87ws2sbg0k.fsf@stupidchicken.com> X-Mailer: VM 8.2 trial under 23.1.50.1 (i686-pc-linux-gnu) On Sun Oct 18 2009 Chong Yidong wrote: > > mark-defun does not put point where beginning-of-defun puts it. But > > if there is an empty line preceding the beginning-of-defun location, > > mark-defun will put point there. Why? The docstring of mark-defun > > does not explain this behavior. > > I don't know the answer. This behavior dates to 1993, though, so I > don't think it's feasible to change it for Lisp mode. Agreed, changing it will probably break something. Could it be that the empty line was included so that in a sequence of defuns (each normally separated by one empty line) mark-defun could by used, for example in combination with kill-region and yank to move around defuns in a simple way? No matter whether something like that or anything else was the actual reason for implementing this behavior, the docstring should always document the actual behavior Roland From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 04 11:15:47 2014 Received: (at 4717) by debbugs.gnu.org; 4 Nov 2014 16:15:47 +0000 Received: from localhost ([127.0.0.1]:48974 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xlglm-0001aG-EY for submit@debbugs.gnu.org; Tue, 04 Nov 2014 11:15:46 -0500 Received: from mail-la0-f53.google.com ([209.85.215.53]:55971) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xlglj-0001a2-V7 for 4717@debbugs.gnu.org; Tue, 04 Nov 2014 11:15:44 -0500 Received: by mail-la0-f53.google.com with SMTP id mc6so1134090lab.40 for <4717@debbugs.gnu.org>; Tue, 04 Nov 2014 08:15:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:organization:references:user-agent :cancel-lock:date:message-id:mime-version:content-type; bh=F67+gvfPqeHcSskglBgff9fWpv4jvUnCA/rEaHiZynU=; b=rdyII6U/DonZR17aeCysNIWCfTv4q6myUx4sIP7865ZgTihyA70mB3u2NpWVR7BbMf /WJJ/Pvjcc5j57Hf3QXe1kaBTpTW/rWMcEiCv9xxEoIyAjk7nccSPuT+Pwxh5rIqP/I0 OPZDf1QWOh8lkicvkyOMYFRaerg5y7d/y0NOk1Th8SODpRIiUn78M+ThREWER51PrcTv ATee7L4hmAlQRkITokN7p0t5VAJKOmT00CMxUrGXCGFkSPc220A0EJLNJtmwCwIj8Bi6 4PiUZRdDo6JL7Thk+P1uxF1uBZi+voZYBPMvKvLbNpVp7XH1emgbsDwJ0NM750zi+d37 GJeA== X-Received: by 10.112.168.39 with SMTP id zt7mr12047611lbb.72.1415117742804; Tue, 04 Nov 2014 08:15:42 -0800 (PST) Received: from vsl28t2g.ww011 (p4FD4EC7A.dip0.t-ipconnect.de. [79.212.236.122]) by mx.google.com with ESMTPSA id z1sm309278lad.40.2014.11.04.08.15.41 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Nov 2014 08:15:41 -0800 (PST) From: dieter@duenenhof-wilhelm.de (H. Dieter Wilhelm) To: "Roland Winkler" Subject: Re: bug#4717: 23.1.50; C-M-h in bibtex mode Organization: The Church of Emacs References: <8763agjs00.fsf@stupidchicken.com> <19163.19389.592808.77535@regnitz.physics.niu.edu> <87ws2sbg0k.fsf@stupidchicken.com> <19163.57157.842686.926110@regnitz.physics.niu.edu> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) Cancel-Lock: sha1:r5swzsXbMyn+JwSgZE8gHE/5kM4= Date: Tue, 04 Nov 2014 17:15:39 +0100 Message-ID: <87k33bvt5g.fsf@vsl28t2g.ww011> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 4717 Cc: 4717@debbugs.gnu.org, Chong Yidong , sdl.web@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) "Roland Winkler" writes: > On Sun Oct 18 2009 Chong Yidong wrote: >> > mark-defun does not put point where beginning-of-defun puts it. But >> > if there is an empty line preceding the beginning-of-defun location, >> > mark-defun will put point there. Why? The docstring of mark-defun >> > does not explain this behavior. >> >> I don't know the answer. This behavior dates to 1993, though, so I >> don't think it's feasible to change it for Lisp mode. Summary of this thread from 2009 about the unusual behaviour of C-M-h (bibtex-mark-entry) in BibTeX mode 1) In BibTeX mode C-M-h does (still) not switch on a transient region 2) Point is left at the end of an entry contrary to the behaviour in other modes 3) The range of the marked region is different to a range when applying C-M-a C-SPC C-M-e 4) The optional argument ALLOW-EXTEND is not explained in the doc string and C-M-h (mark-defun) in Lisp mode 5) Does mark an empty line before a defun (when there is an empty line) whereas C-M-a places point before an empty line. 6) The optional argument is not explained in the doc string > Agreed, changing it will probably break something. Could it be that > the empty line was included so that in a sequence of defuns (each > normally separated by one empty line) mark-defun could by used, for > example in combination with kill-region and yank to move around > defuns in a simple way? My feeling is that it is such a minor point that nobody really cared to correct/align this. Moreover 6) C-M-h is lacking an optional argument to mark ARG defuns compared with all the other marking commands > No matter whether something like that or anything else was the > actual reason for implementing this behavior, the docstring should > always document the actual behavior I would like to volunteer and also argue that point 2) i. e. putting point *behind* a marked element(s) and advancing the marking from point is advantageous for large elements (pages, defuns, paragraphs), when the marked elements might span outside of the current window and the marking commands are repeated. In this case the buffer is scrolled automatically with the new boundary and possible additional marking targets become visible. Dieter -- Best wishes H. Dieter Wilhelm Darmstadt, Germany From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 05 10:38:05 2014 Received: (at 4717) by debbugs.gnu.org; 5 Nov 2014 15:38:05 +0000 Received: from localhost ([127.0.0.1]:50133 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xm2eq-0001KV-0g for submit@debbugs.gnu.org; Wed, 05 Nov 2014 10:38:04 -0500 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:6870) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xm2ej-0001K7-KV for 4717@debbugs.gnu.org; Wed, 05 Nov 2014 10:37:58 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Aq0IAOatTlRFpY87/2dsb2JhbABWBoMOg2LSUQQCAoEcFwEBfIQDAQEDAVYjBQsLNBIUGA2IbwnLcgEBAQEGAQEBAR6QRUMHhEsFi2SEBaI3gW+EFh+CegEBAQ X-IPAS-Result: Aq0IAOatTlRFpY87/2dsb2JhbABWBoMOg2LSUQQCAoEcFwEBfIQDAQEDAVYjBQsLNBIUGA2IbwnLcgEBAQEGAQEBAR6QRUMHhEsFi2SEBaI3gW+EFh+CegEBAQ X-IronPort-AV: E=Sophos;i="5.04,797,1406606400"; d="scan'208";a="96020723" Received: from 69-165-143-59.dsl.teksavvy.com (HELO pastel.home) ([69.165.143.59]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 05 Nov 2014 10:37:56 -0500 Received: by pastel.home (Postfix, from userid 20848) id 9F29C7AB7; Wed, 5 Nov 2014 10:37:56 -0500 (EST) From: Stefan Monnier To: dieter@duenenhof-wilhelm.de (H. Dieter Wilhelm) Subject: Re: bug#4717: 23.1.50; C-M-h in bibtex mode Message-ID: References: <8763agjs00.fsf@stupidchicken.com> <19163.19389.592808.77535@regnitz.physics.niu.edu> <87ws2sbg0k.fsf@stupidchicken.com> <19163.57157.842686.926110@regnitz.physics.niu.edu> <87k33bvt5g.fsf@vsl28t2g.ww011> Date: Wed, 05 Nov 2014 10:37:56 -0500 In-Reply-To: <87k33bvt5g.fsf@vsl28t2g.ww011> (H. Dieter Wilhelm's message of "Tue, 04 Nov 2014 17:15:39 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 4717 Cc: 4717@debbugs.gnu.org, Chong Yidong , Roland Winkler , sdl.web@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) > Summary of this thread from 2009 about the unusual behaviour of > C-M-h (bibtex-mark-entry) in BibTeX mode > 1) In BibTeX mode C-M-h does (still) not switch on a transient region Indeed. Ideally BibTeX's C-M-h should not be rebound, and instead beginning-of-defun-function and end-of-defun-function should be set in such as way that mark-defun marks the same text as bibtex-mark-entry. > 4) The optional argument ALLOW-EXTEND is not explained in the doc string It is, tho indirectly: Interactively, if this command is repeated or (in Transient Mark mode) if the mark is active, it marks the next defun after the ones already marked. > I would like to volunteer and also argue that point 2) i. e. putting > point *behind* a marked element(s) and advancing the marking from point > is advantageous for large elements (pages, defuns, paragraphs), when the > marked elements might span outside of the current window and the marking > commands are repeated. In this case the buffer is scrolled > automatically with the new boundary and possible additional marking > targets become visible. Of course, C-SPC M-C-e M-C-e M-C-e would work about as well in that case ;-) Stefan From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 11 18:54:42 2014 Received: (at submit) by debbugs.gnu.org; 11 Nov 2014 23:54:42 +0000 Received: from localhost ([127.0.0.1]:57893 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XoLGj-0001Pw-3h for submit@debbugs.gnu.org; Tue, 11 Nov 2014 18:54:41 -0500 Received: from eggs.gnu.org ([208.118.235.92]:58432) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XoLGE-0001Oq-HW for submit@debbugs.gnu.org; Tue, 11 Nov 2014 18:54:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XoLG7-0007oY-5l for submit@debbugs.gnu.org; Tue, 11 Nov 2014 18:54:10 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:33935) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XoLG7-0007oT-31 for submit@debbugs.gnu.org; Tue, 11 Nov 2014 18:54:03 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60068) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XoLG1-0006kk-7H for bug-gnu-emacs@gnu.org; Tue, 11 Nov 2014 18:54:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XoLFv-0007lV-8u for bug-gnu-emacs@gnu.org; Tue, 11 Nov 2014 18:53:57 -0500 Received: from plane.gmane.org ([80.91.229.3]:52146) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XoLFv-0007lJ-24 for bug-gnu-emacs@gnu.org; Tue, 11 Nov 2014 18:53:51 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XoLFs-0004y2-PC for bug-gnu-emacs@gnu.org; Wed, 12 Nov 2014 00:53:48 +0100 Received: from p57acc3f6.dip0.t-ipconnect.de ([87.172.195.246]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 12 Nov 2014 00:53:48 +0100 Received: from dieter by p57acc3f6.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 12 Nov 2014 00:53:48 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: bug-gnu-emacs@gnu.org From: dieter@duenenhof-wilhelm.de (H. Dieter Wilhelm) Subject: Re: bug#4717: 23.1.50; C-M-h in bibtex mode Date: Wed, 12 Nov 2014 00:53:32 +0100 Organization: The Church of Emacs Lines: 36 Message-ID: <87tx2547lv.fsf@vsl28t2g.ww011> References: <8763agjs00.fsf@stupidchicken.com> <19163.19389.592808.77535@regnitz.physics.niu.edu> <87ws2sbg0k.fsf@stupidchicken.com> <19163.57157.842686.926110@regnitz.physics.niu.edu> <87k33bvt5g.fsf@vsl28t2g.ww011> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: p57acc3f6.dip0.t-ipconnect.de User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) Cancel-Lock: sha1:QNSnAP9H5vgtcafgsBY/FI5652Y= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.1 (----) Stefan Monnier writes: ... > Ideally BibTeX's C-M-h should not be rebound, and instead > beginning-of-defun-function and end-of-defun-function should be set in > such as way that mark-defun marks the same text as bibtex-mark-entry. I did not yet test it good enough but your idea worked out of the box, beginning/end-of-defun and mark-defun seem to recognise bibtex entries already properly without further ado! :-) >> I would like to volunteer and also argue that point 2) i. e. putting >> point *behind* a marked element(s) and advancing the marking from point >> is advantageous for large elements (pages, defuns, paragraphs), when the >> marked elements might span outside of the current window and the marking >> commands are repeated. In this case the buffer is scrolled >> automatically with the new boundary and possible additional marking >> targets become visible. > > Of course, C-SPC M-C-e M-C-e M-C-e would work about as well in that > case ;-) And one better - in my opinion - C-M-S-e C-M-S-e ... (But the two methods are only working like C-M-h when point is already at the beginning of a defun.) Anyway, I understand now that it might be better to have two ways of advancing a region: From point with navigation commands *and* from mark with marking commands like C-M-e or M-}... Dieter -- Best wishes H. Dieter Wilhelm Darmstadt, Germany From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 06 19:51:07 2022 Received: (at 4717) by debbugs.gnu.org; 7 Feb 2022 00:51:07 +0000 Received: from localhost ([127.0.0.1]:40381 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGsFH-0001oZ-H7 for submit@debbugs.gnu.org; Sun, 06 Feb 2022 19:51:07 -0500 Received: from quimby.gnus.org ([95.216.78.240]:33918) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGsFF-0001o5-Tn for 4717@debbugs.gnu.org; Sun, 06 Feb 2022 19:51:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=ynK854igrtqx4TThIahyUS0Dm5oENSenkijsz30CHK4=; b=fjoy429TLdfyPmXrWQWau354FO A/X8mUUhjJH8FwPJu0c6O1R2+T1PjKmrlc7Ljs7cP8lxaEET8Uk50H8ytalzJ7h+u0XrvYC5U/Fhz G4Mjo+aX+ijHx/DJ12i4eVeK/v6JuI2SOaequ9QtqBybgd5FKH4tRW0QRVXCzsh40ta8=; Received: from [84.212.220.105] (helo=giant) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nGsF6-0001kY-J6; Mon, 07 Feb 2022 01:50:59 +0100 From: Lars Ingebrigtsen To: "Roland Winkler" Subject: Re: bug#4717: 23.1.50; C-M-h in bibtex mode References: <8763agjs00.fsf@stupidchicken.com> <19163.19389.592808.77535@regnitz.physics.niu.edu> <87ws2sbg0k.fsf@stupidchicken.com> <19163.57157.842686.926110@regnitz.physics.niu.edu> X-Now-Playing: David Bowie's _Station to Station_: "Wild Is The Wind" Date: Mon, 07 Feb 2022 01:50:56 +0100 In-Reply-To: <19163.57157.842686.926110@regnitz.physics.niu.edu> (Roland Winkler's message of "Sun, 18 Oct 2009 22:38:45 -0500") Message-ID: <87k0e71oun.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: (I'm going through old bug reports that unfortunately weren't resolved at the time.) It looks like the major issue here has been fixed since this was reported -- `C-M-h' now activates the region. But it still places point at the end of the region (instead of the beginning, as it does [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 4717 Cc: 4717@debbugs.gnu.org, Chong Yidong X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) (I'm going through old bug reports that unfortunately weren't resolved at the time.) It looks like the major issue here has been fixed since this was reported -- `C-M-h' now activates the region. But it still places point at the end of the region (instead of the beginning, as it does in all other modes). Is this something that should be fixed, Roland, or would it be too disruptive for bibtex users? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 06 19:51:11 2022 Received: (at control) by debbugs.gnu.org; 7 Feb 2022 00:51:11 +0000 Received: from localhost ([127.0.0.1]:40384 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGsFL-0001os-OB for submit@debbugs.gnu.org; Sun, 06 Feb 2022 19:51:11 -0500 Received: from quimby.gnus.org ([95.216.78.240]:33936) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGsFK-0001oR-Bp for control@debbugs.gnu.org; Sun, 06 Feb 2022 19:51:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=yo/nykJ0XwUgm/KCrwlC53hY37h4yu6cI2kltr0J1vA=; b=uZJz/d2EHx9CHC65rciPb5e12e rKcSV4o5PEKhfxZ+pScwCqP/jaB0BaloSv+VGUI7/jk6IzSlqlryAbrU8ceu5jH7cTJICvgbTrqK0 zdFgYTGpHojGW3CIu+oiHaC2mUPEoImf+EWOfc+ru/T9aI2bAmjo/QOI2diiWlLysLYQ=; Received: from [84.212.220.105] (helo=giant) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nGsFC-0001kj-2u for control@debbugs.gnu.org; Mon, 07 Feb 2022 01:51:04 +0100 Date: Mon, 07 Feb 2022 01:51:01 +0100 Message-Id: <87iltr1oui.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #4717 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 4717 + moreinfo quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) tags 4717 + moreinfo quit From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 06 21:53:13 2022 Received: (at 4717) by debbugs.gnu.org; 7 Mar 2022 02:53:13 +0000 Received: from localhost ([127.0.0.1]:52062 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nR3Un-0006yD-Jr for submit@debbugs.gnu.org; Sun, 06 Mar 2022 21:53:13 -0500 Received: from quimby.gnus.org ([95.216.78.240]:50730) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nR3Ul-0006xz-Er for 4717@debbugs.gnu.org; Sun, 06 Mar 2022 21:53:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=8FzshIuSUbACEHth2UmKGQaJu+vAYg6FrriRwThWiRA=; b=BDQ6Bqw2zpiHCpzRyv9pvaBU1R ggqFcEtHVe7/1pwjuoFDb5O5jiqOoOX628zHyOg8oQqspr48+956tH2dovN7qNY7QdvYxPH+Tap/X ZFauYmeDtMYZEW1boDSD1RFOt82Iv0xvjshAdILaCRCTNZel6NdlGfZ6d4eeDEGVL52U=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nR3Ud-0004jI-2R; Mon, 07 Mar 2022 03:53:05 +0100 From: Lars Ingebrigtsen To: "Roland Winkler" Subject: Re: bug#4717: 23.1.50; C-M-h in bibtex mode References: <8763agjs00.fsf@stupidchicken.com> <19163.19389.592808.77535@regnitz.physics.niu.edu> <87ws2sbg0k.fsf@stupidchicken.com> <19163.57157.842686.926110@regnitz.physics.niu.edu> <87k0e71oun.fsf@gnus.org> X-Now-Playing: Biting Tongues's _Live It_: "Reflector" Date: Mon, 07 Mar 2022 03:53:02 +0100 In-Reply-To: <87k0e71oun.fsf@gnus.org> (Lars Ingebrigtsen's message of "Mon, 07 Feb 2022 01:50:56 +0100") Message-ID: <878rtmcw35.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Lars Ingebrigtsen writes: > It looks like the major issue here has been fixed since this was > reported -- `C-M-h' now activates the region. But it still places point > at the end of the region (instead of the beginning, as it [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 4717 Cc: 4717@debbugs.gnu.org, Chong Yidong X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Lars Ingebrigtsen writes: > It looks like the major issue here has been fixed since this was > reported -- `C-M-h' now activates the region. But it still places point > at the end of the region (instead of the beginning, as it does in all > other modes). > > Is this something that should be fixed, Roland, or would it be too > disruptive for bibtex users? There was no response in a month, so I went ahead and changed this command in bibtex-mode to work like in other modes in Emacs 29. If this is too disruptive, go ahead and revert it (and mark this bug report as "wontfix" instead). -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 06 21:53:17 2022 Received: (at control) by debbugs.gnu.org; 7 Mar 2022 02:53:17 +0000 Received: from localhost ([127.0.0.1]:52065 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nR3Uq-0006yV-SQ for submit@debbugs.gnu.org; Sun, 06 Mar 2022 21:53:16 -0500 Received: from quimby.gnus.org ([95.216.78.240]:50744) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nR3Up-0006y4-G4 for control@debbugs.gnu.org; Sun, 06 Mar 2022 21:53:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=bz7G5uCZEBUJxg7bvNU0kLWhS8TQarIS7oYvsznDFuM=; b=YGwztN8K+Ic2c4CYyP1ykrMXXk HBh/viXZb9ZyRuBSF0E1xd0iWN8ZPg7lFvHyC6i/R3n/+6TgoDAQe9HWfye/3lkhG/KxsCaVzEfNm mb0RDN6jqrMxqgWLUqKocOy0uf6cw7WEX+Nx8L66hkS1X6rVa6EbWWHfFVV16z0M7j0o=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nR3Ui-0004jU-6K for control@debbugs.gnu.org; Mon, 07 Mar 2022 03:53:10 +0100 Date: Mon, 07 Mar 2022 03:53:07 +0100 Message-Id: <877d96cw30.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #4717 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 4717 29.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 4717 29.1 quit From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 07 03:18:17 2022 Received: (at 4717) by debbugs.gnu.org; 7 Mar 2022 08:18:17 +0000 Received: from localhost ([127.0.0.1]:52451 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nR8ZM-0004wb-UY for submit@debbugs.gnu.org; Mon, 07 Mar 2022 03:18:17 -0500 Received: from forward500o.mail.yandex.net ([37.140.190.195]:57266) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nR8ZK-0004wL-8D for 4717@debbugs.gnu.org; Mon, 07 Mar 2022 03:18:15 -0500 Received: from iva6-f97209bf53c9.qloud-c.yandex.net (iva6-f97209bf53c9.qloud-c.yandex.net [IPv6:2a02:6b8:c0c:611f:0:640:f972:9bf]) by forward500o.mail.yandex.net (Yandex) with ESMTP id 333C7941A43; Mon, 7 Mar 2022 11:18:07 +0300 (MSK) Received: from iva4-b3ebd202b141.qloud-c.yandex.net (iva4-b3ebd202b141.qloud-c.yandex.net [2a02:6b8:c0c:4e8e:0:640:b3eb:d202]) by iva6-f97209bf53c9.qloud-c.yandex.net (mxback/Yandex) with ESMTP id P0kEFXTmiS-I6ei03gI; Mon, 07 Mar 2022 11:18:07 +0300 X-Yandex-Fwd: 2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1646641087; bh=Eze+C9gB5FRLeDYDk1lmG8hrBXpUUf9UYrpK/+Rme3c=; h=In-Reply-To:Subject:Cc:Cc:Date:References:To:From:Message-ID; b=ThYAqbs32Aa2bDAePf6utdAGU9yE56fGK1tO7Z8fnckNLAVO/Tjj17jsQ5wzOCbJA qbV7R5riwjwC4Z+BRlJCOrOb1VjuvOfjPyIwhpKbqrUpHCMU/yr/9514AN2ibjdlRA H9K096j2C7ZYsobFGgeGt0KbNWHzetRKz+ZUnagQ= Authentication-Results: iva6-f97209bf53c9.qloud-c.yandex.net; dkim=pass header.i=@yandex.com Received: by iva4-b3ebd202b141.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id FnCprQiw0f-I5JO4wA3; Mon, 07 Mar 2022 11:18:05 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) From: Colin Baxter To: Lars Ingebrigtsen Subject: Re: bug#4717: 23.1.50; C-M-h in bibtex mode References: <8763agjs00.fsf@stupidchicken.com> <19163.19389.592808.77535@regnitz.physics.niu.edu> <87ws2sbg0k.fsf@stupidchicken.com> <19163.57157.842686.926110@regnitz.physics.niu.edu> <87k0e71oun.fsf@gnus.org> <878rtmcw35.fsf@gnus.org> X-Face: BHjiJOg/Qmj'BQgsAKL@])L)e62P)C"Y=6T Date: Mon, 07 Mar 2022 08:18:04 +0000 In-Reply-To: <878rtmcw35.fsf@gnus.org> (Lars Ingebrigtsen's message of "Mon, 07 Mar 2022 03:53:02 +0100") Message-ID: <87mti2b2gz.fsf@yandex.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.90 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAAEkAAAATAgMAAAChCMjeAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAACVBMVEX/zAABCWP///8I RHjYAAAAAWJLR0QCZgt8ZAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB+UFEAk5BvqS634A AAAbSURBVBjTY2BgCA1hYA0FAxDDgQEERsXoIAYA2F9Eb3cpB+AAAAAldEVYdGRhdGU6Y3JlYXRl ADIwMjEtMDUtMTZUMTA6NTY6MTcrMDE6MDCh/kkpAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIxLTA1 LTE2VDA5OjU3OjA2KzAxOjAwTyZ6HwAAAABJRU5ErkJggg== MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 4717 Cc: , 4717@debbugs.gnu.org, Chong Yidong , Roland Winkler X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) >>>>> Lars Ingebrigtsen writes: > Lars Ingebrigtsen writes: >> It looks like the major issue here has been fixed since this was >> reported -- `C-M-h' now activates the region. But it still >> places point at the end of the region (instead of the beginning, >> as it does in all other modes). >> >> Is this something that should be fixed, Roland, or would it be >> too disruptive for bibtex users? > There was no response in a month, so I went ahead and changed this > command in bibtex-mode to work like in other modes in Emacs 29. > If this is too disruptive, go ahead and revert it (and mark this > bug report as "wontfix" instead). Personally, I find the change to be a confounded nuisance. If I am just copying a region then I want the point to remain at the end of the region and not return to the beginning. Best wishes, Colin Baxter. From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 07 12:39:16 2022 Received: (at 4717) by debbugs.gnu.org; 7 Mar 2022 17:39:16 +0000 Received: from localhost ([127.0.0.1]:54589 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nRHKF-0007Qg-RL for submit@debbugs.gnu.org; Mon, 07 Mar 2022 12:39:16 -0500 Received: from eggs.gnu.org ([209.51.188.92]:42470) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nRHKE-0007QS-5P for 4717@debbugs.gnu.org; Mon, 07 Mar 2022 12:39:14 -0500 Received: from [2001:470:142:3::e] (port=47512 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nRHK8-0007jY-Tc for 4717@debbugs.gnu.org; Mon, 07 Mar 2022 12:39:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=GBmPxre2vgRzV3SGL4daJypyuhkc9WlW+yV+faeOrAA=; b=gIiO8S1Pr0Y1MRsVX1Cd wh3s+B9X/6cbv2JoEq+a/LRLuNowRyKJwPA9N1faQumLHB45zjGzFYAOhGSs6k9oViPaxF2OJ8LhR +RpbaAk+KyR/nils0iv1OppKf3vNVX4Ry/gymCg6ZB8O91NUk6EYtpkN4QqzZtbFyHoQJXURxYQKE ZnenZYysJANpkvcdfiL3Pvtl8WAlpFGaJokffJGK6K7mxjAW1a+5QZLn6VZlcNBsswnINucFX77nX 0/kFxKCD+WMzA5U1L0q6aJ8sFMywl2JN0KRZgaQzWf2hmCh7XjD/RPR2TY65NsakrV/NBupfwM+g9 DYB8FBYlOQUBfg==; Received: from [2600:1700:5650:f790::42] (port=51716 helo=regnitz) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nRHK8-0001Pu-HI for 4717@debbugs.gnu.org; Mon, 07 Mar 2022 12:39:08 -0500 From: Roland Winkler To: 4717@debbugs.gnu.org Subject: Re: bug#4717: 23.1.50; C-M-h in bibtex mode References: <8763agjs00.fsf@stupidchicken.com> <19163.19389.592808.77535@regnitz.physics.niu.edu> <87ws2sbg0k.fsf@stupidchicken.com> <19163.57157.842686.926110@regnitz.physics.niu.edu> <87k0e71oun.fsf@gnus.org> <878rtmcw35.fsf@gnus.org> <87mti2b2gz.fsf@yandex.com> Date: Mon, 07 Mar 2022 11:39:08 -0600 In-Reply-To: <87mti2b2gz.fsf@yandex.com> (Colin Baxter's message of "Mon, 07 Mar 2022 08:18:04 +0000") Message-ID: <87o82hbr2b.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 4717 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) On Mon, Mar 07 2022, Colin Baxter wrote: >>>>>> Lars Ingebrigtsen writes: > > > Lars Ingebrigtsen writes: > >> It looks like the major issue here has been fixed since this was > >> reported -- `C-M-h' now activates the region. But it still > >> places point at the end of the region (instead of the beginning, > >> as it does in all other modes). > >> > >> Is this something that should be fixed, Roland, or would it be > >> too disruptive for bibtex users? > > > There was no response in a month, so I went ahead and changed this > > command in bibtex-mode to work like in other modes in Emacs 29. > > If this is too disruptive, go ahead and revert it (and mark this > > bug report as "wontfix" instead). > > Personally, I find the change to be a confounded nuisance. If I am just > copying a region then I want the point to remain at the end of the > region and not return to the beginning. ...Not yet a proper reply from my side: I discovered by chance that this old thread has been active again. But I missed the more recent emails because they went to an old email address of mine that has been disabled for at least ten years. I'll try to provide a more useful reply as soon as possible. Roland From unknown Mon Aug 18 15:38:38 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 05 Apr 2022 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator