GNU bug report logs - #52852
13.0.15; TeX-insert-quote fails near the beginning of buffer

Previous Next

Package: auctex;

Reported by: Andrea Greselin <greselin.andrea <at> gmail.com>

Date: Tue, 28 Dec 2021 15:24:02 UTC

Severity: normal

Found in version 13.0.15

Done: Ikumi Keita <ikumi <at> ikumi.que.jp>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Ikumi Keita <ikumi <at> ikumi.que.jp>
To: Andrea Greselin <greselin.andrea <at> gmail.com>
Cc: 52852 <at> debbugs.gnu.org
Subject: bug#52852: 13.0.15; TeX-insert-quote fails near the beginning of buffer
Date: Sat, 08 Jan 2022 19:15:53 +0900
Hi Andrea,

>>>>> Andrea Greselin <greselin.andrea <at> gmail.com> writes:
>> I think it’s reasonable to insert an opening quote whenever there
>> isn’t room for one behind the point. I’ve attached a patch that
>> implements this behaviour.

> If I had taken into account narrowed buffers it wouldn’t have seemed
> so reasonable.

> With this new patch, ‘TeX-insert-quote’ only tries to ‘forward-char’
> in reverse when there’s enough room to do so. Unlike with the previous
> patch, it can insert a closing quote even if there’s no room for an
> opening one before point.

Thank you for reporting and providing a patch. It's small and simple
enough for not requiring a copyright assignment, so I've installed your
patch in the git repository.

Regards,
Ikumi Keita




This bug report was last modified 3 years and 135 days ago.

Previous Next


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