GNU bug report logs - #77864
[PATCH] - checkdoc fixes for reftex.el

Previous Next

Package: auctex;

Reported by: Jeremy Bryant <jb <at> jeremybryant.net>

Date: Thu, 17 Apr 2025 11:53:02 UTC

Severity: normal

Tags: patch

To reply to this bug, email your comments to 77864 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-auctex <at> gnu.org:
bug#77864; Package auctex. (Thu, 17 Apr 2025 11:53:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jeremy Bryant <jb <at> jeremybryant.net>:
New bug report received and forwarded. Copy sent to bug-auctex <at> gnu.org. (Thu, 17 Apr 2025 11:53:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Jeremy Bryant <jb <at> jeremybryant.net>
To: bug-auctex <at> gnu.org
Subject: [PATCH] - checkdoc fixes for reftex.el
Date: Thu, 17 Apr 2025 12:51:31 +0100
[Message part 1 (text/plain, inline)]
These checkdoc fixes are mostly converting comments to docstrings for defuns.  A
couple of capitalizations.
This helps with readablility and Emacs Lisp conventions.

Any further checkdoc changes to the docstrings could be separate
patches, such as more systematically capitalizations of args.

Feedback welcome.

[0001-lisp-textmodes-reftex.el-checkdoc-fixes-comments-to-.patch (text/x-diff, attachment)]

Information forwarded to bug-auctex <at> gnu.org:
bug#77864; Package auctex. (Wed, 07 May 2025 21:40:01 GMT) Full text and rfc822 format available.

Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Jeremy Bryant <jb <at> jeremybryant.net>
To: Jeremy Bryant via bug-auctex via Bug reporting list for AUCTeX
 <bug-auctex <at> gnu.org>
Cc: 77864 <at> debbugs.gnu.org
Subject: Re: bug#77864: [PATCH] - checkdoc fixes for reftex.el
Date: Wed, 07 May 2025 22:39:41 +0100
Jeremy Bryant via bug-auctex via Bug reporting list for AUCTeX <bug-auctex <at> gnu.org> writes:

> These checkdoc fixes are mostly converting comments to docstrings for defuns.  A
> couple of capitalizations.
> This helps with readablility and Emacs Lisp conventions.
>
> Any further checkdoc changes to the docstrings could be separate
> patches, such as more systematically capitalizations of args.
>
> Feedback welcome.
>
> [2. text/x-diff; 0001-lisp-textmodes-reftex.el-checkdoc-fixes-comments-to-.patch]...
>
> _______________________________________________
> bug-auctex mailing list
> bug-auctex <at> gnu.org
> https://lists.gnu.org/mailman/listinfo/bug-auctex

Ping!
Any comments or suggestions, or is this good to install?




Information forwarded to bug-auctex <at> gnu.org:
bug#77864; Package auctex. (Wed, 07 May 2025 21:40:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-auctex <at> gnu.org:
bug#77864; Package auctex. (Wed, 07 May 2025 22:05:02 GMT) Full text and rfc822 format available.

Message #14 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Arash Esbati <arash <at> gnu.org>
To: Jeremy Bryant via bug-auctex via Bug reporting list for AUCTeX
 <bug-auctex <at> gnu.org>
Cc: Jeremy Bryant <jb <at> jeremybryant.net>, 77864 <at> debbugs.gnu.org
Subject: Re: bug#77864: [PATCH] - checkdoc fixes for reftex.el
Date: Thu, 08 May 2025 00:03:59 +0200
Jeremy Bryant via bug-auctex via Bug reporting list for AUCTeX <bug-auctex <at> gnu.org> writes:

> Ping!
> Any comments or suggestions, or is this good to install?

Sorry for the delay, is on my list, but please be a little more patient
as I'm currently busy with other stuff.

Thanks, Arash




Information forwarded to bug-auctex <at> gnu.org:
bug#77864; Package auctex. (Wed, 07 May 2025 22:05:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-auctex <at> gnu.org:
bug#77864; Package auctex. (Mon, 12 May 2025 20:38:02 GMT) Full text and rfc822 format available.

Message #20 received at 77864 <at> debbugs.gnu.org (full text, mbox):

From: Arash Esbati <arash <at> gnu.org>
To: 77864 <at> debbugs.gnu.org
Cc: jb <at> jeremybryant.net
Subject: Re: bug#77864: [PATCH] - checkdoc fixes for reftex.el
Date: Mon, 12 May 2025 22:36:49 +0200
Arash Esbati <arash <at> gnu.org> writes:

> Jeremy Bryant via bug-auctex via Bug reporting list for AUCTeX <bug-auctex <at> gnu.org> writes:
>
>> Ping!
>> Any comments or suggestions, or is this good to install?
>
> Sorry for the delay, is on my list, but please be a little more patient
> as I'm currently busy with other stuff.

I tried to install your patch, but it doesn't apply:

--8<---------------cut here---------------start------------->8---
Applying: * lisp/textmodes/reftex.el: checkdoc fixes, comments to docstrings
error: patch failed: lisp/textmodes/reftex.el:276
error: lisp/textmodes/reftex.el: patch does not apply
Patch failed at 0001 * lisp/textmodes/reftex.el: checkdoc fixes, comments to docstrings
--8<---------------cut here---------------end--------------->8---

Can you please update your local git repo and resend the patch on top of
the current HEAD?  TIA.

Can you also adjust the ChangeLog entry?  It should look like this:

--8<---------------cut here---------------start------------->8---
* lisp/textmodes/reftex.el (reftex-next-multifile-index):
(reftex-TeX-master-file, reftex-is-multi):
(reftex-get-cite-format, reftex-ensure-compiled-variables):
(reftex-erase-all-selection-and-index-buffers):
(reftex-compile-variables, reftex-parse-args):
(reftex-access-scan-info, reftex-check-parse-consistency):
(reftex-select-external-document, reftex-find-file-externally):
(reftex-access-search-path, reftex-find-file-on-path):
(reftex-parse-colon-path, reftex-expand-path):
(reftex-recursive-directory-list, reftex-typekey-check):
(reftex-check-recursive-edit, reftex-no-props):
(reftex-match-string, reftex-kill-buffer):
(reftex-erase-buffer, reftex-this-word, reftex-all-assq):
(reftex-all-assoc-string, reftex-last-assoc-before-elt):
(reftex-sublist-nth, reftex-make-selection-buffer-name):
(reftex-make-index-buffer-name, reftex-truncate):
(reftex-nearest-match, reftex-auto-mode-alist):
(reftex-enlarge-to-fit, reftex-select-with-char):
(reftex-make-regexp-allow-for-ctrl-m, reftex-visited-files):
(reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
(reftex-splice-symbols-into-list, reftex-uniquify):
(reftex-uniquify-by-car, reftex-nicify-text, reftex-refontify):
(reftex-fontify-select-label-buffer):
(reftex-select-font-lock-fontify-region):
(reftex-verified-face, reftex-highlight-shall-die): Convert
comment to docstring in functions.
(reftex-silence-toc-markers): Convert comment to docstring and
capitalize argument.
(reftex-set-cite-format): Capitalize argument.
--8<---------------cut here---------------end--------------->8---

Maybe you have another look at this[1].

TIA.  Best, Arash

Footnotes:
[1]  https://git.savannah.gnu.org/cgit/emacs.git/tree/CONTRIBUTE#n194




Information forwarded to bug-auctex <at> gnu.org:
bug#77864; Package auctex. (Fri, 16 May 2025 22:37:03 GMT) Full text and rfc822 format available.

Message #23 received at 77864 <at> debbugs.gnu.org (full text, mbox):

From: Jeremy Bryant <jb <at> jeremybryant.net>
To: Arash Esbati <arash <at> gnu.org>
Cc: 77864 <at> debbugs.gnu.org
Subject: Re: bug#77864: [PATCH] - checkdoc fixes for reftex.el
Date: Fri, 16 May 2025 23:36:17 +0100
[Message part 1 (text/plain, inline)]
Arash Esbati <arash <at> gnu.org> writes:

> Arash Esbati <arash <at> gnu.org> writes:
>
> I tried to install your patch, but it doesn't apply:
>
...
>
> Maybe you have another look at this[1].
>
> TIA.  Best, Arash
>
> Footnotes:
> [1]  https://git.savannah.gnu.org/cgit/emacs.git/tree/CONTRIBUTE#n194

OK, revised patch from current master.

Does this apply now?

Thanks in advance 
[0001-lisp-textmodes-reftex.el-checkdoc-fixes-comments-to-.patch (text/x-diff, attachment)]

This bug report was last modified 7 days ago.

Previous Next


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